Wireless door lock and power consumption control method thereof
By optimizing the opening and closing of various electronic units in the wireless door lock control circuit module, the problem of excessive power consumption of wireless door locks is solved, and the power consumption is reduced under safe working conditions is achieved, and the safety of cargo transportation is ensured.
Patent Information
- Application Number
- CN202411759342.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the limited storage power of the battery and excessive power consumption, wireless door locks cannot work normally during long-distance transportation, causing major safety hazards in cargo transportation.
By controlling the opening and closing of the positioning unit, wireless communication unit, Bluetooth unit and acceleration detection unit, the power consumption management of the wireless door lock in a stationary and motion state is optimized, and the reporting period of the positioning information is adjusted to take into account power consumption and monitoring accuracy.
It significantly reduces the battery's power consumption, ensures that the wireless door locks maintain precise and safe work while reducing power consumption, and avoids transportation safety hazards caused by power depletion.
Smart Images

Figure CN119600709A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of locks, and in particular to a wireless door lock and a power consumption control method thereof. Background Art
[0002] Traditional mechanical locks cannot detect the lock status in time and can only rely on manual inspections to check the lock status. When a traditional mechanical lock is damaged, it cannot be discovered in time and is likely to cause property loss or personal safety threats. Wireless door locks are different from traditional mechanical locks. In addition to mechanical locks and anti-theft alarm functions, they can also combine communication and positioning technology to conduct all-round real-time monitoring of the lock status. Wireless door locks are used in industries such as vehicle transportation. They can open and close locks, enter and exit warehouses, patrol warehouses, and automatically upload records in a variety of ways to achieve integrated information monitoring of in-transit transportation and warehouse management, and optimize the transportation and warehousing management mechanism to a higher level.
[0003] Wireless door locks have mechanical and electronic components and require batteries to provide energy. Due to the limited internal space of wireless door locks, the battery size is limited and can only provide limited power. At the same time, in order to resist disassembly and prevent dust and water, wireless door locks generally adopt a sealed structure. The electronic components and batteries are enclosed inside the wireless door lock body structure, and the built-in battery cannot be quickly replaced. If the wireless door lock runs out of power during use, it will not work properly, which will have a great impact on the entire wireless door lock information detection. Especially in long-distance transportation of vehicles, the lock positioning information and door lock status information will not be obtained, which will cause major safety hazards in cargo transportation.
[0004] Therefore, when the battery storage energy is limited, how to effectively reduce the power consumption of wireless door locks becomes a key technical problem that needs to be solved. Summary of the invention
[0005] The object of the present invention is to provide a wireless door lock and a power consumption control method thereof, so as to effectively reduce the power consumption of the wireless door lock and ensure that the wireless door lock can work accurately and safely while reducing power consumption.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] According to one aspect of the present invention, a wireless door lock is provided, comprising a U-shaped lock beam 1 and a lock body 2, wherein the lock body 2 comprises: a mechanical unlocking mechanism 21, an electronic unlocking mechanism 22, a control circuit module 23 and a battery 24, wherein the battery 24 supplies power to the electronic unlocking mechanism 22 and the control circuit module 23, wherein the control circuit module 23 is configured to communicate with an external user terminal 3 and / or a remote monitoring platform 4, and control the electronic unlocking mechanism 22 to drive the mechanical unlocking mechanism 21 to lock or unlock the U-shaped lock beam 1;
[0008] The control circuit module 23 includes a control unit 2301, a storage unit 2302, a wireless communication unit 2303, a Bluetooth unit 2304, a positioning unit 2305, and an acceleration detection unit 2306; the control unit 2301 includes an initialization control subunit 401, a static control subunit 402, and a dynamic control subunit 403;
[0009] The initialization control subunit 401 is configured to control the wireless communication unit 2303 to remain in the real network sleep mode, control the acceleration detection unit 2306 to enter the static state or the motion state according to the acceleration change rate and / or control the positioning unit 2305 to enter the static state or the motion state according to the speed determination;
[0010] The static control subunit 402 is configured to control the acceleration detection unit 2306 to enter the motion state according to the acceleration change rate and the positioning unit 2305 to enter the motion state according to the speed determination in the static state;
[0011] The dynamic control subunit 403 is configured to adjust the reporting time interval of the control positioning unit 2305 and the working mode of the wireless communication unit 2303 according to the acceleration change rate in the motion state, and control the acceleration detection unit 2306 to enter the static state according to the acceleration change rate and the control positioning unit 2305 according to the speed judgment.
[0012] According to one embodiment of the present invention, the initialization control subunit 401 is configured to, during the power-on initialization phase, turn on the wireless communication unit 2303 to establish two-way communication with the remote monitoring platform 4 and then maintain the real network sleep mode, turn on the positioning unit 2305 to parse the positioning data, turn on the acceleration detection unit 2306 and calculate the acceleration change rate, and directly enter the static state if the positioning data cannot be parsed, or if the speed obtained by parsing the positioning data is less than the first speed threshold and the acceleration change rate is less than the first acceleration change rate threshold, then determine that the wireless door lock is in a static state, or if the speed obtained by parsing the positioning data is greater than or equal to the first speed threshold, then determine that the wireless door lock is in a moving state;
[0013] The static control subunit 402 is configured to, in a stationary state, turn off the positioning unit 2305, turn on the Bluetooth unit 2304 to connect to the user terminal 3, and turn off the wireless communication unit 2303 after establishing two-way communication with the remote monitoring platform 4 through the user terminal 3; calculate the acceleration change rate, if the wireless door lock is in a connected state with the user terminal 3 and the acceleration change rate is greater than the second acceleration change rate threshold, turn on the positioning unit 2305 to continuously monitor the speed greater than or equal to the second speed threshold, then determine that the wireless door lock is in motion, turn on the wireless communication unit 2303 to enter the PSM mode, and turn off the Bluetooth unit 2304;
[0014] The dynamic control subunit 403 is configured to, in a moving state, turn on the positioning unit 2305 to report positioning information at a first time interval, calculate the acceleration change rate, turn off the acceleration detection unit 2306 when the acceleration change rate is greater than a third acceleration change rate threshold, report positioning information at a second time interval, change the wireless communication unit 2303 from the PSM mode to the sleep mode and periodically report that the wireless door lock is in a moving state; calculate the acceleration based on the speed information of the positioning unit 2305, monitor the acceleration value when the acceleration is greater than the first acceleration threshold; and enter a stationary state when the acceleration is continuously less than 0 until the speed is reduced to 0 and continuously exceeds the first stationary time threshold.
[0015] According to an embodiment of the present invention, the control circuit module 23 further includes an NFC unit 2307, and the NFC unit 2307 is configured to communicate with the user terminal 3, perform identity authentication on the user terminal 3, and after the authentication is passed, notify the electronic unlocking mechanism 22 to drive the mechanical unlocking mechanism 21 to lock or unlock the U-shaped lock beam 1 according to the operation of the user terminal 3;
[0016] The initialization control subunit 401 is configured to turn on the NFC unit 2307 during the power-on initialization phase, control the NFC unit 2307 to enter the ACD card checking mode, and wait for the user terminal 3 to perform an NFC card swipe to execute an on / off lock operation.
[0017] According to one embodiment of the present invention, the control circuit module 23 also includes a display screen 2308, and the display screen 2308 is configured to display interaction status information when the Bluetooth unit 2304, the NFC unit 2307, the wireless communication unit 2303 interacts with the user terminal 3.
[0018] On the other hand, the present invention also provides a power consumption control method based on the above wireless door lock, comprising the following steps:
[0019] Power-on initialization: control the wireless communication unit 2303 to maintain the real network sleep mode, control the acceleration detection unit 2306 to enter the static state or the moving state according to the acceleration change rate and / or control the positioning unit 2305 to enter the static state or the moving state according to the speed determination;
[0020] Static control: In the static state, the acceleration detection unit 2306 is controlled according to the acceleration change rate and the positioning unit 2305 is controlled according to the speed to enter the motion state;
[0021] Dynamic control: In motion, the reporting time interval of the control positioning unit 2305 and the working mode of the wireless communication module are adjusted according to the acceleration change rate, and the control acceleration detection unit 2306 enters a stationary state according to the acceleration change rate and the control positioning unit 2305 according to the speed judgment.
[0022] According to one embodiment of the present invention, the power-on initialization comprises the following steps:
[0023] After the wireless communication unit 2303 is turned on to establish two-way communication with the remote monitoring platform 4, it remains in the real network sleep mode;
[0024] Start the positioning unit 2305 to analyze the positioning data;
[0025] Turn on the acceleration detection unit 2306 and calculate the acceleration change rate;
[0026] If the positioning data cannot be parsed, it will directly enter the static state;
[0027] If the speed obtained by analyzing the positioning data is less than the first speed threshold and the acceleration change rate is less than the first acceleration change rate threshold, it is determined that the wireless door lock is in a stationary state;
[0028] If the speed obtained by analyzing the positioning data is greater than or equal to the first speed threshold, it is determined that the wireless door lock is in motion.
[0029] According to one embodiment of the present invention, the power-on initialization further includes:
[0030] Turn on the NFC unit 2307, control the NFC unit 2307 to enter the ACD card checking mode, and wait for the user terminal 3 to perform the NFC card swiping operation to open or close the lock;
[0031] After the authentication is passed, the electronic unlocking mechanism 22 is notified according to the operation of the user terminal 3 to drive the mechanical unlocking mechanism 23 to lock or unlock the U-shaped locking beam 1.
[0032] According to one embodiment of the present invention, the power-on initialization further includes:
[0033] The wireless communication unit 2303 is turned on to perform SIM card verification, and after the verification is passed, a communication connection with the remote monitoring platform 4 is established.
[0034] According to one embodiment of the present invention, the static control comprises the following steps:
[0035] Turn off the positioning unit 2305;
[0036] Turn on the Bluetooth unit 2304 to connect to the user terminal 3, and after establishing two-way communication with the remote monitoring platform 4 through the user terminal 3, turn off the wireless communication unit 2303;
[0037] Calculate the acceleration change rate, and if the wireless door lock is in a connected state with the user terminal 3 and the acceleration change rate is greater than the second acceleration change rate threshold, turn on the positioning unit 2305;
[0038] Continuously monitoring the speed, and if the speed is greater than or equal to a second speed threshold, determining that the wireless door lock is in motion;
[0039] Turn on the wireless communication unit 2303 to enter the PSM mode;
[0040] Turn off the Bluetooth unit 2304.
[0041] According to one embodiment of the present invention, the dynamic control comprises the following steps:
[0042] Turn on the positioning unit 2305 to report positioning information at a first time interval;
[0043] Calculate the acceleration change rate, and turn off the acceleration detection unit 2306 when the acceleration change rate is greater than a third acceleration change rate threshold;
[0044] The positioning unit 2305 reports the positioning information at a second time interval;
[0045] Change the wireless communication unit 2303 from the PSM mode to the sleep mode and regularly report that the wireless door lock is in motion;
[0046] The acceleration is calculated based on the speed information of the positioning unit 2305, and the acceleration value is monitored when the acceleration is greater than the first acceleration threshold; when the acceleration is continuously less than 0 until the speed is reduced to 0 and continuously exceeds the first static time threshold, the static state is entered.
[0047] Compared with the prior art, the beneficial effects of the present invention are:
[0048] The control circuit module of the wireless door lock manages the power consumption of the wireless door lock in static and moving states by controlling the opening and closing of the positioning unit, the wireless communication unit, the Bluetooth unit, and the acceleration detection unit. At the same time, by adjusting the reporting cycle of the positioning information obtained by the positioning unit, the power consumption and the accurate monitoring of the wireless door lock state can be taken into account. The application of the present invention can significantly reduce the power consumption of the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0050] Figure 1 Shown is a schematic diagram of a wireless door lock according to an exemplary embodiment of the present invention.
[0051] Figure 2 Shown is a schematic diagram of the lock body structure of a wireless door lock according to an exemplary embodiment of the present invention.
[0052] Figure 3 FIG. 1 is a schematic diagram showing the structure of a control circuit module according to an exemplary embodiment of the present invention.
[0053] Figure 4 Shown is a schematic diagram of the structure of a control unit of a control circuit module according to an exemplary embodiment of the present invention.
[0054] Figure 5 FIG. 1 is a flow chart of a method for controlling power consumption of a wireless door lock according to an exemplary embodiment of the present invention.
[0055] Figure 6 FIG. 1 is a flow chart of an initialization control embodiment according to an exemplary embodiment of the present invention.
[0056] Figure 7 Shown is a flow chart of a static control embodiment according to an exemplary embodiment of the present invention.
[0057] Figure 8 Shown is a flow chart of a dynamic control embodiment according to an exemplary embodiment of the present invention.
[0058] Reference numerals:
[0059] 1-U-shaped lock beam, 2-lock body, 3-user terminal, 4-remote monitoring platform, 21-mechanical unlocking mechanism, 22-electronic unlocking mechanism, 23-control circuit module, 24-battery, 2301-control unit, 2302-storage unit, 2303-wireless communication unit, 2304-Bluetooth unit, 2305-positioning unit, 2306-acceleration detection unit, 2307-NFC unit, 2308-display screen, 401-initialization control subunit, 402-static control subunit, 403-dynamic control subunit. DETAILED DESCRIPTION
[0060] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0061] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0062] In the present invention, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The following at least one item (items) or similar expressions thereof refer to any combination of these items, including any combination of single items (items) or plural items (items). For example, at least one item (items) of a, b or c can mean: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b, c can be single or multiple.
[0063] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0064] like Figure 1 As shown in FIG. 1 , a basic structural diagram of a wireless door lock is given. Generally, a wireless door lock includes a U-shaped lock beam 1 and a lock body 2. Figure 2 As shown, the lock body 2 includes: a mechanical unlocking mechanism 21, an electronic unlocking mechanism 22, a control circuit module 23 and a battery 24. The battery 24 supplies power to the electronic unlocking mechanism 22 and the control circuit module 23. The control circuit module 23 is configured to Figure 1 The external user terminal 3 and / or the remote monitoring platform 4 shown are connected for communication, and control the electronic unlocking mechanism 22 to drive the mechanical unlocking mechanism 21 to lock or unlock the U-shaped locking beam 1 .
[0065] like Figure 3 As shown, the control circuit module 23 includes a control unit 2301 , a storage unit 2302 , a wireless communication unit 2303 , a Bluetooth unit 2304 , a positioning unit 2305 , and an acceleration detection unit 2306 .
[0066] The control unit 2301 is an MCU or FPGA, the storage unit 2302 is a FLASH memory, or an SD card, or a MicroSD card. The Bluetooth unit 2304 is a Bluetooth chip. The positioning unit 2305 is a Beidou positioning chip or a GPS positioning chip. The acceleration detection unit 2306 is an acceleration sensor.
[0067] The wireless communication unit 2303 may be a Cat.1 unit, a Cat.4 unit, an eMTC unit, a NB-IoT unit, or a LoRa unit, depending on the application scenario. The full name of the Cat.1 unit is LTEUE-Category1, which is a level of user equipment UE in the LTE network. According to the definition of 3GPP, UE categories are divided into 15 levels from 1 to 15. Cat.1 can be called a "low-profile version" of a 4G terminal, with an uplink peak rate of 5 Mbit / s and a downlink peak rate of 10 Mbit / s. It belongs to the cellular Internet of Things and is a wide area network. The ultimate goal of Cat.1 is to serve the Internet of Things and achieve low power consumption and low-cost LTE connections.
[0068] like Figure 4 As shown, the control unit 2301 includes an initialization control subunit 401, a static control subunit 402, and a dynamic control subunit 403; wherein:
[0069] The initialization control subunit 401 is configured to control the wireless communication unit 2303 to remain in the real network sleep mode, control the acceleration detection unit 2306 to enter the static state or the motion state according to the acceleration change rate and / or control the positioning unit 2305 to enter the static state or the motion state according to the speed determination;
[0070] The static control subunit 402 is configured to control the acceleration detection unit 2306 to enter the motion state according to the acceleration change rate and the positioning unit 2305 to enter the motion state according to the speed determination in the static state;
[0071] The dynamic control subunit 403 is configured to adjust the reporting time interval of the control positioning unit 2305 and the working mode of the wireless communication unit 2303 according to the acceleration change rate in the motion state, and control the acceleration detection unit 2306 to enter the static state according to the acceleration change rate and the control positioning unit 2305 according to the speed judgment.
[0072] During the power-on initialization phase, the initialization control subunit 401 turns on the wireless communication unit 2303 to establish two-way communication with the remote monitoring platform 4 and then maintains the real network sleep mode, turns on the positioning unit 2305 to parse the positioning data, turns on the acceleration detection unit 2306 and calculates the acceleration change rate, and directly enters the static state if the positioning data cannot be parsed, or if the speed obtained by parsing the positioning data is less than the first speed threshold and the acceleration change rate is less than the first acceleration change rate threshold, it is determined that the wireless door lock is in a static state, or if the speed obtained by parsing the positioning data is greater than or equal to the first speed threshold, it is determined that the wireless door lock is in a moving state; the first speed threshold is 2 to 6 kM / h, preferably 3 kM / h, or 4 kM / h, or 5 kM / h, or 6 kM / h. The first acceleration change rate is 0.05 to 0.3, preferably 0.05, or 0.1, or 0.2.
[0073] The static control subunit 402 is in a stationary state, turns off the positioning unit 2305, turns on the Bluetooth unit 2304 to connect to the user terminal 3, and turns off the wireless communication unit 2303 after establishing two-way communication with the remote monitoring platform 4 through the user terminal 3; calculates the acceleration change rate, if the wireless door lock is in a connected state with the user terminal 3 and the acceleration change rate is greater than the second acceleration change rate threshold, then turns on the positioning unit 2305 to continuously monitor the speed greater than or equal to the second speed threshold, then determines that the wireless door lock is in motion, turns on the wireless communication unit 2303 to enter the PSM mode, and turns off the Bluetooth unit 2304; the second speed threshold is 9 to 15 kM / h, preferably 9 kM / h, or 10 kM / h, or 12 kM / h, or 14 kM / h. The second acceleration change rate threshold is 1.5 to 3, preferably 1.5, or 2, or 2.5.
[0074] In PSM mode, the communication between the wireless door lock and the remote monitoring platform is one-way, which only allows the wireless door lock to report information through the wireless communication unit, but not to receive information from the remote monitoring platform.
[0075] In the real network sleep mode, there is two-way communication between the wireless door lock and the remote monitoring platform, allowing the wireless door lock to report information through the wireless communication unit during the lock period. The reporting period can be adjusted as needed, and the wireless door lock is allowed to receive information from the remote monitoring platform.
[0076] When the dynamic control subunit 403 is in motion, the positioning unit 2305 is turned on to report positioning information at a first time interval, and the acceleration change rate is calculated. When the acceleration change rate is greater than the third acceleration change rate threshold, the acceleration detection unit 2306 is turned off, and the positioning information is reported at a second time interval. The wireless communication unit 2303 is changed from the PSM mode to the sleep mode and the wireless door lock is regularly reported as being in motion; the acceleration is calculated according to the speed information of the positioning unit 2305, and the acceleration value is monitored when the acceleration is greater than the first acceleration threshold; when the acceleration is continuously less than 0 until the speed is reduced to 0 and continuously exceeds the first static time threshold, the static state is entered. The third acceleration change rate threshold is 3 to 5, preferably 3, or 4, or 5. The first acceleration threshold is 1 to 3, preferably 1, or 2, or 2.5.
[0077] The control circuit module 23 also includes an NFC unit 2307, which is configured to communicate with the user terminal 3, perform identity authentication on the user terminal 3, and after the authentication is passed, notify the electronic unlocking mechanism 22 to drive the mechanical unlocking mechanism 21 to lock or unlock the U-shaped lock beam 1 according to the operation of the user terminal 3; the initialization control subunit 401 is configured to turn on the NFC unit 2307 during the power-on initialization stage, control the NFC unit 2307 to enter the ACD card inspection mode, and wait for the user terminal 3 to perform the NFC card swipe to execute the lock switch operation.
[0078] The control circuit module 23 also includes a display screen 2308 , which is configured to display interaction status information when the Bluetooth unit 2304 , the NFC unit 2307 , and the wireless communication unit 2303 interact with the user terminal 3 .
[0079] like Figure 5 As shown, the power consumption control method of the wireless door lock includes the following steps:
[0080] Step S51, power-on initialization: control the wireless communication unit 2303 to maintain the real network sleep mode, control the acceleration detection unit 2306 to enter the static state or the moving state according to the acceleration change rate and / or control the positioning unit 2305 to enter the static state or the moving state according to the speed determination;
[0081] Step S52, static control: in a static state, the acceleration detection unit 2306 is controlled according to the acceleration change rate and the positioning unit 2305 is controlled according to the speed to enter a motion state;
[0082] Step S53, dynamic control: in motion, adjust the reporting time interval of the control positioning unit 2305 and the working mode of the wireless communication module according to the acceleration change rate, and control the acceleration detection unit 2306 to enter a stationary state according to the acceleration change rate and the control positioning unit 2305 according to the speed judgment.
[0083] In step S51, the power-on initialization includes the following steps:
[0084] After the wireless communication unit 2303 is turned on to establish two-way communication with the remote monitoring platform 4, it remains in the real network sleep mode;
[0085] Start the positioning unit 2305 to analyze the positioning data;
[0086] Turn on the acceleration detection unit 2306 and calculate the acceleration change rate;
[0087] If the positioning data cannot be parsed, it will directly enter the static state;
[0088] If the speed obtained by analyzing the positioning data is less than the first speed threshold and the acceleration change rate is less than the first acceleration change rate threshold, it is determined that the wireless door lock is in a stationary state; the first speed threshold is 2 to 6 kM / h, preferably 3 kM / h, or 4 kM / h, or 5 kM / h, or 6 kM / h. The first acceleration change rate is 0.05 to 0.3, preferably 0.05, or 0.1, or 0.2.
[0089] If the speed obtained by analyzing the positioning data is greater than or equal to the first speed threshold, it is determined that the wireless door lock is in motion.
[0090] In step S51, the power-on initialization further includes:
[0091] Turn on the NFC unit 2307, control the NFC unit 2307 to enter the ACD card checking mode, and wait for the user terminal 3 to perform the NFC card swiping operation to open or close the lock;
[0092] After the authentication is passed, the electronic unlocking mechanism 22 is notified according to the operation of the user terminal 3 to drive the mechanical unlocking mechanism 23 to lock or unlock the U-shaped locking beam 1.
[0093] In step S51, the power-on initialization further includes:
[0094] The wireless communication unit 2303 is turned on to perform SIM card verification, and after the verification is passed, a communication connection with the remote monitoring platform 4 is established.
[0095] In step S52, the static control includes the following steps:
[0096] Turn off the positioning unit 2305;
[0097] Turn on the Bluetooth unit 2304 to connect to the user terminal 3, and after establishing two-way communication with the remote monitoring platform 4 through the user terminal 3, turn off the wireless communication unit 2303;
[0098] Calculate the acceleration change rate. If the wireless door lock is connected to the user terminal 3 and the acceleration change rate is greater than the second acceleration change rate threshold, turn on the positioning unit 2305; the second acceleration change rate threshold is 1.5 to 3, preferably 1.5, or 2, or 2.5.
[0099] Continuously monitoring the speed, and if the speed is greater than or equal to a second speed threshold, determining that the wireless door lock is in motion;
[0100] Turn on the wireless communication unit 2303 to enter the PSM mode; the second speed threshold is 9 to 15 kM / h, preferably 9 kM / h, or 10 kM / h, or 12 kM / h, or 14 kM / h.
[0101] Turn off the Bluetooth unit 2304.
[0102] In step S53, the dynamic control includes the following steps:
[0103] Turn on the positioning unit 2305 to report positioning information at a first time interval;
[0104] The acceleration change rate is calculated, and the acceleration detection unit 2306 is turned off when the acceleration change rate is greater than a third acceleration change rate threshold; the third acceleration change rate threshold is 3 to 5, preferably 3, or 4, or 5.
[0105] The positioning unit 2305 reports the positioning information at a second time interval;
[0106] Change the wireless communication unit 2303 from the PSM mode to the sleep mode and regularly report that the wireless door lock is in motion;
[0107] The acceleration is calculated based on the speed information of the positioning unit 2305, and the acceleration value is monitored when the acceleration is greater than a first acceleration threshold; when the acceleration is continuously less than 0 until the speed is reduced to 0 and continuously exceeds a first static time threshold, the static state is entered. The first acceleration threshold is 1 to 3, preferably 1, or 2, or 2.5.
[0108] Example 1: Initialization control phase
[0109] like Figure 6 As shown, the initialization control phase includes the following steps:
[0110] S601: The control circuit module 23 is powered on and initialized, and the positioning unit is turned off, which is a Beidou positioning unit or a GPS positioning unit; the NFC unit is turned off, and the acceleration sensor is turned off.
[0111] S602: Read parameter information pre-stored in the Flash memory, including acceleration threshold information, speed threshold information, acceleration change rate threshold information, device information reporting intervals T1 and T2 in motion, information reporting interval T3 in stationary state, and SIM card detection interval T4.
[0112] S603: Power on the Cat1 unit and the display screen;
[0113] S604: Initialize the Cat1 unit and send a SIM card query command to the Cat1 unit;
[0114] S605: Determine whether there is a SIM card, if there is a SIM card, proceed to S608;
[0115] S606: Power off the Cat1 unit, display the absence of a SIM card on the display screen, and remind the user to insert a SIM card;
[0116] S607: After T4 time, the Cat1 unit is powered on and the process goes to S604;
[0117] S608: Use Cat1 unit to connect to the platform, set Cat1 unit to enter real network sleep mode, and perform two-way communication with the remote monitoring platform 4; in the real network sleep mode, communication with the remote monitoring platform 4 can be performed at preset time intervals.
[0118] S609: Power on the NFC unit, set the NFC unit to enter the ACD card checking mode, and wait for the user to swipe the NFC card through the user terminal 3 to unlock or lock the door.
[0119] S610: Power on the Beidou positioning unit and analyze the positioning data;
[0120] S611: Power on the acceleration sensor;
[0121] S612: Read the acceleration values of the acceleration sensor in the x, y, and z directions for 10 consecutive times and take the average value of the ten times;
[0122] S613: Eliminate the data with a value greater than 1.5 times the average value and less than 0.5 times the average value among the 10 acceleration values, and take the average value of the remaining data to obtain gx, gy, and gz;
[0123] S614: Repeat steps S612 and S613 at intervals of 200ms to obtain acceleration arrays gx1, gy1, gz1, gx2, gy2, gz2--------gxN, gyN, gzN.
[0124] S615: Calculate the rate of change of acceleration in the x, y, and z directions according to f(g)=|dg / dt|, where f(g) represents the rate of change of acceleration, g is acceleration, and t is time.
[0125] S616: Enter S614, last 120 seconds.
[0126] S617: If the positioning data cannot be parsed in step S610, the system enters a static state;
[0127] S618: If the speed obtained by analyzing the positioning data in step S610 is less than 5 km / h, and the rate of change of acceleration is less than 0.1, it is determined that the wireless door lock is in a stationary state;
[0128] S619: Determine whether the device is in motion.
[0129] Embodiment 2: Static state control stage
[0130] like Figure 7 As shown, the stationary state control stage includes the following steps:
[0131] S701: Record the last positioning data. If there is no positioning data, record it as 0, turn off the Beidou positioning unit, and turn on the Bluetooth unit;
[0132] S702: Wait for the APP on the user terminal to connect to the Bluetooth unit of the wireless door lock using Bluetooth.
[0133] S703: If no user uses Bluetooth to connect to the wireless door lock through the APP, proceed to S711.
[0134] S704: The user uses Bluetooth to connect to the wireless door lock through the APP.
[0135] S705: The control unit inquires whether the APP on the user terminal can connect to the Internet, and if not, proceeds to S711.
[0136] S706: If possible, the control unit notifies the APP and uses the APP's network to connect to the remote monitoring platform.
[0137] S707: The control unit notifies the remote monitoring platform through the established network connection, and uses the APP network on the user terminal to connect to the remote monitoring platform.
[0138] Connecting the user terminal to the remote monitoring platform via Bluetooth can reduce the power consumption of the wireless door lock on the one hand, and reduce traffic consumption and obtain better network connection quality on the other hand.
[0139] S708: The control unit sends registration information to the APP, and the APP transfers the registration information to the remote monitoring platform.
[0140] S709: The remote monitoring platform notifies the control unit of the wireless door lock through the Cat1 network that it has been successfully registered to the remote monitoring platform through the user APP network.
[0141] S710: The control unit actively disconnects the connection with the remote monitoring platform through the Cat1 network and shuts down the Cat1 unit.
[0142] Power consumption can be reduced by turning off the Cat1 unit when not in use, while network connectivity is achieved via Bluetooth.
[0143] S711: The control unit waits for the remote monitoring platform to set parameters for the wireless door lock.
[0144] S712: Read the acceleration values of the acceleration sensor in the x, y, and z directions for 10 consecutive times and take the average value of the ten times;
[0145] S713: Eliminate the data with a value greater than 1.5 times the average value and less than 0.5 times the average value among the 10 acceleration values, and take the average value of the remaining data to obtain gx, gy, and gz;
[0146] S714: Repeat steps S712 and S713 at intervals of 200ms to obtain acceleration arrays gx1, gy1, gz1, gx2, gy2, gz2--------gxN, gyN, gzN.
[0147] S715: Calculate the change rates of acceleration in three directions according to f(g)=|dg / dt|, where f(g) represents the change rate of acceleration, g is acceleration, and t is time.
[0148] S716: If the APP on the user terminal is connected to the control module of the wireless door lock and the rate of change of acceleration is less than or equal to 2, enter S711. If the APP on the user terminal is not connected to the control module of the wireless door lock and the rate of change of acceleration is less than or equal to 2, enter S702. If the APP on the user terminal is connected to the control module of the wireless door lock and the rate of change of acceleration is greater than 2, enter S717. If the APP on the user terminal is connected to the control module of the wireless door lock and the rate of change of acceleration is greater than 2, enter S718.
[0149] S717: Turn on the Beidou positioning unit for 120 seconds. If no positioning data can be parsed, or the parsed speed is less than 10km / h, turn off the Beidou positioning unit and enter S711, otherwise enter S719.
[0150] S718: Turn on the Beidou positioning unit;
[0151] S719: Send instructions to the Cat1 unit to make the Cat1 unit enter the PSM mode, turn off the Bluetooth unit, turn off the NFC unit, turn off the display screen, and put the wireless door lock into motion state.
[0152] Embodiment 3: Motion state control stage
[0153] like Figure 8 As shown, the motion state control stage includes the following steps:
[0154] S801: Set the reporting interval of the Beidou positioning unit to T1=60s;
[0155] S802: The control module of the wireless door lock reports the positioning status to the remote monitoring platform every T1, and the reported information includes: indicating that the wireless door lock is in motion and cannot receive platform messages. At this time, the wireless communication unit, such as Cat1, turns on the PSM mode of periodic reporting, and can report the positioning information and motion status information to the remote monitoring platform, and the remote monitoring platform can accurately know the operating status and location information of the vehicle where the wireless door lock is located.
[0156] S803: Read the acceleration values of the acceleration sensor in the x, y, and z directions for 10 consecutive times and take the average value of the ten times;
[0157] S804: Eliminate the data with a value greater than 1.5 times the average value and less than 0.5 times the average value among the 10 acceleration values, and take the average value of the remaining data to obtain gx, gy, and gz;
[0158] S805: Repeat steps S803 and S804 at intervals of 200ms to obtain acceleration arrays gx1, gy1, gz1, gx2, gy2, gz2--------gxN, gyN, gzN.
[0159] S806: Calculate the change rates of acceleration in three directions according to f(g)=|dg / dt|, where f(g) represents the change rate of acceleration, g is acceleration, and t is time.
[0160] S807: If the rate of change of acceleration is greater than 3, turn off the acceleration sensor unit, set the reporting interval of the Beidou positioning unit to T2=1s, set the Cat1 unit from PSM mode to real network sleep mode, and receive messages from the remote monitoring platform. Report a message to the platform every T2. The message indicates that the device is in motion and can respond normally to platform messages; otherwise, enter S802.
[0161] When the acceleration change rate becomes larger, a more drastic speed change may have occurred, indicating that the vehicle where the wireless door lock is located is not in a stable operating state and an abnormal situation may have occurred. In this case, abnormal alarm information can also be reported and the information reporting cycle can be reduced so that the remote monitoring platform can be informed and check the vehicle operation status in a timely manner.
[0162] S808: Analyze the positioning data of the Beidou positioning unit to obtain speed information, and calculate acceleration A based on the speed information.
[0163] S809: If the absolute value of the acceleration is within 1 and the positive and negative values are evenly distributed, it is considered that the vehicle where the wireless door lock is located is in a stable running state, and the acceleration sensor unit is turned on to enter S802.
[0164] S810: If the acceleration is greater than 1, the vehicle is considered to be in an accelerating state and the process proceeds to S808.
[0165] S811: If the acceleration is continuously less than 0, the vehicle is considered to be in a deceleration state. If the speed is reduced to 0 and lasts for more than 5 minutes, the vehicle enters a stationary state. Otherwise, the process enters S802.
[0166] By applying the present invention, the power consumption of the battery can be reduced while ensuring the normal operation of the wireless door lock by optimizing the opening and closing of various electronic units in the control circuit module. The control circuit module manages the power consumption of the wireless door lock in static and moving states by controlling the opening and closing of the positioning unit, the wireless communication unit, the Bluetooth unit, and the acceleration detection unit. At the same time, by adjusting the reporting cycle of the positioning information obtained by the positioning unit, the power consumption and the accurate monitoring of the wireless door lock state can be taken into account.
[0167] In addition, a computer-readable storage medium storing a computer program may also be provided according to an exemplary embodiment of the present invention. The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform a power consumption control method for a wireless door lock according to an exemplary embodiment of the present invention. The computer-readable recording medium is any data storage device that can store data read out by a computer system. Examples of computer-readable recording media include: read-only memory, random access memory, read-only optical disk, magnetic tape, floppy disk, optical data storage device, and carrier wave (such as data transmission through the Internet via a wired or wireless transmission path).
[0168] In addition, a computing device may be provided according to an exemplary embodiment of the present invention. The computing device includes a processor and a memory. The memory is used to store a computer program. The computer program is executed by the processor so that the processor executes the computer program of the power consumption control method of the wireless door lock according to the exemplary embodiment of the present invention.
[0169] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the drawings, etc. In the specification, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the specification. Certain measures are recorded in different embodiments, but this does not mean that these measures cannot be combined to produce good results.
[0170] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the present invention and its equivalents.
Claims
1. A wireless door lock, comprising a U-shaped lock beam (1) and a lock body (2), characterized in that: The lock body (2) comprises: a mechanical unlocking mechanism (21), an electronic unlocking mechanism (22), a control circuit module (23) and a storage battery (24); the storage battery (24) supplies power to the electronic unlocking mechanism (22) and the control circuit module (23); the control circuit module (23) is configured to communicate with an external user terminal (3) and / or a remote monitoring platform (4) to control the electronic unlocking mechanism (22) to drive the mechanical unlocking mechanism (21) to lock or unlock the U-shaped lock beam (1); The control circuit module (23) comprises a control unit (2301), a storage unit (2302), a wireless communication unit (2303), a Bluetooth unit (2304), a positioning unit (2305), and an acceleration detection unit (2306); the control unit (2301) comprises an initialization control subunit (401), a static control subunit (402), and a dynamic control subunit (403); The initialization control subunit (401) is configured to control the wireless communication unit (2303) to remain in the real network sleep mode, control the acceleration detection unit (2306) to enter the static state or the moving state according to the acceleration change rate and / or control the positioning unit (2305) to enter the static state or the moving state according to the speed determination; The static control subunit (402) is configured to, in a static state, control the acceleration detection unit (2306) to enter a motion state according to the acceleration change rate and control the positioning unit (2305) to enter a motion state according to the speed determination; The dynamic control subunit (403) is configured to adjust the reporting time interval of the control positioning unit (2305) and the working mode of the wireless communication unit (2303) according to the acceleration change rate in the motion state, and control the acceleration detection unit (2306) to enter the static state according to the acceleration change rate and the control positioning unit (2305) according to the speed judgment.
2. The wireless door lock according to claim 1, characterized in that: The initialization control subunit (401) is configured to, during the power-on initialization phase, start the wireless communication unit (2303) to establish two-way communication with the remote monitoring platform (4) and then maintain the real network sleep mode, start the positioning unit (2305) to parse the positioning data, start the acceleration detection unit (2306) and calculate the acceleration change rate, and directly enter the static state if the positioning data cannot be parsed, or if the speed obtained by parsing the positioning data is less than a first speed threshold and the acceleration change rate is less than the first acceleration change rate threshold, then determine that the wireless door lock is in a static state, or if the speed obtained by parsing the positioning data is greater than or equal to the first speed threshold, then determine that the wireless door lock is in a moving state; The static control subunit (402) is configured to, in a static state, turn off the positioning unit (2305), turn on the Bluetooth unit (2304) to connect to the user terminal (3), and turn off the wireless communication unit (2303) after establishing two-way communication with the remote monitoring platform (4) through the user terminal (3); calculate the acceleration change rate, if the wireless door lock is in a connected state with the user terminal (3) and the acceleration change rate is greater than a second acceleration change rate threshold, turn on the positioning unit (2305) to continuously monitor the speed greater than or equal to the second speed threshold, then determine that the wireless door lock is in a moving state, turn on the wireless communication unit (2303) to enter the PSM mode, and turn off the Bluetooth unit (2304); The dynamic control subunit (403) is configured to, in a moving state, turn on the positioning unit (2305) to report positioning information at a first time interval, calculate the acceleration change rate, turn off the acceleration detection unit (2306) when the acceleration change rate is greater than a third acceleration change rate threshold, report positioning information at a second time interval, change the wireless communication unit (2303) from the PSM mode to the sleep mode and periodically report that the wireless door lock is in a moving state; calculate the acceleration based on the speed information of the positioning unit (2305), monitor the acceleration value when the acceleration is greater than the first acceleration threshold; and enter a stationary state when the acceleration is continuously less than 0 until the speed is reduced to 0 and continuously exceeds a first stationary time threshold.
3. The wireless door lock according to claim 1, characterized in that: The control circuit module (23) further comprises an NFC unit (2307), wherein the NFC unit (2307) is configured to establish a communication connection with the user terminal (3), perform identity authentication on the user terminal (3), and after the authentication is passed, notify the electronic unlocking mechanism (22) to drive the mechanical unlocking mechanism (21) to lock or unlock the U-shaped locking beam (1) according to the operation of the user terminal (3); The initialization control subunit (401) is configured to turn on the NFC unit (2307) during the power-on initialization phase, control the NFC unit (2307) to enter the ACD card checking mode, and wait for the user terminal (3) to perform an NFC card swiping operation to execute the lock opening and closing operation.
4. The wireless door lock according to claim 3, characterized in that: The control circuit module (23) further comprises a display screen (2308), wherein the display screen (2308) is configured to display interaction status information when the Bluetooth unit (2304), the NFC unit (2307), the wireless communication unit (2303) interact with the user terminal (3).
5. A power consumption control method based on the wireless door lock according to claims 1 to 4, characterized in that: The following steps are involved: Power-on initialization: controlling the wireless communication unit (2303) to maintain the real network sleep mode, controlling the acceleration detection unit (2306) to enter the static state or the moving state according to the acceleration change rate and / or controlling the positioning unit (2305) to enter the static state or the moving state according to the speed determination; Static control: in a static state, the acceleration detection unit (2306) is controlled to enter a motion state according to the acceleration change rate and the positioning unit (2305) is controlled to enter a motion state according to the speed determination; Dynamic control: In the motion state, the reporting time interval of the control positioning unit (2305) and the working mode of the wireless communication module are adjusted according to the acceleration change rate, and the control acceleration detection unit (2306) enters the static state according to the acceleration change rate and the control positioning unit (2305) according to the speed judgment.
6. The power consumption control method according to claim 5, characterized in that: The power-on initialization comprises the following steps: After the wireless communication unit (2303) is turned on to establish two-way communication with the remote monitoring platform (4), the real network sleep mode is maintained; Start the positioning unit (2305) to analyze the positioning data; Turning on the acceleration detection unit (2306) and calculating the acceleration change rate; If the positioning data cannot be parsed, it will directly enter the static state; If the speed obtained by analyzing the positioning data is less than the first speed threshold and the acceleration change rate is less than the first acceleration change rate threshold, it is determined that the wireless door lock is in a stationary state; If the speed obtained by analyzing the positioning data is greater than or equal to the first speed threshold, it is determined that the wireless door lock is in motion.
7. The power consumption control method according to claim 6, characterized in that: The power-on initialization further includes: Turning on the NFC unit (2307), controlling the NFC unit (2307) to enter the ACD card checking mode, and waiting for the user terminal (3) to perform an NFC card swiping operation to execute an on / off lock operation; After the authentication is passed, the electronic unlocking mechanism (22) is notified according to the operation of the user terminal (3) to drive the mechanical unlocking mechanism (23) to lock or unlock the U-shaped locking beam (1).
8. The power consumption control method according to claim 6, characterized in that: The power-on initialization further includes: The wireless communication unit (2303) is turned on to perform SIM card verification, and after the verification is passed, a communication connection with the remote monitoring platform (4) is established.
9. The power consumption control method according to claim 5, characterized in that: The static control comprises the following steps: Close the positioning unit (2305); Turning on the Bluetooth unit (2304) to connect to the user terminal (3), and after establishing two-way communication with the remote monitoring platform (4) through the user terminal (3), turning off the wireless communication unit (2303); Calculate the acceleration change rate, and if the wireless door lock is in a connected state with the user terminal (3) and the acceleration change rate is greater than a second acceleration change rate threshold, turn on the positioning unit (2305); Continuously monitoring the speed, and if the speed is greater than or equal to a second speed threshold, determining that the wireless door lock is in motion; Turn on the wireless communication unit (2303) to enter PSM mode; Turn off the Bluetooth unit (2304).
10. The power consumption control method according to claim 5, characterized in that: The dynamic control comprises the following steps: Turning on the positioning unit (2305) to report positioning information at a first time interval; Calculating the acceleration change rate, and turning off the acceleration detection unit (2306) when the acceleration change rate is greater than a third acceleration change rate threshold; The positioning unit (2305) reports the positioning information at a second time interval; The wireless communication unit (2303) is changed from the PSM mode to the sleep mode and periodically reports that the wireless door lock is in motion; The acceleration is calculated based on the speed information of the positioning unit (2305), and the acceleration value is monitored when the acceleration is greater than a first acceleration threshold; when the acceleration is continuously less than 0 until the speed is reduced to 0 and continuously exceeds a first still time threshold, the state is switched to stillness.