Server-based video resource management method, system and device, and storage medium
By extracting the keyframes of video materials on the server side and recognizing the graphics and text, and generating preview pictures, the problem of dispersed video materials management and low search efficiency is solved, and efficient reuse and sharing of video resources is achieved.
Patent Information
- Application Number
- CN202411260334.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-20
AI Technical Summary
In the prior art, video material management is scattered, resulting in waste of storage space and low utilization rate. Operators have huge waste of manpower and low efficiency when finding and screening video resources.
Adopting a server-based video resource management method, by extracting keyframes, graphic recognition and word segmentation, generating thumbnails and preview pictures, adding keywords, and displaying preview pictures when users search, improving the reusability and search of video resources efficiency.
It effectively improves the reusability and technical output of video resources, optimizes the efficiency of searching and viewing video resources, greatly improves the efficiency of sharing video resources, and reduces labor costs and repetitive work.
Smart Images

Figure CN119172564A_ABST
Abstract
Description
Background Art
[0002] Currently, video materials used in marketing scenarios mainly face the following problems and challenges:
[0003] First of all, management is decentralized, and a large amount of storage space is wasted. A large amount of materials are scattered across various business departments and even on the personal computers of operators. There is no effective management, resulting in low material utilization. There is duplication of work when businesses collect and deliver materials, which is not conducive to the sedimentation and sharing of the company's materials.
[0004] Moreover, it is difficult for operators to screen when they need to find videos. In the actual use scenarios of the materials, there are not only requirements for the video content, but also certain specifications for the proportion, resolution, frame rate, etc. of the material itself. Manual screening in massive video materials is a very long process, resulting in huge waste of manpower.
[0005] Therefore, the present invention provides a server-based video resource management method, system, device and storage medium. Summary of the invention
[0006] In response to the problems in the prior art, the purpose of the present invention is to provide a server-based video resource management method, system, device and storage medium, which overcomes the difficulties of the prior art, can effectively improve the reusability and technical output of video resources, optimize the efficiency of searching and viewing video resources, and greatly improve the sharing efficiency of video resources.
[0007] An embodiment of the present invention provides a server-based video resource management method, comprising the following steps:
[0008] S110, storing a plurality of video resources in a server, wherein the server periodically extracts a plurality of key frames from each video resource;
[0009] S120, performing image and text recognition based at least on the key frame to obtain key sentences, and performing word segmentation on the key sentences;
[0010] S130, taking at least one word with the highest matching degree with the picture of the key frame as a keyword;
[0011] S140, generating a thumbnail based on at least each of the key frames and the corresponding keywords;
[0012] S150, splicing the thumbnails of the video resources into a preview picture, and adding corresponding keywords to the attribute information of the preview picture;
[0013] S160: Feedback an icon corresponding to the video resource based on the user's search term, and when the user moves the mouse to an area of the icon, display a preview image corresponding to the icon.
[0014] Preferably, the step S110 includes:
[0015] S111, storing a number of video resources in a server;
[0016] S112, the server extracts a number of key frames from each video resource based on a neural network;
[0017] S113: The server uses several frames that are viewed the most as key frames based on the number of times each frame in the video resource is viewed each week.
[0018] Preferably, the step S120 includes:
[0019] S121, performing ORC image and text recognition on the key frame to obtain key sentences;
[0020] S122. Segment key sentences based on the word segmentation model.
[0021] Preferably, the step S130 includes:
[0022] S131, performing similarity recognition based on the picture of the key frame and each of the segmented words to obtain the similarity of the segmented words;
[0023] S132. Use at least one word with the highest similarity as a keyword.
[0024] Preferably, in step S140, the corresponding keyword is added to the picture of the key frame to generate a thumbnail.
[0025] Preferably, the step S150 includes:
[0026] S151, matrix stitching the thumbnails into a preview image according to the time sequence of the corresponding key frames;
[0027] S152: Add keywords of all thumbnails in the preview image to the attribute information of the preview image.
[0028] Preferably, the step S160 includes:
[0029] S161, matching the attribute information of the preview image corresponding to the video resource based on the user's search term and displaying the icon corresponding to the video resource in the feedback content;
[0030] S162: When the user's mouse moves to the area of the icon, an easily accessible floating layer area is generated around the icon;
[0031] S163: Load and display a preview image corresponding to the icon in the floating layer area.
[0032] The embodiment of the present invention further provides a server-based video resource management system, which is used to implement the above-mentioned server-based video resource management method. The server-based video resource management system includes:
[0033] A key frame generation module stores a number of video resources in a server, and the server periodically extracts a number of key frames from each video resource;
[0034] A picture and text recognition module, performing picture and text recognition based on at least the key frame, obtaining key sentences, and performing word segmentation on the key sentences;
[0035] A keyword module, taking at least one word with the highest matching degree with the picture of the key frame as a keyword;
[0036] A thumbnail module, generating a thumbnail based on at least each of the key frames and the corresponding keywords;
[0037] A preview generation module, which stitches the thumbnails of the video resources into a preview picture and adds corresponding keywords to the attribute information of the preview picture;
[0038] The preview display module feeds back the icon corresponding to the video resource based on the user's search term, and displays the preview image corresponding to the icon when the user's mouse moves to the area of the icon.
[0039] An embodiment of the present invention further provides a server-based video resource management device, comprising:
[0040] processor;
[0041] a memory storing executable instructions of the processor;
[0042] The processor is configured to execute the steps of the above-mentioned server-based video resource management method by executing the executable instructions.
[0043] An embodiment of the present invention further provides a computer-readable storage medium for storing a program, wherein the program, when executed, implements the steps of the above-mentioned server-based video resource management method.
[0044] The purpose of the present invention is to provide a server-based video resource management method, system, device and storage medium, which can effectively improve the reusability and technical output of video resources, optimize the efficiency of searching and viewing video resources, and greatly improve the sharing efficiency of video resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.
[0046] Figure 1 It is a flow chart of the video resource management method based on the server of the present invention.
[0047] Figure 2 and Figure 3 It is a schematic diagram of the process of displaying preview pictures in the server-based video resource management method of the present invention.
[0048] Figure 4 It is a structural schematic diagram of the server-based video resource management system of the present invention.
[0049] Figure 5 It is a structural schematic diagram of a server-based video resource management device of the present invention.
[0050] Figure 6 It is a schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied through other different specific implementation methods, and the details in the present application can also be modified or changed in various ways according to different viewpoints and application systems without departing from the spirit of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0052] The following is a detailed description of the embodiments of the present application with reference to the accompanying drawings so that those skilled in the art can easily implement the present application. The present application can be embodied in a variety of different forms and is not limited to the embodiments described herein.
[0053] In the representations of the present application, the representations with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics represented in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the represented specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples represented in the present application and the features of the different embodiments or examples, unless they contradict each other.
[0054] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the representation of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0055] In order to clearly describe the present application, components irrelevant to the description are omitted, and the same reference symbols are given to the same or similar components throughout the specification.
[0056] Throughout the specification, when a device is said to be "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a device is said to "include" a certain component, unless otherwise stated, it does not exclude other components, but means that other components may be included.
[0057] When a device is said to be "on" another device, it may be directly on the other device, but there may also be other devices between it. In contrast, when a device is said to be "directly" on another device, there are no other devices between it.
[0058] Although the terms first, second, etc. are used to represent various elements in some examples, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first interface and the second interface, etc. are represented. Moreover, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the existence of features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Only when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way, will there be an exception to this definition.
[0059] The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the present application. The singular form used herein also includes the plural form unless the sentence clearly indicates the contrary meaning. The meaning of "including" used in the specification is to specify specific characteristics, regions, integers, steps, operations, elements and / or components, and does not exclude the existence or addition of other characteristics, regions, integers, steps, operations, elements and / or components.
[0060] Although not defined differently, all terms, including technical and scientific terms used herein, have the same meaning as those generally understood by those skilled in the art to which this application belongs. Terms defined in commonly used dictionaries are additionally interpreted as having meanings consistent with the relevant technical literature and the contents of the current disclosure, and unless defined, shall not be overly interpreted as ideal or very formal meanings.
[0061] Figure 1 FIG. 1 is a flow chart of the video resource management method based on the server of the present invention. Figure 1 As shown, the server-based video resource management method of the present invention includes:
[0062] S110: storing a number of video resources in a server, and the server periodically extracting a number of key frames from each video resource.
[0063] S120 , performing image and text recognition based at least on the key frames, obtaining key sentences, and performing word segmentation on the key sentences.
[0064] S130: Use at least one word segment that has the highest matching degree with the key frame as a keyword.
[0065] S140: Generate a thumbnail based on at least each key frame and the corresponding keyword.
[0066] S150: splice the thumbnails of the video resources into a preview image, and add corresponding keywords to the attribute information of the preview image.
[0067] S160: Feedback an icon corresponding to the video resource based on the user's search term, and when the user's mouse moves to an area of the icon, display a preview image corresponding to the icon.
[0068] In a preferred embodiment, step S110 includes:
[0069] S111. Store a number of video resources in a server.
[0070] S112: The server extracts several key frames from each video resource based on a neural network.
[0071] S113. The server uses several frames that are viewed the most as key frames based on the number of times each frame in the video resource is viewed each week, but the present invention is not limited thereto.
[0072] In a preferred embodiment, step S120 includes:
[0073] S121, performing ORC image and text recognition on the key frames to obtain key sentences.
[0074] S122. Segment the key sentences based on the word segmentation model, but not limited to this.
[0075] In a preferred embodiment, step S130 includes:
[0076] S131 , performing similarity recognition between the key frame image and each word segmentation to obtain the similarity of the word segmentations.
[0077] S132. Use at least one word segment with the highest similarity as a keyword, but the present invention is not limited thereto.
[0078] In a preferred embodiment, in step S140, corresponding keywords are added to the picture of the key frame to generate a thumbnail, but the present invention is not limited thereto.
[0079] In a preferred embodiment, step S150 includes:
[0080] S151, matrix stitching the thumbnails into a preview image according to the time sequence of the corresponding key frames.
[0081] S152: Add keywords of all thumbnails in the preview image to the attribute information of the preview image, but the present invention is not limited thereto.
[0082] In a preferred embodiment, step S160 includes:
[0083] S161: Match the attribute information of the preview image corresponding to the video resource based on the user's search term and display the icon corresponding to the video resource in the feedback content.
[0084] S162. When the user's mouse moves to the icon area, an easily accessible floating layer area is generated around the icon.
[0085] S163: Load and display a preview image corresponding to the icon in the floating layer area, but the present invention is not limited thereto.
[0086] The present invention can provide an automated acquisition / synchronization system and management background, reduce the cost of operating material collection, and improve the reusability of materials. It integrates video file attribute extraction and content recognition capabilities, and uses these systematically obtained attributes as the screening conditions of the material itself. At the same time, it supports retrieving files with these attributes, reducing the time cost of screening when using video materials. It provides background editing capabilities to meet the strong operational needs of operations such as material classification, labeling, and annotations, facilitate material sharing, and reduce repetitive work. The present invention mainly provides a concise video material management system and solves the following problems: aggregating video materials for unified management and improving material utilization. It increases material-related attributes and supports search to reduce the time cost of searching when using materials. It covers video materials from multiple sources and solves the problem of needing to find materials from different channels.
[0087] A specific implementation of the present invention is as follows:
[0088] First, a number of video resources are stored in a server. The server extracts M key frames (M is less than or equal to 30) from each video resource based on a neural network. The server uses the most viewed N frames (N is less than or equal to 20) as key frames based on the number of times each frame in the video resource is viewed each week (equivalent to using the most viewed popular frames as key frames). Existing neural networks can be used to extract key frames. In this embodiment, 16 key frames are collected. In addition, since popular frames are updated every week in this embodiment, the relevant popular frames of frequently viewed videos will also change, thereby adapting to the work needs of the user group or changes in search purposes.
[0089] Perform ORC image-text recognition on key frames to obtain key sentences, and then segment the key sentences based on the existing word segmentation model. For example, extract the key sentences of the subtitle text information from the subtitles of the picture through ORC image-text recognition, and then segment them using the word segmentation model.
[0090] Based on the key frame image and each word, similarity recognition is performed to obtain the similarity of the word, and at least one word with the highest similarity is used as a keyword (see Figure 3 W1, W2, W3, W4, W5, etc.).
[0091] Add the corresponding keywords to each key frame to generate a thumbnail (see Figure 3 A1, A2, A3... to A16, etc.).
[0092] Matrix the thumbnails according to the time sequence of the corresponding key frames to form a preview image 3 (see Figure 3 ), add the keywords of all thumbnails in the preview image to the attribute information of the preview image.
[0093] Figure 2 and 3 Schematic diagram of the process of displaying preview pictures in the server-based video resource management method of the present invention. Figure 2 As shown, finally, the attribute information of the preview image corresponding to the video resource is matched based on the user's search term and the icon corresponding to the video resource is displayed in the feedback content (icons A, B, C, D, E, F, the icon can be a preset icon, or it can be a preview image corresponding to a key frame with the most views, but not limited to this).
[0094] refer to Figure 3 As shown, when the user's mouse 1 moves to the area of the icon, an easily accessible floating layer area 2 is generated around the icon, and the floating layer area 2 can float above other icons. The preview image 3 corresponding to the icon is loaded and displayed in the floating layer area 2, and the keywords 4 (W1, W2, W3, W4, W5, etc.) of all thumbnails in the preview image are displayed below the preview image 3, so that users who search for video resources can roughly understand the main content and keywords of the video regardless of watching the video, avoiding the time cost of users having to play videos one by one, speeding up the efficiency of browsing a large number of videos, and greatly improving the user experience.
[0095] The present invention automatically synchronizes video materials from network disks, internal and external media channels, which is conducive to the company's material precipitation and reuse, and the access of new material sources is a non-sensing update for operations, which improves product reusability and technical output. Regardless of whether it comes from synchronized materials or materials uploaded by businesses, the platform involved in the present invention fills in attributes with automated processes and constructs a data structure for search, greatly reducing the time cost of operations to find videos.
[0096] Figure 4 FIG. 1 is a schematic diagram of the structure of the video resource management system based on the server of the present invention. Figure 4 As shown, the embodiment of the present invention further provides a server-based video resource management system for implementing the above-mentioned server-based video resource management method. The server-based video resource management system 5 includes:
[0097] The key frame generation module 51 stores a number of video resources in a server, and the server periodically extracts a number of key frames from each video resource;
[0098] An image and text recognition module 52 performs image and text recognition based on at least key frames, obtains key sentences, and performs word segmentation on the key sentences;
[0099] The keyword module 53 uses at least one word with the highest matching degree with the key frame as a keyword.
[0100] The thumbnail module 54 generates a thumbnail based on at least each key frame and the corresponding keyword.
[0101] The preview generation module 55 combines the thumbnails of the video resources into a preview picture, and adds the corresponding keywords to the attribute information of the preview picture.
[0102] The preview display module 56 feeds back an icon corresponding to the video resource based on the user's search term, and displays a preview image corresponding to the icon when the user's mouse moves to an area of the icon.
[0103] In a preferred embodiment, the key frame generation module 51 is configured to store a number of video resources on a server, and the server extracts a number of key frames from each video resource based on a neural network. The server selects the most viewed frames as key frames based on the number of times each frame in the video resource is viewed each week, but is not limited to this.
[0104] In a preferred embodiment, the image and text recognition module 52 is configured to perform ORC image and text recognition on key frames to obtain key sentences and segment key sentences based on a word segmentation model, but the present invention is not limited thereto.
[0105] In a preferred embodiment, the keyword module 53 is configured to perform similarity recognition based on the key frame image and each segmented word to obtain the similarity of the segmented words, and use at least one segmented word with the highest similarity as a keyword, but not limited thereto.
[0106] In a preferred embodiment, the thumbnail module 54 is configured to add corresponding keywords to the key frame to generate a thumbnail, but not limited to this.
[0107] In a preferred embodiment, the preview generation module 55 is configured to perform matrix splicing of the thumbnails according to the time sequence of the corresponding key frames into a preview picture, and to add the keywords of all thumbnails in the preview picture to the attribute information of the preview picture.
[0108] In a preferred embodiment, the preview display module 56 is configured to match the attribute information of the preview image corresponding to the video resource based on the user's search term and display the icon corresponding to the video resource in the feedback content. When the user's mouse moves to the icon area, an easy-to-get floating layer area is generated around the icon. It is configured to load and display the preview image corresponding to the icon in the floating layer area.
[0109] The server-based video resource management system of the present invention can effectively improve the reusability and technical output of video resources, optimize the efficiency of searching and viewing video resources, and greatly improve the sharing efficiency of video resources.
[0110] The embodiment of the present invention further provides a server-based video resource management device, comprising a processor and a memory, wherein executable instructions of the processor are stored, wherein the processor is configured to execute the steps of the server-based video resource management method by executing the executable instructions.
[0111] As shown above, the server-based video resource management device of this embodiment of the present invention can effectively improve the reusability and technical output of video resources, optimize the efficiency of searching and viewing video resources, and greatly improve the sharing efficiency of video resources.
[0112] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".
[0113] Figure 5 Schematic diagram of the structure of the video resource management device based on the server of the present invention. Figure 5 The electronic device 600 according to this embodiment of the present invention is described. Figure 5 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0114] like Figure 5 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0115] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .
[0116] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0117] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0118] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0119] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0120] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, and the steps of the server-based video resource management method are implemented when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the above method section of this specification.
[0121] As shown above, the server-based video resource management system of this embodiment of the present invention can effectively improve the reusability and technical output of video resources, optimize the efficiency of searching and viewing video resources, and greatly improve the sharing efficiency of video resources.
[0122] Figure 6 Schematic diagram of the structure of the computer-readable storage medium of the present invention. Figure 6As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0123] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0124] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0125] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0126] In summary, the purpose of the present invention is to provide a server-based video resource management method, system, device and storage medium, which can effectively improve the reusability and technical output of video resources, optimize the efficiency of searching and viewing video resources, and greatly improve the sharing efficiency of video resources.
[0127] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A video resource management method based on a server, characterized in that: The following steps are involved: S110, storing a plurality of video resources in a server, wherein the server periodically extracts a plurality of key frames from each video resource; S120, performing image and text recognition based at least on the key frame to obtain key sentences, and performing word segmentation on the key sentences; S130, taking at least one word with the highest matching degree with the picture of the key frame as a keyword; S140, generating a thumbnail based on at least each of the key frames and the corresponding keywords; S150, splicing the thumbnails of the video resources into a preview picture, and adding corresponding keywords to the attribute information of the preview picture; S160: Feedback an icon corresponding to the video resource based on the user's search term, and when the user moves the mouse to an area of the icon, display a preview image corresponding to the icon.
2. The server-based video resource management method according to claim 1, characterized in that: The step S110 includes: S111, storing a number of video resources in a server; S112, the server extracts a number of key frames from each video resource based on a neural network; S113: The server uses several frames that are viewed the most as key frames based on the number of times each frame in the video resource is viewed each week.
3. The server-based video resource management method according to claim 1, characterized in that: The step S120 includes: S121, performing ORC image and text recognition on the key frame to obtain key sentences; S122. Segment key sentences based on the word segmentation model.
4. The server-based video resource management method according to claim 1, characterized in that: The step S130 includes: S131, performing similarity recognition based on the picture of the key frame and each of the segmented words to obtain the similarity of the segmented words; S132. Use at least one word with the highest similarity as a keyword.
5. The server-based video resource management method according to claim 1, characterized in that: In the step S140, the corresponding keyword is added to the picture of the key frame to generate a thumbnail.
6. The server-based video resource management method according to claim 1, characterized in that: The step S150 includes: S151, matrix stitching the thumbnails into a preview image according to the time sequence of the corresponding key frames; S152: Add keywords of all thumbnails in the preview image to the attribute information of the preview image.
7. The server-based video resource management method according to claim 1, characterized in that: The step S160 includes: S161, matching the attribute information of the preview image corresponding to the video resource based on the user's search term and displaying the icon corresponding to the video resource in the feedback content; S162: When the user's mouse moves to the area of the icon, an easily accessible floating layer area is generated around the icon; S163: Load and display a preview image corresponding to the icon in the floating layer area.
8. A server-based video resource management system, used to implement the server-based video resource management method according to claim 1, characterized in that: include: A key frame generation module stores a number of video resources in a server, and the server periodically extracts a number of key frames from each video resource; A picture and text recognition module, performing picture and text recognition based on at least the key frame, obtaining key sentences, and performing word segmentation on the key sentences; A keyword module, taking at least one word with the highest matching degree with the picture of the key frame as a keyword; A thumbnail module, generating a thumbnail based on at least each of the key frames and the corresponding keywords; A preview generation module, which stitches the thumbnails of the video resources into a preview picture and adds corresponding keywords to the attribute information of the preview picture; The preview display module feeds back the icon corresponding to the video resource based on the user's search term, and displays the preview image corresponding to the icon when the user's mouse moves to the area of the icon.
9. A video resource management device based on a server, characterized in that: include: processor; a memory storing executable instructions of the processor; The processor is configured to execute the steps of the server-based video resource management method according to any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the server-based video resource management method according to any one of claims 1 to 7 are implemented.
