Video file access method and system based on cloud storage

Through the method of segmenting video files and sorting weights in the cloud, the problem of slow video file access speed in the existing technology is solved, rapid access to required files is achieved, and the operating performance of the mobile terminal is improved.

CN117395451BActive Publication Date: 2024-10-18CHONGQING DIGITAL INTELLIGENCE FUSION INNOVATION TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311177404.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2024-10-18
Estimated Expiration
2043-09-13

AI Technical Summary

Technical Problem

Existing technology cannot achieve fast access to video files, resulting in slow loading of data and low data transmission rate, which affects the operating performance of mobile terminals.

Method used

By dividing the video file into multiple segments in the cloud, assigning each segment a corresponding weight, and sorting according to the weight, and using content-based tags for priority access, mobile terminals can quickly access the required file parts.

Benefits of technology

It achieves fast access to required files, saves access time, improves access efficiency, and avoids long waiting or search times caused by long loading times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117395451B_ABST
    Figure CN117395451B_ABST
Patent Text Reader

Abstract

The present invention specifically discloses a video file access method and system based on cloud storage, wherein the method matches a user name and password for a mobile terminal, so that the mobile terminal establishes a data connection with a cloud server; the mobile terminal sends the address length and quantity requirements of the storage space to the cloud server, and the cloud server automatically allocates a corresponding number of storage spaces with the same address length to the mobile terminal; the mobile terminal transmits the video file to the cloud server, and the cloud server divides the video file into multiple segments, each of which is stored in the storage space one by one; the cloud server extracts the time point information of the first and last segment of each segment, stores and displays it; the mobile terminal sends a request to download one or more video files at one time point to the cloud server, and the cloud server matches the segment where the time point is located according to the request and sends it to the mobile terminal. By adopting this technical solution, the required files can be quickly accessed by sorting the files that need to be accessed frequently according to priority in the cloud.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of cloud storage, and relates to a video file access method and system based on cloud storage. Background Art

[0002] With the development of Internet technology and the upgrade of terminal equipment shooting capabilities, in order to record life or work needs, people use mobile terminals to shoot or obtain video files of various sizes and formats, and store them for a long time, thereby generating large amounts of video files. However, due to the limitations of volume and size, existing mobile terminals cannot store a large number of video files for a long time, otherwise it will easily affect the operating performance of the mobile terminal. The existing technology uses the cloud disk database related to big data that has emerged in recent years to manage video files, transfer video files to the cloud for storage, and then access these video files on the mobile terminal application. When the video file is large, there are problems with slow data loading and low data transmission rate.

[0003] In the prior art, patent number CN201710284102.4 discloses a video storage and access method and a video storage system, wherein the video storage method is applied to the service terminal to determine the user information corresponding to the video to be stored; send a video storage instruction to the network storage server, the video storage instruction includes the user information and time information corresponding to the video to be stored; generate an access identifier corresponding to the address information of the network storage server, the user information and time information corresponding to the video to be stored; and provide the access identifier to the user corresponding to the video to be stored. At the same time, in the video access method, the client terminal obtains and parses the access identifier provided by the service terminal, obtains and uses the address information of the network storage server and the user information and time information corresponding to the video to be accessed to retrieve and access the video. The video storage, access method and device provided by the patent embodiment improve the security of the video during the user's access to the video. However, the prior art cannot achieve fast access to the required files, and it takes a long time to load the relevant videos, which is inconvenient to search. Summary of the invention

[0004] The purpose of the present invention is to provide a video file access method and system based on cloud storage, so as to realize fast access to required files.

[0005] In order to achieve the above object, the basic scheme of the present invention is: a video file access method based on cloud storage, comprising the following steps:

[0006] Matching a user name and password for the mobile terminal, and establishing a data connection between the mobile terminal and the cloud server through the user name and password;

[0007] The mobile terminal sends the address length and quantity requirements of the storage space to the cloud server, and the cloud server automatically allocates the corresponding amount of storage space with the same address length to the mobile terminal;

[0008] The mobile terminal transmits the video file to the cloud server, and the cloud server divides the video file into multiple segments, and each segment is stored in the storage space one by one;

[0009] The cloud server extracts the time point information of the beginning and end of each segment, stores it and displays it;

[0010] The mobile terminal sends a request to the cloud server to download video files at one or more time points. The cloud server matches the segment where the time point is located according to the request and sends it to the mobile terminal.

