Redis-based cloud playback index service method and system

An indexing service and data technology, applied in the field of redis-based cloud playback indexing service, can solve the problems of low access efficiency, high service cost, low access efficiency, etc. Effect

Pending Publication Date: 2021-09-17
深圳智多豚物联技术有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the rapid increase of data volume, the data stored in the database is getting larger and larger, and the space occupied by the database is very large. At the same time, the pressure caused by users querying data will also increase. increase, inefficient access, and high service costs

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
  • Redis-based cloud playback index service method and system
  • Redis-based cloud playback index service method and system
  • Redis-based cloud playback index service method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] First, refer to Figure 1 to Figure 4 As shown, the present invention provides a redis-based cloud playback indexing service method, comprising the following steps:

[0028] S1, data writing module 1 accepts the video information uploaded by device 2, and writes the data into redis3. At this time, the data is not merged, but directly written into redis3; among them, the data structure written into redis3 includes the first record of this record The start time of the video, the duration of a single video, and the number of videos contained in this record. It is agreed that the video file name is the start time of the video, and the key used when storing in redis3 is a string consisting of "device ID + date of the day", one The key only stores data for one day, and sets the expiration time according to the business. The expired data is ...

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 invention discloses a redis-based cloud playback index service method. The method comprises the following steps that a data writing module receives video information uploaded by equipment and writes data into redis; a data merging module regularly merges the data from the last merging time to the current time according to rules, and then updates the merged data to redis; after receiving a request of a client for viewing a video of equipment in a certain time period, the data query module queries a record of a score in a corresponding key in redis in the time period, and then expands the record into a video list and returns the video list to the client; the invention further discloses a redis-based cloud playback index service system. The system comprises a data writing module, a data merging module and a data query module. According to the invention, through continuous video information merging, the used space is greatly indexed, so that the service cost is reduced, and the video file of the time period that the device wants to view can be conveniently and quickly accessed.

Description

technical field [0001] The invention relates to the technical field of big data retrieval, in particular to a redis-based cloud playback indexing service method and system. Background technique [0002] At present, in the prior art, video file information is generally stored in a database, and each video file corresponds to a record. With the rapid increase of data volume, the data stored in the database is getting larger and larger, and the space occupied by the database is very large. At the same time, the pressure caused by users querying data will also increase. increase, low access efficiency, and high service costs. [0003] Therefore, there are defects in the prior art and need to be improved. Contents of the invention [0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a redis-based cloud playback indexing service method and system. [0005] Technical scheme of the present invention is as follows: [0006] ...

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): G06F16/71
CPCG06F16/71
Inventor 许开弦陈贤平
Owner 深圳智多豚物联技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products