CN112416403A - Lock upgrading method, lock and storage medium - Google Patents

Lock upgrading method, lock and storage medium Download PDF

Info

Publication number
CN112416403A
CN112416403A CN202011331364.XA CN202011331364A CN112416403A CN 112416403 A CN112416403 A CN 112416403A CN 202011331364 A CN202011331364 A CN 202011331364A CN 112416403 A CN112416403 A CN 112416403A
Authority
CN
China
Prior art keywords
lock
upgrading
unlocking terminal
module
receiving
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.)
Pending
Application number
CN202011331364.XA
Other languages
Chinese (zh)
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.)
Shaanxi Xinjiang Morning Information Technology Co ltd
Original Assignee
Shaanxi Xinjiang Morning Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shaanxi Xinjiang Morning Information Technology Co ltd filed Critical Shaanxi Xinjiang Morning Information Technology Co ltd
Priority to CN202011331364.XA priority Critical patent/CN112416403A/en
Publication of CN112416403A publication Critical patent/CN112416403A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a lockset upgrading method, a lockset and a storage medium, relates to the technical field of locksets, and solves the technical problem that after an intelligent lock is produced in the prior art, a program in the intelligent lock cannot be changed and upgraded. The method comprises the following steps: establishing a data transmission link with an unlocking terminal; receiving an upgrading program instruction sent by an unlocking terminal; the upgrade program instructions are executed. By using the lock upgrading method, the program in the lock can be upgraded, the loopholes existing in the program can be repaired, and the safety of the lock is improved.

Description

