CN112017330A - Intelligent lock parameter configuration method and device, intelligent lock and storage medium - Google Patents
Intelligent lock parameter configuration method and device, intelligent lock and storage medium Download PDFInfo
- Publication number
- CN112017330A CN112017330A CN201910394832.9A CN201910394832A CN112017330A CN 112017330 A CN112017330 A CN 112017330A CN 201910394832 A CN201910394832 A CN 201910394832A CN 112017330 A CN112017330 A CN 112017330A
- Authority
- CN
- China
- Prior art keywords
- configuration
- intelligent lock
- parameter
- target
- card
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
- G07C2009/00412—Electronically 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 the transmitted data signal being encrypted
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a method and a device for configuring parameters of an intelligent lock, the intelligent lock and a storage medium, wherein the method comprises the following steps: reading a configuration instruction in a preset sector of a configuration card, wherein intelligent lock configuration parameters are stored in the configuration card; and acquiring target configuration parameter data stored in a target sector of the configuration card based on the configuration instruction, and writing the target configuration parameter data into a configuration area of the intelligent lock. The intelligent lock parameter configuration method is simple in operation, and especially can improve the intelligent lock parameter configuration efficiency and reduce the construction time during large-scale intelligent lock construction configuration.
Description
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to an intelligent lock parameter configuration method and device, an intelligent lock and a storage medium.
Background
With the development of the internet of things, more and more intelligent locks controlled by the internet of things, such as wifi intelligent locks or NB-IoT intelligent locks, appear. However, since the smart lock only has the number keys, it is difficult and inefficient to configure the parameters of the smart lock.
Taking wifi intelligent lock as an example, at present, there are two common configuration methods: 1) adopt cell-phone APP to dispose, it is specific, the cell-phone need connect the intelligence lock through bluetooth or wireless AP mode earlier, then input the SSID and the password of waiting to connect the router, send and dispose for the intelligence lock. 2) All intelligent locks adopt default SSID and passwords, and the router is set to be the SSID and the passwords of the intelligent locks.
However, both the two methods have certain disadvantages, and by adopting the method 1, when the intelligent lock is configured, each intelligent lock needs to be connected and configured, so that the time is consumed in the construction configuration process of the large-scale intelligent lock and the efficiency is low; if the method 2 is adopted, all the SSIDs and the passwords are the same, so that the SSIDs and the passwords are difficult to distinguish, easy to reveal, difficult to manage and low in safety.
Disclosure of Invention
The embodiment of the invention provides an intelligent lock parameter configuration method and device, an intelligent lock and a storage medium, and aims to solve the technical problems that the configuration of the intelligent lock is time-consuming and low in efficiency when the prior art is used for large-scale intelligent lock construction configuration.
In a first aspect, an embodiment of the present invention provides an intelligent lock parameter configuration method, including:
reading a configuration instruction in a preset sector of a configuration card, wherein intelligent lock configuration parameters are stored in the configuration card;
and acquiring target configuration parameter data stored in a target sector of the configuration card based on the configuration instruction, and writing the target configuration parameter data into a configuration area of the intelligent lock.
In a second aspect, an embodiment of the present invention provides an intelligent lock parameter configuration device, including:
the system comprises an instruction reading module, a configuration module and a control module, wherein the instruction reading module is used for reading a configuration instruction in a preset sector of a configuration card, and intelligent lock configuration parameters are stored in the configuration card;
and the configuration module is used for acquiring target configuration parameter data stored in a target sector of the configuration card based on the configuration instruction and writing the target configuration parameter data into a configuration area of the intelligent lock.
In a third aspect, an embodiment of the present invention further provides an intelligent lock, where the intelligent lock includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the intelligent lock parameter configuration method according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for configuring parameters of an intelligent lock according to any embodiment of the present invention.
The embodiment of the invention provides an intelligent lock parameter configuration method, an intelligent lock parameter configuration device, an intelligent lock and a storage medium. Therefore, the intelligent lock is simple to configure and operate, and especially when large-scale intelligent lock construction configuration is carried out, the intelligent lock configuration efficiency can be improved.
Drawings
Fig. 1a is a schematic flowchart of a method for configuring parameters of an intelligent lock according to an embodiment of the present invention;
fig. 1b is a schematic diagram of an internal memory structure of an IC card according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a parameter configuration method of an intelligent lock according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an intelligent lock parameter configuration device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an intelligent lock according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of an intelligent lock parameter configuration method according to an embodiment of the present invention, where the embodiment is applicable to a large-scale intelligent lock construction configuration situation, and the method may be executed by an intelligent lock parameter configuration device, and the device may be configured on an intelligent lock.
As shown in fig. 1a, the method for configuring parameters of an intelligent lock provided in the embodiment of the present invention may include:
s110, reading a configuration instruction in a preset sector of a configuration card, wherein the configuration card stores configuration parameters of an intelligent lock.
In the embodiment of the invention, the configuration card can be a customized configuration card or a common IC card. Taking a typical M1 card as an example in an IC card, the internal storage structure is shown in fig. 1b, there are 16 sectors, each sector is composed of 4 blocks, block 0 (i.e. absolute address 0 block) of sector 0 is usually used for storing vendor code, and is not changeable, and block 0, block 1 and block 2 of other sectors are data blocks, and can be used for storing data. Based on this, one of the sectors may be designated as a preset sector for storing configuration instructions, e.g., block 0 of sector 1 is designated for storing configuration instructions. The other sectors are used for storing the parameters to be configured of the intelligent lock. It should be noted here that if the configuration instruction is stored in only one data block in the preset sector, other data blocks of the preset sector may also be used to store the parameter to be configured of the smart lock.
Further, the configuration instruction at least comprises the type of the target configuration parameter of the intelligent lock and the storage index of the target configuration parameter in the configuration card. The type of the target configuration parameter at least comprises a wifi type and a server type; correspondingly, the target configuration parameters at least comprise identification (SSID) and password of the wifi router or IP address and port number of the server. It should be noted here that the same type may correspond to a plurality of different configuration parameters, and for example, for a wifi type, the identifier and the password of a plurality of different wifi routers may be stored in the configuration card, so that in a specific configuration, the identifier and the password of one wifi router are selected through the storage index.
When the configuration instruction and the parameters to be configured of the intelligent lock are stored specifically, the configuration instruction can be written into the preset sector of the configuration card by using a reader-writer of the configuration card, and the parameters to be configured of the intelligent lock can be written into other sectors. Therefore, the user only needs to hold the configuration card with the configuration data written in advance and swipe the card on the intelligent lock. The intelligent lock responds to the card swiping operation of a user, reads a configuration instruction in a preset sector of the configuration card, and the specific card reading operation can be realized by a reader-writer in the intelligent lock. From this, the type of the target configuration parameter of the current smart lock belongs to and the storage index of the target configuration parameter in the configuration card can be determined.
S120, acquiring target configuration parameter data stored in the target sector of the configuration card based on the configuration instruction, and writing the target configuration parameter data into a configuration area of the intelligent lock.
Based on the type of the current target configuration parameter of the intelligent lock determined in S110 and the storage index of the target configuration parameter in the configuration card, target configuration parameter data stored in the target sector of the configuration card is obtained, and the write-in operation is executed by the reader in the intelligent lock, and the target configuration parameter data is written into the configuration area of the intelligent lock, so as to complete the parameter configuration of the intelligent lock. Illustratively, when the current intelligent lock is a wifi intelligent lock, after the configuration instruction is read, it is determined that the type of the target configuration parameter of the current intelligent lock is a wifi type, and the storage index of the target configuration parameter in the configuration card points to block 0 of sector 2, the identifier and the password of the wifi router which are stored in advance are obtained from block 0 of sector 2 and written into the configuration area of the intelligent lock, so as to complete the configuration of the intelligent lock. Thus, the smart lock may be connected to a network and subsequently a user using the smart lock may make the corresponding settings.
In the embodiment of the invention, the configuration instruction and the parameters to be configured of the intelligent lock are written in the configuration card in advance, after the user holds the configuration card and swipes the configuration card on the intelligent lock, the intelligent lock reads the configuration instruction, acquires the corresponding target configuration parameters according to the configuration instruction, and writes the target configuration parameters into the configuration area of the intelligent lock to complete configuration. Therefore, the intelligent lock is simple to configure and operate, and especially when large-scale intelligent lock construction configuration is carried out, the intelligent lock configuration efficiency can be improved.
Example two
Fig. 2 is a schematic flowchart of a parameter configuration method of an intelligent lock according to a second embodiment of the present invention. In this embodiment, optimization is performed based on the above embodiment, and operations of password authentication and determination of configuration times are newly added, as shown in fig. 2, the method for configuring parameters of an intelligent lock provided in the embodiment of the present invention may include:
s210, reading the administrator password of the intelligent lock stored in the configuration card, verifying the administrator password, and executing S220 when the password is verified correctly.
In this embodiment, when the configuration instruction and the to-be-configured parameter of the smart lock are written into the configuration card, the administrator password of the smart lock is written into the configuration card at the same time. And responding to the operation that the user holds the configuration card and swipes the card on the intelligent lock, reading the administrator password of the intelligent lock stored in the configuration card by the intelligent lock, verifying the administrator password with the administrator password of the intelligent lock, and executing S220 when the password is verified correctly. Therefore, malicious configuration of the intelligent lock by illegal personnel can be avoided, and the security of intelligent lock configuration is ensured.
S220, reading a configuration instruction in a preset sector of a configuration card, wherein the configuration card stores configuration parameters of the intelligent lock.
The configuration instruction at least comprises the type of the target configuration parameter of the intelligent lock and the storage index of the target configuration parameter in the configuration card.
S230, positioning the target configuration parameters stored in the target sector of the configuration card based on the configuration instruction, and judging whether the configured times of the target configuration parameters reach a preset threshold value, if so, executing S240, otherwise, executing S250.
In the embodiment of the invention, the same type can correspond to a plurality of different configuration parameters, and illustratively, for wifi types, the identifiers and passwords of a plurality of different wifi routers can be stored in the configuration card, so that during specific configuration, the identifier and password of one wifi router are selected through the storage index for configuration. Furthermore, each configuration parameter is correspondingly provided with a set time threshold value for identifying the valid times of the configuration parameter. Specifically, the number of times each configuration parameter has been configured can be counted separately by a counter in the smart lock. Based on the configuration instruction, after the target configuration parameters stored in the target sector of the configuration card are located, first, whether the target configuration parameters are valid is determined, that is, whether the number of times that the target configuration parameters have been configured reaches a preset threshold value is determined, if yes, S240 is executed.
S240, indexing a storage position where another parameter to be configured of the same type as the target configuration parameter is located to obtain the another parameter to be configured.
On the basis of judging that the target configuration parameter is invalid, indexing to a storage position where another parameter to be configured of the same type as the target configuration parameter is located to obtain another parameter to be configured so as to write the another parameter to be configured into a configuration area of the intelligent lock.
Illustratively, the located target configuration parameters (e.g., "SSID: xy 1202; password: 123456") are stored in sector 2 block 0, configured a number of times threshold of 100. Sector 2 block 1 has stored therein another parameter to be configured (e.g., "SSID: xy 0502; password: 159357"). If "SSID is detected: xy 1202; password: 123456 ", if the configuration parameter in block 0 of sector 2 has failed after being configured 100 times, re-indexing to block 1 of sector 2 according to the configuration instruction, and acquiring the SSID: xy 0502; password: 159357 ", and writes it to the smart lock configuration area.
And S250, acquiring target configuration parameter data stored in the target sector of the configuration card, and writing the target configuration parameter data into a configuration area of the intelligent lock.
Further, a speaker is disposed on the smart lock, so that after the parameter configuration is completed through S240 or S250, configuration result information, for example, configuration success or failure information, may be broadcasted based on the speaker. Besides, the wifi type can be determined according to the configuration instruction when the configured parameters are configured, and after the configuration is completed successfully, the type of the configured parameters can be broadcasted to remind configuration personnel.
In the embodiment, before the configuration instruction is read, the administrator password stored in the configuration card is checked to ensure the security of parameter configuration of the intelligent lock, and after the configuration times of a certain configuration parameter reaches a preset threshold value, the next parameter to be configured is automatically indexed, so that the intelligent lock can be configured by using different wifi router data.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an intelligent lock parameter configuration device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the instruction reading module 310 is configured to read a configuration instruction in a preset sector of a configuration card, where the configuration card stores configuration parameters of an intelligent lock;
the configuration module 320 is configured to, based on the configuration instruction, obtain target configuration parameter data stored in a target sector of the configuration card, and write the target configuration parameter data into a configuration area of the smart lock.
In the embodiment of the invention, the configuration instruction and the parameters to be configured of the intelligent lock are written in the configuration card in advance, after the user holds the configuration card and swipes the configuration card on the intelligent lock, the instruction reading module reads the configuration instruction, and the configuration module acquires the corresponding target configuration parameters according to the configuration instruction and writes the target configuration parameters into the configuration area of the intelligent lock to complete configuration. Therefore, the intelligent lock is simple to configure and operate, and especially when large-scale intelligent lock construction configuration is carried out, the efficiency of intelligent lock parameter configuration can be greatly improved.
On the basis of the above embodiment, the configuration card further stores an administrator password of the intelligent lock;
correspondingly, the instruction reading module comprises:
and the verification unit is used for reading the administrator password of the intelligent lock in the configuration card and verifying the administrator password.
On the basis of the above embodiment, the configuration instruction at least includes a type to which a target configuration parameter of the smart lock belongs, and a storage index of the target configuration parameter in the configuration card;
the type of the target configuration parameter at least comprises a wifi type and a server type;
correspondingly, the target configuration parameters at least comprise the identification and the password of the wifi router or the IP address and the port number of the server.
On the basis of the above embodiment, the apparatus further includes:
and the switching module is used for judging whether the configured times of the target configuration parameters reach a preset threshold value, if so, indexing a storage position where another parameter to be configured of the same type as the target configuration parameters is located so as to obtain the other parameter to be configured.
On the basis of the above embodiment, the apparatus further includes:
and the broadcasting device is used for broadcasting the configuration result information after the parameter configuration is completed.
The intelligent lock parameter configuration device provided by the embodiment of the invention can execute the intelligent lock parameter configuration method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of an intelligent lock according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary smart lock 12 suitable for use in implementing embodiments of the present invention. The smart lock 12 shown in fig. 4 is only an example, and should not bring any limitation to the function and the scope of the application of the embodiment of the present invention.
As shown in fig. 4, the smart lock 12 is in the form of a general purpose computing device. The components of the smart lock 12 may include, but are not limited to: one or more processors or processors 16, a memory 28, and a bus 18 that connects the various system components (including the memory 28 and the processors 16).
The smart lock 12 typically includes a variety of computer system readable media. These media may be any available media that can be accessed by the smart lock 12 and include both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The smart lock 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The smart lock 12 may also communicate with one or more external devices 14, with one or more devices that enable a user to interact with the smart lock 12, and/or with any device (e.g., network card, modem, etc.) that enables the smart lock 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the smart lock 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the smart lock 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the smart lock 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 executes various functional applications and data processing by running programs stored in the memory 28, for example, implementing the intelligent lock parameter configuration method provided by the embodiment of the present invention, the method includes:
reading a configuration instruction in a preset sector of a configuration card, wherein intelligent lock configuration parameters are stored in the configuration card;
and acquiring target configuration parameter data stored in a target sector of the configuration card based on the configuration instruction, and writing the target configuration parameter data into a configuration area of the intelligent lock.
EXAMPLE five
In an embodiment of the invention, there is provided a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a smart lock parameter configuration method, the method comprising:
reading a configuration instruction in a preset sector of a configuration card, wherein intelligent lock configuration parameters are stored in the configuration card;
based on the configuration instruction, acquiring target configuration parameter data stored in a target sector of the configuration card, and writing the target configuration parameter data into a configuration area of the intelligent lock
Of course, the storage medium provided in the embodiments of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the intelligent lock parameter configuration method provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (12)
1. A method for configuring parameters of an intelligent lock is characterized by comprising the following steps:
reading a configuration instruction in a preset sector of a configuration card, wherein intelligent lock configuration parameters are stored in the configuration card;
and acquiring target configuration parameter data stored in a target sector of the configuration card based on the configuration instruction, and writing the target configuration parameter data into a configuration area of the intelligent lock.
2. The method of claim 1, wherein the configuration card further stores an administrator password for the smart lock;
correspondingly, before reading the configuration instruction in the preset sector of the configuration card, the method further comprises:
and reading the administrator password of the intelligent lock stored in the configuration card, verifying the administrator password, and executing the operation of reading the configuration instruction in the preset sector of the configuration card when the password is verified correctly.
3. The method according to claim 1, wherein the configuration instruction at least comprises a type to which a target configuration parameter of the smart lock belongs, and a storage index of the target configuration parameter in the configuration card;
the type of the target configuration parameter at least comprises a wifi type and a server type;
correspondingly, the target configuration parameters at least comprise the identification and the password of the wifi router or the IP address and the port number of the server.
4. The method of claim 3, wherein prior to obtaining target configuration parameter data stored within the configuration card target sector, the method further comprises:
and judging whether the configured times of the target configuration parameter reach a preset threshold value, if so, indexing a storage position of another parameter to be configured of the same type as the target configuration parameter to acquire the other parameter to be configured.
5. The method of claim 1, further comprising:
and after the parameter configuration is completed, broadcasting configuration result information.
6. An intelligent lock parameter configuration device, the device comprising:
the system comprises an instruction reading module, a configuration module and a control module, wherein the instruction reading module is used for reading a configuration instruction in a preset sector of a configuration card, and intelligent lock configuration parameters are stored in the configuration card;
and the configuration module is used for acquiring target configuration parameter data stored in a target sector of the configuration card based on the configuration instruction and writing the target configuration parameter data into a configuration area of the intelligent lock.
7. The apparatus of claim 6, wherein the configuration card further stores an administrator code for the smart lock;
correspondingly, the instruction reading module comprises:
and the verification unit is used for reading the administrator password of the intelligent lock in the configuration card and verifying the administrator password.
8. The apparatus according to claim 6, wherein the configuration instruction at least comprises a type to which a target configuration parameter of the smart lock belongs, and a storage index of the target configuration parameter in the configuration card;
the type of the target configuration parameter at least comprises a wifi type and a server type;
correspondingly, the target configuration parameters at least comprise the identification and the password of the wifi router or the IP address and the port number of the server.
9. The apparatus of claim 8, further comprising:
and the switching module is used for judging whether the configured times of the target configuration parameters reach a preset threshold value, if so, indexing a storage position where another parameter to be configured of the same type as the target configuration parameters is located so as to obtain the other parameter to be configured.
10. The apparatus of claim 6, further comprising:
and the broadcasting device is used for broadcasting the configuration result information after the parameter configuration is completed.
11. An intelligent lock, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the smart lock parameter configuration method of any of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method for configuring parameters of a smart lock according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910394832.9A CN112017330B (en) | 2019-05-13 | 2019-05-13 | Intelligent lock parameter configuration method and device, intelligent lock and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910394832.9A CN112017330B (en) | 2019-05-13 | 2019-05-13 | Intelligent lock parameter configuration method and device, intelligent lock and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112017330A true CN112017330A (en) | 2020-12-01 |
CN112017330B CN112017330B (en) | 2023-05-05 |
Family
ID=73500366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910394832.9A Active CN112017330B (en) | 2019-05-13 | 2019-05-13 | Intelligent lock parameter configuration method and device, intelligent lock and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112017330B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113706754A (en) * | 2021-08-18 | 2021-11-26 | 上海三菱电梯有限公司 | Card reading device, authorization card, elevator start-stop card and off-line control method |
CN115035638A (en) * | 2022-06-06 | 2022-09-09 | 珠海格力电器股份有限公司 | Control method and device of intelligent lock, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020095595A1 (en) * | 2001-01-18 | 2002-07-18 | Christopherson Thomas Dean | Method, system and program for sharing the ability to set configuration parameters in a network environment |
CN101998695A (en) * | 2010-11-04 | 2011-03-30 | 深圳市江波龙电子有限公司 | Method, device and system for configuring WiFi setting parameters of terminal equipment |
CN104063915A (en) * | 2013-03-20 | 2014-09-24 | 上海研庆电子有限公司 | Copper-forged anti-burglary intelligent-card door lock for five-star hotel |
CN105095518A (en) * | 2015-09-18 | 2015-11-25 | 中国农业银行股份有限公司 | Data conversion method and device |
CN105959477A (en) * | 2016-05-12 | 2016-09-21 | 上海泛创通信技术有限公司 | Multi-security authorization method of intelligent lock |
CN107038777A (en) * | 2017-03-29 | 2017-08-11 | 云丁网络技术(北京)有限公司 | A kind of safety communicating method and its intelligent door lock system based on intelligent door lock system |
CN107795199A (en) * | 2017-08-28 | 2018-03-13 | 京东方科技集团股份有限公司 | The control method and control device of a kind of electronic lock |
CN107908485A (en) * | 2017-10-26 | 2018-04-13 | 中国平安人寿保险股份有限公司 | Interface parameters transmission method, device, equipment and computer-readable recording medium |
-
2019
- 2019-05-13 CN CN201910394832.9A patent/CN112017330B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020095595A1 (en) * | 2001-01-18 | 2002-07-18 | Christopherson Thomas Dean | Method, system and program for sharing the ability to set configuration parameters in a network environment |
CN101998695A (en) * | 2010-11-04 | 2011-03-30 | 深圳市江波龙电子有限公司 | Method, device and system for configuring WiFi setting parameters of terminal equipment |
CN104063915A (en) * | 2013-03-20 | 2014-09-24 | 上海研庆电子有限公司 | Copper-forged anti-burglary intelligent-card door lock for five-star hotel |
CN105095518A (en) * | 2015-09-18 | 2015-11-25 | 中国农业银行股份有限公司 | Data conversion method and device |
CN105959477A (en) * | 2016-05-12 | 2016-09-21 | 上海泛创通信技术有限公司 | Multi-security authorization method of intelligent lock |
CN107038777A (en) * | 2017-03-29 | 2017-08-11 | 云丁网络技术(北京)有限公司 | A kind of safety communicating method and its intelligent door lock system based on intelligent door lock system |
CN107795199A (en) * | 2017-08-28 | 2018-03-13 | 京东方科技集团股份有限公司 | The control method and control device of a kind of electronic lock |
CN107908485A (en) * | 2017-10-26 | 2018-04-13 | 中国平安人寿保险股份有限公司 | Interface parameters transmission method, device, equipment and computer-readable recording medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113706754A (en) * | 2021-08-18 | 2021-11-26 | 上海三菱电梯有限公司 | Card reading device, authorization card, elevator start-stop card and off-line control method |
CN115035638A (en) * | 2022-06-06 | 2022-09-09 | 珠海格力电器股份有限公司 | Control method and device of intelligent lock, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112017330B (en) | 2023-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11875171B2 (en) | Blockchain network transaction processing method, apparatus, device, and storage medium | |
CN110414268B (en) | Access control method, device, equipment and storage medium | |
JP4960364B2 (en) | Hardware-assisted device configuration detection | |
US9830457B2 (en) | Unified extensible firmware interface (UEFI) credential-based access of hardware resources | |
US10831897B2 (en) | Selective enforcement of secure boot database entries in an information handling system | |
CN110719590B (en) | One-key login method, device, equipment and storage medium based on mobile phone number | |
CN107786998A (en) | A kind of processing method of network connection, device, equipment and computer-readable storage medium | |
US10678529B1 (en) | Secure device firmware installation | |
US20200260277A1 (en) | Method for wireless access authentication | |
CN112996020B (en) | Bluetooth-based automatic test method and device and Bluetooth test terminal | |
CN109583199A (en) | A kind of access auditing method, system, equipment and the medium of storage management system | |
CN112017330B (en) | Intelligent lock parameter configuration method and device, intelligent lock and storage medium | |
CN114363293B (en) | Device management method, system, readable storage medium and computer device | |
US20140089357A1 (en) | Method and apparatus for accessing data storage device | |
CN116661693A (en) | Secure data reading and writing method and device | |
CN117544334A (en) | Device access method, data exchange method, device and storage medium | |
CN113553079A (en) | Upgrading method and device for Internet of things equipment, electronic equipment and storage medium | |
CN113764110A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112463228A (en) | Storage pool hybrid deployment method and device | |
EP3007092A1 (en) | Mobile device-based authentication method and authentication apparatus | |
CN111800286A (en) | Detection method and device of intranet assets and electronic equipment | |
WO2020097863A1 (en) | Flashing control method, flashing control apparatus and terminal device | |
CN115242807B (en) | Data access method in 5G communication system and related equipment | |
WO2024045828A1 (en) | Operating system secure boot method, operating system installation method, and related apparatus | |
US20230089104A1 (en) | Usb controller endpoint resource management |
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 |