CN109215190B - Method for uploading recorded information of intelligent door lock - Google Patents

Method for uploading recorded information of intelligent door lock Download PDF

Info

Publication number
CN109215190B
CN109215190B CN201810968811.9A CN201810968811A CN109215190B CN 109215190 B CN109215190 B CN 109215190B CN 201810968811 A CN201810968811 A CN 201810968811A CN 109215190 B CN109215190 B CN 109215190B
Authority
CN
China
Prior art keywords
storage
uploading
mark
real
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810968811.9A
Other languages
Chinese (zh)
Other versions
CN109215190A (en
Inventor
彭骏
王磊
张贝
吉纲
任光响
张民瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Routon Electronic Co ltd
Wuhan Precision Business Machine Co ltd
Original Assignee
Routon Electronic Co ltd
Wuhan Precision Business Machine 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 Routon Electronic Co ltd, Wuhan Precision Business Machine Co ltd filed Critical Routon Electronic Co ltd
Priority to CN201810968811.9A priority Critical patent/CN109215190B/en
Publication of CN109215190A publication Critical patent/CN109215190A/en
Application granted granted Critical
Publication of CN109215190B publication Critical patent/CN109215190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Abstract

The embodiment of the invention provides a method for uploading recorded information of an intelligent door lock, which comprises the following steps: determining non-real-time uploading record information in the record information generated according to the user operation instruction, and storing each piece of non-real-time uploading record information into a local cache storage space, wherein each piece of non-real-time uploading record information is record information which does not need to be uploaded to the intelligent door management system in real time; and uploading each non-real-time uploading type record information to the intelligent door management system after determining that no user operation instruction is received within a preset time period. The method determines the non-real-time uploading type record information in the record information, and uploads each non-real-time uploading type record information to the intelligent door management system after determining that no user operation instruction is received within a preset time period, so that the non-real-time uploading type record information is not required to be uploaded in real time in the process that the MCU executes the user operation instruction, the influence on the response speed of the user operation instruction is avoided as much as possible, and the use experience of a user is improved.

Description

Method for uploading recorded information of intelligent door lock
Technical Field
The embodiment of the invention relates to the technical field of intelligent door locks, in particular to a method for uploading recorded information of an intelligent door lock.
Background
The intelligent door lock is widely applied to buildings such as banks, government departments, hotels, schools, residential quarters, villas and the like which pay attention to safety and convenient management, the intelligent door lock is internally provided with the MCU, and the MCU receives various operation instructions of users so as to realize various intelligent functions.
The intelligent door lock basically has the function of generating recorded information aiming at various operation instructions, and based on the requirement of unified management on the intelligent door lock, the recorded information is also required to be uploaded to the intelligent door management system, so that the intelligent door management system can realize intelligent management on the intelligent door lock according to the recorded information.
At present, the uploading of the recorded information of the intelligent door lock mainly adopts a real-time uploading mode, namely, the recorded information is uploaded to an intelligent door management system in real time after the intelligent door lock receives a user operation instruction and generates the recorded information; because the MCU of the intelligent door lock needs to execute the operation instruction of the user in real time when receiving the operation instruction of the user, if the MCU needs to upload various recorded information in real time at the same time, the response speed of the MCU to the operation instruction of the user can be influenced, and if the network fault occurs in the real-time uploading process of the recorded information, the operation of the user can be directly interfered, and the use experience of the user is influenced.
Disclosure of Invention
In order to overcome the above problems or at least partially solve the above problems, embodiments of the present invention provide a method for uploading recorded information of an intelligent door lock.
According to a first aspect of the embodiments of the present invention, there is provided a method for uploading recorded information of an intelligent door lock, including: determining non-real-time uploading record information in the record information generated according to the user operation instruction, and storing each piece of non-real-time uploading record information into a local cache storage space, wherein each piece of non-real-time uploading record information is record information which does not need to be uploaded to the intelligent door management system in real time; and after determining that no user operation instruction is received within a preset time period, uploading each non-real-time uploading type record information stored in the local cache storage space to the intelligent door management system.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method for uploading recorded information of an intelligent door lock, provided in any one of the various possible implementation manners of the first aspect.
The method for uploading the recorded information of the intelligent door lock provided by the embodiment of the invention comprises the following steps: determining non-real-time uploading record information in the record information generated according to the user operation instruction, and storing each piece of non-real-time uploading record information into a local cache storage space, wherein each piece of non-real-time uploading record information is record information which does not need to be uploaded to the intelligent door management system in real time; and uploading each non-real-time uploading type record information to the intelligent door management system after determining that no user operation instruction is received within a preset time period. The method determines the non-real-time uploading type record information in the record information, and uploads each non-real-time uploading type record information to the intelligent door management system after determining that no user operation instruction is received within a preset time period, so that the non-real-time uploading type record information is not required to be uploaded in real time in the process that the MCU executes the user operation instruction, more MCU resources are used for processing the user operation instruction as much as possible, the influence on the response speed of the user operation instruction is avoided as much as possible, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for uploading recorded information of an intelligent door lock according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for uploading recorded information of an intelligent door lock according to an embodiment of the present invention, and as shown in fig. 1, the method for uploading recorded information of an intelligent door lock includes: s11, determining non-real-time uploading type recording information in the recording information generated according to the user operation instruction, and storing each piece of non-real-time uploading type recording information into a local cache storage space, wherein each piece of non-real-time uploading type recording information is the recording information which is not required to be uploaded to the intelligent door management system in real time; and S12, after determining that no user operation instruction is received within the preset time period, uploading each non-real-time uploading type record information stored in the local cache storage space to the intelligent door management system.
Specifically, most functions of the intelligent door lock are realized by operation instructions input by a user, for example, functions of unlocking, locking and the like are realized by unlocking, locking and locking instructions input by the user respectively; some special functions such as remote unlocking, anti-theft alarm and the like are realized by the feedback of an intelligent door management system, and after the intelligent door management system receives the recorded information generated by the remote unlocking instruction and the abnormal unlocking instruction respectively, the corresponding instruction is fed back by analyzing the recorded information. Therefore, the record information generated by the user operation instruction can be roughly divided into two types, one type is real-time uploading type record information which needs to be uploaded in real time, the intelligent door management system needs to feed back a corresponding instruction in real time according to the type of record information, the other type is non-real-time uploading type record information which only plays a role in recording the information of the corresponding user operation instruction so that a user can inquire the corresponding user operation instruction at any time, and the intelligent door management system does not feed back any operation instruction to the intelligent door lock according to the type of record information.
For non-real-time uploading type recording information, the type recording information only plays a role of information recording, so the type recording information can be uploaded to the intelligent door management system after being delayed for a period of time. In this embodiment, first, the non-real-time uploading record information in the record information generated according to the user operation instruction is determined, each piece of non-real-time uploading record information is stored in the local cache storage space, each piece of non-real-time uploading record information is record information that is not required to be uploaded to the intelligent door management system in real time, and then, after any user operation instruction is not received within a predetermined time period, each piece of non-real-time uploading record information stored in the local cache storage space is uploaded to the intelligent door management system. The execution of the user operation instruction and the uploading of the recorded information both need the MCU resource of the special intelligent door lock, the uploading operation of the non-real-time uploading type recorded information is delayed until the MCU executes the user operation instruction, more MCU resources are used for executing the user operation instruction as much as possible, and the execution speed of the user operation instruction can be improved.
According to the method for uploading the recorded information of the intelligent door lock, the non-real-time uploading recorded information in the recorded information is determined, and after any user operation instruction is not received within a preset time period, each non-real-time uploading recorded information is uploaded to the intelligent door management system, so that the non-real-time uploading recorded information is not required to be uploaded in real time in the process that the MCU executes the user operation instruction, more MCU resources are used for processing the user operation instruction as far as possible, the influence on the response speed of the user operation instruction is avoided as far as possible, and the use experience of a user is improved.
Based on the above embodiment, further, storing each non-real-time upload class record information to a local cache storage space includes: acquiring a storage mark pointing to a storage page in a local cache storage space; writing each non-real-time uploading type record information into a storage page to which the storage mark points currently one by one; and if the storage page pointed by the storage mark currently meets the preset storage condition, updating the storage page pointed by the storage mark.
Specifically, the local cache storage space may be an external FLASH, for example, an SPI FLASH, where the external FLASH includes a plurality of sectors (storage sectors), each Sector includes a plurality of pages (storage pages), and one storage tag may be set to point to the storage Page, so as to indicate that the storage tag points to the storage Page as the storage space of the currently written data. In this embodiment, according to the characteristics of the storage pages, a preset storage condition is set for each storage page, for example, in general, the size of the storage space of one storage page is 256 bytes, and the preset storage condition can be set to store one piece of non-real-time uploading record information in one storage page, which is convenient for storage and searching and does not waste the storage space too much; for another example, when the storage space of one storage page is large, the storage space of the preset storage condition setting storage page can be fully written with data, so as to save the storage space; and writing each piece of non-real-time uploading record information into the storage page to which the storage mark points currently one by one, if the storage page to which the storage mark points currently meets the preset storage condition, updating the storage page to which the storage mark points, enabling the storage mark to point to a new storage page, and continuously storing the non-real-time uploading record information through the new storage page.
In the embodiment, the storage space of the currently written data is indicated by the storage mark, so that the non-real-time uploading type recording information is stored to the specified position, the storage space is reasonably allocated, and the next storage address can be quickly located without traversing each storage page in the local cache storage space.
Based on the above embodiment, further, the updating the storage page pointed to by the storage marker includes: if the storage page to which the storage mark currently points is the last storage page of the local cache storage space, enabling the storage mark to point to the first storage page of the local cache storage space; otherwise, enabling the storage mark to point to the next storage page of the storage page to which the storage mark currently points; and the storage pages of the local cache storage space are sorted according to a preset sequence.
Specifically, because data in the local cache storage space is written and erased frequently, if the frequently written and erased data are only concentrated in the local cache storage space, the local cache storage space may be worn and damaged, and the service life of the local cache storage space is reduced; the local cache storage space can be used as a ring buffer area to realize the storage of data, that is, when the storage page to which the storage tag currently points is the last storage page of the local cache storage space, the storage page to which the storage tag points is changed so that the storage tag points to the first storage page of the local cache storage space, otherwise, the storage page to which the storage tag points is changed so that the storage tag points to the next storage page of the storage page to which the storage tag currently points, and the writing and erasing operations of the data are averaged to each storage page in the local cache storage space, so as to prolong the service life of the local cache storage space.
Based on the above embodiment, further, uploading each non-real-time uploading type record information stored in the local cache storage space to the smart gate management system, including: acquiring an uploading mark pointing to a storage page in a local cache storage space, wherein the storage page pointed by the uploading mark currently is a first storage page stored with non-real-time uploading record information which is not uploaded; uploading data in the storage page to which the uploading mark points currently to an intelligent door management system; and if the data of the storage page pointed by the uploading mark currently is all uploaded to the intelligent door management system, updating the storage page pointed by the uploading mark.
Specifically, an upload flag may be further set in the local cache storage space to indicate a first storage page storing data to be uploaded in the local cache storage space, where the first storage page storing the data to be uploaded is first non-real-time upload type record information that is not uploaded, when the MCU is idle, the upload flag is first obtained to determine a storage page to which the upload flag currently points, and the data in the storage page to which the upload flag currently points is uploaded to the smart gate management system, and if it is determined that all the data in the storage page to which the upload flag currently points is uploaded to the smart gate management system, the storage page to which the upload flag points is changed so that the upload flag points to a next storage page storing the data to be uploaded, and the above steps are repeated to upload all the data to be uploaded.
In this embodiment, the storage page pointing to the first storage to which the data to be uploaded is stored is set in the local cache storage space, and the MCU does not need to retrieve the storage page of the data to be uploaded from beginning to end in the whole local cache storage space before uploading the data, and only needs to determine the storage page pointed by the upload flag, so as to determine the storage location of the data to be uploaded, thereby implementing fast uploading.
Based on the above embodiment, further, the updating the storage page pointed by the upload flag includes: if the storage page to which the uploading mark points currently is the last storage page of the local cache storage space, enabling the uploading mark to point to the first storage page of the local cache storage space; otherwise, the uploading mark points to the next storage page of the storage page to which the uploading mark points currently.
Specifically, in the above embodiment, the local cache storage space is used as a ring buffer to store the data, and in this embodiment, the local cache storage space is also used as a ring buffer to upload the data, that is, when the storage page to which the upload flag currently points is the last storage page of the local cache storage space, the storage page to which the upload flag points is changed so that the upload flag points to the first storage page of the local cache storage space, otherwise, the storage page to which the upload flag points is changed so that the upload flag points to the next storage page of the storage page to which the storage flag currently points, and the uploading operation of the data is averaged to each storage page in the local cache storage space to prolong the service life of the local cache storage space.
Based on the above embodiment, further, after determining that all data of the storage page to which the upload flag currently points are uploaded to the intelligent door management system, the method further includes: and if the storage page to which the uploading mark currently points is determined to be the last storage page of the storage sector, deleting the data in the storage sector to which the storage page to which the uploading mark currently points belongs.
Specifically, the capacity of the local cache storage space is limited, the uploaded data needs to be erased in time, the local cache storage space usually adopts an external FLASH memory, and a minimum unit for data erasure of the external FLASH memory is a storage Sector (Sector), so that the data in the storage Sector can be erased after all data of the whole storage Sector are completely uploaded, and if it is determined that the storage page to which the currently pointed storage page of the upload tag belongs is the last storage page of the storage Sector, it can be determined that all data in the storage Sector to which the currently pointed storage page of the upload tag belongs are completely uploaded, and then the data in the storage Sector to which the currently pointed storage page of the upload tag belongs can be deleted.
The embodiment realizes timely erasing of uploaded data in the local cache storage space through the uploading mark so as to improve the use efficiency of the local cache storage space, and meanwhile, the data are deleted after being uploaded to the intelligent door management system, so that the phenomenon that the MCU resource is occupied by data deletion operation and the influence of the MCU on user operation is influenced can be avoided.
Based on the above embodiment, further, after deleting the data in the storage sector to which the storage page currently pointed by the upload flag belongs, the method further includes: and updating the storage page pointed by the mark to be deleted in the local cache storage space so that the mark to be deleted points to the first storage page which stores the data which is uploaded to the intelligent door management system and is not deleted.
Specifically, a to-be-deleted flag may be further set in the local cache storage space to point to a first storage page in the local cache storage space, where data that has been uploaded to the smart door management system and is not deleted is stored, and after the data in the storage sector to which the storage page to which the upload flag currently points is deleted, the storage page to which the to-be-deleted flag points is updated, so as to ensure that the storage page to which the to-be-deleted flag currently points is the first storage page, where data that has been uploaded to the smart door management system and is not deleted is stored.
By setting the mark to be deleted, when the MCU erases data, the whole local cache storage space does not need to be retrieved from beginning to end, and the data to be deleted can be quickly located according to the mark to be deleted, so as to implement efficient erasure of data.
Based on the above embodiment, further, after updating the storage page pointed by the upload flag, the method further includes: and if the storage mark and the mark to be deleted point to the same storage page, determining that the local cache storage space cannot be continuously written with data, and sending alarm information of insufficient local cache storage space.
Specifically, if the storage mark and the mark to be deleted point to the same storage page, it indicates that the data in the storage page to which the storage mark points is not deleted, and the data cannot be continuously written in, that is, each storage page in the local cache storage space meets the preset storage condition, and the local cache storage space cannot continuously write in other data, and at this time, an alarm message indicating that the local cache storage space is insufficient is sent out, so that a user can timely perform corresponding processing.
Based on the above embodiment, further, after updating the storage page pointed by the to-be-deleted flag in the local cache storage space, the method further includes: and storing the mark information of the storage mark, the uploading mark and the mark to be deleted in the embedded flash memory.
Specifically, in consideration of the fact that the embedded FLASH memory has faster data reading and writing compared with an external FLASH memory serving as a local cache storage space, the embodiment stores the tag information of the storage tag, the upload tag, and the tag to be deleted in the embedded FLASH memory, so that the MCU can process data more quickly and the data processing efficiency is improved. The embedded flash memory has limited storage space and needs to be erased in time corresponding to the recording information which is out of use.
The storage space capable of distributing one piece of mark information is 4 bytes of space, each storage page stores one type of mark information, for certain types of mark information, whether the storage page storing the type of mark information has enough storage space is searched, if the default value of the embedded flash memory is 0xFF, whether the storage page storing the type of mark information has continuous 4 bytes of space which is 0xFF is sequentially searched according to a preset sequence, if yes, the type of mark information is stored, otherwise, the data of the storage page storing the type of mark information is erased and stored.
Fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 2, the electronic device includes: at least one processor 21, at least one memory 22 and a data bus 23; wherein: the processor 21 and the memory 22 complete communication with each other through a data bus 23; the memory 22 stores program instructions executable by the processor 21, and the processor 21 calls the program instructions to execute the method for uploading the record information of the intelligent door lock provided by the above method embodiments, for example, the method includes: determining non-real-time uploading record information in the record information generated according to the user operation instruction, and storing each piece of non-real-time uploading record information into a local cache storage space, wherein each piece of non-real-time uploading record information is record information which does not need to be uploaded to the intelligent door management system in real time; and after determining that no user operation instruction is received within a preset time period, uploading each non-real-time uploading type record information stored in the local cache storage space to the intelligent door management system.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method for uploading recorded information of an intelligent door lock provided in the foregoing method embodiments, where the method includes: determining non-real-time uploading record information in the record information generated according to the user operation instruction, and storing each piece of non-real-time uploading record information into a local cache storage space, wherein each piece of non-real-time uploading record information is record information which does not need to be uploaded to the intelligent door management system in real time; and after determining that no user operation instruction is received within a preset time period, uploading each non-real-time uploading type record information stored in the local cache storage space to the intelligent door management system.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to computer program instructions, where the computer program may be stored in a computer readable storage medium, and when executed, the computer program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and 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.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, the description is as follows: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for uploading recorded information of an intelligent door lock is characterized by comprising the following steps:
determining non-real-time uploading record information in the record information generated according to the user operation instruction, and storing each piece of non-real-time uploading record information into a local cache storage space, wherein each piece of non-real-time uploading record information is record information which does not need to be uploaded to the intelligent door management system in real time;
after determining that no user operation instruction is received within a preset time period, uploading each non-real-time uploading type record information stored in the local cache storage space to the intelligent door management system;
the record information generated by the user operation instruction is divided into two types: one type is real-time uploading type record information, and the intelligent door management system needs to feed back a corresponding instruction in real time according to the real-time uploading type record information; the other type is non-real-time uploading type recorded information which only plays a role of recording information of a corresponding user operation instruction so that a user can inquire the corresponding user operation instruction;
the step of storing each piece of non-real-time uploading type record information into a local cache storage space comprises: acquiring a storage mark pointing to a storage page in the local cache storage space; writing each non-real-time uploading type recording information into the storage page to which the storage mark points currently one by one; and if the storage page pointed by the storage mark currently meets a preset storage condition, updating the storage page pointed by the storage mark.
2. The method of claim 1, wherein the updating the storage page pointed to by the storage tag comprises:
if the storage page to which the storage tag currently points is the last storage page of the local cache storage space, enabling the storage tag to point to the first storage page of the local cache storage space;
otherwise, enabling the storage mark to point to the next storage page of the storage page to which the storage mark currently points;
and the storage pages of the local cache storage space are ordered according to a preset sequence.
3. The method of claim 2, wherein uploading each non-real-time upload class record information stored in the local cache storage space to the smart door management system comprises:
acquiring an uploading mark pointing to a storage page in the local cache storage space, wherein the storage page pointed by the uploading mark currently is a first storage page in which non-real-time uploading-class recording information which is not uploaded is stored;
uploading the data in the storage page currently pointed by the uploading mark to the intelligent door management system;
and if the data of the storage page pointed by the uploading mark currently is all uploaded to the intelligent door management system, updating the storage page pointed by the uploading mark.
4. The method of claim 3, wherein the updating the memory page pointed to by the upload flag comprises:
if the storage page to which the upload flag currently points is the last storage page of the local cache storage space, enabling the upload flag to point to the first storage page of the local cache storage space;
otherwise, the uploading mark points to the next storage page of the storage page to which the uploading mark points currently.
5. The method of claim 3, wherein after determining that the data of the storage page currently pointed to by the upload flag is all uploaded to the smart door management system, further comprising:
and if the storage page to which the uploading mark currently points is determined to be the last storage page of the storage sector, deleting the data in the storage sector to which the storage page to which the uploading mark currently points belongs.
6. The method according to claim 5, wherein after deleting the data in the storage sector to which the storage page currently pointed by the upload flag belongs, further comprising:
and updating the storage page pointed by the mark to be deleted in the local cache storage space so that the mark to be deleted points to the first storage page which stores the data which is uploaded to the intelligent door management system and is not deleted.
7. The method according to claim 6, further comprising, after updating the memory page pointed to by the upload flag:
and if the storage mark and the mark to be deleted point to the same storage page, determining that the local cache storage space cannot be continuously written with data, and sending alarm information of insufficient local cache storage space.
8. The method according to claim 6, wherein after updating the storage page pointed to by the to-be-deleted flag in the local cache storage space, further comprising:
and storing the mark information of the storage mark, the uploading mark and the mark to be deleted in an embedded flash memory.
9. A non-transitory computer-readable storage medium storing a computer program that causes a computer to perform the method according to any one of claims 1 to 8.
CN201810968811.9A 2018-08-23 2018-08-23 Method for uploading recorded information of intelligent door lock Active CN109215190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810968811.9A CN109215190B (en) 2018-08-23 2018-08-23 Method for uploading recorded information of intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810968811.9A CN109215190B (en) 2018-08-23 2018-08-23 Method for uploading recorded information of intelligent door lock

Publications (2)

Publication Number Publication Date
CN109215190A CN109215190A (en) 2019-01-15
CN109215190B true CN109215190B (en) 2021-10-15

Family

ID=64989297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810968811.9A Active CN109215190B (en) 2018-08-23 2018-08-23 Method for uploading recorded information of intelligent door lock

Country Status (1)

Country Link
CN (1) CN109215190B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008592A (en) * 2014-06-17 2014-08-27 苏州天华超净科技股份有限公司 Electrostatic control entrance guard management system and method
CN105336029A (en) * 2015-11-24 2016-02-17 中船重工(武汉)凌久信息技术有限公司 IoT (Internet of Things) based intelligent lock system and method
CN107507303A (en) * 2017-07-07 2017-12-22 安徽德诺科技股份公司 The method for unlocking of intelligent lock system and smart lock
CN107666499A (en) * 2016-07-28 2018-02-06 北京京东尚科信息技术有限公司 Information storage means and device for server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190096450A (en) * 2000-10-11 2019-08-19 로비 가이드스, 인크. Systems and methods for delivering media content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008592A (en) * 2014-06-17 2014-08-27 苏州天华超净科技股份有限公司 Electrostatic control entrance guard management system and method
CN105336029A (en) * 2015-11-24 2016-02-17 中船重工(武汉)凌久信息技术有限公司 IoT (Internet of Things) based intelligent lock system and method
CN107666499A (en) * 2016-07-28 2018-02-06 北京京东尚科信息技术有限公司 Information storage means and device for server
CN107507303A (en) * 2017-07-07 2017-12-22 安徽德诺科技股份公司 The method for unlocking of intelligent lock system and smart lock

Also Published As

Publication number Publication date
CN109215190A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
US11853549B2 (en) Index storage in shingled magnetic recording (SMR) storage system with non-shingled region
US9135163B2 (en) Maintaining versions of data in solid state memory
CN105677250B (en) The update method and updating device of object data in object storage system
US9122582B2 (en) File system for maintaining data versions in solid state memory
US8850148B2 (en) Data copy management for faster reads
CN111198856B (en) File management method, device, computer equipment and storage medium
CN111061752B (en) Data processing method and device and electronic equipment
WO2018141304A1 (en) Flash file system and data management method thereof
CN112925783A (en) Service data processing method and device, electronic equipment and storage medium
CN116225334A (en) Cold and hot data storage method, device and medium
CN109189724B (en) Method and device for improving audio and video data storage efficiency of video monitoring system
KR20080098104A (en) Method of storing meta-data and system for storing meta-data
CN108829345B (en) Data processing method of log file and terminal equipment
US10430110B2 (en) Implementing a hybrid storage node in a distributed storage system
CN109215190B (en) Method for uploading recorded information of intelligent door lock
CN110851398B (en) Garbage data recovery processing method and device and electronic equipment
CN109753222B (en) Data deleting method, server and computer readable medium
CN110795031A (en) Data deduplication method, device and system based on full flash storage
US10452308B2 (en) Encoding tags for metadata entries in a storage system
CN112783420A (en) Data deleting and garbage recycling method, device, system and storage medium
CN115328878B (en) Log data storage system, method, device and medium
CN113821458B (en) Data operation method, device, computer equipment and storage medium
CN115237875B (en) Log data processing method, device, equipment and storage medium
CN115858407B (en) Data storage method, device, equipment, readable storage medium and server
CN112597074B (en) Data processing method and device

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