CN110219513B - Lock connector based on gravity acceleration sensor and lock opening and closing method - Google Patents

Lock connector based on gravity acceleration sensor and lock opening and closing method Download PDF

Info

Publication number
CN110219513B
CN110219513B CN201910505832.1A CN201910505832A CN110219513B CN 110219513 B CN110219513 B CN 110219513B CN 201910505832 A CN201910505832 A CN 201910505832A CN 110219513 B CN110219513 B CN 110219513B
Authority
CN
China
Prior art keywords
lock
lock body
connector
acceleration sensor
locking
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
CN201910505832.1A
Other languages
Chinese (zh)
Other versions
CN110219513A (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.)
Nanjing Easthouse Electrical Co Ltd
Original Assignee
Nanjing Easthouse Electrical 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 Nanjing Easthouse Electrical Co Ltd filed Critical Nanjing Easthouse Electrical Co Ltd
Priority to CN201910505832.1A priority Critical patent/CN110219513B/en
Publication of CN110219513A publication Critical patent/CN110219513A/en
Application granted granted Critical
Publication of CN110219513B publication Critical patent/CN110219513B/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
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0038Operating or controlling locks or other fastening devices by electric or magnetic means using permanent magnets
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00944Details of construction or manufacture
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0057Feeding
    • E05B2047/0058Feeding by batteries
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0067Monitoring

Abstract

The invention discloses a lockset connector based on a gravity acceleration sensor and a locking and unlocking method. The method involves a lock connector and a lock body. And a gravity acceleration sensor is arranged in the lock connector. After the lock connector is in butt joint with the lock liner of the lock body, the lock connector receives the lock body identification sent by the lock body and the locking state of the lock body. When the lock body locking and unlocking state is invalid state data, the lock cylinder position data acquired by the lock connector through the gravity acceleration sensor is matched with the lock cylinder position data stored by the lock connector, and when the lock cylinder position data is matched with the lock cylinder position data, a locking instruction is sent to the lock body. The invention solves the problem that the lock body and the lock connector cannot be normally unlocked and locked when the lock body opening and closing state detection sensor in the lock body fails or the lock body state sensor is not installed.

Description

