CN112597337A - Method, device, equipment and medium for viewing video monitoring content - Google Patents

Method, device, equipment and medium for viewing video monitoring content Download PDF

Info

Publication number
CN112597337A
CN112597337A CN202011455231.3A CN202011455231A CN112597337A CN 112597337 A CN112597337 A CN 112597337A CN 202011455231 A CN202011455231 A CN 202011455231A CN 112597337 A CN112597337 A CN 112597337A
Authority
CN
China
Prior art keywords
video monitoring
target
cache data
monitoring content
content
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
CN202011455231.3A
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.)
Beijing Feixun Digital Technology Co ltd
Original Assignee
Beijing Feixun Digital 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 Beijing Feixun Digital Technology Co ltd filed Critical Beijing Feixun Digital Technology Co ltd
Priority to CN202011455231.3A priority Critical patent/CN112597337A/en
Publication of CN112597337A publication Critical patent/CN112597337A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for viewing video monitoring contents. The method for viewing the video monitoring content comprises the following steps: in response to a viewing request for the target video monitoring content, target cache data matched with the target video monitoring content is inquired in a local cache region; the cache data in the local cache region is safely processed according to a preset safety processing mode; if the target cache data are obtained by inquiring in the local cache region, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode; and displaying the target cache data obtained after the security processing is removed by a user. According to the technical scheme of the embodiment of the invention, the data is safely processed and then stored in the cache region, so that the pressure of the server is reduced, and the safety of the cached data is ensured.

Description

