CN113825021A - Video real-time retrieval method, device and system - Google Patents
Video real-time retrieval method, device and system Download PDFInfo
- Publication number
- CN113825021A CN113825021A CN202110892951.4A CN202110892951A CN113825021A CN 113825021 A CN113825021 A CN 113825021A CN 202110892951 A CN202110892951 A CN 202110892951A CN 113825021 A CN113825021 A CN 113825021A
- Authority
- CN
- China
- Prior art keywords
- video
- encrypted
- retrieval
- real
- data
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004422 calculation algorithm Methods 0.000 claims description 19
- 238000013467 fragmentation Methods 0.000 claims description 10
- 238000006062 fragmentation reaction Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4405—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4408—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
Abstract
The invention discloses a video real-time retrieval method, which comprises the following steps: the method comprises the following steps: carrying out local encryption processing on a video data set to be retrieved to obtain an encrypted data set; step two: uploading the encrypted data set to a cloud server so that the cloud server can retrieve the encrypted data set in real time in encrypted video data in a non-decryption mode to obtain encrypted retrieval data; step three: and receiving the encrypted retrieval data from the cloud server, and decrypting the encrypted retrieval data locally to obtain a video retrieval result. A real-time video retrieval method can perform real-time video retrieval in a non-decryption mode at the cloud. The invention also discloses a video real-time retrieval device and a video real-time retrieval system.
Description
Technical Field
The invention relates to a video retrieval technology, in particular to a method, a device and a system for retrieving videos in real time.
Background
Video real-time retrieval refers to identifying the content of a video picture using image recognition techniques to find a desired data set in a video.
Currently, video real-time retrieval usually adopts the following two ways: one is to upload the video to the cloud server in real time and search in real time in the cloud server; the other is to retrieve the video in real time at a local server.
The inventor finds that: when the cloud server carries out real-time retrieval on the video, whether the video is encrypted or not during uploading, the video needs to be decrypted on the cloud server and retrieved in a plain text mode, and the risk of data leakage exists; when the local server performs real-time video retrieval, the real-time video retrieval is usually limited by the resources of the local server, and the real-time performance is difficult to guarantee for complex scenes with large calculation amount.
Disclosure of Invention
In order to solve the above-mentioned deficiencies of the prior art, the present invention provides a real-time video retrieval method, which can perform real-time video retrieval in a non-decryption manner at the cloud.
The invention also provides a video real-time retrieval device and a video real-time retrieval system.
The technical problem to be solved by the invention is realized by the following technical scheme:
a video real-time retrieval method comprises the following steps:
the method comprises the following steps: carrying out local encryption processing on a video data set to be retrieved to obtain an encrypted data set;
step two: uploading the encrypted data set to a cloud server so that the cloud server can retrieve the encrypted data set in real time in encrypted video data in a non-decryption mode to obtain encrypted retrieval data;
step three: and receiving the encrypted retrieval data from the cloud server, and decrypting the encrypted retrieval data locally to obtain a video retrieval result.
Further, in the first step, a homomorphic encryption algorithm is locally adopted to encrypt the video data set to be retrieved.
Further, in step three, the encrypted retrieval data is decrypted locally by adopting a homomorphic decryption algorithm.
Furthermore, the number of the cloud servers is at least two, and each cloud server receives the encrypted video data.
Further, in the second step, the same encrypted data set is uploaded to at least two cloud servers, so that the at least two cloud servers can retrieve the same encrypted data set in the encrypted video data in a non-decryption manner at the same time, and at least two groups of encrypted retrieval data are obtained.
Further, in the first step, the video data set to be retrieved is firstly subjected to fragmentation processing to obtain at least two groups of fragmentation data sets, and then each group of fragmentation data sets is respectively subjected to encryption processing to obtain at least two groups of encryption data sets; in the second step, at least two groups of encrypted data sets are uploaded to different cloud servers, so that at least two cloud servers can simultaneously retrieve different encrypted data sets in the encrypted video data in real time in a non-decryption mode, and at least two groups of encrypted retrieval data are obtained.
Further, before the step one, the method further comprises the following steps: the collected video is encrypted locally to obtain the encrypted video data, and the encrypted video data is uploaded to the cloud server.
Furthermore, the collected video is encrypted locally by adopting a homomorphic encryption algorithm.
A video real-time retrieval device comprises a processor and a memory connected with the processor, wherein a computer program executed by the processor is stored in the memory, and the video real-time retrieval method is carried out when the processor executes the computer program.
A real-time video retrieval system comprises the real-time video retrieval device and a cloud server, wherein data transmission is carried out between the real-time video retrieval device and the cloud server through a network.
The invention has the following beneficial effects: the video real-time retrieval method, the video real-time retrieval device and the video real-time retrieval system encrypt and decrypt video data locally, the video data are directly retrieved and processed in an encrypted state at the cloud end, the video data uploaded to the cloud end can be prevented from leaking due to decryption at the cloud end, meanwhile, the encryption algorithm and the decryption algorithm are stored locally, the encryption algorithm and the decryption algorithm can be prevented from leaking from the cloud end, the video retrieval efficiency and real-time performance are improved through a distributed server at the cloud end, and missing or false detection is reduced.
Drawings
FIG. 1 is a block diagram illustrating the steps of a video real-time retrieval method according to the present invention;
FIG. 2 is a block diagram illustrating steps of an embodiment of a video real-time retrieval method according to the present invention;
FIG. 3 is a block diagram illustrating another embodiment of a video real-time retrieval method according to the present invention;
fig. 4 is a schematic block diagram of a video real-time retrieval system provided by the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and examples.
Example one
As shown in fig. 1, a video real-time retrieval method includes the following steps:
the method comprises the following steps: and carrying out local encryption processing on the video data set to be retrieved to obtain an encrypted data set.
In the first step, a homomorphic encryption algorithm is locally adopted to encrypt the video data set to be retrieved. The homomorphic encryption algorithm is an encryption method with special natural attributes, data which is subjected to homomorphic encryption is processed to obtain an output, the output is decrypted, the result of the output is the same as the output result obtained by processing the unencrypted original data by adopting the same method, namely the data which is subjected to homomorphic encryption can be directly subjected to data processing without being decrypted in advance.
Step two: and uploading the encrypted data set to a cloud server so that the cloud server can retrieve the encrypted data set in real time in the encrypted video data in a non-decryption manner to obtain encrypted retrieval data.
In the second step, the encrypted video data is also encrypted by the homomorphic encryption algorithm, and since the encrypted data set and the encrypted video data are homomorphic encrypted, the cloud server does not need to decrypt the encrypted data set and the encrypted video data in advance before retrieving the encrypted data set in the encrypted video data in real time.
The encrypted video data can be formed by uploading and storing the locally encrypted video acquired in the past in the cloud server, or can be formed by uploading the locally encrypted video acquired in real time to the cloud server when video retrieval is needed; after the video retrieval is completed, the encrypted video data can be continuously stored in the cloud server or deleted from the cloud server.
Therefore, before the step one, the method further comprises the following steps: the collected video is encrypted locally to obtain the encrypted video data, and the encrypted video data is uploaded to the cloud server.
In the step, the collected video is encrypted locally by adopting a homomorphic encryption algorithm.
The number of the cloud servers is at least two, and each cloud server receives the encrypted video data.
As shown in fig. 2, in an embodiment, in the second step, the same encrypted data set is uploaded to at least two cloud servers, so that the at least two cloud servers can retrieve the same encrypted data set in the encrypted video data without decryption at the same time, thereby obtaining at least two sets of encrypted retrieval data.
In the embodiment, a plurality of cloud servers are adopted to retrieve the same encrypted data set, at least two groups of obtained encrypted retrieval data can be verified mutually, and missing or false detection of a single cloud server is avoided.
As shown in fig. 3, in another embodiment, in the first step, a video data set to be retrieved is firstly subjected to fragmentation processing to obtain at least two groups of fragmentation data sets, and then each group of fragmentation data sets is respectively subjected to encryption processing to obtain at least two groups of encryption data sets; in the second step, at least two groups of encrypted data sets are uploaded to different cloud servers, so that at least two cloud servers can simultaneously retrieve different encrypted data sets in the encrypted video data in real time in a non-decryption mode, and at least two groups of encrypted retrieval data are obtained.
In this embodiment, the video data set is firstly subjected to fragmentation processing and then encrypted, then a plurality of cloud servers are used for retrieving different encrypted data sets in real time, each cloud server is only responsible for retrieving one part of the video data set, and finally at least two groups of encrypted retrieval data are collected, so that the retrieval efficiency can be improved.
Step three: and receiving the encrypted retrieval data from the cloud server, and decrypting the encrypted retrieval data locally to obtain a video retrieval result.
In the third step, a homomorphic decryption algorithm is locally adopted to decrypt the encrypted retrieval data.
The video real-time retrieval method is used for encrypting and decrypting video data locally, the video data are directly retrieved and processed in an encrypted state at the cloud end, the video data uploaded to the cloud end can be prevented from leaking due to decryption at the cloud end, meanwhile, the encryption algorithm and the decryption algorithm are stored locally, the encryption algorithm and the decryption algorithm can be prevented from leaking from the cloud end, the video retrieval efficiency and real-time performance are improved through a distributed server at the cloud end, and missing or false detection is reduced.
Example two
As shown in fig. 4, a video real-time search device includes a processor and a memory connected to the processor, where the memory stores a computer program for the processor to execute, and when the processor executes the computer program, the video real-time search device performs the video real-time search method according to the first embodiment.
EXAMPLE III
As shown in fig. 4, a video real-time retrieval system includes the video real-time retrieval device and the cloud server according to the second embodiment, and data transmission is performed between the video real-time retrieval device and the cloud server through a network.
The above-mentioned embodiments only express the embodiments of the present invention, and the description is more specific and detailed, but not understood as the limitation of the patent scope of the present invention, but all the technical solutions obtained by using the equivalent substitution or the equivalent transformation should fall within the protection scope of the present invention.
Claims (10)
1. A video real-time retrieval method is characterized by comprising the following steps:
the method comprises the following steps: carrying out local encryption processing on a video data set to be retrieved to obtain an encrypted data set;
step two: uploading the encrypted data set to a cloud server so that the cloud server can retrieve the encrypted data set in real time in encrypted video data in a non-decryption mode to obtain encrypted retrieval data;
step three: and receiving the encrypted retrieval data from the cloud server, and decrypting the encrypted retrieval data locally to obtain a video retrieval result.
2. The method for retrieving video in real time as claimed in claim 1, wherein in step one, the video data set to be retrieved is encrypted locally by using a homomorphic encryption algorithm.
3. The method for real-time video retrieval according to claim 1, wherein in step three, the encrypted retrieval data is decrypted locally using a homomorphic decryption algorithm.
4. The method for real-time video retrieval according to any one of claims 1-3, wherein the number of the cloud servers is at least two, and each cloud server receives the encrypted video data.
5. The method according to claim 4, wherein in the second step, the same encrypted data set is uploaded to at least two cloud servers, so that the at least two cloud servers can retrieve the same encrypted data set from the encrypted video data without decryption at the same time, thereby obtaining at least two sets of encrypted retrieval data.
6. The real-time video retrieval method of claim 4, wherein in the first step, the video data set to be retrieved is firstly subjected to fragmentation processing to obtain at least two groups of fragmentation data sets, and then each group of fragmentation data sets is respectively subjected to encryption processing to obtain at least two groups of encryption data sets; in the second step, at least two groups of encrypted data sets are uploaded to different cloud servers, so that at least two cloud servers can simultaneously retrieve different encrypted data sets in the encrypted video data in real time in a non-decryption mode, and at least two groups of encrypted retrieval data are obtained.
7. The method for retrieving video in real time according to claim 1, further comprising, before step one: the collected video is encrypted locally to obtain the encrypted video data, and the encrypted video data is uploaded to the cloud server.
8. The method for real-time video retrieval according to claim 7, wherein the captured video is encrypted locally by using a homomorphic encryption algorithm.
9. A video real-time search device comprising a processor and a memory connected to the processor, the memory storing a computer program for execution by the processor, wherein the processor executes the computer program to perform the video real-time search method according to any one of claims 1 to 8.
10. A video real-time retrieval system, comprising the video real-time retrieval device of claim 9 and a cloud server, wherein the video real-time retrieval device and the cloud server perform data transmission via a network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110892951.4A CN113825021A (en) | 2021-08-04 | 2021-08-04 | Video real-time retrieval method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110892951.4A CN113825021A (en) | 2021-08-04 | 2021-08-04 | Video real-time retrieval method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113825021A true CN113825021A (en) | 2021-12-21 |
Family
ID=78912933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110892951.4A Withdrawn CN113825021A (en) | 2021-08-04 | 2021-08-04 | Video real-time retrieval method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113825021A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077356A (en) * | 2014-05-31 | 2014-10-01 | 浙江工商大学 | Homomorphic encryption based cloud storage platform retrieval method |
CN105323209A (en) * | 2014-06-05 | 2016-02-10 | 江苏博智软件科技有限公司 | Cloud data security protection method adopting fully homomorphic encryption technology and multiple digital watermarking technology |
CN109063496A (en) * | 2018-07-26 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method and device of data processing |
CN110677411A (en) * | 2019-09-27 | 2020-01-10 | 浙江宇视科技有限公司 | Data sharing method and system based on cloud storage |
CN112650943A (en) * | 2020-12-24 | 2021-04-13 | 山东鑫泰洋智能科技有限公司 | Multi-cloud server collaborative data retrieval system and method |
CN112836222A (en) * | 2021-01-25 | 2021-05-25 | 北京航空航天大学 | Intelligent recommendation scene oriented safety search method and device |
-
2021
- 2021-08-04 CN CN202110892951.4A patent/CN113825021A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077356A (en) * | 2014-05-31 | 2014-10-01 | 浙江工商大学 | Homomorphic encryption based cloud storage platform retrieval method |
CN105323209A (en) * | 2014-06-05 | 2016-02-10 | 江苏博智软件科技有限公司 | Cloud data security protection method adopting fully homomorphic encryption technology and multiple digital watermarking technology |
CN109063496A (en) * | 2018-07-26 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method and device of data processing |
CN110677411A (en) * | 2019-09-27 | 2020-01-10 | 浙江宇视科技有限公司 | Data sharing method and system based on cloud storage |
CN112650943A (en) * | 2020-12-24 | 2021-04-13 | 山东鑫泰洋智能科技有限公司 | Multi-cloud server collaborative data retrieval system and method |
CN112836222A (en) * | 2021-01-25 | 2021-05-25 | 北京航空航天大学 | Intelligent recommendation scene oriented safety search method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109451006B (en) | Data transmission method, device, server and computer storage medium | |
US11271726B2 (en) | Key encryption methods, apparatuses, and systems | |
US10721058B2 (en) | Ultra-secure blockchain enabled analytics | |
WO2017071512A1 (en) | Cloud storage and cloud download methods for multimedia data and related devices | |
US8819408B2 (en) | Document processing method and system | |
CN104378649B (en) | It is a kind of that real-time encrypted method and system being carried out to video flowing using the close SM1 algorithms of state | |
CN106231346B (en) | Distributed encryption method for offline video | |
CN112311865A (en) | File encryption transmission method and device | |
CN112597337A (en) | Method, device, equipment and medium for viewing video monitoring content | |
CN111414635A (en) | File encryption and decryption method, device, equipment and storage medium | |
US20110154015A1 (en) | Method For Segmenting A Data File, Storing The File In A Separate Location, And Recreating The File | |
CN105447146A (en) | Massive data collecting and exchanging system and method | |
CN115102699A (en) | Data security deduplication and data recovery method, system, medium, device and terminal | |
CN109710502A (en) | Log transmission method, apparatus and storage medium | |
CN113825021A (en) | Video real-time retrieval method, device and system | |
CN113727146B (en) | Cloud television video stream processing device and method based on block chain | |
CN110853042A (en) | Automatic secret-involved vector graph segmentation system and method based on image recognition | |
CN113452724B (en) | Separated storage electronic signature encryption protection system and method based on Internet | |
CN111506913B (en) | Audio encryption method and device, storage medium and electronic device | |
CN111078153B (en) | Distributed storage method based on file | |
CN111131270B (en) | Data encryption and decryption method and device, electronic equipment and storage medium | |
CN113032828A (en) | Improved binary system interaction information encryption method and device | |
CN113672954A (en) | Feature extraction method and device and electronic equipment | |
CN116318621B (en) | Industrial Internet of things data privacy protection system based on homomorphic encryption | |
CN109165226A (en) | It is a kind of to can search for encryption method towards ciphertext large data collection |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20211221 |
|
WW01 | Invention patent application withdrawn after publication |