Lock connector based on gravity acceleration sensor and lock opening and closing method
Technical Field
The invention relates to an electronic cylinder lock.
Background
The electronic cylinder lock consists of a lock body and a lock connector. The lock body consists of an electronic lock core and a peripheral lock tongue linkage mechanical mechanism. The electronic lock cylinder comprises an outer lock cylinder and an inner lock cylinder. The inner cylinder, also called the cylinder core, is rotatable relative to the outer cylinder. The lock core has a lock body opening and closing azimuth angle relative to the outer lock core. When the lock courage is rotatory to lock body switching position angle department, the hasp of outer lock core can pin the lock courage for the lock courage can't rotate, thereby realizes the lock courage shutting. When the lock cylinder is not locked by the lock catch of the outer lock cylinder, the lock cylinder rotates, the lock tongue can be driven to stretch through the lock tongue linkage mechanical mechanism, and door opening and closing operation in a practical sense is achieved.
The lock catch is controlled by a microprocessor circuit inside the electronic lock core. The lock connector is composed of a connector portion and a handle portion. The joint part is provided with an interface which is butted with the lock cylinder. The lock core of the lock body is provided with a butt joint port matched with the joint part of the lock connector. The interface between the lock core of the lock body and the lock connector is a serial communication interface, which is similar to a USB interface, but has a different joint shape with a common USB interface. After the lock connector is in butt joint with the lock liner, when the lock liner is unlocked, the lock connector can be manually rotated to drive the lock liner to rotate, and further the lock tongue is driven to stretch to realize door opening and closing operations; when the lock courage was blocked, because the lock courage can't rotate, the tool to lock connector also can't rotate, can't drive the spring bolt and stretch out and draw back, just also can't realize opening the door and close the door operation. That is to say, the bolt of the lock body can be driven to extend and retract under the action of external force, and the lock catch in the lock core is controlled by a circuit, for example, the lock catch is realized by a permanent magnet mechanism controlled by the circuit.
Be equipped with microprocessor circuit in the tool to lock connector, this microprocessor circuit has bluetooth module, from this, the tool to lock connector can realize communication with mobile terminal. Before the lock body is used, the lock body needs to be registered on a background server through a lock connector and a mobile terminal. The action of the lock body to perform unlocking and locking requires the lock connector to issue an unlocking or locking instruction. A lock body state sensor which is realized by a magnetic sensor or a travel switch and is used for detecting whether the lock cylinder is locked by the lock catch is usually arranged in the lock body. And the lock connector issues an unlocking or locking instruction depending on the detection of the lock body state sensor. After the lockset connector is in butt joint with the lock liner, the lock body sends the lockset connector according to the locking state of the lock body detected by the lock body state sensor. The lock connector can issue corresponding unlocking instructions or locking instructions only after the locking state of the lock body is obtained.
When tool to lock connector and lock courage butt joint are unblanked, mobile terminal need apply for the OTC sign indicating number to the backstage server, receive to constitute behind the OTC sign indicating number and unblank the instruction and send for the lock body through the tool to lock connector. After the lock body receives the unlocking instruction, the OTC code in the unlocking instruction is matched, and the unlocking instruction is executed after the matching is passed. During the shutting, the tool to lock connector and lock courage dock the back, and the tool to lock connector can receive the lock body switching lock state that is sent by the lock body, rotates the tool to lock connector, and when the lock courage was located lock body switching position angle department, the tool to lock connector sent the shutting instruction to the lock body, and the lock body is received and is carried out the shutting instruction behind the shutting instruction.
Under normal conditions, above-mentioned processing flow can not have any problem, and every tool to lock connector can dock a plurality of locks and realize the operation of unblanking and shutting. However, in the actual situation, the lock body state sensor in the lock cylinder is damaged or damaged due to various reasons, for example, the magnetic inductor is easily interfered by external magnetic interference, and the travel switch is provided with mechanical parts, is easy to wear and has short service life. The lock body state sensor can not normally detect the locking and unlocking state of the lock body, so that the locking and unlocking can not be normally carried out. Especially, during the shutting, under normal condition, the tool to lock connector need not to connect mobile terminal and can accomplish the shutting, and under the condition that can't obtain the lock body and open and shut the lock state, the tool to lock connector can't normally automatic locking.
On the other hand, the lock body state sensor realized by the magnetic inductor or the travel switch has larger volume. However, the electronic cylinder lock may need to be compatible with existing mechanical lock installations, as required by the customer. To be compatible with existing mechanical lock installations, electronic cylinder locks may not be equipped with lock body status sensors due to limited internal installation space. Under such a situation, the lock connector cannot be automatically locked normally because the electronic cylinder lock does not have a lock body state sensor.
Disclosure of Invention
The problems to be solved by the invention are as follows: the lock core of the electronic columnar lock cannot be normally and automatically locked through the lock connector independently due to the aging of the lock body state sensor or the absence of the lock body state sensor.
In order to solve the problems, the invention adopts the following scheme:
the lock connector based on the gravity acceleration sensor comprises a handle part and a joint part; the joint part is used for electrically butting with the lock body; a circuit board, a battery and a gravity acceleration sensor are arranged inside the handle part; the circuit board is provided with a microprocessor; the battery is connected with the microprocessor and the gravity acceleration sensor; the gravity acceleration sensor and the joint part are connected with the microprocessor; the microprocessor is configured to:
the lock body is connected through the joint part, and the lock body identification and the lock body opening and closing states are obtained;
when an unlocking or locking instruction is forwarded to the lock body, or the lock body returns that unlocking and locking are successful, lock liner orientation data acquired through the gravity acceleration sensor is matched with the lock body identification and stored into lock liner opening and closing orientation information;
when the locking state of the lock body is invalid state data, matching is carried out on the lock liner azimuth data acquired by the gravity acceleration sensor and the lock liner azimuth data in the lock liner opening and closing azimuth information, and when the lock body is matched with the lock liner opening and closing azimuth data, a locking instruction is sent to the lock body.
Further, according to the lock connector based on the gravity acceleration sensor, the circuit board is further provided with a Bluetooth module; the Bluetooth module is connected with the microprocessor; the microprocessor is further configured to:
the Bluetooth module is connected with a mobile terminal;
receiving an unlocking instruction sent by the mobile terminal through the Bluetooth module;
and forwarding the unlocking instruction to the lock body through the joint part.
The invention relates to a lock opening and closing method based on a gravity acceleration sensor, which relates to a lock body and a lock connector; the lock connector includes a handle portion and a tab portion; the joint part is used for electrically butting with the lock body; the handle part is provided with a gravity acceleration sensor; the lock body is provided with a lock liner which can be in butt joint with the joint part of the lock body; the method comprises the following steps:
when the joint part of the lock connector is in butt joint with the lock liner of the lock body, the lock body sends a lock body identifier and a lock body locking and unlocking state to the lock connector;
when the lock connector forwards an unlocking or locking instruction to the lock body, or the lock connector receives that the unlocking and locking of the lock body is successfully returned, the lock connector matches the lock liner orientation data acquired by the gravity acceleration sensor with the lock body identification and stores the lock liner opening and closing orientation data into lock liner opening and closing orientation information;
when the locking state of the lock body is invalid state data, the lock connector matches lock liner orientation data obtained by a gravity acceleration sensor with lock liner orientation data in the lock liner opening and closing orientation information, and when the lock connector is matched with the lock liner opening and closing orientation data, a locking instruction is sent to the lock body;
and when the lock body receives a locking instruction, executing the locking instruction.
Further, according to the opening and closing lock method based on the gravity acceleration sensor, the method further comprises the following steps: the lock connector receives an unlocking instruction of the mobile terminal through the Bluetooth module and then transmits the unlocking instruction to the lock body; after the lock body receives the unlocking instruction, the lock body is matched with the OTC code in the unlocking instruction, and the unlocking instruction is executed after the matching is passed.
The invention has the following technical effects:
1. the invention solves the problem that the lock body and the lock connector cannot be normally unlocked and locked when the lock body opening and closing state detection sensor in the lock body fails or the lock body state sensor is not installed.
2. The gravity acceleration sensor is positioned on the lock connector, the lock body is not influenced, the size of the lock body is not increased, and the lock body is convenient to be compatible with the existing mechanical lock.
3. The lock connector and the lock body are separated, each lock connector can be matched with a plurality of lock bodies, the gravity acceleration sensor is installed on the lock connector, and compared with a lock body state sensor installed on each lock body, the lock body state sensor is only installed on the lock connector, and cost is greatly reduced.
4. The detection of the gravity acceleration sensor belongs to non-contact detection, so that the abrasion is not generated in the using process, and the service life is longer.
5. The gravity acceleration sensor detects the universal gravitation of the earth, and the universal gravitation is difficult to interfere.
Drawings
Fig. 1 is a schematic structural diagram of a lock connector according to an embodiment of the invention.
Fig. 2 is a schematic structural diagram of a lock core of a lock body according to an embodiment of the invention.
Fig. 3 is a schematic diagram of an embodiment of the present invention.
The lock comprises a handle part 1, a joint part 2, a magnetic steel 21, a spring needle seat 22, a spring contact pin 23, a lock cylinder fixture block 24, a circuit board 3, a microprocessor 31, a battery 32, a gravity acceleration sensor 33, a socket 34, an external lock cylinder 41, a lock cylinder 42, a contact piece 43, a clamping groove 44, a circular notch 45 and an iron adsorption ring piece 46.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
A lock connector based on a gravity acceleration sensor, as shown in figure 1, comprises a handle portion 1 and a joint portion 2. And the joint part 2 is used for electrically butting with the lock body and is provided with an electrical interface, a lock liner clamping block 24 and an adsorption mechanism. The joint portion 2 is of a cylindrical structure, and the root thereof is connected to the handle portion 1. An electrical interface is provided at the end of the shank 2 and comprises a spring needle seat 22 and a spring contact pin 23. The spring contact pin 23 is attached to the spring needle holder 22 and elastically expandable and contractible in the axial direction of the joint portion 2. The adsorption mechanism comprises a magnetic steel 21 arranged at the root part of the joint part 2. The lock core block 24 is arranged on the end column edge of the joint part 2.
The lock body cylinder, which matches the lock connector tab portion 2, as shown in fig. 2, includes an external cylinder 41 and a cylinder liner 42. The cylinder liner 42 is cylindrical. The front end of the cylinder 42 is provided with an inwardly concave circular notch 45. The diameter of the circular recess 45 matches the diameter of the joint part 2 of the lock connector so that the joint part 2 of the lock connector can be inserted axially into the circular recess 45. The edge of the circular notch 45 is provided with a clamping groove 44. The clamping groove 44 is matched with the lock cylinder clamping block 24, and when the joint part 2 of the lock connector is axially inserted into the circular notch 45, the lock cylinder clamping block 24 on the lock connector is positioned in the clamping groove 44. Therefore, when the connector part 2 of the lock connector is axially inserted into the circular notch 45, when the lock connector is rotated around the axial direction of the connector part 2, the lock cylinder 42 is driven to rotate around the axial direction thereof through the interaction of the lock cylinder clamping blocks 24 and the clamping grooves 44. A contact tab 43 is provided in the circular recess 45. The position of the contact piece 43 is matched with the spring contact pin 23 on the connector joint part 2 of the lock, and when the connector joint part 2 of the lock is axially inserted into the circular notch 45, the spring contact pin 23 on the connector joint part 2 of the lock is pressed against the contact piece 43, so that the lock connector and the lock body are electrically connected. In addition, an iron adsorption ring piece 46 is arranged at the inner edge of the circular notch 45. Iron adsorbs the ring piece 46 and is used for providing the adsorption affinity for tool to lock connector's magnet steel 21 for after tool to lock connector and lock body butt joint, the connector portion 2 of tool to lock connector can adsorb in circular notch 45 through magnetic force between magnet steel 21 and the iron adsorbs the ring piece 46.
In this embodiment, four contact pieces 4 and four spring contact pins 23 are arranged in a four-corner layout to form four interface lines. The four interface lines are respectively a high-level line, a low-level line, a data transmitting line and a data receiving line, thereby forming a serial interface between the lockset connector and the lock body.
The handle part 1 of the lock connector is internally provided with a circuit board 3. The circuit board 3 is provided with a microprocessor 31, a battery 32, a gravity acceleration sensor 33 and a socket 34. The socket 34 and the spring contact pins 23 are connected by wires. The battery 33 connects the microprocessor 31 and the gravitational acceleration sensor 33. The microprocessor 31 is connected to a gravitational acceleration sensor 33 and a socket 34. The microprocessor 31 has a bluetooth module built therein. From this the tool to lock connector can pass through bluetooth module and connect mobile terminal, and mobile terminal then passes through mobile network or WIFI and connects background server. After the joint part of the lock connector is in butt joint with the lock body, the microprocessor of the lock connector is in serial connection with the lock body through the joint part.
When the lockset connector is used, the interaction relation among the lockset connector, the lock body, the mobile terminal and the background server is as follows:
when the joint part of the lock connector is in butt joint with the lock body, the lock body sends the lock body identification and the lock body locking and unlocking state to the lock connector. If the lock body state sensor in the lock body is invalid or has a problem, the lock body opening and closing lock state sent by the lock body to the lock connector is invalid data. Or a lock body state sensor is not installed in the lock body, and the lock body opening and closing lock state sent by the lock body to the lock connector is also invalid data.
After the lock connector receives the lock body identification and the lock body opening and closing state, the lock connector firstly judges whether the lock body opening and closing state is a locking state or an unlocking state or invalid data. If the locking state of the lock body is a locking state, no processing is performed. If the locking state of the lock body is the unlocking state, the lock connector directly sends a locking instruction to the lock body no matter whether the lock connector is connected with the mobile terminal or not. After the lock body receives the locking instruction, if the rotation angle of the lock liner is matched with the opening and closing azimuth angle of the lock body, the lock is locked by executing the locking instruction. However, if the rotation angle of the cylinder is not matched with the opening and closing azimuth angle of the lock body, the locking instruction will fail to be executed. If the locking state of the lock body is invalid data, whether corresponding lock liner opening and closing direction information exists is searched according to the lock body identification. If the lock core opening and closing azimuth information exists, the current lock core azimuth data is obtained through the gravity acceleration sensor, the current lock core azimuth data is matched with the lock core azimuth data in the lock core opening and closing azimuth information, if the current lock core azimuth data is matched with the lock core azimuth data in the lock core opening and closing azimuth information, no matter whether the current lock core azimuth data is connected with the mobile terminal or not, a locking instruction is directly sent to the lock body, and at the moment, after the lock body receives the locking instruction, the locking instruction is executed, and locking is completed. And if the corresponding lock cylinder opening and closing direction information does not exist, no processing is performed.
Before the connector portion and the lock body of tool to lock connector dock, if connected mobile terminal through bluetooth module, the tool to lock connector receives lock body sign and lock body switching lock state after, sends this lock body sign and lock body switching lock state to mobile terminal through bluetooth module. On the UI interface of the mobile terminal, the user can initiate the operation of unlocking or locking.
When the user initiates unblanking on mobile terminal, the lock body passes through the tool to lock connector, mobile terminal and backend server carry out the back of interacting, and backend server produces the OTC code that unblanks and constitutes the instruction of unblanking, and the instruction of unblanking sends the tool to lock connector through mobile terminal, and after the tool to lock connector received the instruction of unblanking this instruction of unblanking and sends the lock body to, the lock courage position data that obtains through gravity acceleration sensor pairs with the lock body sign simultaneously and saves into lock courage switching position information.
When a user initiates locking on the mobile terminal, the mobile terminal directly sends a locking instruction to the lock connector. When the lock connector receives the locking instruction, the locking instruction is sent to the lock body, and meanwhile, the lock container position data acquired through the gravity acceleration sensor is matched with the lock body identification to be stored into lock container opening and closing position information.
If the lock body is provided with the lock body state sensor and does not lose efficacy, at the moment, after the locking instruction or the unlocking instruction is executed, whether the locking instruction or the unlocking instruction is successfully completed can be judged according to the locking and unlocking state of the lock body detected by the lock body state sensor: when the locking state of the lock body is changed from the unlocking state before the locking instruction is executed to the locking state after the locking instruction is executed, the locking instruction is successfully executed, otherwise, the locking instruction is failed to be executed; when the locking state of the lock body is changed from the locking state before the unlocking instruction is executed to the unlocking state after the unlocking instruction is executed, the unlocking instruction is executed successfully, otherwise, the unlocking instruction is executed unsuccessfully. The unlocking instruction comprises an OTC code, before the unlocking instruction is executed, the lock body firstly needs to be matched with the OTC code, and if the lock body is matched with the OTC code, the unlocking instruction is executed.
If the locking instruction is successfully executed, the lock body sends locking success information to the lock connector; and when the locking instruction is failed, the lock body sends locking failure information to the lock connector. If the unlocking instruction is successfully executed, the lock body sends unlocking success information to the lock connector; and when the unlocking instruction fails, the lock body sends unlocking failure information to the lock connector.
If the lock body state sensor equipped with the lock body is invalid or if the lock body is not equipped with the lock body state sensor, at this moment, the lock body can not detect whether the locking instruction or the unlocking instruction is successfully completed by self, the locking and unlocking success information can not be returned to the lock connector, and only the locking instruction or the unlocking instruction is executed and then the locking instruction or the locking instruction executed information is sent to the lock connector, and under the condition, whether the lock is successfully opened and closed needs to be judged manually.
After the lock connector receives the locking success information or the unlocking success information, the lock container position data acquired through the gravity acceleration sensor is matched with the lock body identification and stored to form the lock container opening and closing position information.
According to the process, the operation that the lock cylinder direction data acquired by the lock connector through the gravity acceleration sensor is matched with the lock body identification to be stored into the lock cylinder opening and closing direction information is performed under four conditions: the first is when the lock connector transmits an unlocking instruction; the second is when the lock connector transmits the locking command; the third is when the lock connector receives the locking success information; and fourthly, when the lock connector receives unlocking success information. After the third and fourth combinations, that is, when the lock connector receives the unlocking success message. The covering strategy when the opening and closing direction information of the lock cylinder is stored in the first two cases is different from that in the last two cases. In the latter two cases, if the original lock core opening and closing position information exists, a forced covering mode is adopted, that is, when the lock connector receives the unlocking and locking success information to store the lock core opening and closing position information, the original lock core opening and closing position information is forcibly covered. In the former two cases, the lock is forcibly covered only when the lock connector repeats the instruction for a short period, that is, when the lock connector forwards the unlocking instruction or the locking instruction to store the opening and closing direction information of the lock cylinder, if the opening and closing direction information of the lock cylinder corresponding to the lock identifier originally exists, the storage of the opening and closing direction information of the lock cylinder is abandoned for the first unlocking instruction or locking instruction, the original opening and closing direction information of the lock cylinder is used as the standard, but if the same unlocking instruction or locking instruction is continuously forwarded within a short period of 3-5 minutes, the original opening and closing direction information of the lock cylinder is covered.
In this embodiment, the acceleration sensor is a three-axis acceleration sensor, and the detected acceleration data is acceleration data in three axes. The three-axis direction gravity acceleration data is, as shown in fig. 3, based on the circuit board 3 and the gravity acceleration sensor 33, and since the gravity acceleration is always kept constant, the three-axis direction gravity acceleration data forms gravity acceleration vectors in X, Y, and Z, and rotation of the lock connector is equivalent to rotation of the gravity acceleration vector. Considering that the axis of the cylinder is generally horizontal or nearly horizontal when the lock body is installed, assuming that the axis of the cylinder is in the X-axis direction, the included angle between the gravity acceleration vector and the Z-axis direction isθThe rotation angle of the lock cylinder or the lock connector. During actual processing, the orientation data of the lock cylinder can be directly obtained by using the gravity acceleration vector. When the orientation data of the two lock cores are matched, whether the cosine of an included angle between the two vectors is close to 1 or not is directly calculated by a cosine formula according to the two gravity acceleration vectors.
It should be noted that, in the above process, the specific details of the "after the lock body interacts with the backend server through the lock connector, the mobile terminal, and the backend server generates the OTC code to be unlocked to form the unlocking instruction", how the lock body matches the OTC code, and the interactive authorization between the mobile terminal and the backend terminal are not the scope to be discussed in the present invention, and the description is not repeated herein.