Lock upgrading method, lock and storage medium
Technical Field
The application relates to the technical field of locks, in particular to a lock upgrading method, a lock and a storage medium.
Background
Along with the improvement of the anti-theft requirement and the improvement of the electronization degree of the lockset of people, the intelligent lock is gradually popularized in the aspects of the industrial field, the living field and the like. Some smart locks use terminal equipment such as cell-phones to open and close, and the cell-phone passes through wireless modes such as bluetooth, WIFI to be connected with smart lock.
However, after the existing intelligent lock is produced, the program in the intelligent lock cannot be changed and upgraded, the bug in the program cannot be repaired, and great potential safety hazards exist.
Disclosure of Invention
The embodiment of the application provides a lockset upgrading method, a lockset and a storage medium, and solves the technical problem that after an intelligent lock is produced in the prior art, a program in the intelligent lock cannot be changed and upgraded.
In a first aspect, an embodiment of the present invention provides a lock upgrading method, where the method includes:
establishing a data transmission link with an unlocking terminal;
receiving an upgrading program instruction sent by the unlocking terminal;
and executing the upgrading program instruction.
With reference to the first aspect, in a possible implementation manner, the establishing a data transmission link with an unlocking terminal specifically includes:
receiving a pairing request of the unlocking terminal;
and through the pairing request, the Bluetooth connection with the unlocking terminal is realized.
With reference to the first aspect, in a possible implementation manner, the method further includes: and after all the upgrading program instructions are executed, sending upgrading finished result information to the unlocking terminal.
With reference to the first aspect, in a possible implementation manner, the method further includes: and sending progress information for executing the upgrading program instruction to the unlocking terminal.
With reference to the first aspect, in a possible implementation manner, the method further includes: and after all the upgrading program instructions are executed, sending upgrading finished result information to the server.
With reference to the first aspect, in a possible implementation manner, the method further includes: and after all the upgrading program instructions are executed, corresponding alarm signals are sent outwards, wherein the alarm signals comprise one or more modes of vibration, ringing and luminescence.
In a second aspect, an embodiment of the present invention further provides a lock, where the lock includes:
the link establishing module is used for establishing a data transmission link with the unlocking terminal;
the receiving module is used for receiving the upgrading program instruction sent by the unlocking terminal;
and the execution module is used for executing the upgrading program instruction.
In a third aspect, an embodiment of the present invention further provides a lock, where the lock includes: the system comprises a processor, a memory, a Bluetooth module and an Internet of things module, wherein the memory, the Bluetooth module and the Internet of things module are connected with the processor;
the memory is to store computer-executable instructions;
the Bluetooth module is used for receiving the information of the unlocking terminal;
the communication module is used for transmitting data with the server;
the processor is configured to execute the computer-executable instructions to implement the method of the first aspect and each possible implementation manner of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where executable instructions are stored, and a computer can implement the method in the first aspect and each possible implementation manner of the first aspect when executing the executable instructions.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
the lockset upgrading method provided by the embodiment of the invention comprises the following steps: establishing a data transmission link with an unlocking terminal; receiving an upgrading program instruction sent by an unlocking terminal; the upgrade program instructions are executed. By using the lock upgrading method, the program in the lock can be upgraded, the loopholes existing in the program can be repaired, and the safety of the lock is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene diagram of data interaction between a lock, an unlocking terminal and a server provided in the embodiment of the present application;
FIG. 2 is a flowchart of a lock upgrading method according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating establishing a data transmission link between a lock and an unlocking terminal according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a lock module according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a hardware structure of a lock according to an embodiment of the present application.
Reference numerals: 101-a lock; 102-an unlocking terminal; 103-a server; 500-a bus; 501, a processor; 502-a memory; 503-bluetooth module; 504-internet of things module.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Along with the improvement of the anti-theft requirement and the improvement of the electronization degree of the lockset of people, the intelligent lock is gradually popularized in the aspects of the industrial field, the living field and the like. After the existing intelligent lock is produced, a program in the intelligent lock cannot be changed and upgraded, a bug in the program cannot be repaired, and great potential safety hazards exist.
The embodiment of the invention provides a lock upgrading method, a lock and a storage medium, which can effectively solve the technical problems and refer to fig. 1 to 5. The technical scheme provided by the embodiment is applied to a scene where the lock 101, the unlocking terminal 102 and the server 103 interact with each other, as shown in fig. 1. The unlocking terminal 102 is a terminal device capable of sending a signal to the outside, such as a mobile phone, a tablet computer, a notebook computer, and the like.
The lock upgrading method provided by the embodiment of the invention is shown in fig. 2, and the method comprises steps S201 to S203, which are described in detail as follows.
S201, establishing a data transmission link with the unlocking terminal 102.
One specific implementation method of step S201 is shown in fig. 3, and includes step S301 and step S302, which are described in detail below.
S301, a pairing request of the unlocking terminal 102 is received.
S302, Bluetooth connection with the unlocking terminal 102 is achieved through the pairing request.
Of course, the data transmission link between the lock 101 and the unlocking terminal 102 can be established not only by the method shown in fig. 3, but also by other methods, for example, by connecting the lock 101 and the unlocking terminal 102 by using a data cable.
And S202, receiving an upgrading program instruction sent by the unlocking terminal.
And S203, executing an upgrading program instruction.
By using the lock upgrading method, the program in the lock 101 can be upgraded, the loopholes existing in the program can be repaired, and the safety of the lock 101 is improved.
The lockset upgrading method provided by the embodiment also comprises the following steps: and after all the upgrading program instructions are executed, sending upgrading finished result information to the unlocking terminal 102.
Through the steps, the person holding the unlocking terminal 102 can timely and clearly know the message of the upgrading completion of the lock 101 by observing the information received by the unlocking terminal 102.
The lockset upgrading method provided by the embodiment further comprises the following steps: and sending progress information for executing the upgrading program instruction to the unlocking terminal 102.
Through the steps, the person holding the unlocking terminal 102 can know the updating progress of the lockset 101 by observing the unlocking terminal 102, so that the time for completing the distance upgrading can be estimated, and the person holding the unlocking terminal 102 can conveniently arrange other works.
The lockset upgrading method provided by the embodiment further comprises the following steps: and after all the upgrading program instructions are executed, sending upgrading finished result information to the server.
The steps can record the time of each upgrade, and background personnel can look up the time of each upgrade of each lockset 101 according to the requirements.
The lockset upgrading method provided by the embodiment further comprises the following steps: and after all the upgrading program instructions are executed, corresponding alarm signals are sent outwards, wherein the alarm signals comprise one or more modes of vibration, ringing and luminescence.
Through the steps, the person who upgrades the lockset 101 can also confirm that the lockset 101 is upgraded by sensing the alarm signal sent by the lockset 101.
Although the present application provides method steps as in an embodiment or a flowchart, more or fewer steps may be included based on conventional or non-inventive labor. The sequence of steps recited in this embodiment is only one of many steps performed and does not represent a unique order of execution. When an actual apparatus or client product executes, it can execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the methods shown in this embodiment or the figures.
The embodiment of the present invention further provides a lock 101, as shown in fig. 4, the lock 101 includes a link establishing module 401, a receiving module 402, and an executing module 403. The link establishing module 401 is configured to establish a data transmission link with the unlocking terminal 102; the receiving module 402 is configured to receive an upgrade program instruction sent by the unlocking terminal 102; the execution module 403 is used for executing the upgrade program instructions.
The modules set forth in this embodiment may be implemented by a computer chip or an entity, or implemented by a product with certain functions. For convenience of description, the above lock 101 is described as functionally separated into various modules. The functionality of the modules may be implemented in the same one or more software and/or hardware implementations of the present application. Of course, a module that implements a certain function may be implemented by a plurality of sub-modules or sub-units in combination.
The embodiment of the invention further provides a lock 101, as shown in fig. 5, the lock 101 includes a processor 501, and a memory 502, a bluetooth module 503 and an internet of things module 504 which are connected to the processor 501; memory 502 is used to store computer-executable instructions; the bluetooth module 503 is configured to receive information of the unlocking terminal 102; the internet of things module 504 is used for transmitting data with the server 103; the processor 501 is used for executing computer-executable instructions, and can implement the method provided by the embodiment.
The Processor 701 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The memory 502 may be used to store computer programs and/or modules, and the memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores executable instructions, and the computer can realize the method provided by the embodiment when executing the executable instructions.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores executable instructions, and when the computer executes the executable instructions, the lock upgrading method provided by the embodiment can be realized.
The storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache, a Hard disk (Hard disk), or a Memory card (HDD).
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the present application; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure.

