CN117009574A - Hot spot video template generation method, system, equipment and storage medium - Google Patents

Hot spot video template generation method, system, equipment and storage medium Download PDF

Info

Publication number
CN117009574A
CN117009574A CN202310898012.XA CN202310898012A CN117009574A CN 117009574 A CN117009574 A CN 117009574A CN 202310898012 A CN202310898012 A CN 202310898012A CN 117009574 A CN117009574 A CN 117009574A
Authority
CN
China
Prior art keywords
information
keyword information
video template
keyword
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310898012.XA
Other languages
Chinese (zh)
Inventor
陆赞信
王伟
莫锡舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
iMusic Culture and Technology Co Ltd
Original Assignee
iMusic Culture and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by iMusic Culture and Technology Co Ltd filed Critical iMusic Culture and Technology Co Ltd
Priority to CN202310898012.XA priority Critical patent/CN117009574A/en
Publication of CN117009574A publication Critical patent/CN117009574A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/732Query formulation
    • G06F16/7343Query language or query format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • G06F16/743Browsing; Visualisation therefor a collection of video files or sequences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a system, equipment and a storage medium for generating a hotspot video template, wherein the method acquires current hotspot event information; extracting a plurality of keyword information from the hot event information through a natural language processing technology; acquiring corresponding material content and special effect content from a system material library according to the keyword information; and fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information. The method provided by the embodiment of the application can rapidly and accurately generate the hot spot video templates associated with the hot spot event content, can improve the production efficiency of the hot spot video templates and reduce the labor and time cost. The application can be widely applied to the technical field of audio processing.

Description

