Log storage method and device
A storage method and log technology, applied in the field of video networking, can solve the problems of terminal equipment big data storage pressure, data loss, and inability to guarantee log data integrity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] refer to figure 1 , which shows a log saving method of the present invention, the method is applied to terminal devices in the Internet of Vision, and the method includes:
[0052] Step 101, create a log file with the current date as the storage date, so as to store the log information of the terminal device within the current date.
[0053] In the embodiment of the present invention, the terminal equipment includes, but is not limited to: monitoring equipment deployed in a video network environment, personal computers, mobile terminals and other electronic equipment with data processing, storage and data transmission functions. In practical applications, the terminal devices in the Internet of Vision are all connected to the Internet of Vision server responsible for scheduling and remote control. When the terminal device is turned on each time, it automatically performs time calibration with the Internet of Vision server to determine the current date and The current d...
Embodiment 2
[0060] refer to figure 2 , which shows another log saving method of the present invention, the method is applied to terminal devices in the Internet of Vision, and the method includes:
[0061] Step 201, when it is detected that the terminal device is started, it is judged whether there is a log file with the current date as the storage date.
[0062] In the embodiment of the present invention, the terminal device may store multiple closing and opening processes in the same day, and each time the terminal device is started, it is necessary to determine whether a log file with the current time as the storage date has been stored.
[0063] Step 202, if there is no log file with the current date as the storage date, create a corresponding log file with the current date as the storage date to store the log information of the terminal device within the current date.
[0064] In the embodiment of the present invention, if the terminal device does not query the log file with the cu...
Embodiment 3
[0081] refer to image 3 , which shows a structural block diagram of an embodiment of a log storage device 30 of the present invention, the device is applied to terminal equipment in the Internet of Things, and the device includes:
[0082] The first creation module 301 is configured to create a log file with the current date as the storage date, so as to store the log information of the terminal device within the current date.
[0083] The quantity determination module 302 is configured to determine the quantity of log files according to the storage date of each log file.
[0084] The deletion module 303 is configured to delete the log file with the earliest storage date if the number of the log files exceeds a preset number threshold.
[0085] Optionally, the first creating module 301 includes:
[0086] The judging sub-module 3011 is configured to judge whether there is a log file with the current date as the storage date when it is detected that the terminal device is sta...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com