CN110839058A - Method and device for recording door lock information, electronic equipment and storage medium - Google Patents

Method and device for recording door lock information, electronic equipment and storage medium Download PDF

Info

Publication number
CN110839058A
CN110839058A CN201910914017.0A CN201910914017A CN110839058A CN 110839058 A CN110839058 A CN 110839058A CN 201910914017 A CN201910914017 A CN 201910914017A CN 110839058 A CN110839058 A CN 110839058A
Authority
CN
China
Prior art keywords
door lock
lock information
information
recording
security level
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
CN201910914017.0A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910914017.0A priority Critical patent/CN110839058A/en
Publication of CN110839058A publication Critical patent/CN110839058A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The application relates to a method, a device, electronic equipment and a storage medium for recording door lock information, wherein the method comprises the following steps: acquiring first door lock information, wherein the first door lock information is state record information of the same door lock; determining a security level of the first door lock information; and sending the first door lock information to a server corresponding to the security level according to the security level so as to enable the server to send the first door lock information to a background, wherein the background is used for recording the first door lock information. This application is connected with the backstage through different servers respectively according to the important privacy level of lock information to realize user's record and control to the state of unlocking, make the management to intelligent lock safe more convenient, can monitor the state information of lock at the backstage in real time.

Description

Method and device for recording door lock information, electronic equipment and storage medium
Technical Field
The present application relates to the field of door lock technologies, and in particular, to a method and an apparatus for recording door lock information, an electronic device, and a storage medium.
Background
At present, intelligent and informatization management needs to be realized in the requirements of related department enterprises such as property companies, government schools and the like on house management, most of the existing intelligent door locks are improved aiming at the functions of the door locks in the safety field of the intelligent door locks, effective records are not carried out aiming at the unlocking behaviors of users, and especially in places where a large number of people go in and out, the tracking of clues on the unlocking behaviors of the door locks cannot be carried out, so that the unlocking needs to be recorded more so as to be managed and inquired.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a method, a device, an electronic device and a storage medium for recording door lock information.
In view of the above, in a first aspect, the present application provides a method of recording door lock information, the method comprising the steps of:
acquiring first door lock information, wherein the first door lock information is state record information of the same door lock;
determining a security level of the first door lock information;
and sending the first door lock information to a server corresponding to the security level according to the security level so as to enable the server to send the first door lock information to a background, wherein the background is used for recording the first door lock information.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the sending, according to the security level, the first door lock information to a server corresponding to the security level includes:
judging whether the safety level of the first door lock information is higher than a preset safety level or not;
when the security level of the first door lock information is higher than or equal to the preset security level, sending the first door lock information to a security transport layer protocol server;
and when the security level of the first door lock information is lower than the preset security level, sending the first door lock information to a scheduling server.
With reference to the first aspect, in a second possible implementation manner of the first aspect, before the sending, according to the security level, the first door lock information to a server corresponding to the security level, the method further includes:
acquiring first response data returned by the scheduling server;
and when the first response data is correct, the door lock is accessed to the dispatching server in a long connection state.
With reference to the first aspect, in a third possible implementation manner of the first aspect, before the sending, according to the security level, the first door lock information to a server corresponding to the security level, the method further includes:
acquiring second response data returned by the secure transport layer protocol server;
and when the second response data is correct, the door lock is accessed to the secure transport layer protocol server in a short connection state.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
acquiring second door lock information, wherein the second door lock information comprises door lock position information and port connection information of the door lock;
and sending the second door lock information to the background so as to facilitate the background to record the second door lock information.
In a second aspect, the present application provides a method of recording door lock information, comprising:
receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state record information of the door lock;
and sending the first door lock information to a background so as to facilitate the background to record the first door lock information.
In a third aspect, the present application provides a method of recording door lock information, comprising:
receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock;
and recording the first door lock information.
In a fourth aspect, the present application provides an apparatus for recording door lock information, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring first door lock information, and the first door lock information is state recording information of the same door lock;
a determination unit for determining a security level of the first door lock information;
and the first recording unit is used for sending the first door lock information to a server corresponding to the security level according to the security level so that the server sends the first door lock information to a background, and the background is used for recording the first door lock information.
In a fifth aspect, the present application provides an apparatus for recording door lock information, the apparatus comprising:
the first receiving unit is used for receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state record information of the door lock;
and the second recording unit is used for sending the first door lock information to a background so as to record the first door lock information by the background.
In a sixth aspect, the present application provides an apparatus for recording door lock information, the apparatus comprising:
the second receiving unit is used for receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock;
and the third recording unit is used for recording the first door lock information.
In a seventh aspect, the present application provides an electronic device, including: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for recording door lock information according to the first aspect by calling the program or the instructions stored in the memory.
In an eighth aspect, the present application provides an electronic device, comprising: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for recording door lock information according to the second aspect by calling the program or the instructions stored in the memory.
In a ninth aspect, the present application provides an electronic device comprising: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for recording door lock information according to the third aspect by calling the program or the instructions stored in the memory.
In a tenth aspect, the present application provides a computer-readable storage medium having stored thereon a program for recording door lock information, which when executed by a processor, implements the steps of the method for recording door lock information according to the first aspect.
In an eleventh aspect, the present application provides a computer-readable storage medium having stored thereon a program for recording door lock information, which when executed by a processor, implements the steps of the method for recording door lock information according to the second aspect.
In a twelfth aspect, the present application provides a computer-readable storage medium having stored thereon a program for recording door lock information, the program for recording door lock information implementing the steps of the method for recording door lock information according to the third aspect when executed by a processor.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, first door lock information is acquired, wherein the first door lock information is state record information of the same door lock; determining a security level of the first door lock information; and sending the first door lock information to a server corresponding to the security level according to the security level so as to enable the server to send the first door lock information to a background, wherein the background is used for recording the first door lock information. The embodiment of the application is applied to intelligent management of an intelligent door lock through NB-IOT (Narrow Band-Internet of Things), the important privacy level according to door lock information is respectively connected with a background through different servers, so as to realize recording and monitoring of the unlocking state by a user, the management of the intelligent door lock is safer and more convenient, the user can monitor the state recording information of the door lock in real time at the background, the unlocking operation of the user can synchronously upload the door lock information at every time, and meanwhile, the door lock reports the state recording information to the background every other time, including the opening and closing state of the door lock, and whether the door lock is normally operated.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the embodiments of the application and, together with the description, serve to explain the principles of the embodiments of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without any inventive exercise.
Fig. 1 is a schematic flowchart of a method for recording door lock information according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation of a method for recording door lock information according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another method for recording door lock information according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another method for recording door lock information according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for recording door lock information according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for recording door lock information according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for recording door lock information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but 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 application.
A server that implements various embodiments of the present application will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to indicate elements are used only for facilitating the description of the embodiments of the present application and have no specific meaning by themselves. Thus, "module" and "component" may be used in a mixture.
The embodiment of the application provides a method for recording door lock information, and as shown in fig. 1, the method may include the following steps:
s101, collecting first door lock information, wherein the first door lock information is state recording information of the same door lock.
Optionally, the state recording information is information for recording the opening and closing state of the door lock.
And S102, determining the safety level of the first door lock information.
S103, according to the security level, the first door lock information is sent to a server corresponding to the security level, so that the server sends the first door lock information to a background, and the background is used for recording the first door lock information.
The embodiment of the application is applied to intelligent management of an intelligent door lock through NB-IOT (Narrow Band-Internet of Things), the important privacy level according to the door lock information is respectively connected with the background through different servers, so as to realize the recording and monitoring of the unlocking state by the user, the management of the intelligent door lock is safer and more convenient, the state recording information of the door lock can be monitored in real time at the background (namely the on-off state of the door lock), the user can synchronously upload the first door lock information in each unlocking operation, and the state recording information is reported to the background every other period by the door lock, including the on-off state of the door lock, and whether the door lock is normal in operation.
According to the embodiment of the application, the NB-IOT module in the intelligent door lock is used for recording and acquiring unlocking information, the unlocking information can be recorded and fed back to the server, the important levels of data transmitted according to user needs are respectively transmitted to the background through the two servers, and the management control of the door lock state and the real-time unlocking condition of the background on the intelligent door lock can be realized.
Referring to fig. 2, a schematic diagram is implemented for a method for recording door lock information provided in this embodiment of the present application, when a user performs an unlocking action, an NB-IOT module in an intelligent door lock communicates with a door lock server (a scheduling server, a TLS server) through a base station, sends real-time information of the door lock to the server for processing, sends user information of a general level to a general scheduling server, and sends important data with high privacy to a TLS (Transport layer security) server; the NB-IOT module creates a Socket (Socket is an abstract layer, an application program can send or receive data through the Socket, the Socket is an IP address, the Socket reads the data returned by the dispatch server and the TLS server respectively, if the received data is wrong or incomplete, the next receiving is waited, the NB-IOT module in the door lock sends information to the dispatch server, the correct data returned by the server is received, the NB-IOT module is accessed to the dispatch server in a long connection state, after the dispatch by the dispatch server, the service related data of the NB-IOT module is reported to a background for corresponding processing, the dispatch of the next dispatch server is waited, the door lock is accessed to the dispatch server successfully, after the dispatch by the dispatch server, when the door lock has an unlocking behavior, the unlocking record data such as the unlocking record related data is reported to the server in a binary data form, the dispatching server keeps long connection with the NB-IOT module in the door lock; the background responds to the dispatch server and synchronizes the door lock password and the instruction of the NB-IOT module.
Optionally, general-level data includes, but is not limited to: the number of times of unlocking, the time of unlocking, the unlocking mode (fingerprint, password, NFC card) and the like.
Data of importance levels include, but are not limited to: whether the fingerprint or password id number, password or fingerprint of the current unlocking is changed or not, and the like.
In another embodiment of the application, an NB-IOT module in an intelligent door lock directly sends a platform device access MAC address created by a server and a port number of an access mode to a background; the data synchronization of the door lock and the background is realized, the background records the unlocking behavior which is the data transmitted by the user through the dispatch server and the TLS server at present, and the recorded information comprises the name of an unlocking person, the unlocking mode, the unlocking time and the like. And after the background recording is finished, waiting for the data report of the next server (the scheduling server and the TLS server), and sending an access MAC address and the port number of the access mode by the NB-IOT module in the door lock. In the embodiment of the application, unlocking signals based on passwords, cards, fingerprints and the like can be uniformly managed, inquired and counted in the background.
In another embodiment of the present application, the sending the first door lock information to a server corresponding to the security level according to the security level includes:
judging whether the safety level of the first door lock information is higher than a preset safety level or not;
when the Security level of the first door lock information is higher than or equal to the preset Security level, sending the first door lock information to a TLS (Transport Layer Security) server;
and when the security level of the first door lock information is lower than the preset security level, sending the first door lock information to a scheduling server.
In another embodiment of the present application, before the sending the first door lock information to the server corresponding to the security level according to the security level, the method further includes:
acquiring first response data returned by the scheduling server;
and when the first response data is correct, the door lock is accessed to the dispatching server in a long connection state.
In this embodiment, the long connection state refers to that the NB-IOT module of the door lock and the scheduling server can directly send data through a pre-established connection channel each time data is transmitted, and the connection channel does not need to be re-established first.
In another embodiment of the present application, before the sending the first door lock information to the server corresponding to the security level according to the security level, the method further includes:
acquiring second response data returned by the TLS server;
and when the second response data is correct, the door lock is accessed to the TLS server in a short connection state.
In this embodiment of the present application, the short connection state means that the NB-IOT module of the door lock and the TLS server need to establish a connection channel before transmitting data each time, and after the connection channel is established, the data is sent through the established connection channel.
In another embodiment of the present application, the method further comprises:
acquiring second door lock information, wherein the second door lock information comprises door lock position information and port connection information of a door lock;
and sending the second door lock information to the background so as to facilitate the background to record the second door lock information.
The embodiment of the present application further provides a method for recording door lock information, where an execution subject is a scheduling server or a TLS server, and as shown in fig. 3, the method may include the following steps:
s201, receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state recording information of the door lock.
S202, sending the first door lock information to a background so that the background can record the first door lock information conveniently.
The embodiment of the present application further provides a method for recording door lock information, where an execution main body is a background, as shown in fig. 4, the method may include the following steps:
s301, receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock.
And S302, recording the first door lock information.
An embodiment of the present application further provides a device for recording door lock information, as shown in fig. 5, the device includes:
the system comprises an acquisition unit 11, a processing unit and a control unit, wherein the acquisition unit is used for acquiring first door lock information, and the first door lock information is state record information of the same door lock;
a determination unit 12 for determining a security level of the first door lock information;
and the first recording unit 13 is configured to send the first door lock information to a server corresponding to the security level according to the security level, so that the server sends the first door lock information to a background, and the background is configured to record the first door lock information.
An embodiment of the present application further provides a device for recording door lock information, as shown in fig. 6, the device includes:
a first receiving unit 21, configured to receive first door lock information, where the first door lock information is sent by a same door lock according to a security level of the first door lock information, and the first door lock information is status record information of the door lock;
and the second recording unit 22 is configured to send the first door lock information to a background, so that the background records the first door lock information.
An embodiment of the present application further provides a device for recording door lock information, as shown in fig. 7, the device includes:
a second receiving unit 31, configured to receive first door lock information sent by a server, where the first door lock information is sent by the server corresponding to a security level of the first door lock information, and the first door lock information is status record information of the same door lock;
and a third recording unit 32 for recording the first door lock information.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to another embodiment of the present application. The electronic device 800 shown in fig. 8 includes: at least one processor 801, memory 802, at least one network interface 804, and other user interfaces 803. The various components in the electronic device 800 are coupled together by a bus system 805. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 8.
The user interface 803 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 802 in embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 802 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 802 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 8021 and application programs 8022.
The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 8022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present application may be included in the application program 8022.
In the embodiment of the present application, by calling a program or an instruction stored in the memory 802, specifically, a program or an instruction stored in the application program 8022, the processor 801 is configured to perform the method steps provided by each method embodiment, for example, including:
acquiring first door lock information, wherein the first door lock information is state record information of the same door lock;
determining a security level of the first door lock information;
and sending the first door lock information to a server corresponding to the security level according to the security level so as to enable the server to send the first door lock information to a background, wherein the background is used for recording the first door lock information.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to another embodiment of the present application. The electronic device 900 shown in fig. 9 includes: at least one processor 901, memory 902, at least one network interface 904, and other user interfaces 903. Various components in the electronic device 900 are coupled together by a bus system 905. It is understood that the bus system 905 is used to enable communications among the components. The bus system 905 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 9 as bus system 905.
The user interface 903 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be appreciated that the memory 902 in embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The memory 902 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 902 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 9021 and application programs 9022.
The operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 9022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present application may be included in application 9022.
In the embodiment of the present application, by calling a program or an instruction stored in the memory 902, specifically, a program or an instruction stored in the application 9022, the processor 901 is configured to execute the method steps provided by the method embodiments, for example, including:
receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state record information of the door lock;
and sending the first door lock information to a background so as to facilitate the background to record the first door lock information.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to another embodiment of the present application. The electronic apparatus 1000 shown in fig. 10 includes: at least one processor 1001, memory 1002, at least one network interface 1004, and other user interfaces 1003. The various components in the electronic device 1000 are coupled together by a bus system 1005. It is understood that bus system 1005 is used to enable communications among the components connected. The bus system 1005 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. But for the sake of clarity the various busses are labeled in figure 10 as the bus system 1005.
The user interface 1003 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be appreciated that the memory 1002 in embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The memory 1002 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1002 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 10021 and applications 10022.
The operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 10022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present application may be included in the application 10022.
In the embodiment of the present application, by calling a program or an instruction stored in the memory 1002, specifically, a program or an instruction stored in the application 1022, the processor 1001 is configured to execute the method steps provided by the method embodiments, for example, including:
receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock;
and recording the first door lock information.
An embodiment of the present application further provides a computer-readable storage medium, where a program for recording door lock information is stored on the computer-readable storage medium, and when the program for recording door lock information is executed by a processor, the steps of the method for recording door lock information according to the method embodiments are implemented, for example, including:
acquiring first door lock information, wherein the first door lock information is state record information of the same door lock;
determining a security level of the first door lock information;
and sending the first door lock information to a server corresponding to the security level according to the security level so as to enable the server to send the first door lock information to a background, wherein the background is used for recording the first door lock information.
An embodiment of the present application further provides a computer-readable storage medium, where a program for recording door lock information is stored on the computer-readable storage medium, and when the program for recording door lock information is executed by a processor, the steps of the method for recording door lock information according to the method embodiments are implemented, for example, including:
receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state record information of the door lock;
and sending the first door lock information to a background so as to facilitate the background to record the first door lock information.
An embodiment of the present application further provides a computer-readable storage medium, where a program for recording door lock information is stored on the computer-readable storage medium, and when the program for recording door lock information is executed by a processor, the steps of the method for recording door lock information according to the method embodiments are implemented, for example, including:
receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock;
and recording the first door lock information.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units can be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the embodiment of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of embodiments of the present application and is intended to enable those skilled in the art to understand and implement the embodiments of the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the embodiments herein. Thus, the embodiments of the present application are not intended to be limited to the embodiments shown herein but are to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (16)

1. A method of recording door lock information, comprising:
acquiring first door lock information, wherein the first door lock information is state record information of the same door lock;
determining a security level of the first door lock information;
and sending the first door lock information to a server corresponding to the security level according to the security level so as to enable the server to send the first door lock information to a background, wherein the background is used for recording the first door lock information.
2. The method of claim 1, wherein the sending the first door lock information to a server corresponding to the security level according to the security level comprises:
judging whether the safety level of the first door lock information is higher than a preset safety level or not;
when the security level of the first door lock information is higher than or equal to the preset security level, sending the first door lock information to a security transport layer protocol server;
and when the security level of the first door lock information is lower than the preset security level, sending the first door lock information to a scheduling server.
3. The method of claim 2, wherein prior to the sending the first door lock information to the server corresponding to the security level according to the security level, the method further comprises:
acquiring first response data returned by the scheduling server;
and when the first response data is correct, the door lock is accessed to the dispatching server in a long connection state.
4. The method of claim 2, wherein prior to the sending the first door lock information to the server corresponding to the security level according to the security level, the method further comprises:
acquiring second response data returned by the secure transport layer protocol server;
and when the second response data is correct, the door lock is accessed to the secure transport layer protocol server in a short connection state.
5. The method of claim 1, further comprising:
acquiring second door lock information, wherein the second door lock information comprises door lock position information and port connection information of the door lock;
and sending the second door lock information to the background so as to facilitate the background to record the second door lock information.
6. A method of recording door lock information, comprising:
receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state record information of the door lock;
and sending the first door lock information to a background so as to facilitate the background to record the first door lock information.
7. A method of recording door lock information, comprising:
receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock;
and recording the first door lock information.
8. An apparatus for recording door lock information, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring first door lock information, and the first door lock information is state recording information of the same door lock;
a determination unit for determining a security level of the first door lock information;
and the first recording unit is used for sending the first door lock information to a server corresponding to the security level according to the security level so that the server sends the first door lock information to a background, and the background is used for recording the first door lock information.
9. An apparatus for recording door lock information, the apparatus comprising:
the first receiving unit is used for receiving first door lock information, wherein the first door lock information is sent by the same door lock according to the security level of the first door lock information, and the first door lock information is state record information of the door lock;
and the second recording unit is used for sending the first door lock information to a background so as to record the first door lock information by the background.
10. An apparatus for recording door lock information, the apparatus comprising:
the second receiving unit is used for receiving first door lock information sent by a server, wherein the first door lock information is sent by the server corresponding to the security level of the first door lock information, and the first door lock information is state record information of the same door lock;
and the third recording unit is used for recording the first door lock information.
11. An electronic device, characterized in that the electronic device comprises: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for recording the door lock information according to any one of claims 1 to 5 by calling the program or the instructions stored in the memory.
12. An electronic device, characterized in that the electronic device comprises: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for recording door lock information according to claim 6 by calling the program or the instructions stored in the memory.
13. An electronic device, characterized in that the electronic device comprises: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for recording door lock information according to claim 7 by calling the program or the instructions stored in the memory.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program for recording door lock information, which when executed by a processor implements the steps of the method for recording door lock information according to any one of claims 1 to 5.
15. A computer-readable storage medium, wherein a program for recording door lock information is stored on the computer-readable storage medium, and when executed by a processor, the program for recording door lock information implements the steps of the method for recording door lock information according to claim 6.
16. A computer-readable storage medium, wherein a program for recording door lock information is stored on the computer-readable storage medium, and when executed by a processor, the program for recording door lock information implements the steps of the method for recording door lock information according to claim 7.
CN201910914017.0A 2019-09-25 2019-09-25 Method and device for recording door lock information, electronic equipment and storage medium Pending CN110839058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910914017.0A CN110839058A (en) 2019-09-25 2019-09-25 Method and device for recording door lock information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910914017.0A CN110839058A (en) 2019-09-25 2019-09-25 Method and device for recording door lock information, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110839058A true CN110839058A (en) 2020-02-25

Family

ID=69575221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910914017.0A Pending CN110839058A (en) 2019-09-25 2019-09-25 Method and device for recording door lock information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110839058A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050159878A1 (en) * 2004-01-20 2005-07-21 Varec, Inc. Fuel information messaging system
CN104157045A (en) * 2014-07-07 2014-11-19 广东建邦计算机软件有限公司 Entrance guard control method and system
CN107026840A (en) * 2015-11-20 2017-08-08 法拉第未来公司 The safety vehicle network architecture
CN107464320A (en) * 2017-08-04 2017-12-12 深圳市鹏力凯科技有限公司 The intelligent door lock and system of a kind of high safety
CN108697273A (en) * 2016-01-19 2018-10-23 凯伍德有限公司 Food processing center
CN109377607A (en) * 2018-10-18 2019-02-22 安徽灵图壹智能科技有限公司 A kind of block chain recognition of face access control system and Dvelopment of management system for medical equipment use

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050159878A1 (en) * 2004-01-20 2005-07-21 Varec, Inc. Fuel information messaging system
CN104157045A (en) * 2014-07-07 2014-11-19 广东建邦计算机软件有限公司 Entrance guard control method and system
CN107026840A (en) * 2015-11-20 2017-08-08 法拉第未来公司 The safety vehicle network architecture
CN108697273A (en) * 2016-01-19 2018-10-23 凯伍德有限公司 Food processing center
CN107464320A (en) * 2017-08-04 2017-12-12 深圳市鹏力凯科技有限公司 The intelligent door lock and system of a kind of high safety
CN109377607A (en) * 2018-10-18 2019-02-22 安徽灵图壹智能科技有限公司 A kind of block chain recognition of face access control system and Dvelopment of management system for medical equipment use

Similar Documents

Publication Publication Date Title
CN111508118B (en) Visitor management method, device, system and computer readable storage medium
CN105100708A (en) Request processing method and device
CN110930561B (en) Control method and device of intelligent lock
CN105516133A (en) User identity verification method, server and client
CN106982430B (en) Portal authentication method and system based on user use habits
CN105827406A (en) Identity verification method, identity verification device, and identity verification system
CN104240014A (en) Door access control method and door access control platform
CN103634935A (en) WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device
CN106209727A (en) A kind of session access method and apparatus
EP2107493A1 (en) Business management system
CN102291239B (en) Remote authentication method, system, agent component and authentication servers
CN103259785B (en) The authentication method of virtual token and system
CN114244568A (en) Security access control method, device and equipment based on terminal access behavior
CN109327455A (en) A kind of access method of NAS device, device, equipment and readable storage medium storing program for executing
CN112910868A (en) Enterprise network security management method and device, computer equipment and storage medium
CN111859320A (en) Cross-system login-free method, device, equipment and readable storage medium
US20160381160A1 (en) System and Computer Implemented Method of Personal Monitoring
CN110839058A (en) Method and device for recording door lock information, electronic equipment and storage medium
CN107800715B (en) portal authentication method and access equipment
CN106330899A (en) Private cloud device account management method and system, electronic device and server
CN106254328A (en) A kind of access control method and device
CN110351719A (en) A kind of wireless network management method, system and electronic equipment and storage medium
CN103281334A (en) Terminal processing method, terminal and server
CN110191115B (en) Remote data sharing and protecting method, server side, user side and system
CN105376274A (en) Login processing method, device and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200225