Method, device, equipment and medium for viewing video monitoring content
Technical Field
The embodiment of the invention relates to computer technology, in particular to a method, a device, equipment and a medium for viewing video monitoring content.
Background
With the continuous development of information technology, more and more scenes can be used for a video monitoring system, and in order to store information such as video recording, video recording and video screenshot, the information can be generally uploaded to a server in real time or at regular time.
When a user checks the information at a terminal, a download request needs to be sent to a server for checking, so that the situation that one terminal requests to download the same data or the same file for many times and a plurality of terminals download the same data at the same time often occurs, and the server is easy to jam due to overlarge pressure, and network resources are wasted. In the prior art, the server pressure is generally relieved by caching data, but the contents such as monitoring videos and the like in the cache can be seen by anyone using equipment, and the information safety cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for checking video monitoring contents.
In a first aspect, an embodiment of the present invention provides a method for viewing video monitoring content, where the method includes:
in response to a viewing request for the target video monitoring content, target cache data matched with the target video monitoring content is inquired in a local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
if the target cache data are obtained by inquiring in the local cache region, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode;
and displaying the target cache data obtained after the security processing is removed by a user.
In a second aspect, an embodiment of the present invention further provides a device for viewing video monitoring content, where the device includes:
the cache data query module is used for responding to a viewing request aiming at the target video monitoring content and querying target cache data matched with the target video monitoring content in the local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
the safety processing removing module is used for performing safety processing on the target cache data by using a safety processing removing mode matched with the safety processing mode if the target cache data is obtained by inquiring in a local cache region;
and the data display module is used for displaying the target cache data obtained after the security processing is removed by a user.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for viewing video surveillance content provided by any of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for viewing the video monitoring content provided in any embodiment of the present invention.
According to the technical scheme, the target cache data matched with the target video monitoring content is inquired in the local cache region in response to the checking request aiming at the target video monitoring content, if the target cache data is inquired in the local cache region, the target cache data is subjected to security removing processing in a security removing processing mode matched with a security processing mode, and finally the target cache data obtained after the security removing processing is displayed by a user.
Drawings
Fig. 1 is a flowchart of a method for viewing video monitoring content according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for viewing video monitoring content according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for viewing video monitoring content according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a viewing apparatus for video surveillance content according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for viewing video monitoring content according to a first embodiment of the present invention, where the technical solution of this embodiment is suitable for a situation where video monitoring content is stored in a cache area, and the method may be executed by a viewing apparatus for video monitoring content, and specifically includes the following steps:
step 110, in response to a viewing request for the target video monitoring content, querying target cache data matched with the target video monitoring content in a local cache region; and the cache data in the local cache region is safely processed according to a preset safety processing mode.
The target video monitoring content is data collected by the command terminal in each business operation, and exemplarily, the target video monitoring content is a monitoring video screenshot, a video recording or a video recording and the like; the command terminal is a terminal system capable of remotely monitoring and remotely sending command commands on site, and data in a local cache area corresponding to the command terminal is data after safety processing, namely the data can only be checked in the command terminal system, and other applications cannot be opened and checked.
In this embodiment, in order to reduce interaction with the server, reduce server pressure, and reduce network consumption, the command terminal first queries whether target cache data corresponding to target video monitoring content that the user needs to view exists in a local cache directory corresponding to the command terminal after receiving a target video monitoring content viewing instruction initiated by the user. The cache data in the local cache region may be content downloaded from a server when the target video monitoring content is viewed last time, or content acquired by a live camera of a current command terminal.
Illustratively, in response to an operation that a user clicks a view button after selecting the target video monitoring content, the command terminal queries target cache data matched with the target video monitoring content in a local cache region corresponding to the command terminal based on the identifier of the target video monitoring content.
And step 120, if the target cache data is obtained by inquiring in the local cache region, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode.
In this embodiment, in order to ensure the security of the cache data, the cache data in the local cache region is processed in a secure manner according to a preset secure processing mode, and if the command terminal queries that the local cache region stores target cache data corresponding to target video monitoring content that a user needs to view, the command terminal first needs to perform corresponding security removal processing on the target cache data, so that the target cache data can be normally viewed.
Illustratively, the cache data in the local cache region is stored after being compressed and encrypted, and if the target cache data is obtained by querying in the local cache region, the target cache data is decrypted and decompressed first.
And step 130, displaying the target cache data obtained after the security processing is removed by a user.
In this embodiment, after the target cache data is subjected to security removing processing, the target cache data may be displayed on a screen of the command terminal for a user to view. The user checks the data in the cache region without interacting with the server, the pressure of the server is reduced, the data in the cache region is safely processed, the data can be checked only through the command terminal, other applications cannot be opened, and the safety of the cached data is improved.
According to the technical scheme, the target cache data matched with the target video monitoring content is inquired in the local cache region in response to the checking request aiming at the target video monitoring content, if the target cache data is inquired in the local cache region, the target cache data is subjected to security removing processing in a security removing processing mode matched with a security processing mode, and finally the target cache data obtained after the security removing processing is displayed by a user.
Example two
Fig. 2 is a flowchart of a viewing method of video surveillance content according to a second embodiment of the present invention, which is further refined based on the second embodiment of the present invention, and provides specific steps after target cache data matched with target video surveillance content is queried in a local cache region. A method for viewing video monitoring content according to a second embodiment of the present invention is described below with reference to fig. 2, which includes the following steps:
and step 210, acquiring the locally acquired real-time video monitoring content.
In this embodiment, the command terminal may obtain the real-time video monitoring content through a camera installed on the site, and the real-time video monitoring content may reflect the current site condition.
And step 220, performing safety processing on the real-time video monitoring content according to a safety processing mode, and storing the real-time video monitoring content serving as cache data in a local cache region.
In this embodiment, in order to reduce the server pressure and reduce the network and disk consumption, the real-time video monitoring content may be subjected to security processing, and then the real-time video monitoring content subjected to security processing may be stored in the local cache region as cache data. Certainly, the size of the local cache region is preset, when the storage space in the local cache region is full and data caching is still needed, a part of previously stored cache data is deleted, in order to reliably store the real-time video monitoring content, the real-time video monitoring content is still uploaded to the server for storage, and the local cache region is only used for improving the viewing efficiency and reducing the resource consumption frequently interacting with the server, and is not used for the purpose of storage.
Optionally, after the real-time video monitoring content is subjected to security processing according to a security processing manner, the real-time video monitoring content is stored in the local cache region as cache data, including:
judging whether the size of the real-time video monitoring content after the safety processing is smaller than the size of the residual storage space in the local cache region;
if so, storing the real-time video monitoring content after the safety processing as cache data into a local cache region;
and if not, deleting the cache data with the earliest storage time in the local cache region, and returning to execute the operation of judging whether the size of the real-time video monitoring content after the safety processing is smaller than the size of the residual storage space in the local cache region.
In an optional embodiment, a specific manner is provided in which the real-time video monitoring content is stored in the local cache region as cache data after being safely processed according to a safety processing manner, first, it is determined whether the remaining storage space in the local cache region can store the safely processed real-time video monitoring content, if the size of the remaining storage space is larger than the size of the safely processed real-time video monitoring content, the safely processed real-time video monitoring content is directly stored in the local cache region as cache data, otherwise, the cache data with the earliest storage time in the local cache region may be deleted, and then it is determined whether the size of the safely processed real-time video monitoring content is smaller than the size of the remaining storage space in the local cache region until the real-time video monitoring content is stored in the local cache region.
Optionally, the security processing is performed on the real-time video monitoring content according to a security processing manner, which includes:
and compressing and encrypting the real-time video monitoring content.
In an optional embodiment, a method for performing security processing on the real-time video monitoring content according to a security processing method is provided, and specifically, the real-time video monitoring content is compressed and encrypted, so that the problem that cached data can be viewed by anyone using the current device and has potential safety hazards can be avoided.
Step 230, in response to the viewing request for the target video monitoring content, querying target cache data matched with the target video monitoring content in the local cache region, if the target cache data matched with the target video monitoring content exists in the local cache region, executing step 240, otherwise, executing step 250;
and the cache data in the local cache region is safely processed according to a preset safety processing mode.
And 240, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode, and performing user display on the target cache data obtained after the security removing processing.
Optionally, performing a security removing process on the target cache data by using a security removing process mode matched with the security process mode, including:
and decrypting and decompressing the target cache data.
In an optional embodiment, a way of performing security-removing processing on target cache data by using a security-removing processing way matched with a security processing way is provided, specifically, decryption and decompression processing on the target cache data by using the security processing way are performed, so that a command terminal user can normally view data in a local cache area.
Step 250, requesting target video monitoring content from the video monitoring server, displaying the target video monitoring content by a user, and storing the target video monitoring content in a local cache region as cache data after performing safety processing on the target video monitoring content according to a safety processing mode.
In this embodiment, when there is no target cache data matching the target video monitoring content in the local cache region, the target video monitoring content needs to be requested from the video monitoring server, and the target video monitoring content is displayed for the user, and meanwhile, the target video monitoring content is downloaded to the local cache region, and after being safely processed in a safety processing manner, the target video monitoring content is stored in the local cache region as cache data, so that when the user needs to repeatedly check the relevant content, the request from the server is not needed again, that is, the target video monitoring content can be directly checked from the local cache region in the next checking, thereby reducing network and disk consumption, and relieving server pressure.
The technical scheme of the embodiment of the invention includes that the real-time video monitoring content acquired locally is taken, and is safely processed according to a safety processing mode and then is stored in a local cache region as cache data, when a user initiates a viewing request of the target video monitoring content, the local cache region is inquired for target cache data matched with the target video monitoring content, if the local cache region has the target cache data matched with the target video monitoring content, the target cache data is subjected to safety processing by using a safety processing mode matched with the safety processing mode, the target cache data obtained after the safety processing is displayed for the user, otherwise, the target video monitoring content is requested to a video monitoring server and is displayed for the user, and the target video monitoring content is subjected to safety processing according to the safety processing mode, the data are stored in the local cache region as cache data, so that resource consumption caused by multiple downloads of the data needing to be checked is reduced, and the server pause phenomenon caused by the fact that a plurality of terminals request the data from the server at the same time is relieved.
EXAMPLE III
Fig. 3 is a flowchart of a viewing method of video surveillance content according to a third embodiment of the present invention, which is further detailed based on the foregoing embodiments and provides specific steps of querying, in a local cache region, target cache data matched with target video surveillance content in response to a viewing request for the target video surveillance content. A method for viewing video monitoring content according to a third embodiment of the present invention is described below with reference to fig. 3, including the following steps:
and step 310, responding to the viewing request aiming at the target video monitoring content, and acquiring the file identifier and the pre-stored hash value of the target video monitoring content corresponding to the target video monitoring content in the database.
In this embodiment, after a user initiates a viewing request for target video monitoring content, a file identifier of the target video monitoring content corresponding to the target video monitoring content and a file hash value calculated and stored in advance are acquired in a database, so as to determine target cache data corresponding to the target video monitoring content in a local cache region according to the file identifier and the pre-stored hash value. Wherein, the pre-stored hash value is the MD5 value of the target video monitoring content.
And step 320, inquiring whether the local cache region contains cache data to be selected which is matched with the file identification.
In this embodiment, first, a file identifier of target video monitoring content is taken as a query condition to query whether to-be-selected cache data identical to the file identifier of the target video monitoring content exists in a local cache region, where the file identifier of the to-be-selected cache data is identical to the file identifier of the target video monitoring content, and the identifier may be target cache data corresponding to the target video monitoring content, but it is also possible that a file is damaged when the file identifier is stored in the cache region, so that the file cannot be normally opened.
And step 330, when the local cache region contains cache data to be selected, which is matched with the file identifier, calculating the hash value of the cache data to be selected, and judging whether the hash value is the same as the pre-stored hash value.
In this embodiment, in order to further determine whether the cache data to be selected is damaged, an MD5 value of the cache data to be selected may be further calculated, and then it is determined whether the calculated MD5 value is the same as a pre-stored hash value in the database.
And 340, when the calculated hash value is the same as the pre-stored hash value, determining that the cache data to be selected is target cache data matched with the target video monitoring content.
In this embodiment, when the calculated hash value is the same as the pre-stored hash value, which indicates that the content of the cache data to be selected is the same as the target video monitoring content and is not damaged, it is determined that the cache data to be selected is the target cache data matched with the target video monitoring content, and otherwise, it is determined that the cache data to be selected is damaged.
And 350, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode.
And step 360, displaying the target cache data obtained after the security processing is removed by a user.
The technical proposal of the embodiment of the invention responds to the viewing request aiming at the target video monitoring content, acquiring a file identifier and a pre-stored hash value of the target video monitoring content corresponding to the target video monitoring content in a database, then, whether the local cache region contains cache data to be selected which is matched with the file identification is inquired, if yes, calculating the hash value of the cache data to be selected, and judging whether the hash value is the same as the pre-stored hash value, if so, and determining that the cache data to be selected is target cache data matched with the target video monitoring content, further performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode, and finally displaying the target cache data obtained after the security removing processing by a user, so that resource consumption caused by multiple downloads of the data needing to be checked is reduced, and the server pause phenomenon caused by the fact that multiple terminals request the server for the data at the same time is relieved.
Example four
Fig. 4 is a schematic structural diagram of a viewing apparatus for video monitoring content according to a fourth embodiment of the present invention, where the viewing apparatus for video monitoring content includes: a cache data query module 410, a de-security processing module 420, and a data presentation module 430.
A cache data query module 410, configured to query, in response to a viewing request for target video surveillance content, target cache data that matches the target video surveillance content in a local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
a security removing processing module 420, configured to, if the target cache data is obtained by querying in a local cache region, perform security removing processing on the target cache data by using a security removing processing manner that is matched with the security processing manner;
and the data display module 430 is configured to perform user display on the target cache data obtained after the security processing is performed.
According to the technical scheme, the target cache data matched with the target video monitoring content is inquired in the local cache region in response to the checking request aiming at the target video monitoring content, if the target cache data is inquired in the local cache region, the target cache data is subjected to security removing processing in a security removing processing mode matched with a security processing mode, and finally the target cache data obtained after the security removing processing is displayed by a user.
Optionally, the viewing apparatus for video monitoring content further includes:
the data request module is used for requesting the target video monitoring content from a video monitoring server and displaying the target video monitoring content for a user if the target cache data is not obtained by inquiring in the local cache region;
and the first data cache module is used for performing safety processing on the target video monitoring content according to the safety processing mode and then storing the target video monitoring content as cache data in the local cache region.
Optionally, the viewing apparatus for video monitoring content further includes:
the content acquisition module is used for acquiring the real-time video monitoring content acquired locally;
and the second data cache module is used for performing safety processing on the real-time video monitoring content according to the safety processing mode and then storing the real-time video monitoring content as cache data in the local cache region.
Optionally, the second data caching module is specifically configured to:
judging whether the size of the real-time video monitoring content after the safety processing is smaller than the size of the residual storage space in the local cache region;
if so, storing the real-time video monitoring content after the safety processing as cache data into the local cache region;
and if not, deleting the cache data with the earliest storage time in the local cache region, and returning to execute the operation of judging whether the size of the real-time video monitoring content after the safety processing is smaller than the size of the residual storage space in the local cache region.
Optionally, the second data caching module is further specifically configured to:
compressing and encrypting the real-time video monitoring content;
correspondingly, the unsecure processing module 420 is specifically configured to:
and decrypting and decompressing the target cache data.
Optionally, the cache data query module 410 is specifically configured to:
responding to a viewing request aiming at target video monitoring content, and acquiring a file identifier and a pre-stored hash value of the target video monitoring content corresponding to the target video monitoring content from a database;
inquiring whether the local cache region contains cache data to be selected which is matched with the file identification;
if so, calculating the hash value of the cache data to be selected, and judging whether the hash value is the same as the pre-stored hash value or not;
and if so, determining the cache data to be selected as target cache data matched with the target video monitoring content.
Optionally, the video monitoring content includes at least one of a video screenshot, a video recording and a video recording.
The viewing device for the video monitoring content provided by the embodiment of the invention can execute the viewing method for the video monitoring content provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, as shown in fig. 5, the electronic device includes a processor 50 and a memory 51; the number of processors 50 in the device may be one or more, and one processor 50 is taken as an example in fig. 5; the processor 50 and the memory 51 in the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 5.
The memory 51 is used as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a viewing method of video surveillance content in the embodiment of the present invention (for example, the cache data query module 410, the security removal processing module 420, and the data presentation module 430 in the viewing device of video surveillance content). The processor 50 executes various functional applications and data processing of the device, namely, the above-described viewing method of the video monitoring content, by executing software programs, instructions and modules stored in the memory 51.
The method for viewing the video monitoring content comprises the following steps:
in response to a viewing request for the target video monitoring content, target cache data matched with the target video monitoring content is inquired in a local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
if the target cache data are obtained by inquiring in the local cache region, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode;
and displaying the target cache data obtained after the security processing is removed by a user.
The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 51 may further include memory located remotely from the processor 50, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE six
An embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program, which, when executed by a computer processor, is configured to perform a method for viewing video surveillance content.
The method for viewing the video monitoring content comprises the following steps:
in response to a viewing request for the target video monitoring content, target cache data matched with the target video monitoring content is inquired in a local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
if the target cache data are obtained by inquiring in the local cache region, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode;
and displaying the target cache data obtained after the security processing is removed by a user.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the above embodiment of the viewing apparatus for video monitoring content, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A viewing method of video monitoring content is characterized by comprising the following steps:
in response to a viewing request for the target video monitoring content, target cache data matched with the target video monitoring content is inquired in a local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
if the target cache data are obtained by inquiring in the local cache region, performing security removing processing on the target cache data by using a security removing processing mode matched with the security processing mode;
and displaying the target cache data obtained after the security processing is removed by a user.
2. The method of claim 1, wherein after querying the local cache for target cache data matching the target video surveillance content, further comprising:
if the target cache data is not inquired in the local cache region, requesting the target video monitoring content from a video monitoring server, and displaying the target video monitoring content by a user;
and after the target video monitoring content is subjected to safety processing according to the safety processing mode, the target video monitoring content is stored in the local cache region as cache data.
3. The method of claim 2, further comprising:
acquiring real-time video monitoring content acquired locally;
and after the real-time video monitoring content is safely processed according to the safety processing mode, the real-time video monitoring content is stored in the local cache region as cache data.
4. The method according to claim 3, wherein the step of storing the real-time video monitoring content in the local cache area as cache data after performing security processing on the real-time video monitoring content according to the security processing mode comprises:
judging whether the size of the real-time video monitoring content after the safety processing is smaller than the size of the residual storage space in the local cache region;
if so, storing the real-time video monitoring content after the safety processing as cache data into the local cache region;
and if not, deleting the cache data with the earliest storage time in the local cache region, and returning to execute the operation of judging whether the size of the real-time video monitoring content after the safety processing is smaller than the size of the residual storage space in the local cache region.
5. The method according to claim 3, wherein the performing the security processing on the real-time video monitoring content according to the security processing mode comprises:
compressing and encrypting the real-time video monitoring content;
correspondingly, the performing the security removing processing on the target cache data by using the security removing processing mode matched with the security processing mode comprises the following steps:
and decrypting and decompressing the target cache data.
6. The method of claim 1, wherein querying the local cache for target cache data matching the target video surveillance content in response to a viewing request for the target video surveillance content comprises:
responding to a viewing request aiming at target video monitoring content, and acquiring a file identifier and a pre-stored hash value of the target video monitoring content corresponding to the target video monitoring content from a database;
inquiring whether the local cache region contains cache data to be selected which is matched with the file identification;
if so, calculating the hash value of the cache data to be selected, and judging whether the hash value is the same as the pre-stored hash value or not;
and if so, determining the cache data to be selected as target cache data matched with the target video monitoring content.
7. The method of claim 1, wherein the video surveillance content comprises at least one of a video screenshot, a video recording, and a video recording.
8. A viewing apparatus for video surveillance content, comprising:
the cache data query module is used for responding to a viewing request aiming at the target video monitoring content and querying target cache data matched with the target video monitoring content in the local cache region;
the cache data in the local cache region is safely processed according to a preset safety processing mode;
the safety processing removing module is used for performing safety processing on the target cache data by using a safety processing removing mode matched with the safety processing mode if the target cache data is obtained by inquiring in a local cache region;
and the data display module is used for displaying the target cache data obtained after the security processing is removed by a user.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of viewing video surveillance content as recited in any of claims 1-7.
10. A computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method of viewing video surveillance content of any of claims 1-7.
CN202011455231.3A 2020-12-10 2020-12-10 Method, device, equipment and medium for viewing video monitoring content Pending CN112597337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011455231.3A CN112597337A (en) 2020-12-10 2020-12-10 Method, device, equipment and medium for viewing video monitoring content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011455231.3A CN112597337A (en) 2020-12-10 2020-12-10 Method, device, equipment and medium for viewing video monitoring content