[0011] The working principle and beneficial effects of this basic solution are as follows: This technical solution achieves fast access to required files by sorting files that need to be accessed frequently according to priority in the cloud, saving access time, improving access efficiency, and avoiding long waiting or searching time due to long loading times.

[0012] Furthermore, the cloud server divides the video file into multiple segments. The specific segmentation method is as follows:

[0013] The title of each clip corresponds to a different time node;

[0014] Assign a corresponding weight to each fragment, and the fragment with a higher weight has a higher priority;

[0015] The cloud server analyzes the video clips. Based on the high-weighted clips, each frame of the image is analyzed and a content-based tag m is set, where m is obtained from the frame content and a key frame tag m is added to the clips that have been divided by time nodes.

[0016] The cloud server dynamically and synchronously adjusts the address sorting of the storage space, defines the segments with high weights as the addresses of the video, and when the mobile terminal accesses the video file, it preferentially accesses the m parts of the segments with the highest priority.

[0017] The segmentation method is simple and easy to use.

[0018] Further, the weight is calculated as follows:

[0019] Set basic weight Y0: According to the user's selection, assign the fragment node basic weight Y0, if the user selects it, Y0 = 1, if not selected, Y0 = 0;

[0020] The artificial bonus weight Y1 is set according to the basic weight: if the user selects multiple fragments to assign basic weights, the part with Y0=1 is first extracted and displayed to the user, and the bonus value is assigned through manual sorting. If the number of fragments is n, then Y1=Y0+n-1 is used in descending order.

[0021] Calculate weights for subsequent use.

[0022] Furthermore, the marker m may be a graphic: a building, a special weather scene, a special shape or a person's portrait recognition, or a text content: a landmark name or a prompt text.

[0023] Choose graphic or text analysis as needed, flexible to use.

[0024] Further, the method for analyzing the graphics and text content is as follows:

[0025] Get video clips;

[0026] Get facial expressions, actions of people and objects, and environmental images for all frames in the video;

[0027] Compare the facial expressions of people, the movements of people and objects, and the environment images in adjacent frames, and the target frame is the one whose change rate with the previous frame exceeds the threshold;

[0028] Identify the text information in the target frame and the two frames before it;

[0029] The one with the largest change rate between the facial expression of the character, the action of the character and the object, and the environment image in the target frame and the previous frame, and the text information in the target frame and the two frames before the target frame are combined as the mark m of the target frame.

[0030] By combining the text information in the target frame and the two frames before the target frame as the mark m of the target frame, the information is more comprehensive and accurate.

[0031] Furthermore, the method of adding key frame m to the segments divided by time nodes is as follows:

[0032] Analyze each frame of the image and set a content-based tag m. Record the time node corresponding to m as Tm. Bind this value to the video and store it on the cloud server. When the mobile terminal accesses the video file, it accesses part m of the highest priority segment.

[0033] Adding key frame m to the corresponding segment is simple.

[0034] Further, the specific method for the mobile terminal to download the video file is as follows:

[0035] The mobile terminal sends a request to the cloud server to download a video file at a certain time point, and the cloud server sends the corresponding segment data to the mobile terminal after receiving the request;

[0036] When the mobile terminal sends the download fragments of multiple continuous video files to the cloud server, the cloud server executes the merge command, generates a complete video file and sends it to the mobile terminal;

[0037] When the mobile terminal needs to download multiple discontinuous video file segments, the cloud server sends the multiple discontinuous video file segments to the mobile terminal in sequence according to the priority order.

[0038] Simple operation and easy to use.

[0039] The present invention also provides a video file access system based on cloud storage, including a mobile terminal, a cloud server and an application module, wherein the mobile terminal is connected to the cloud server, and the application module is respectively connected to the mobile terminal and the cloud server. The application module executes the method of the present invention to control video file access between the mobile terminal and the cloud server.

[0040] The application module of the system is used to control the connection between the mobile terminal and the cloud server to achieve quick access to the required files.

[0041] Furthermore, it also includes a wireless communication module, and the mobile terminal, cloud server and application module are connected through the wireless communication module.

[0042] Through wireless connection, the structure is simple and easy to use. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a flow chart of the video file access method based on cloud storage of the present invention. DETAILED DESCRIPTION

[0044] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0045] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0046] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection of two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.

[0047] The present invention discloses a video file access method based on cloud storage, which can achieve fast access to required files by sorting the files that need to be frequently accessed according to their priorities in the cloud. Figure 1 As shown, the following steps are included:

[0048] Matching a user name and password for the mobile terminal, and establishing a data connection between the mobile terminal and the cloud server through the user name and password; the cloud server receives information such as the user name and password from the mobile terminal, and verifies the login information;