Hot spot video template generation method, system, equipment and storage medium
Technical Field
The application relates to the technical field of audio processing, in particular to a method, a system, equipment and a storage medium for generating a hot spot video template.
Background
Currently, with the popularization and rapid development of information technology, related applications have been gradually integrated into the life of people, and various services are provided for people. For example, with the rapid growth of network information and the rapid development of short video content, there is an increasing need for a combination of hot events and content presentation. In practical applications, it is found that the production of short video content combined with a hot event has a certain threshold, and the time consumption is high, so that the problem can be improved by associating the video templates of the hot event content.
In the related art, the current platform generally adopts two ways to generate a hotspot video template: one is to design a video template by a designer through professional special effect manufacturing software; and the other is to acquire a plurality of existing templates from a short video template library, disassemble elements from each template to obtain a plurality of elements, synthesize the disassembled elements by adopting a plurality of synthesis rules to obtain a plurality of video templates, and finally select a favorite video template from the templates by a user. However, the video template is designed manually, the input labor and time are excessive, and the efficiency is low; and selecting a plurality of templates from the template library, disassembling and recombining the templates to generate a new template, wherein the selectable range of elements is limited by the existing template depending on the elements of the existing template. In summary, it can be seen that the manufacturing technology difficulty and cost of the video template associated with the content of the hot event are high, and the efficiency is low.
Accordingly, there is a need for solving and optimizing the problems associated with the prior art.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the related art to a certain extent.
Therefore, an object of the embodiments of the present application is to provide a method, a system, an apparatus, and a storage medium for generating a hotspot video template, which can quickly and accurately generate a hotspot video template associated with a hotspot event content, so as to improve the production efficiency of the hotspot video template and reduce the labor and time costs.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the application comprises the following steps:
in one aspect, an embodiment of the present application provides a method for generating a hotspot video template, where the method includes:
acquiring current hot event information;
extracting a plurality of keyword information from the hot event information through a natural language processing technology;
acquiring corresponding material content and special effect content from a system material library according to the keyword information;
and fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information.
In addition, the system for generating the hotspot video template according to the embodiment of the present application may further have the following additional technical features:
further, in an embodiment of the present application, the keyword information includes at least one of time information, location information, object information, domain information, property information, and description information.
Further, in one embodiment of the present application, the method further comprises:
performing priority analysis on the keyword information to determine a priority value corresponding to the keyword information;
Calculating the specific gravity of the keyword information, and determining a specific gravity value corresponding to the keyword information;
determining content characteristic information of the material content corresponding to the keyword information according to the priority value and the specific gravity value; the content characteristic information comprises at least one of the sequence, the frame picture occupation ratio and the duration of the material content in the hot spot video template.
Further, in an embodiment of the present application, the performing a priority analysis on the keyword information to determine a priority value corresponding to the keyword information includes:
segmenting the hot event information according to time information in the keyword information to obtain a plurality of paragraph information, and determining a first sequence number corresponding to each paragraph information;
determining a segment priority value corresponding to each piece of paragraph information according to the first sequence number; wherein the segment priority value is inversely related to the first sequence number;
performing sentence breaking processing on each paragraph information to obtain a plurality of sentence information, and determining a second serial number corresponding to each sentence information in the paragraph information;
determining statement priority values corresponding to each statement information according to the second sequence number and the segment priority values; wherein the sentence priority value is inversely related to the second sequence number, and the sentence priority value is positively related to the segment priority value;
Accumulating statement priority values corresponding to each position of the target keyword information in the hot event information to obtain priority values corresponding to the target keyword information; wherein the target keyword information is any keyword information.
Further, in an embodiment of the present application, the calculating the specific gravity of the keyword information, determining the specific gravity value corresponding to the keyword information includes:
determining a segment specific gravity value corresponding to the paragraph information according to the first statistic word number of the hot event information, the second statistic word number of the paragraph information and the first number of the keyword information in the paragraph information; wherein the segment specific gravity value is positively correlated with the second statistical word number and the first number, and the segment specific gravity value is negatively correlated with the first statistical word number;
determining a statement specific gravity value corresponding to the statement information according to the third statistical word number of the statement information, the second statistical word number of the paragraph information and the second number of the keyword information in the statement information; wherein, the statement weight value is positively correlated with the third statistical word number and the second statistical word number, and the statement weight value is negatively correlated with the second statistical word number;
And accumulating statement proportion values corresponding to the positions of the target keyword information in the hot event information to obtain the proportion values corresponding to the target keyword information.
Further, in one embodiment of the present application, the method further comprises:
if the corresponding material content is not obtained from the system material library according to the keyword information, generating the material content corresponding to the keyword information through an AIGC technology.
Further, in one embodiment of the present application, the method further comprises:
and obtaining corresponding music content from a system material library according to the keyword information.
In another aspect, an embodiment of the present application provides a system for generating a hotspot video template, where the system includes:
the first acquisition unit is used for acquiring current hot event information;
the extraction unit is used for extracting a plurality of keyword information from the hot event information through a natural language processing technology;
the second acquisition unit is used for acquiring corresponding material content and special effect content from a system material library according to the keyword information;
and the fusion unit is used for fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information.
In another aspect, an embodiment of the present application provides a computer device, including:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement the method of generating a hotspot video template described above.
In another aspect, an embodiment of the present application further provides a computer readable storage medium, in which a program executable by a processor is stored, where the program executable by the processor is configured to implement the method for generating a hotspot video template.
The advantages and benefits of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
The embodiment of the application discloses a method for generating a hot spot video template, which comprises the following steps: acquiring current hot event information; extracting a plurality of keyword information from the hot event information through a natural language processing technology; acquiring corresponding material content and special effect content from a system material library according to the keyword information; and fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information. The method provided by the embodiment of the application can rapidly and accurately generate the hot spot video templates associated with the hot spot event content, can improve the production efficiency of the hot spot video templates and reduce the labor and time cost.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description is made with reference to the accompanying drawings of the embodiments of the present application or the related technical solutions in the prior art, and it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solutions of the present application, and other drawings may be obtained according to these drawings without the need of inventive labor for those skilled in the art.
Fig. 1 is an implementation environment schematic diagram of a method for generating a hotspot video template according to an embodiment of the present application;
fig. 2 is a flow chart of a method for generating a hotspot video template according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a hotspot video template generating system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the application, but are merely examples of apparatuses and methods consistent with aspects of embodiments of the application as detailed in the accompanying claims.
It is to be understood that the terms "first," "second," and the like, as used herein, may be used to describe various concepts, but are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present application. The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
The terms "at least one", "a plurality", "each", "any" and the like as used herein, at least one includes one, two or more, a plurality includes two or more, each means each of the corresponding plurality, and any one means any of the plurality.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
1) Artificial intelligence technology, which is a comprehensive discipline, relates to a wide range of fields, including both hardware-level technology and software-level technology. Wherein, the artificial intelligence basic technology generally comprises technologies such as a sensor, a special artificial intelligence chip, cloud computing, distributed storage, big data processing technology, an operation/interaction system, electromechanical integration and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
2) Natural language processing technology (Natural Language Processing, NLP), an important branch of the modern computer science and artificial intelligence field, is a science that incorporates linguistics, mathematics, and computer science. Research in this area will involve natural language, i.e. language that people use daily. However, natural language processing is not a general study of natural language, but is directed to developing a computer system that can effectively implement natural language communication, and the main applications include grammar analysis, word vector representation, word sense similarity determination, short text similarity determination, emotion tendency analysis, and the like.
Currently, with the popularization and rapid development of information technology, related applications have been gradually integrated into the life of people, and various services are provided for people. For example, with the rapid growth of network information and the rapid development of short video content, there is an increasing need for a combination of hot events and content presentation. In practical applications, it is found that the production of short video content combined with a hot event has a certain threshold, and the time consumption is high, so that the problem can be improved by associating the video templates of the hot event content.
In the related art, the current platform generally adopts two ways to generate a hotspot video template: one is to design a video template by a designer through professional special effect manufacturing software; and the other is to acquire a plurality of existing templates from a short video template library, disassemble elements from each template to obtain a plurality of elements, synthesize the disassembled elements by adopting a plurality of synthesis rules to obtain a plurality of video templates, and finally select a favorite video template from the templates by a user. However, the video template is designed manually, the input labor and time are excessive, and the efficiency is low; and selecting a plurality of templates from the template library, disassembling and recombining the templates to generate a new template, wherein the selectable range of elements is limited by the existing template depending on the elements of the existing template. In summary, it can be seen that the manufacturing technology difficulty and cost of the video template associated with the content of the hot event are high, and the efficiency is low.
In view of this, in the embodiment of the present application, a method for generating a hotspot video template is provided, where the method obtains current hotspot event information; extracting a plurality of keyword information from the hot event information through a natural language processing technology; acquiring corresponding material content and special effect content from a system material library according to the keyword information; and fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information. The method provided by the embodiment of the application can rapidly and accurately generate the hot spot video templates associated with the hot spot event content, can improve the production efficiency of the hot spot video templates and reduce the labor and time cost.
In the following, first, an implementation environment related to a method for generating a hotspot video template provided in an embodiment of the present application is described. Referring to fig. 1, fig. 1 shows an implementation environment schematic diagram of a method for generating a hotspot video template, in fig. 1, the method includes a user terminal 101 and a server background 102, and the user terminal 101 and the server background 102 are in communication connection.
For example, in some embodiments, the user terminal 101 side may install a corresponding application program, where the application program may use the relevant video template to make a video, and the video template provided in the application program may be generated by the server background 102 based on the method for generating a hotspot video template provided in the embodiments of the present application. The hotspot video template generated by the server background 102 can be stored on the server background 102 side after being generated, and when a user needs to use, the user terminal 101 can acquire the hotspot video template from the server background 102 for use.
Specifically, in the embodiment of the present application, the user terminal 101 may be at least one of a smart phone, a tablet computer, a notebook computer, a desktop computer, a PDA device, and an intelligent wearable device; the server background 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligence platforms, and the like.
A communication connection may be established between the user terminal 101 and the server background 102 through a wireless network or a wired network. The wireless network or wired network may be configured as the internet, using standard communication techniques and/or protocols, or any other network including, for example, but not limited to, a local area network (Local Area Network, LAN), metropolitan area network (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or wireless network, a private network, or any combination of virtual private networks. The software and hardware main bodies can adopt the same communication connection mode or different communication connection modes, and the application is not particularly limited.
Referring to fig. 2, fig. 2 is a flowchart of a method for generating a hotspot video template according to an embodiment of the present application, and referring to fig. 2, the method for generating a hotspot video template according to the present application includes, but is not limited to:
step 110, acquiring current hot event information;
in this step, when the hotspot video template is generated, first, current hotspot event information may be obtained. Here, the current time node may be a time when the generation method starts to be executed, and when the hot event information of the current time node is acquired, the current time node may be crawled through a related news website, which is not limited in the present application. For example, in some embodiments, a plurality of information with higher current popularity rank may be selected from a news website to obtain hot event information; in other embodiments, the information with the highest current heat may be selected from a plurality of news websites, and the information of each news website may be integrated to obtain the hot event information. In the embodiment of the application, the current hot event information can be acquired from various news platforms, social media and other information sources, and the latest news, topics, events and other information can also be acquired by adopting a crawler technology, an API (application program interface) or other data acquisition modes.
In the embodiments of the present application, when related processing is performed according to user information, user behavior data, user history data, user location information, and other data related to user identity or characteristics, permission or consent of the user is obtained first, and the collection, use, processing, and the like of the data comply with related laws and regulations and standards of related countries and regions. In addition, when the embodiment of the application needs to acquire the sensitive personal information of the user, the independent permission or independent consent of the user is acquired through popup or jump to a confirmation page and the like, and after the independent permission or independent consent of the user is definitely acquired, the necessary relevant data of the user for enabling the embodiment of the application to normally operate is acquired.
Step 120, extracting a plurality of keyword information from the hot event information through a natural language processing technology;
in this step, after obtaining the hotspot event information, a natural language processing technology may be used to process the hotspot event information, and extract a plurality of keyword information therefrom. Specifically, here, text information may be converted into a form understandable by a computer using a technique of word segmentation, part-of-speech tagging, entity recognition, or the like, and keyword information is extracted therefrom.
Illustratively, in the embodiment of the present application, the keyword information may include at least one of time information, location information, object information, domain information, property information, and description information, where the time information refers to a time when the hotspot event occurs, and may be a specific date and time, or may be a relative time expression, such as "yesterday" or the like. The time information can help to know the time sequence of occurrence of the hot events, and track and sort the events. The location information refers to a location or a related location where the hot spot event occurs, and can be a specific location name, an address or a description of a geographic position. The location information can help to know the geographical scope of the occurrence of the hot spot event, and perform geographical analysis and geographical visualization. The object information refers to objects related to the hot event, such as characters, animals, articles and the like, and can display relevant subjects in the hot event, such as related celebrities, government institutions, enterprises and the like, so that influence and back stories of the event can be conveniently known to a certain extent. Domain information refers to the domain or industry to which a hotspot event belongs, e.g., politics, entertainment, business, etc., for introducing the nature and context of the hotspot event, as well as the extent to which the event affects in different domains. The property information refers to the nature of the hot event, which may be positive, negative or neutral, and may present people with attitudes and emotional trends to the event, such that presentation and presentation of the event is emphasized. Descriptive information refers to keywords or descriptive words of a hotspot event, which are used to summarize and describe the characteristics and gist of the event. The descriptive information can help to quickly understand the subject and the focus of the event, and the event can be conveniently classified and generalized.
It can be understood that in the embodiment of the application, the hot event can be more comprehensively geographical by extracting and analyzing the keyword information of different types, more information and insight can be obtained from the hot event, and the subsequent screening and matching of corresponding materials and special effects are facilitated, so that a hot video template related to the hot event can be generated.
Step 130, obtaining corresponding material content and special effect content from a system material library according to the keyword information;
in the step, after the keyword information is obtained through analysis, the corresponding material content and special effect content can be obtained from a system material library. The material content refers to resources such as images, video clips, audio and the like required in video production. According to the time, place, object, field and other elements in the keyword information, the system can extract relevant pictures, video clips and audio files from the material library to serve as the material content for video production. For example, if a location is mentioned in the keyword information, the system may provide a photograph or video clip of the location as background material; if a person is involved in the keyword information, the system may provide a photograph or video clip of the person as the story content. The special effect content refers to some visual special effects, animation effects and audio effects added by technical means in video production. The special effect content can enhance the appeal and expressive force of the video, so that the video is more vivid, interesting and attractive. According to the characteristics, description and other elements in the keyword information, the system can provide corresponding visual special effects and audio effects, such as color filters, animation transition, subtitle effects, sound effects and the like, so as to increase artistic feeling and emotion expression of the video.
In the embodiment of the application, the obtained material content and special effect content can be used for making various types of videos, such as news reports, propaganda advertisements, education and teaching and the like. The related material content and special effect content are acquired according to the keyword information, so that a video producer can be helped to complete video production more quickly and efficiently, the video content is enriched, the viewing experience of audiences is improved, and meanwhile, the dependence and cost on external resources in the production process are saved. To obtain the material content and the special effect content, the material content and the special effect content can be searched and selected through a built-in material library of the system, and the system can provide various searching and screening functions so that a user can search and select according to keywords, categories, subjects and the like. The system can also support the user to upload the self-defined material content and special effect content so as to meet the personalized video production requirement. In addition, the system can also cooperate with a third party resource library to provide richer and various material contents and special effect contents for users to select. Through the modes, a user can conveniently acquire the required material content and special effect content so as to complete the video production of the user.
In some embodiments, the method further comprises:
And obtaining corresponding music content from a system material library according to the keyword information.
In the embodiment of the application, the acquired template can also comprise music content, so that a user can conveniently manufacture corresponding background music, and the acquisition process is similar to the material content, and is not repeated here.
Particularly, in the embodiment of the application, if the corresponding material content is not obtained from the system material library according to the keyword information, the material content corresponding to the keyword information can be generated through an AIGC technology, which is a technology based on artificial intelligence and graphic computation and is totally named Artificial Intelligence Graphics Computing. It combines artificial intelligence with graphics computing to improve the performance and efficiency of computer graphics processing to achieve higher quality visual effects and faster graphics rendering.
And 140, fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information.
In this step, after the material content and the special effect content are merged, a hotspot video template matched with the hotspot event information is created. Specifically, the method can be realized by video editing software or a professional video production platform, and in the process of fusion, editing, sequence adjustment, special effects addition, speed change and the like can be performed on the material content according to the needs so as to achieve the best effect. The special effect content can be overlapped, mixed or converted with the material content, so that the special effect content can be better integrated into the video and corresponds to the hot event information.
In some embodiments, the fused video may be further edited and customized to obtain a final hotspot video template, which may include adding text, inserting charts or graphics, adjusting audio, and the like. Through the step of customizing, the hot spot video template can be customized according to specific requirements and target audiences, so that the hot spot video template meets the expected effect and purpose.
It can be understood that, in the method for generating the hotspot video template provided by the embodiment of the application, the current hotspot event information is acquired; extracting a plurality of keyword information from the hot event information through a natural language processing technology; acquiring corresponding material content and special effect content from a system material library according to the keyword information; and fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information. The method provided by the embodiment of the application can rapidly and accurately generate the hot spot video templates associated with the hot spot event content, can improve the production efficiency of the hot spot video templates and reduce the labor and time cost.
In some embodiments, the method further comprises:
Performing priority analysis on the keyword information to determine a priority value corresponding to the keyword information;
calculating the specific gravity of the keyword information, and determining a specific gravity value corresponding to the keyword information;
determining content characteristic information of the material content corresponding to the keyword information according to the priority value and the specific gravity value; the content characteristic information comprises at least one of the sequence, the frame picture occupation ratio and the duration of the material content in the hot spot video template.
In the embodiment of the application, a method for determining the priority value and the specific gravity value by breaking sentences according to the keyword information is also provided, wherein the priority value and the specific gravity value can be used for determining the importance degree and the space occupation ratio of the keyword information to be expressed in the video content so as to distribute the information such as the sequence, the frame picture occupation ratio, the duration and the like of the material content corresponding to the keyword information in the hot spot video template. Here, the analysis of the keyword information includes priority analysis and weight calculation, which are described in detail below:
specifically, the performing priority analysis on the keyword information to determine a priority value corresponding to the keyword information includes:
Segmenting the hot event information according to time information in the keyword information to obtain a plurality of paragraph information, and determining a first sequence number corresponding to each paragraph information;
determining a segment priority value corresponding to each piece of paragraph information according to the first sequence number; wherein the segment priority value is inversely related to the first sequence number;
performing sentence breaking processing on each paragraph information to obtain a plurality of sentence information, and determining a second serial number corresponding to each sentence information in the paragraph information;
determining statement priority values corresponding to each statement information according to the second sequence number and the segment priority values; wherein the sentence priority value is inversely related to the second sequence number, and the sentence priority value is positively related to the segment priority value;
accumulating statement priority values corresponding to each position of the target keyword information in the hot event information to obtain priority values corresponding to the target keyword information; wherein the target keyword information is any keyword information.
In the embodiment of the application, the time, place, object (event target object, character, animal, article, etc.), field (politics, entertainment, business, etc.), nature (positive, negative) and description (event keywords) keyword information can be extracted from the hot event information through the existing natural language processing technology and the trained text language model. According to the "object" keyword, if sensitive objects are involved, the hot event is not processed. According to the "domain" keyword, if sensitive domain is involved, the hot event is not processed. According to the "nature" keyword, the trending event is not processed if it relates to message content.
Particularly, in the embodiment of the application, according to the time key words, the hot event information can be segmented according to the time information to obtain a plurality of paragraph information. Let P be the serial number of the paragraph information, a be the segment priority coefficient set by the system, P be the priority value, max (P) be the maximum serial number of the paragraph information in the hot event information, then the segment priority value corresponding to the paragraph information may be expressed as pp= (Max (P) -p+1) a.
And breaking sentences of each paragraph information according to natural sentences to obtain a plurality of sentence information. Let s be the sequence number of the sentence information in the paragraph information, b be the sentence priority coefficient set by the system, max(s) be the maximum sequence number of the sentence information in the paragraph information, then the sentence priority value corresponding to the sentence information may be expressed as pps=pp (Max(s) -s+1) b. For each keyword information, statement priority values corresponding to the positions of the keyword information in the hot event information can be accumulated to obtain the priority value corresponding to the keyword information.
Specifically, the calculating the specific gravity of the keyword information, determining the specific gravity value corresponding to the keyword information, includes:
determining a segment specific gravity value corresponding to the paragraph information according to the first statistic word number of the hot event information, the second statistic word number of the paragraph information and the first number of the keyword information in the paragraph information; wherein the segment specific gravity value is positively correlated with the second statistical word number and the first number, and the segment specific gravity value is negatively correlated with the first statistical word number;
Determining a statement specific gravity value corresponding to the statement information according to the third statistical word number of the statement information, the second statistical word number of the paragraph information and the second number of the keyword information in the statement information; wherein, the statement weight value is positively correlated with the third statistical word number and the second statistical word number, and the statement weight value is negatively correlated with the second statistical word number;
and accumulating statement proportion values corresponding to the positions of the target keyword information in the hot event information to obtain the proportion values corresponding to the target keyword information.
In the embodiment of the present application, let C be the first statistics of the hot event information, cp be the second statistics of the p-th paragraph information, ckp be the first number of the keyword information in the p-th paragraph information, and k be the keyword specific gravity coefficient set by the system, then the paragraph specific gravity value corresponding to the paragraph information may be expressed as rp= Ckp ×k×cp/C. Assuming Cs is the third number of statistics of sentence information and Cks is the second number of keyword information in the s-th sentence information, the sentence specific gravity value corresponding to the sentence information may be expressed as rps=rp×cks×cs/Cp. For each keyword information, the statement weight value corresponding to each position in the hot event information can be accumulated to obtain the weight value corresponding to the keyword information.
In the embodiment of the application, a priority and specific gravity self-adaptive combination scheme of the template material content is also provided, and the template material content and the corresponding special effect content can be adjusted, and the occupation duration and position of the template material content in the hot spot video template are distributed according to the priority value and the specific gravity value of the keyword information. The process is specifically as follows:
1. sorting the material content and the special effect content corresponding to the keyword information according to the specific gravity value;
2. according to the sequence, carrying out batch processing according to 3-5 and the maximum material number of each batch preset by the system;
3. calculating the total specific gravity value of the keyword information of the current processing batch, and then calculating the ratio of the specific gravity value of each keyword information to the total specific gravity value, wherein the ratio is the duration of the corresponding material content and special effect content of the keyword information in the total video template;
4. calculating the duration of the material content and the special effect content corresponding to each keyword information according to the result of the step 3 and the duration of a preset video template in the system, and stretching or shortening the material content and the special effect content according to the calculated duration;
5. and splicing the material content and the special effect content corresponding to the keyword information in sequence according to the priority numerical sequence of the keyword information.
6. The material content of the keyword information of a plurality of batches in the same frame is scaled according to the specific gravity value of the keyword information; and according to the priority value of the keyword information, overlapping the layer with higher priority as the priority value is higher, wherein the priority value is the largest and is close to the center position, and the rest of the layers are close to the outer sides in different directions.
It can be understood that in the embodiment of the application, through the calculated priority value and specific gravity value of the keyword information, the material content and the special effect content extracted or generated according to the keyword information can be adaptively stretched and contracted in batches according to the specific gravity value, and the material content and the special effect content corresponding to the keyword information are sequentially layered and placed into the video template according to the priority data and the specific gravity value, so that the content is clearly and orderly rendered, and the quality of the hot video template can be improved.
The following describes a hot spot video template generation system according to an embodiment of the present application with reference to the accompanying drawings.
Referring to fig. 3, a system for generating a hotspot video template according to an embodiment of the present application includes:
a first obtaining unit 201, configured to obtain current hot event information;
an extracting unit 202, configured to extract, by using a natural language processing technique, a plurality of keyword information from the hot event information;
A second obtaining unit 203, configured to obtain, according to the keyword information, corresponding material content and special effect content from a system material library;
and the fusion unit 204 is configured to fuse the material content and the special effect content to obtain a hotspot video template corresponding to the hotspot event information.
It can be understood that the content in the above method embodiment is applicable to the system embodiment, and the functions specifically implemented by the system embodiment are the same as those of the above method embodiment, and the achieved beneficial effects are the same as those of the above method embodiment.
Referring to fig. 4, an embodiment of the present application provides a computer apparatus including:
at least one processor 301;
at least one memory 302 for storing at least one program;
the at least one program, when executed by the at least one processor 301, causes the at least one processor 301 to implement a method of generating a hotspot video template as shown in fig. 2.
Similarly, the content in the above method embodiment is applicable to the embodiment of the present computer device, and the functions specifically implemented by the embodiment of the present computer device are the same as those of the embodiment of the above method, and the achieved beneficial effects are the same as those achieved by the embodiment of the above method.
The embodiment of the present application also provides a computer readable storage medium, in which a program executable by the processor 301 is stored, where the program executable by the processor 301 is used to perform the above-mentioned method for generating a hotspot video template when executed by the processor 301.
The embodiment of the application also discloses a computer readable storage medium, wherein a program executable by a processor is stored, and the program executable by the processor is used for realizing the embodiment of a method for generating a hot spot video template shown in fig. 2 when being executed by the processor.
It can be understood that the content in the embodiment of the method for generating a hotspot video template shown in fig. 2 is applicable to the embodiment of the computer-readable storage medium, and the functions of the embodiment of the computer-readable storage medium are the same as those of the embodiment of the method for generating a hotspot video template shown in fig. 2, and the beneficial effects achieved by the embodiment of the method for generating a hotspot video template shown in fig. 2 are the same as those achieved by the embodiment of the method for generating a hotspot video template shown in fig. 2.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present application are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed, and in which sub-operations described as part of a larger operation are performed independently.
Furthermore, while the application is described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the functions and/or features may be integrated in a single physical system and/or software module or may be implemented in separate physical systems or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present application. Rather, the actual implementation of the various functional modules in the systems disclosed herein will be apparent to engineers in ordinary skill in view of their attributes, functions, and internal relationships. Accordingly, one of ordinary skill in the art can implement the application as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the application, which is to be defined in the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any system that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, or apparatus.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic system) with one or more wires, a portable computer diskette (magnetic system), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber system, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the foregoing description of the present specification, reference has been made to the terms "one embodiment/example", "another embodiment/example", "certain embodiments/examples", and the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the application, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present application has been described in detail, the present application is not limited to the embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present application, and these equivalent modifications or substitutions are intended to be included in the scope of the present application as defined in the appended claims
In the description of the present specification, reference to the term "one embodiment," "another embodiment," or "certain embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the application, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A method for generating a hotspot video template, the method comprising:
acquiring current hot event information;
extracting a plurality of keyword information from the hot event information through a natural language processing technology;
acquiring corresponding material content and special effect content from a system material library according to the keyword information;
and fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information.
2. The method for generating a hotspot video template according to claim 1, wherein the keyword information includes at least one of time information, location information, object information, domain information, property information, and description information.
3. The method for generating a hotspot video template of claim 1, wherein the method further comprises:
Performing priority analysis on the keyword information to determine a priority value corresponding to the keyword information;
calculating the specific gravity of the keyword information, and determining a specific gravity value corresponding to the keyword information;
determining content characteristic information of the material content corresponding to the keyword information according to the priority value and the specific gravity value; the content characteristic information comprises at least one of the sequence, the frame picture occupation ratio and the duration of the material content in the hot spot video template.
4. The method for generating a hotspot video template according to claim 3, wherein the performing a priority analysis on the keyword information to determine a priority value corresponding to the keyword information includes:
segmenting the hot event information according to time information in the keyword information to obtain a plurality of paragraph information, and determining a first sequence number corresponding to each paragraph information;
determining a segment priority value corresponding to each piece of paragraph information according to the first sequence number; wherein the segment priority value is inversely related to the first sequence number;
performing sentence breaking processing on each paragraph information to obtain a plurality of sentence information, and determining a second serial number corresponding to each sentence information in the paragraph information;
Determining statement priority values corresponding to each statement information according to the second sequence number and the segment priority values; wherein the sentence priority value is inversely related to the second sequence number, and the sentence priority value is positively related to the segment priority value;
accumulating statement priority values corresponding to each position of the target keyword information in the hot event information to obtain priority values corresponding to the target keyword information; wherein the target keyword information is any keyword information.
5. The method for generating a hotspot video template according to claim 4, wherein the calculating the specific gravity of the keyword information to determine the specific gravity value corresponding to the keyword information includes:
determining a segment specific gravity value corresponding to the paragraph information according to the first statistic word number of the hot event information, the second statistic word number of the paragraph information and the first number of the keyword information in the paragraph information; wherein the segment specific gravity value is positively correlated with the second statistical word number and the first number, and the segment specific gravity value is negatively correlated with the first statistical word number;
Determining a statement specific gravity value corresponding to the statement information according to the third statistical word number of the statement information, the second statistical word number of the paragraph information and the second number of the keyword information in the statement information; wherein, the statement weight value is positively correlated with the third statistical word number and the second statistical word number, and the statement weight value is negatively correlated with the second statistical word number;
and accumulating statement proportion values corresponding to the positions of the target keyword information in the hot event information to obtain the proportion values corresponding to the target keyword information.
6. The method for generating a hotspot video template according to any of claims 1-5, wherein the method further comprises:
if the corresponding material content is not obtained from the system material library according to the keyword information, generating the material content corresponding to the keyword information through an AIGC technology.
7. The method for generating a hotspot video template of claim 1, wherein the method further comprises:
and obtaining corresponding music content from a system material library according to the keyword information.
8. A system for generating a hotspot video template, the system comprising:
the first acquisition unit is used for acquiring current hot event information;
the extraction unit is used for extracting a plurality of keyword information from the hot event information through a natural language processing technology;
the second acquisition unit is used for acquiring corresponding material content and special effect content from a system material library according to the keyword information;
and the fusion unit is used for fusing the material content and the special effect content to obtain a hot spot video template corresponding to the hot spot event information.
9. A computer device, comprising:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement a method of generating a hotspot video template as claimed in any one of claims 1-7.
10. A computer-readable storage medium having stored therein a program executable by a processor, characterized in that: the processor executable program when executed by a processor is for implementing a method of generating a hotspot video template as claimed in any of claims 1-7.
CN202310898012.XA 2023-07-20 2023-07-20 Hot spot video template generation method, system, equipment and storage medium Pending CN117009574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310898012.XA CN117009574A (en) 2023-07-20 2023-07-20 Hot spot video template generation method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310898012.XA CN117009574A (en) 2023-07-20 2023-07-20 Hot spot video template generation method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117009574A true CN117009574A (en) 2023-11-07