Claims (4)

1. A lock connector based on a gravity acceleration sensor is characterized by comprising a handle part and a connector part; the joint part is used for electrically butting with the lock body; a circuit board, a battery and a gravity acceleration sensor are arranged inside the handle part; the circuit board is provided with a microprocessor; the battery is connected with the microprocessor and the gravity acceleration sensor; the gravity acceleration sensor and the joint part are connected with the microprocessor; the microprocessor is configured to:
the lock body is connected through the joint part, and the lock body identification and the lock body opening and closing states are obtained;
when the received unlocking or locking instruction is forwarded to the lock body or the lock body returns that unlocking and locking are successful, the lock liner direction data acquired by the gravity acceleration sensor is matched with the lock body identification and stored into lock liner opening and closing direction information;
when the locking state of the lock body is invalid state data, matching is carried out on the lock liner azimuth data acquired by the gravity acceleration sensor and the lock liner azimuth data in the lock liner opening and closing azimuth information, and when the lock body is matched with the lock liner opening and closing azimuth data, a locking instruction is sent to the lock body.
2. The lock connector based on the gravitational acceleration sensor as set forth in claim 1, wherein the circuit board is further provided with a bluetooth module; the Bluetooth module is connected with the microprocessor; the microprocessor is further configured to:
the Bluetooth module is connected with a mobile terminal;
receiving an unlocking instruction sent by the mobile terminal through the Bluetooth module;
and forwarding the unlocking instruction to the lock body through the joint part.
3. A lock opening and closing method based on a gravity acceleration sensor is characterized in that the method relates to a lock body and a lock connector; the lock connector includes a handle portion and a tab portion; the joint part is used for electrically butting with the lock body; the handle part is provided with a gravity acceleration sensor; the lock body is provided with a lock liner which can be in butt joint with the joint part of the lock body; the method comprises the following steps:
when the joint part of the lock connector is in butt joint with the lock liner of the lock body, the lock body sends a lock body identifier and a lock body locking and unlocking state to the lock connector;
when the lock connector forwards the received unlocking or locking instruction to the lock body, or the lock connector receives the successful unlocking and locking returned by the lock body, the lock connector matches the lock liner position data acquired by the gravity acceleration sensor with the lock body identification to store the lock liner opening and closing position information;
when the locking state of the lock body is invalid state data, the lock connector matches lock liner orientation data obtained by a gravity acceleration sensor with lock liner orientation data in the lock liner opening and closing orientation information, and when the lock connector is matched with the lock liner opening and closing orientation data, a locking instruction is sent to the lock body;
and when the lock body receives a locking instruction, executing the locking instruction.
4. The gravity acceleration sensor-based lock opening and closing method according to claim 3, further comprising the steps of: the lock connector receives an unlocking instruction of the mobile terminal through the Bluetooth module and then transmits the unlocking instruction to the lock body; after the lock body receives the unlocking instruction, the lock body is matched with the OTC code in the unlocking instruction, and the unlocking instruction is executed after the matching is passed.
CN201910505832.1A 2019-06-12 2019-06-12 Lock connector based on gravity acceleration sensor and lock opening and closing method Active CN110219513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910505832.1A CN110219513B (en) 2019-06-12 2019-06-12 Lock connector based on gravity acceleration sensor and lock opening and closing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910505832.1A CN110219513B (en) 2019-06-12 2019-06-12 Lock connector based on gravity acceleration sensor and lock opening and closing method