[0049] The mobile terminal sends the address length and quantity requirements of the storage space to the cloud server, and the cloud server automatically allocates the corresponding amount of storage space with the same address length to the mobile terminal;

[0050] The mobile terminal transmits the video file to the cloud server, and the cloud server divides the video file into multiple segments, and each segment is stored in the storage space one by one;

[0051] The cloud server extracts the time point information of the beginning and end of each segment, stores it and displays it;

[0052] The mobile terminal sends a request to the cloud server to download video files at one or more time points. The cloud server matches the segment where the time point is located according to the request and sends it to the mobile terminal.

[0053] In a preferred solution of the present invention, the cloud server divides the video file into multiple segments, and the specific segmentation method is as follows:

[0054] The title of each clip corresponds to a different time node;

[0055] Assign a corresponding weight to each fragment, and the fragment with a higher weight has a higher priority;

[0056] The cloud server analyzes the video clips, and based on the high-weighted clips, analyzes each frame of the image and sets a content-based tag m, where m is obtained from the frame content (the acquisition method includes but is not limited to using a CNN convolutional neural network to recognize the frame image, thereby realizing a graphic analysis of the frame performance), and adds a key frame tag m to the clips that have been segmented by time nodes; preferably, the tag m uses graphics: buildings, special weather scenes, special shapes or portrait recognition, or text content: landmark names or prompt text.

[0057] The cloud server dynamically and synchronously adjusts the address sorting of the storage space, defines the segments with high weights as the addresses of the video, and when the mobile terminal accesses the video file, it preferentially accesses the m parts of the segments with the highest priority.

[0058] More preferably, the weight is calculated as follows:

[0059] Set basic weight Y0: According to the user's selection, assign the fragment node basic weight Y0, if the user selects it, Y0 = 1, if not selected, Y0 = 0;

[0060] The artificial bonus weight Y1 is set according to the basic weight: if the user selects multiple fragments to assign basic weights, the part with Y0=1 is first extracted and displayed to the user, and the bonus value is assigned through manual sorting. If the number of fragments is n, then Y1=Y0+n-1 is used in descending order.

[0061] In a preferred embodiment of the present invention,

[0062] The method for analyzing graphics and text content is:

[0063] Get video clips;

[0064] Get facial expressions, actions of people and objects, and environmental images for all frames in the video;

[0065] Compare the facial expressions of people, the movements of people and objects, and the environment images in adjacent frames, and the target frame is the one whose change rate with the previous frame exceeds the threshold;

[0066] Identify the text information in the target frame and the two frames before it;

[0067] The one with the largest change rate between the facial expression of the character, the action of the character and the object, and the environment image in the target frame and the previous frame, and the text information in the target frame and the two frames before the target frame are combined as the mark m of the target frame.

[0068] In a preferred embodiment of the present invention, a method for adding a key frame m to a segment divided according to a time node is as follows:

[0069] Analyze each frame of the image and set a content-based tag m. Record the time node corresponding to m as Tm. Bind this value to the video and store it on the cloud server. When the mobile terminal accesses the video file, it accesses part m of the highest priority segment.

[0070] In a preferred embodiment of the present invention, the specific method for a mobile terminal to download a video file is as follows:

[0071] The mobile terminal sends a request to the cloud server to download a video file at a certain time point, and the cloud server sends the corresponding segment data to the mobile terminal after receiving the request;

[0072] When the mobile terminal sends the download fragments of multiple continuous video files to the cloud server, the cloud server executes the merge command, generates a complete video file and sends it to the mobile terminal;

[0073] When the mobile terminal needs to download multiple discontinuous video file segments, the cloud server sends the multiple discontinuous video file segments to the mobile terminal in sequence according to the priority order.

[0074] The present invention also provides a video file access system based on cloud storage, including a mobile terminal, a cloud server and an application module, wherein the mobile terminal is electrically connected to the cloud server, the application module is electrically connected to the mobile terminal and the cloud server respectively, and the application module executes the method of the present invention to control the video file access between the mobile terminal and the cloud server. The video files stored by the application module can be set at any time point according to the needs of the user, and the required storage space is synchronized on the cloud server.

[0075] The application module of the system is used to control the connection between the mobile terminal and the cloud server to achieve quick access to the required files.

[0076] In a preferred embodiment of the present invention, the video file access system further comprises a wireless communication module, and the mobile terminal, the cloud server and the application module are electrically connected via the wireless communication module. The wireless communication module can adopt a communication structure such as a 5G network, and is simple in structure and easy to use through wireless connection.