Family

ID=88568425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310898012.XA Pending CN117009574A (en) 2023-07-20 2023-07-20 Hot spot video template generation method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117009574A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140096162A1 (en) * 2012-09-28 2014-04-03 Centurylink Intellectual Property Llc Automated Social Media and Event Driven Multimedia Channels
CN105868176A (en) * 2016-03-02 2016-08-17 北京同尘世纪科技有限公司 Text based video synthesis method and system
US20170194032A1 (en) * 2016-01-04 2017-07-06 Andrew WALWORTH Process for automated video production
CN109344291A (en) * 2018-09-03 2019-02-15 腾讯科技(武汉)有限公司 A kind of video generation method and device
KR101949149B1 (en) * 2017-10-20 2019-02-18 박준혁 Search processing device for Seeking and processing of Video file with subtitle file
US20200045382A1 (en) * 2018-08-01 2020-02-06 Dish Network L.L.C. Automatically generating supercuts
KR20200049192A (en) * 2018-10-31 2020-05-08 에스케이텔레콤 주식회사 Providing Method for virtual advertisement and service device supporting the same
CN114998484A (en) * 2022-05-27 2022-09-02 中国平安人寿保险股份有限公司 Audio and video generation method and device, computer equipment and storage medium
CN115357755A (en) * 2022-08-10 2022-11-18 北京百度网讯科技有限公司 Video generation method, video display method and device
CN115580758A (en) * 2022-10-12 2023-01-06 中国平安人寿保险股份有限公司 Video content generation method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140096162A1 (en) * 2012-09-28 2014-04-03 Centurylink Intellectual Property Llc Automated Social Media and Event Driven Multimedia Channels
US20170194032A1 (en) * 2016-01-04 2017-07-06 Andrew WALWORTH Process for automated video production
CN105868176A (en) * 2016-03-02 2016-08-17 北京同尘世纪科技有限公司 Text based video synthesis method and system
KR101949149B1 (en) * 2017-10-20 2019-02-18 박준혁 Search processing device for Seeking and processing of Video file with subtitle file
US20200045382A1 (en) * 2018-08-01 2020-02-06 Dish Network L.L.C. Automatically generating supercuts
CN109344291A (en) * 2018-09-03 2019-02-15 腾讯科技(武汉)有限公司 A kind of video generation method and device
KR20200049192A (en) * 2018-10-31 2020-05-08 에스케이텔레콤 주식회사 Providing Method for virtual advertisement and service device supporting the same
CN114998484A (en) * 2022-05-27 2022-09-02 中国平安人寿保险股份有限公司 Audio and video generation method and device, computer equipment and storage medium
CN115357755A (en) * 2022-08-10 2022-11-18 北京百度网讯科技有限公司 Video generation method, video display method and device
CN115580758A (en) * 2022-10-12 2023-01-06 中国平安人寿保险股份有限公司 Video content generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110717017B (en) Method for processing corpus
US11829404B2 (en) Functional image archiving
US9923860B2 (en) Annotating content with contextually relevant comments
CN105786977B (en) Mobile search method and device based on artificial intelligence
CN112203122A (en) Artificial intelligence-based similar video processing method and device and electronic equipment
CN110659366A (en) Semantic analysis method and device, electronic equipment and storage medium
US20220237222A1 (en) Information determining method and apparatus, computer device, and storage medium
US20140164371A1 (en) Extraction of media portions in association with correlated input
CN112257661A (en) Identification method, device and equipment of vulgar image and computer readable storage medium
CN111368141B (en) Video tag expansion method, device, computer equipment and storage medium
CN111506794A (en) Rumor management method and device based on machine learning
CN112231563B (en) Content recommendation method, device and storage medium
CN111258995A (en) Data processing method, device, storage medium and equipment
EP4310695A1 (en) Data processing method and apparatus, computer device, and storage medium
KR20200087977A (en) Multimodal ducument summary system and method
US9129216B1 (en) System, method and apparatus for computer aided association of relevant images with text
CN115203539B (en) Media content recommendation method, device, equipment and storage medium
US11361759B2 (en) Methods and systems for automatic generation and convergence of keywords and/or keyphrases from a media
US11636282B2 (en) Machine learned historically accurate temporal classification of objects
US20140163956A1 (en) Message composition of media portions in association with correlated text
Lee et al. Implementation of robot journalism by programming custombot using tokenization and custom tagging
CN113573128A (en) Audio processing method, device, terminal and storage medium
CN110516086B (en) Method for automatically acquiring movie label based on deep neural network
WO2024021685A1 (en) Reply content processing method and media content interactive content interaction method
CN116738060A (en) Content generation method and device and electronic equipment

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