Claims (9)

1. A lock upgrading method is characterized by comprising the following steps:
establishing a data transmission link with an unlocking terminal;
receiving an upgrading program instruction sent by the unlocking terminal;
and executing the upgrading program instruction.
2. The lock upgrading method according to claim 1, wherein the establishing of the data transmission link with the unlocking terminal specifically includes:
receiving a pairing request of the unlocking terminal;
and through the pairing request, the Bluetooth connection with the unlocking terminal is realized.
3. The lock upgrading method according to claim 1, further comprising: and after all the upgrading program instructions are executed, sending upgrading finished result information to the unlocking terminal.
4. The lock upgrading method according to claim 1 or 3, further comprising: and sending progress information for executing the upgrading program instruction to the unlocking terminal.
5. The lock upgrading method according to claim 1, further comprising: and after all the upgrading program instructions are executed, sending upgrading finished result information to the server.
6. The lock upgrading method according to claim 1, further comprising: and after all the upgrading program instructions are executed, corresponding alarm signals are sent outwards, wherein the alarm signals comprise one or more modes of vibration, ringing and luminescence.
7. A lock, comprising:
the link establishing module is used for establishing a data transmission link with the unlocking terminal;
the receiving module is used for receiving the upgrading program instruction sent by the unlocking terminal;
and the execution module is used for executing the upgrading program instruction.
8. A lock, comprising: the system comprises a processor, a memory, a Bluetooth module and an Internet of things module, wherein the memory, the Bluetooth module and the Internet of things module are connected with the processor;
the memory is to store computer-executable instructions;
the Bluetooth module is used for receiving the information of the unlocking terminal;
the communication module is used for transmitting data with the server;
the processor is configured to execute the computer-executable instructions to implement the method of any of claims 1-6.
9. A computer-readable storage medium having stored thereon executable instructions that, when executed by a computer, are capable of implementing the method of any one of claims 1-6.
CN202011331364.XA 2020-11-24 2020-11-24 Lock upgrading method, lock and storage medium Pending CN112416403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011331364.XA CN112416403A (en) 2020-11-24 2020-11-24 Lock upgrading method, lock and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011331364.XA CN112416403A (en) 2020-11-24 2020-11-24 Lock upgrading method, lock and storage medium