[0077] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0078] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A video file access method based on cloud storage, characterized in that: The steps include: Matching a user name and password for the mobile terminal, and establishing a data connection between the mobile terminal and the cloud server through the user name and password; The mobile terminal sends the address length and quantity requirements of the storage space to the cloud server, and the cloud server automatically allocates the corresponding amount of storage space with the same address length to the mobile terminal; The mobile terminal transmits the video file to the cloud server, and the cloud server divides the video file into multiple segments, and each segment is stored in the storage space one by one; The cloud server extracts the time point information of the beginning and end of each segment, stores it and displays it; The mobile terminal sends a request to the cloud server to download one or more video files at a time point. The cloud server matches the segment where the time point is located according to the request and sends it to the mobile terminal. The cloud server divides the video file into multiple segments. The specific segmentation method is as follows: The title of each clip corresponds to a different time node; Assign a corresponding weight to each fragment, and the fragment with a higher weight has a higher priority; The cloud server analyzes the video clips. Based on the high-weighted clips, each frame of the image is analyzed and a content-based tag m is set, where m is obtained from the frame content and a key frame tag m is added to the clips that have been divided by time nodes. The cloud server dynamically and synchronously adjusts the address sorting of the storage space, defines the segments with high weights as the addresses of the video, and when the mobile terminal accesses the video file, it preferentially accesses the m part of the segment with the highest priority; The weight is calculated as follows: Set basic weight Y0: According to the user's selection, assign the fragment node basic weight Y0, if the user selects it, Y0 = 1, if not selected, Y0 = 0; The artificial bonus weight Y1 is set according to the basic weight: if the user selects multiple fragments to assign basic weights, the part with Y0=1 is first extracted and displayed to the user, and the bonus value is assigned through manual sorting. If the number of fragments is n, then Y1=Y0+n-1 is used in descending order.

2. The video file access method based on cloud storage according to claim 1, characterized in that: Mark m can be a graphic: building, special weather scene, special shape or portrait recognition, or text content: landmark name or prompt text.

3. The video file access method based on cloud storage as claimed in claim 2, characterized in that: The method for analyzing graphics and text content is: Get video clips; Get facial expressions, actions of people and objects, and environmental images for all frames in the video; Compare the facial expressions of people, the movements of people and objects, and the environment images in adjacent frames, and the target frame is the one whose change rate with the previous frame exceeds the threshold; Identify the text information in the target frame and the two frames before it; The one with the largest change rate between the facial expression of the character, the action of the character and the object, and the environment image in the target frame and the previous frame, and the text information in the target frame and the two frames before the target frame are combined as the mark m of the target frame.

4. The video file access method based on cloud storage according to claim 1, characterized in that: The method of adding a key frame mark m to a segment divided by time nodes is: Analyze each frame of the image and set a content-based tag m. Record the time node corresponding to m as Tm. Bind this value to the video and store it on the cloud server. When the mobile terminal accesses the video file, it accesses part m of the highest priority segment.

5. The video file access method based on cloud storage according to claim 1, characterized in that: The specific method of downloading video files on a mobile terminal is as follows: The mobile terminal sends a request to the cloud server to download a video file at a certain time point, and the cloud server sends the corresponding segment data to the mobile terminal after receiving the request; When the mobile terminal sends the download fragments of multiple continuous video files to the cloud server, the cloud server executes the merge command, generates a complete video file and sends it to the mobile terminal; When the mobile terminal needs to download multiple discontinuous video file segments, the cloud server sends the multiple discontinuous video file segments to the mobile terminal in sequence according to the priority order.

6. A video file access system based on cloud storage, characterized in that: It includes a mobile terminal, a cloud server and an application module, wherein the mobile terminal is connected to the cloud server, and the application module is connected to the mobile terminal and the cloud server respectively. The application module executes the method described in one of claims 1-5 to control the access to video files between the mobile terminal and the cloud server.

7. The video file access system based on cloud storage as claimed in claim 6, characterized in that: It also includes a wireless communication module, and the mobile terminal, cloud server and application module are connected through the wireless communication module.

Citation Information

Patent Citations

  • Video storing and accessing method, and video storing system

    CN108810451A

  • Cloud storage-based streaming media video-on-demand method and apparatus

    CN103634616A

  • Intelligent playing method and device

    CN105959804A

  • Animal-of-interest behavior fragment capturing and identifying method for long-time video monitoring

    CN116721370A