Publications (1)

Publication Number Publication Date
CN112597337A true CN112597337A (en) 2021-04-02

Family

ID=75192540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011455231.3A Pending CN112597337A (en) 2020-12-10 2020-12-10 Method, device, equipment and medium for viewing video monitoring content

Country Status (1)

Country Link
CN (1) CN112597337A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395529A (en) * 2021-06-11 2021-09-14 重庆农村商业银行股份有限公司 Video recording reading method, device, equipment and storage medium
CN113891118A (en) * 2021-10-11 2022-01-04 北京仁光科技有限公司 Method and system for calling copy by signal source, readable storage medium and electronic equipment
CN114189660A (en) * 2021-12-24 2022-03-15 威艾特科技(深圳)有限公司 Monitoring method and system based on omnidirectional camera
CN114245217A (en) * 2021-12-17 2022-03-25 杭州视洞科技有限公司 Cloud video playback method capable of saving flow
CN115359615A (en) * 2022-08-15 2022-11-18 北京飞讯数码科技有限公司 Indoor fire alarm early warning method, system, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026741A (en) * 2017-03-31 2017-08-08 科世达(上海)管理有限公司 Method and device is write with a brush dipped in Chinese ink in a kind of encryption based on network security
CN108920573A (en) * 2018-06-22 2018-11-30 北京奇艺世纪科技有限公司 A kind of data buffer storage processing method, device and terminal device
US10235459B1 (en) * 2013-07-25 2019-03-19 Google Llc Creating entries in at least one of a personal cache and a personal index
CN109857760A (en) * 2018-12-22 2019-06-07 中国平安人寿保险股份有限公司 Quick response search method and device, computer installation and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10235459B1 (en) * 2013-07-25 2019-03-19 Google Llc Creating entries in at least one of a personal cache and a personal index
CN107026741A (en) * 2017-03-31 2017-08-08 科世达(上海)管理有限公司 Method and device is write with a brush dipped in Chinese ink in a kind of encryption based on network security
CN108920573A (en) * 2018-06-22 2018-11-30 北京奇艺世纪科技有限公司 A kind of data buffer storage processing method, device and terminal device
CN109857760A (en) * 2018-12-22 2019-06-07 中国平安人寿保险股份有限公司 Quick response search method and device, computer installation and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈学明: "《Spring+Spring MVC+MyBatis整合开发实战》", 31 July 2020, 北京:机械工业出版社, pages: 357 - 358 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395529A (en) * 2021-06-11 2021-09-14 重庆农村商业银行股份有限公司 Video recording reading method, device, equipment and storage medium
CN113891118A (en) * 2021-10-11 2022-01-04 北京仁光科技有限公司 Method and system for calling copy by signal source, readable storage medium and electronic equipment
CN114245217A (en) * 2021-12-17 2022-03-25 杭州视洞科技有限公司 Cloud video playback method capable of saving flow
CN114189660A (en) * 2021-12-24 2022-03-15 威艾特科技(深圳)有限公司 Monitoring method and system based on omnidirectional camera
CN115359615A (en) * 2022-08-15 2022-11-18 北京飞讯数码科技有限公司 Indoor fire alarm early warning method, system, device, equipment and medium
CN115359615B (en) * 2022-08-15 2023-08-04 北京飞讯数码科技有限公司 Indoor fire alarm early warning method, system, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN112597337A (en) Method, device, equipment and medium for viewing video monitoring content
CN107729352B (en) Page resource loading method and terminal equipment
CN108133008B (en) Method, device, equipment and storage medium for processing service data in database
CN108234539B (en) File uploading, downloading and transmitting method and device
US10929465B2 (en) Method and apparatus for processing requests for thumbnail images in a video surveillance system
CN109729386B (en) Video file playing starting method and system, electronic equipment and storage medium
CN112114994B (en) Exception handling method, device, equipment and medium
CN113411404A (en) File downloading method, device, server and storage medium
CN112099873A (en) Application program home page loading method, device, equipment and storage medium
CN111262822A (en) File storage method, device, block link point and system
CN112559463B (en) Compressed file processing method and device
CN108763396B (en) Access request processing method, device, computer equipment and storage medium
CN109150927B (en) File issuing method and device for file storage system
US9507655B2 (en) Tracking asynchronous entry points for an application
CN106612283B (en) Method and device for identifying source of downloaded file
WO2020103060A1 (en) Data processing method and apparatus, system, server, and electronic device
CN112436943A (en) Request deduplication method, device, equipment and storage medium based on big data
CN106598567A (en) Method and device for displaying page elements on terminal equipment
CN110020290B (en) Webpage resource caching method and device, storage medium and electronic device
CN111190858B (en) Method, device, equipment and storage medium for storing software information
CN114116710A (en) Data processing method, device and equipment based on block chain and storage medium
CN114238404A (en) Data query method and device, storage medium and equipment
CN113722684A (en) Data tracing method and device, electronic equipment and computer readable storage medium
US20190012160A1 (en) Distribution method for linux-based operating system and system using the same
CN110718285B (en) Data archiving method, system, device and storage medium

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