Publications (1)

Publication Number Publication Date
CN112416403A true CN112416403A (en) 2021-02-26

Family

ID=74778557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011331364.XA Pending CN112416403A (en) 2020-11-24 2020-11-24 Lock upgrading method, lock and storage medium

Country Status (1)

Country Link
CN (1) CN112416403A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140051425A1 (en) * 2012-08-16 2014-02-20 Schlage Lock Company Llc Operation communication system
CN106559688A (en) * 2016-11-22 2017-04-05 深圳创维数字技术有限公司 The upgrading test method and apparatus of remote control
CN207867484U (en) * 2017-08-07 2018-09-14 浙江大华技术股份有限公司 Smart lock upgrade-system
CN109246205A (en) * 2018-08-27 2019-01-18 武汉市国扬科技集团有限公司 A kind of smart lock upgrade method and device based on mobile Internet and bluetooth
CN109982308A (en) * 2019-03-07 2019-07-05 广东汇泰龙科技有限公司 It is a kind of to communicate the method and its system for carrying out door lock firmware upgrade by NFC
CN111176681A (en) * 2019-12-26 2020-05-19 深圳市中裕精密技术有限公司 Intelligent locking firmware upgrading method based on wireless connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140051425A1 (en) * 2012-08-16 2014-02-20 Schlage Lock Company Llc Operation communication system
CN106559688A (en) * 2016-11-22 2017-04-05 深圳创维数字技术有限公司 The upgrading test method and apparatus of remote control
CN207867484U (en) * 2017-08-07 2018-09-14 浙江大华技术股份有限公司 Smart lock upgrade-system
CN109246205A (en) * 2018-08-27 2019-01-18 武汉市国扬科技集团有限公司 A kind of smart lock upgrade method and device based on mobile Internet and bluetooth
CN109982308A (en) * 2019-03-07 2019-07-05 广东汇泰龙科技有限公司 It is a kind of to communicate the method and its system for carrying out door lock firmware upgrade by NFC
CN111176681A (en) * 2019-12-26 2020-05-19 深圳市中裕精密技术有限公司 Intelligent locking firmware upgrading method based on wireless connection

Similar Documents

Publication Publication Date Title
CN108551670B (en) Bluetooth connection method and device and intelligent terminal
CN107800708B (en) Vehicle-mounted machine account automatic login method and vehicle-mounted machine device
US10104063B2 (en) Android-based mobile equipment security protection method, and device
EP4167102A1 (en) Method and device for updating reference document, electronic device, and storage medium
US10176327B2 (en) Method and device for preventing application in an operating system from being uninstalled
CN103765936B (en) The method and apparatus managed for privacy policy
CN104376431A (en) Engineering project management method and system
KR20190076197A (en) Apparatus and method for storing data based on blockchain
US20220391605A1 (en) Automatic card connection method, electronic device, and computer readable storage medium
CN107644075B (en) Method and device for collecting page information
US11736149B2 (en) Data transmission method for Bluetooth card reader and electronic device
CN110727566B (en) Method, device, medium and electronic equipment for acquiring process crash information
CN111767086A (en) Method and device for migrating browser data
CN111079125A (en) Method and device for calling third-party library dynamic lifting authority by application program
CN113993115B (en) Method and device for automatically unlocking screen, electronic equipment and readable storage medium
CN112416403A (en) Lock upgrading method, lock and storage medium
CN106919812B (en) Application process authority management method and device
CN111612947A (en) Method, equipment and storage medium for processing communication abnormity of intelligent lock
CN115484158B (en) Communication configuration method and device of vehicle-mounted equipment based on eSIM card
CN112381978A (en) Bluetooth unlocking method, lock and storage medium
CN115801299B (en) Meta universe identity authentication method, device, equipment and storage medium
CN116566994A (en) Cross-chain data transmission method between blockchains, blockchain system, electronic equipment and storage medium
CN114285657B (en) Firewall security policy change verification method and device
CN114285890A (en) Cloud platform connection method, device, equipment and storage medium
CN113553566A (en) Account locking method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination