Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Inactive Publication Date: 2020-04-24
VISIONVERA INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this way, when the amount of data stored in a certain period of time is too large, the data will be deleted according to the data level, resulting in the loss of all data of a certain level at each time node, and the integrity of the log data cannot be guaranteed, and the terminal device is always It is in a state of excess storage, which brings great data storage pressure to terminal devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log storage method and device
  • Log storage method and device
  • Log storage method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a log storage method and device, and the method is applied to terminal equipment in the articulated naturality web. The method comprises the steps: building alog file taking a current date as a storage date, so as to store log information of the terminal equipment in the current date; determining the number of the log files according to the storage date ofeach log file; if the number of the log files exceeds a preset number threshold, deleting the log file with the earliest storage date. The log file is generated according to the current date to storethe log information, and the redundant log data is dynamically deleted according to the log quantity, so the data storage pressure of the terminal equipment is reduced while the data integrity is ensured.

Description

technical field [0001] The invention relates to the technical field of Internet of Things, in particular to a log saving method and device. Background technique [0002] The Internet of Video is an important milestone in the development of the Internet. It is a more advanced form of the Internet. It is a real-time network that can realize the real-time transmission of high-definition video on the entire network that cannot be realized by the Internet at present, and push many Internet applications to high-definition video. The log information in the terminal device is used as a historical record of the operation of the terminal device, which can be used to analyze the operation status of the terminal device. [0003] In existing Internet-of-Vision terminals, considering the data storage pressure brought by log files to terminal devices, log information is usually stored in log files with a fixed size, and the data is stored according to the data level. [0004] In this way,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/4335H04N21/433H04N21/4425G06F11/34
CPCG06F11/34H04N21/4334H04N21/4335H04N21/4425
Inventor 卢燕青安君超艾清波韩杰
Owner VISIONVERA INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products