Publications (2)

Publication Number Publication Date
CN110219513A CN110219513A (en) 2019-09-10
CN110219513B true CN110219513B (en) 2020-12-22

Family

ID=67816716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910505832.1A Active CN110219513B (en) 2019-06-12 2019-06-12 Lock connector based on gravity acceleration sensor and lock opening and closing method

Country Status (1)

Country Link
CN (1) CN110219513B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003168084A (en) * 2001-11-30 2003-06-13 Sanyo Electric Co Ltd Personal identification system and method himself/ herself
DE102004057157A1 (en) * 2004-08-21 2006-04-27 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Method and device for detecting a personally executed signature or signature and for recognizing the authenticity of the signature or signature
US7796052B2 (en) * 2006-03-29 2010-09-14 Honeywell International Inc. One button multifunction key fob for controlling a security system
DE202008010249U1 (en) * 2008-07-30 2009-12-10 Burg-Wächter Kg lock
JP2016000905A (en) * 2014-06-11 2016-01-07 株式会社東海理化電機製作所 Vehicle communication system
CN205677392U (en) * 2016-06-21 2016-11-09 上海亘好信息技术有限公司 A kind of automatically controlled unlocking key limits the door lock mechanism opened
CN106296907A (en) * 2016-08-08 2017-01-04 中兴捷维通讯技术有限责任公司 A kind of intelligent electronic lock management system
CN106812382A (en) * 2017-02-23 2017-06-09 胡渐佳 Monitor the intelligent door lock at electronics end of going out
CN206737600U (en) * 2017-05-15 2017-12-12 国网北京市电力公司 Door lock interlock
KR20190014719A (en) * 2017-08-03 2019-02-13 김종각 System for controlling admission and the method thereof
CN107909682A (en) * 2017-10-23 2018-04-13 林楚莲 A kind of access control method, device and antitheft door
CN109147136A (en) * 2018-09-07 2019-01-04 中国电子科技集团公司第三十八研究所 A kind of intelligence enabling management system

Also Published As

Publication number Publication date
CN110219513A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
US8547059B2 (en) Lock structure for battery charging connector
CN103872518B (en) Lock device
US9199551B2 (en) Lock device
CN102893462B (en) Manual unlocking structure for power feeding plug locking device
US8460028B2 (en) Self powered electric vehicle charging connector locking system
US10707623B2 (en) Charging system for vehicle
EP2772992B1 (en) Power feed connector
CN107178250B (en) Lock cylinder, lockset, classifying method of lock cylinder, key and classifying method of key
CN104979115A (en) Electric vehicle service disconnect lock
JP2000223209A (en) Handle type power connector and connecting method thereof
JPWO2014069395A1 (en) Power supply connector and unlocking method of power supply connector
EP3121911A1 (en) Electrical connector
JP2014118694A (en) Lock device
JP5940971B2 (en) Locking device
CN110049707A (en) Door lock assembly with security system
CN110409929A (en) Ground wire lockset, ground wire anti-error system, ground wire are hung, tear condition detection method, the anti-error method hung, leak dismounting ground wire open
US20220231455A1 (en) Method for locking a connector arranged on a charging cable to a mating connector, and charging station for carrying out the method
CN110219513B (en) Lock connector based on gravity acceleration sensor and lock opening and closing method
JP2014120233A (en) Lock device
JP2008137640A (en) Automatic bicycle storage system, bicycle for the system and locking station for the system
CN104033030A (en) Electric alarm intermittent type interlocking anti-theft lock with hidden key
CN109898933B (en) Remote key management system and method
CN207228801U (en) A kind of electronic lock, charging socket and electric vehicle
CN103167975A (en) Device for shifting a blocking element
CN213844219U (en) Logistics tracking lock based on Bluetooth

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