Method for generating media directory file and video presentation method

By recognizing text content in videos and generating a table of contents, the problem of users having difficulty quickly locating knowledge points is solved, enabling users to quickly jump to content of interest within videos and improving the user experience.

CN116260995BActive Publication Date: 2024-12-06BEIJING APRIL STAR NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111500492.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2024-12-06
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

When watching long educational videos, users often struggle to quickly locate points of interest. Existing technologies that rely on dragging a progress bar to find specific content are inefficient and result in a poor user experience.

Method used

By recognizing the text content in the video, the system identifies jump nodes and generates a directory index, including node names and time information. Users can then directly jump to content of interest using the directory index.

Benefits of technology

This allows users to quickly and accurately locate and jump to specific knowledge points in videos, optimizing the user experience and improving the efficiency and convenience of video viewing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116260995B_ABST
    Figure CN116260995B_ABST
Patent Text Reader

Abstract

The present application discloses a method for generating a media directory file, which is used in a server, and includes: obtaining the text content of the target media, wherein the text content corresponds to the audio content in the target media; determining multiple jump nodes of the target media according to the text content; and setting a directory index for each of the multiple jump nodes to generate a media directory file of the target media; wherein the directory index includes the directory name of the jump node and the time information of the jump node in the target media. The present application also provides a generation system, a video presentation method, a computer device, and a computer-readable storage medium. The technical solution provided by the present application facilitates users to accurately locate and jump to any content paragraph in the target media, thereby optimizing the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of video, and in particular, to a method and system for generating a media directory file, a video presentation method, a computer device, and a computer-readable storage medium. Background Art

[0002] With the rapid popularization of Internet technology, videos have become an important way for people to live, learn, and entertain. For example, science and education videos have gradually become the mainstream way for people to acquire knowledge. However, a science and education video may involve multiple knowledge points or multiple solutions, and a science and education video is usually dozens of minutes long.

[0003] Some users may only be interested in a certain knowledge point in the video. When these users want to watch the knowledge points they are interested in later, they need to drag the progress bar to find the knowledge points they are interested in, which is cumbersome and ineffective, and the experience is poor.

[0004] It should be noted that the above content is not intended to limit the application scenarios and patent protection scope of the embodiments of the present application. Summary of the invention

[0005] In view of this, the purpose of the embodiments of the present application is to provide a method, system, video presentation method, computer device and computer-readable storage medium for generating a media directory file, which can be used to solve the above-mentioned problems.

[0006] One aspect of an embodiment of the present application provides a method for generating a media directory file, which is used in a server and includes:

[0007] Acquire text content of target media, wherein the text content corresponds to audio content in the target media;

[0008] Determining multiple jump nodes of the target media according to the text content; and

[0009] Setting a directory index for each of the plurality of jump nodes to generate a media directory file of the target media;

[0010] The directory index includes the directory name of the jump node and the time information of the jump node in the target media.

[0011] Optionally, determining a plurality of jump nodes of the target media according to the text content includes:

[0012] Determining a continuation sentence in the text content, wherein the continuation sentence is used to separate different content paragraphs;

[0013] The plurality of jump nodes are determined according to time information of each of the continuation statements in the target media.

[0014] Optionally, the determining the continuation sentence in the text content includes:

[0015] Matching a plurality of language tags with the text content respectively, the plurality of language tags being preset;

[0016] A sentence in the text content that matches any language tag among the multiple language tags is determined as the continuation sentence.

[0017] Optionally, each language tag includes a plurality of characters;

[0018] The matching of the multiple language tags with the text content respectively includes:

[0019] The text content is matched with each node of a tree structure, wherein the tree structure includes paths of the multiple language tags, and each node in the path corresponds to each character in the language tag in sequence.

[0020] Optionally, matching the text content with each node of the tree structure includes:

[0021] According to the character sequence of each character in the text content, each character is matched in sequence. When performing the match of the mth character:

[0022] Determine whether the m-1th character in the text content matches a node in the tree structure;

[0023] If the m-1th character matches a node that is not a leaf node in the tree structure, the m-th character is matched with each child node under the node that matches the m-1th character to obtain a node that matches the m-th character; if a node that matches the m-th character is obtained and is a leaf node, a target language label corresponding to a path where the node that matches the m-th character is located is determined;

[0024] If the m-1th character does not match a node in the tree structure or matches a leaf node in the tree structure, the mth character is matched with the first node in each path; wherein the first node in each path corresponds to the first character of each language tag, and nodes with the same first character are shared.

[0025] Optionally, the configuration operation of the tree structure is also included:

[0026] Split each language tag into characters;

[0027] Configuring a root node of the tree structure;

[0028] The first characters of the language tags are respectively configured as child nodes of the root node, and the nodes with the same first characters are shared;

[0029] According to the character sequence in the ith language tag, the ith path in the tree structure is configured; wherein the ith path includes each node between the ith child node of the root node and the ith leaf node under the ith child node; the ith child node of the root node corresponds to the first character of the ith language tag, the ith leaf node under the ith child node of the root node corresponds to the last character of the ith language tag, and the adjacent previous character and next character in the ith language tag correspond to the parent node and the child node in the tree structure; the ith language tag is any one of the multiple language tags;

[0030] Among them, if the first multiple characters of the i-th language tag and the first multiple characters of other language tags correspond one-to-one and are the same, then the multiple nodes corresponding to the first multiple characters of the i-th language tag and the multiple nodes corresponding to the first multiple characters of the other language tags are configured as common nodes in the tree structure in a one-to-one correspondence.

[0031] Optionally, setting a directory index for each of the plurality of jump nodes includes:

[0032] Obtaining key content associated with each of the follow-up statements;

[0033] According to the key content associated with each of the continuation statements, the directory name of the jump node corresponding to each of the continuation statements is set.

[0034] Optionally, the acquiring of key content associated with each of the follow-up statements includes:

[0035] Extracting multiple nouns from the text;

[0036] Determining one or more nouns with the highest frequency of occurrence according to the respective frequencies of occurrence of the plurality of nouns;

[0037] Determining a media type of the target media according to the one or more nouns;

[0038] Determining a target noun library associated with the target media according to the media type;

[0039] Matching each noun in the target noun library with each noun in the whole sentence where the follow-up sentence is located;

[0040] Acquire key content associated with the continuation statement according to the matching result;

[0041] The key content includes nouns that exist in the entire sentence where the follow-up sentence is located and in the target noun library.

[0042] One aspect of an embodiment of the present application further provides a system for generating a media directory file, which is used in a server and includes:

[0043] An acquisition module, used for acquiring text content of a target media, wherein the text content corresponds to audio content in the target media;

[0044] A determination module, used for determining a plurality of jump nodes of the target media according to the text content;

[0045] A generating module, used for setting a directory index for each of the plurality of jump nodes to generate a media directory file of the target media;

[0046] The directory index includes the directory name of the jump node and the time information of the jump node in the target media.

[0047] An aspect of an embodiment of the present application further provides a video presentation method, which is used in a user device, including:

[0048] While presenting the video, present at least one of a plurality of directory names; wherein each directory name corresponds to a time information of the video and is used to represent the content of the video at the corresponding time information;

[0049] detecting a selection of any one of the plurality of directory names; and

[0050] In response to the selection of any one of the multiple directory names, the playback progress of the video is jumped to the target time information; wherein the target time information corresponds to the selected directory name.

[0051] Optionally, the multiple directory names are presented in a display window in a list form.

[0052] Optionally, the multiple directory names are marked on a progress bar of the video;

[0053] The time information of each directory name corresponds to the marked position of each directory name on the progress bar.

[0054] One aspect of an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is used to implement the steps of the above-mentioned media directory file generation method or video presentation method when executing the computer program.

[0055] One aspect of an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program can be executed by at least one processor so that the at least one processor performs the steps of the above-mentioned media directory file generation method or video presentation method.

[0056] The media directory file generation method, system, video presentation method, device, and computer-readable storage medium provided in the embodiments of the present application include the following technical advantages:

[0057] According to the text content of the target media, multiple jump nodes corresponding to different content paragraphs and their directory indexes are configured, so as to facilitate viewers to accurately locate and jump to any content paragraph in the target media, thereby optimizing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A diagram schematically showing an application environment of a method for generating a media directory file and a method for presenting a video;

[0059] Figure 2 The flowchart of the method for generating a media directory file according to the first embodiment of the present application is schematically shown;

[0060] Figure 3 Schematically shows Figure 2 Flow chart of step S202;

[0061] Figure 4 Schematically shows Figure 3 Flow chart of step S300;

[0062] Figure 5 Schematically shows Figure 4 Flow chart of step S400;

[0063] Figure 6 Schematically shows Figure 5 Flow chart of step S500;

[0064] Figure 7 A tree structure is schematically shown;

[0065] Figure 8 The newly added steps of the method for generating a media directory file according to the first embodiment of the present application are schematically shown;

[0066] Fig. 9 Schematically shows Figure 2 Flow chart of step S204;

[0067] Fig.10 Schematically shows Fig. 9 Flowchart of step S900;

[0068] Fig.11 A flowchart of a video presentation method according to Embodiment 2 of the present application is schematically shown;

[0069] Fig.12 The display interface in the user equipment is schematically shown;

[0070] Fig.13 A block diagram schematically shows a system for generating a media directory file according to Embodiment 3 of the present application;

[0071] Fig.14 A block diagram of a video presentation system according to a fourth embodiment of the present application is schematically shown; and

[0072] Fig.15 The hardware architecture diagram of a computer device according to the fifth embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0074] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0075] The inventors have found that a user may only be interested in a certain knowledge point in a video. When the user wants to watch the knowledge point of interest later, he needs to drag the progress bar to find the knowledge point of interest, which is cumbersome and ineffective, and the experience is poor.

[0076] The embodiment of the present application aims to identify specific tags in the video through recognition technology, generate a video directory according to the time point and the tag, so as to facilitate viewers to accurately locate a certain knowledge point and optimize the user experience. That is, the user can select the knowledge point to jump to according to the video directory, so as to jump directly to optimize the user experience.

[0077] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.

[0078] Figure 1 The application environment diagram of the media directory file generation method and the video presentation method in the present application is schematically shown.

[0079] The server 2 may push media (eg, video, audio) and / or media directory files to the user device 4 via the network.

[0080] The server 2 may be composed of a single or multiple computing devices, such as a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. The one or more computer devices may include a virtualized computing instance. The computer device may load a virtual machine based on a virtual image and / or other data defining a specific software (e.g., an operating system, a dedicated application, a server) for simulation. As the demand for different types of processing services changes, different virtual machines may be loaded and / or terminated on the one or more computer devices.

[0081] The network may include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or the like. The network may include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and / or the like. The network may include wireless links, such as cellular links, satellite links, Wi-Fi links, and / or the like.

[0082] The user device 4 may be configured to access the server 2. The user device 4 may include any type of computer device, such as a smart phone, a tablet computer, a smart TV, a projector, a personal computer, or other electronic devices. The user device 4 may have a built-in browser or a special program, which receives audio and video and outputs content to the user through the browser or the special program. The content may include video, audio, comments, text data, etc.

[0083] The user device 4 may include an interface, which may include an input element. For example, the input element may be configured to receive a user instruction, which may enable the user device 4 to perform various operations, such as dragging a progress bar.

[0084] The following will describe the media directory file generation scheme and video presentation scheme provided by the embodiments of the present application through embodiments.

[0085] Embodiment 1

[0086] Figure 2 The flowchart of the method for generating a media directory file according to the first embodiment of the present application is schematically shown. The present method embodiment can be executed in a server. In the following, the server 2 is taken as the single execution subject of the present process.

[0087] like Figure 2 As shown, the method for generating the media directory file may include steps S200 to S204, wherein:

[0088] Step S200: acquiring text content of a target media, wherein the text content corresponds to audio content in the target media.

[0089] The target media may be a video file carrying audio data or a pure audio file.

[0090] The text content is composed of a plurality of sentences.

[0091] In the above steps, the text content can be obtained in a variety of ways, such as:

[0092] (1) Performing speech recognition on the target media by using speech recognition technology to convert the speech content in the target media into corresponding text, thereby obtaining the text content. Speech recognition technology may also be referred to as automatic speech recognition (ASR), computer speech recognition (ASR) or speech to text recognition (STT), which is a process of automatically converting human speech content into corresponding text using a computer.

[0093] (2) Read subtitle text that matches the target media, such as subtitle text in formats such as srt, ass, ssa, idx, etc.

[0094] Step S202: determining a plurality of jump nodes of the target media according to the text content.

[0095] There are usually connecting sentences such as introduction, development, transition, and key points between different paragraphs or before the main content.

[0096] For example, if the target media consists of multiple video segments with different contents, there will generally be transition sentences between the video segments. Taking an educational video (video A) as an example, in the same video, the teacher who recorded the video gave an opening speech and a knowledge point explanation in turn. When the teacher transitions from "opening speech" to "knowledge point explanation", he usually says transition sentences such as "let's talk about it next", "next", "let's talk about it next", "here comes the key point".

[0097] Therefore, the text content may be analyzed based on, for example, a continuation sentence, to determine whether the target media includes multiple content paragraphs and the start time of each of the multiple content paragraphs in the target media.

[0098] As an optional embodiment, in order to more accurately determine the multiple jump nodes, such as Figure 3 As shown, the step S202 may include steps S300 to S302, wherein: step S300, determining the continuation sentence in the text content, the continuation sentence is used to separate different content paragraphs. Step S302, determining the multiple jump nodes according to the time information of each of the continuation sentences in the target media. In the above optional embodiment, the continuation sentence in the text content is identified, and the identified continuation sentence is used as an effective basis for distinguishing different adjacent content paragraphs in the same media content (such as a video). Continuing to take the above video A as an example, the teacher gave an opening speech and a knowledge point explanation. If the continuation sentence (such as "Here comes the key point") is matched in the text content corresponding to the above video A, it is determined that this continuation sentence is the dividing point between the "opening speech" video paragraph and the "knowledge point explanation" video paragraph. The dividing point is also called a "jump node", that is, in the video presentation process, you can directly jump to this dividing point, so that the user can skip the "opening speech" video paragraph and directly watch the "knowledge point explanation" video paragraph.

[0099] It should be noted that the determination / identification of the continuation sentence can be carried out by comparing the text content with a preset label (preset sentence), finding a sentence that meets the preset label according to the comparison result, and using it as the continuation sentence. In other embodiments, the continuation sentence can also be identified by machine learning, deep neural network, etc.

[0100] Step S204: setting a directory index for each of the plurality of jump nodes to generate a media directory file of the target media.

[0101] The directory index includes the directory name of the jump node and the time information of the jump node in the target media.

[0102] Continuing with the example of the video A, the teacher gave an opening speech and explained a knowledge point. If a follow-up sentence (such as "Here comes the key point") is matched in the text content corresponding to the video A, the playback time of the voice signal corresponding to the follow-up sentence in the video A is 12 minutes: 0 seconds: 44 milliseconds, and the knowledge point explained after the follow-up sentence is "Pythagorean Theorem", then the following directory index can be configured for the follow-up sentence:

[0103] The directory name of this directory index is: Pythagorean Theorem;

[0104] The time information of the directory index is: 12 minutes: 0 seconds: 44 milliseconds.

[0105] It should be noted that the directory name can be extracted from the entire sentence in which the continuation sentence is located, or from the text content corresponding to the "knowledge point explanation" video paragraph. The directory name can be extracted in a variety of ways, such as extracting based on part of speech, extracting based on part of speech and frequency of occurrence, or extracting through artificial intelligence.

[0106] The video A can be provided to the user device 4. When the user watches the video A through the user device 4, if he wants to directly watch the explanation content of the "Pythagorean Theorem", he can perform the following exemplary operations based on the directory index:

[0107] (1) Drag the progress bar to 12 minutes: 0 seconds: 44 milliseconds or thereabouts.

[0108] (2) The above directory index is triggered, and the user device automatically jumps to 12 minutes: 0 seconds: 44 milliseconds.

[0109] It should be noted that, in order to further improve the user experience, when the progress bar is dragged to within a few seconds (such as 3 seconds) around 12 minutes: 0 seconds: 44 milliseconds, the drag point of the progress bar can be automatically magnetized to 12 minutes: 0 seconds: 44 milliseconds.

[0110] Based on the above content, the method for generating a media directory file provided in an embodiment of the present application includes the following advantages: according to the text content of the target media, multiple jump nodes and their directory indexes corresponding to different content segments are configured, thereby facilitating viewers to accurately locate and jump to any content segment in the target media, thereby optimizing the user experience.

[0111] Taking educational videos as an example, viewers can easily and accurately jump to the knowledge points of interest based on the directory index.

[0112] Taking interview videos as an example, viewers can easily and accurately jump to the topic segments that interest them based on the directory index.

[0113] Of course, the embodiments of the present application are not limited to educational videos and interview videos, but can also be used in other scenarios.

[0114] Several optional embodiments are provided below.

[0115] As an optional embodiment, in order to improve the accuracy of determining / recognizing the follow-up sentence, Figure 4As shown, the step S300 of "determining a continuation sentence in the text content" may include: step S400, matching a plurality of language tags with the text content respectively, the plurality of language tags being preset; step S402, determining a sentence in the text content that matches any language tag in the plurality of language tags as the continuation sentence.

[0116] The multiple language tags may be obtained through big data analysis and collection, or may be set by a user.

[0117] The multiple language tags include, for example, "let's talk about this next", "next", "let's say this next", "here comes the key point", etc.

[0118] The multiple language tags are common sentences that are connected between different content paragraphs (video paragraphs). Therefore, by matching the multiple language tags with the text content, the connecting sentences can be found effectively and accurately.

[0119] However, due to the flexibility and massive combinations of human language, the number of the above-mentioned language tags is at least tens of thousands. For a media file (video) of several tens of minutes, it is necessary to match tens of thousands of language tags with the text content of the media file separately, which requires a large amount of calculation, that is, it will consume a lot of performance of the server 2. Furthermore, if it is necessary to perform such matching on tens of thousands of such media files, the server 2 may be difficult to bear and even crash. In view of this, the embodiment of the present application provides the following optional embodiments.

[0120] As an optional embodiment, each language tag includes multiple characters, such as the language tag "next" includes the characters "next", "next", and "come".

[0121] like Figure 5 As shown, step S400 "matching the multiple language tags with the text content respectively" may include: step S500, matching the text content with each node of a tree structure, the tree structure including the paths of the multiple language tags, each node in the path corresponds to each character in the language tag in sequence. Each language tag corresponds to a path to form a tree structure. Based on traversing and matching each node of the tree structure, a matching result can be obtained quickly and with low consumption.

[0122] like Figure 6As shown, the step S500 may include: step S600, sequentially matching each character in the text content according to the character order of each character. When performing the matching of the m-th character: step S600A, determining whether the (m - 1)-th character in the text content matches a node in the tree structure; step S600B, if the (m - 1)-th character matches a node in the tree structure that is not a leaf node, then matching the m-th character with each child node under the node matched by the (m - 1)-th character to obtain a node matched by the m-th character; if a node matched by the m-th character is obtained and it is a leaf node, determining the target language label corresponding to the path where the node matched by the m-th character is located; step S600C, if the (m - 1)-th character does not match a node in the tree structure or matches a leaf node in the tree structure, then matching the m-th character with the first nodes in each path; where the first nodes in each path correspond to the first characters of each language label, and the nodes with the same first character are shared. m is an integer greater than or equal to 2.

[0123] For ease of understanding, the following provides an application example in conjunction with Figure 7 Provide an application example.

[0124] Figure 7 A tree structure is provided. In this tree structure, there are 5 paths under the root node, specifically:

[0125] Knowledge → Key points → Come;

[0126] Knowledge → Come;

[0127] Knowledge → Emphasis;

[0128] Plan → Emphasis;

[0129] Start → Started;

[0130] Each of the above characters corresponds to a node in the tree structure, and the two nodes of "Knowledge" and "Points" are shared by three paths.

[0131] The text content includes the following excerpt: “… Classmates, now the key points are coming …”.

[0132] ① If at this time, the m-th character is "Now" in the above excerpt.

[0133] Correspondingly, the (m - 1)-th character is "Classmates" (excluding punctuation marks), and it has no matching node. Then, the m-th character "Now" is respectively matched with each child node ("Knowledge", "Plan", "Start") under the root node, and the result is a failed match.

[0134] m is incremented by 1, and then enters process ②.

[0135] ② At this time, the m-th character is "zài" in the above excerpt.

[0136] Correspondingly, the (m - 1)-th character is "xiàn", and since it has no matching node, the m-th character "zài" is respectively matched with each sub-node ("zhī", "huà", "kāi") under the root node, and the result is a failed match.

[0137] m is incremented by 1, and then it enters process ③.

[0138] ③ At this time, the m-th character is "zhī" in the above excerpt.

[0139] Correspondingly, the (m - 1)-th character is "zài", and since it has no matching node, the m-th character "zhī" is respectively matched with each sub-node ("zhī", "huà", "kāi") under the root node, and it successfully matches the node "zhī".

[0140] m is incremented by 1, and then it enters process ④.

[0141] ④ At this time, the m-th character is "shí" in the above excerpt.

[0142] Correspondingly, the (m - 1)-th character is "zhī", and since it has a matching node "zhī", the m-th character "shí" is respectively matched with each sub-node ("shí") under the node ("zhī"), and it successfully matches the node "shí".

[0143] m is incremented by 1, and then it enters process ⑤.

[0144] ⑤ At this time, the m-th character is "diǎn" in the above excerpt.

[0145] Correspondingly, the (m - 1)-th character is "shí", and since it has a matching node "shí", the m-th character "diǎn" is respectively matched with each sub-node ("diǎn", "lái", "zhòng") under the node ("shí"), and it successfully matches the node "diǎn".

[0146] m is incremented by 1, and then it enters process ⑥.

[0147] ⑥ At this time, the m-th character is "lái" in the above excerpt.

[0148] Correspondingly, the (m - 1)-th character is "diǎn", and since it has a matching node "diǎn", the m-th character "lái" is respectively matched with each sub-node ("lái") under the node ("diǎn"), and it successfully matches the node "lái".

[0149] Since the node "lái" is a leaf node, this round of matching ends. In this round of matching, the excerpt in the text content, "... Classmates, now the knowledge point is coming...", successfully matches the language tag "knowledge point coming".

[0150] Increment m by 1, and then enter process ⑦.

[0151] ⑦ At this time, the m-th character is "le" in the above excerpt.

[0152] Correspondingly, the (m - 1)-th character is "lái", which has a matching node "lái" and this node "lái" belongs to the leaf nodes in the said tree structure (a leaf node refers to a node without child nodes). Then, match the m-th character "le" with each child node ("zhī", "huà", "kāi") under the root node respectively, and obtain the matching results.

[0153] Increment m by 1, and then enter process ⑧.

[0154] The above uses processes ① to ⑦ to give an exemplary description of the matching process described in this embodiment, which will not be elaborated here. It can be understood that by starting the search from the root node of the tree structure for the text content and gradually narrowing the search (matching) range in each round of search, the computational amount in the matching operation can be greatly reduced, and the matching time can be saved.

[0155] It should be noted that the first character of the text content is directly matched with each child node under the root node. In addition, each character used for matching in the text content can be Chinese characters, words, etc., but does not include punctuation marks.

[0156] As an optional embodiment, as Figure 8 shown, the method further includes the configuration operation of the tree structure, which specifically includes the following steps:

[0157] Step S800, split each language tag into characters;

[0158] Step S802, configure the root node of the tree structure;

[0159] Step S804, configure the first character of each language tag as each child node of the root node respectively, and the nodes with the same first character are shared;

[0160] Step S806: Configure the i-th path in the tree structure according to the character order in the i-th language label. Among them, the i-th path includes each node between the i-th child node of the root node and the i-th leaf node under the i-th child node. The i-th child node of the root node corresponds to the first character of the i-th language label, and the i-th leaf node under the i-th child node of the root node corresponds to the last character of the i-th language label. The adjacent previous character and the next character in the i-th language label correspond to the parent and child nodes in the tree structure respectively. The i-th language label is any one of the multiple language labels.

[0161] Among them, if the first multiple characters of the i-th language label correspond one-to-one and are the same as the first multiple characters of other language labels, then the multiple nodes corresponding to the first multiple characters of the i-th language label and the multiple nodes corresponding to the first multiple characters of the other language labels are configured as shared nodes in the tree structure in a one-to-one correspondence.

[0162] Continue to refer to Figure 7 , this embodiment provides the following 5 language labels:

[0163] Language label 1: "Knowledge point comes";

[0164] Language label 2: "Knowledge comes";

[0165] Language label 3: "Knowledge key points";

[0166] Language label 4: "Highlight the key points";

[0167] Language label 5: "Started".

[0168] Perform the following splitting on each language label:

[0169] Language label 1 is split into: "Knowledge", "Point", "Comes";

[0170] Language label 2 is split into: "Knowledge", "Comes";

[0171] Language label 3 is split into: "Knowledge", "Key", "Points";

[0172] Language label 4 is split into: "Highlight", "Key", "Points";

[0173] Language label 5 is split into: "Start", "Begin", "Over".

[0174] Take the first character of each language label as the child node of the root node, namely "Knowledge", "Highlight", "Start".

[0175] Set a path starting from the node "knowledge" for language tag 1, and the subsequent nodes of this path are "awareness", "point", and "come" in sequence.

[0176] Set a path starting from the node "knowledge" for language tag 2, and the subsequent nodes of this path are "awareness" and "come" in sequence.

[0177] Set a path starting from the node "knowledge" for language tag 3, and the subsequent nodes of this path are "awareness", "emphasis", and "point" in sequence.

[0178] Set a path starting from the node "plan" for language tag 4, and the subsequent nodes of this path are "emphasis" and "point" in sequence.

[0179] Set a path starting from the node "open" for language tag 5, and the subsequent nodes of this path are "begin" and "already" in sequence.

[0180] Continue to refer to Figure 7 , the first two characters ("knowledge" "awareness") of language tags 1, 2, and 3 are the same, so the nodes and paths are shared.

[0181] Based on the tree structure configured in the above optional embodiments, the matching with the text content can be efficiently achieved.

[0182] As an optional embodiment, as Fig. 9 shown, step S204 "set a directory index for each of the multiple jump nodes" may include: step S900, obtaining the key content associated with each of the承接语句; step S902, setting the directory name of the jump node corresponding to each of the承接语句 according to the key content associated with each of the承接语句. In this optional embodiment, by using the key content as the directory name, the user can understand the theme or main content of the corresponding content paragraph when seeing the directory name, improving the user experience.

[0183] As an optional embodiment, to accurately extract the key content, as Fig.10 It should be noted that there is an unclear term "承接语句" in the original text which may need to be further clarified for a more accurate translation.As shown in the figure, step S900 can be implemented through the following steps: step S1000, extract multiple nouns in the text; step S1002, determine one or more nouns with the highest occurrence frequency according to the occurrence frequency of each of the multiple nouns; step S1004, determine the media type of the target media according to the one or more nouns; step S1006, determine the target noun library associated with the target media according to the media type; step S1008, match each noun in the target noun library with each noun in the whole sentence where the承接语句 is located respectively; step S1010, obtain the key content associated with the承接语句 according to the matching result; where the key content includes the nouns that exist both in the whole sentence where the承接语句 is located and in the target noun library.

[0184] Take another educational video (next video B) as an example.

[0185] The structure of video B is: an opening video paragraph, a video paragraph for explaining the knowledge point of "mean inequality". During the video paragraph for explaining the knowledge point of "mean inequality", the following content was said: "... Okay, students, here comes the knowledge point. Now let's talk about the mean inequality... In this mean inequality...".

[0186] ①, obtain the承接语句 in video B that matches the language label "knowledge point comes".

[0187] ②, extract multiple nouns from the text content of video B, such as "mean inequality", "Pythagorean theorem", "vector".

[0188] ③, if the nouns "mean inequality", "Pythagorean theorem", "vector" have the highest occurrence frequency respectively, then determine the media type of video B according to the nouns "mean inequality", "Pythagorean theorem", "vector", that is, an educational video.

[0189] ④, determine the mathematical noun library for educational videos according to the educational video.

[0190] This mathematical noun library includes a large number of educational nouns.

[0191] ⑤, match each noun in the mathematical noun library with each noun in the whole sentence where the above承接语句 is located respectively.

[0192] If there is no matching noun in the whole sentence where the above承接语句 is located, then it can be matched in the next sentence of this whole sentence.

[0193] In this example, the noun "mean inequality" was successfully matched, so the noun "mean inequality" is used as the key content.

[0194] Finally, the name "mean inequality" is used as the directory name, and the time information of the above continuation statement is associated.

[0195] Embodiment 2

[0196] Fig.11 The flowchart of the video presentation method according to the second embodiment of the present application is schematically shown. This method embodiment can be executed in a user device. In the following, the user device 4 is used as the single execution subject of this process.

[0197] like Fig.11 As shown, the video presentation method may include steps S1100 to S1104, wherein:

[0198] Step S1100, while presenting the video, present at least one of the multiple directory names; wherein each directory name corresponds to a time information of the video and is used to represent the content of the video at the corresponding time information.

[0199] Step S1102: Detecting the selection of any one of the multiple directory names.

[0200] Step S1104, in response to the selection of any one of the multiple directory names, jumping the playback progress of the video to the target time information; wherein the target time information corresponds to the selected directory name.

[0201] Continuing to take the above video A as an example, when the user device 4 presents the video A, the user can know the themes or main contents of different video segments in the video A through the directory names. Furthermore, if the user wants to directly watch the explanation content of "Pythagorean Theorem", the following exemplary operations can be performed based on the corresponding directory names:

[0202] (1) Drag the progress bar to 12 minutes: 0 seconds: 44 milliseconds or thereabouts.

[0203] (2) Click the corresponding directory name, and the user device 4 automatically jumps to 12 minutes: 0 seconds: 44 milliseconds.

[0204] It should be noted that, in order to further improve the user experience, when the progress bar is dragged to within a few seconds (such as 3 seconds) around 12 minutes: 0 seconds: 44 milliseconds, the drag point of the progress bar can be automatically magnetized to 12 minutes: 0 seconds: 44 milliseconds.

[0205] Based on the above content, the video presentation method provided in the embodiment of the present application can allow users to easily and accurately locate and jump to the starting point of the corresponding video segment based on the directory name and its associated time information, thereby optimizing the user experience.

[0206] As an optional embodiment, the multiple directory names are presented in a display window in a list form.

[0207] like Fig.12 As shown, the following three directory names are listed: mean inequality, Pythagorean theorem, and vector.

[0208] When users want to directly start watching the video segment explaining the knowledge points of the "Pythagorean Theorem", they can click on the area where the "Pythagorean Theorem" is located.

[0209] If a user click event on the area where the "Pythagorean Theorem" is located is detected, the user device 4 will automatically jump the progress bar to the start time point of the playback of the video segment explaining the knowledge point of the "Pythagorean Theorem" in the video A.

[0210] It should be noted that Fig.12 The list content in can be presented normally or after being triggered by the user.

[0211] As an optional embodiment, the multiple directory names are marked on a progress bar of the video;

[0212] The time information of each directory name corresponds to the marked position of each directory name on the progress bar.

[0213] For example, the user device 4 reads the video directory file provided by the server 2 and generates an intelligent progress bar. Specifically, the user device 4 reads the video directory file while playing the video, and marks the directory names in the video directory file on the progress bar according to their associated time information, so as to facilitate user viewing and jumping.

[0214] The progress bar can be displayed in a variety of forms, for example:

[0215] The progress bar may display the names of various directories under normal circumstances.

[0216] On the progress bar, when the mouse hovers over the progress bar, the names of the various directories are displayed.

[0217] The mark on the progress bar may be a red dot or the like, and when the mouse hovers over the red dot, the corresponding directory name is displayed.

[0218] Embodiment 3

[0219] Fig.13The block diagram of the system for generating a media directory file according to the third embodiment of the present application is schematically shown. The system for generating a media directory file can be divided into one or more program modules, and one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0220] like Fig.13 As shown, the system 1300 for generating the media catalog file may include:

[0221] An acquisition module 1310 is used to acquire text content of a target media, wherein the text content corresponds to audio content in the target media;

[0222] A determination module 1320, configured to determine a plurality of jump nodes of the target media according to the text content;

[0223] A generating module 1330, configured to set a directory index for each of the plurality of jump nodes to generate a media directory file of the target media;

[0224] The directory index includes the directory name of the jump node and the time information of the jump node in the target media.

[0225] As an optional embodiment, the determining module 1320 is further configured to:

[0226] Determining a continuation sentence in the text content, wherein the continuation sentence is used to separate different content paragraphs;

[0227] The plurality of jump nodes are determined according to time information of each of the continuation statements in the target media.

[0228] As an optional embodiment, the determining module 1320 is further configured to:

[0229] Matching a plurality of language tags with the text content respectively, the plurality of language tags being preset;

[0230] A sentence in the text content that matches any language tag among the multiple language tags is determined as the continuation sentence.

[0231] As an optional embodiment, each language tag includes a plurality of characters;

[0232] The determining module 1320 is further configured to:

[0233] The text content is matched with each node of a tree structure, wherein the tree structure includes paths of the multiple language tags, and each node in the path corresponds to each character in the language tag in sequence.

[0234] As an optional embodiment, the determining module 1320 is further configured to:

[0235] According to the character sequence of each character in the text content, each character is matched in sequence. When performing the match of the mth character:

[0236] Determine whether the m-1th character in the text content matches a node in the tree structure;

[0237] If the m-1th character matches a node that is not a leaf node in the tree structure, the m-th character is matched with each child node under the node that matches the m-1th character to obtain a node that matches the m-th character; if a node that matches the m-th character is obtained and is a leaf node, a target language label corresponding to a path where the node that matches the m-th character is located is determined;

[0238] If the m-1th character does not match a node in the tree structure or matches a leaf node in the tree structure, the mth character is matched with the first node in each path; wherein the first node in each path corresponds to the first character of each language tag, and nodes with the same first character are shared.

[0239] As an optional embodiment, a configuration module is further included, which is used to:

[0240] Split each language tag into characters;

[0241] Configuring a root node of the tree structure;

[0242] The first characters of the language tags are respectively configured as child nodes of the root node, and the nodes with the same first characters are shared;

[0243] According to the character sequence in the ith language tag, the ith path in the tree structure is configured; wherein the ith path includes each node between the ith child node of the root node and the ith leaf node under the ith child node; the ith child node of the root node corresponds to the first character of the ith language tag, the ith leaf node under the ith child node of the root node corresponds to the last character of the ith language tag, and the adjacent previous character and next character in the ith language tag correspond to the parent node and the child node in the tree structure; the ith language tag is any one of the multiple language tags;

[0244] Among them, if the first multiple characters of the i-th language tag and the first multiple characters of other language tags correspond one-to-one and are the same, then the multiple nodes corresponding to the first multiple characters of the i-th language tag and the multiple nodes corresponding to the first multiple characters of the other language tags are configured as common nodes in the tree structure in a one-to-one correspondence.

[0245] As an optional embodiment, the generating module 1330 is further configured to:

[0246] Obtaining key content associated with each of the follow-up statements;

[0247] According to the key content associated with each of the continuation statements, the directory name of the jump node corresponding to each of the continuation statements is set.

[0248] As an optional embodiment, the generating module 1330 is further configured to:

[0249] Extracting multiple nouns from the text;

[0250] Determining one or more nouns with the highest frequency of occurrence according to the respective frequencies of occurrence of the plurality of nouns;

[0251] Determining a media type of the target media according to the one or more nouns;

[0252] Determining a target noun library associated with the target media according to the media type;

[0253] Matching each noun in the target noun library with each noun in the whole sentence where the follow-up sentence is located;

[0254] Acquire key content associated with the continuation statement according to the matching result;

[0255] The key content includes nouns that exist in the entire sentence where the follow-up sentence is located and in the target noun library.

[0256] Embodiment 4

[0257] Fig.14 A block diagram of a video presentation system according to Embodiment 4 of the present application is schematically shown, and the video presentation system can be divided into one or more program modules, and one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can perform specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0258] like Fig.14 As shown, the video presentation system 1400 may include:

[0259] A presentation module, used to present at least one of a plurality of directory names while presenting the video; wherein each directory name corresponds to a time information of the video and is used to represent the content of the video at the corresponding time information;

[0260] A detection module, used for detecting a selection of any one of the multiple directory names;

[0261] A response module is used to jump the playback progress of the video to target time information in response to the selection of any one of the multiple directory names; wherein the target time information corresponds to the selected directory name.

[0262] As an optional embodiment, the multiple directory names are presented in a display window in a list form.

[0263] As an optional embodiment, the multiple directory names are marked on a progress bar of the video;

[0264] The time information of each directory name corresponds to the marked position of each directory name on the progress bar.

[0265] Embodiment 5

[0266] Fig.15 The schematic diagram of the hardware architecture of the computer device according to the fifth embodiment of the present application is shown. The computer device 10000 can be used as the server 2 or its component, or as the user device 4 or its component. In this embodiment, the computer device 10000 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. For example, it can be a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers), or a smart phone, tablet computer, laptop computer, or other electronic device with audio and video processing capabilities. Fig.15 As shown, the computer device 10000 includes at least but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other through a system bus. Among them:

[0267] The memory 10010 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 10010 can be an internal storage module of the computer device 10000, such as a hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 can also be an external storage device of the computer device 10000, such as a plug-in hard disk equipped on the computer device 10000, a smart storage card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the memory 10010 can also include both the internal storage module of the computer device 10000 and its external storage device. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed in the computer device 10000, such as program codes of the method for generating / displaying a media directory file, etc. In addition, the memory 10010 can also be used to temporarily store various data that have been output or are to be output.

[0268] In some embodiments, the processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.

[0269] The network interface 10030 may include a wireless network interface or a wired network interface, and the network interface 10030 is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0270] It should be pointed out that Fig.15 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may be implemented instead.

[0271] In this embodiment, the method for generating / displaying the media directory file stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (processor 10020 in this embodiment) to complete the present application.

[0272] Embodiment 6

[0273] This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating a media directory file or the steps of the video presentation method in the embodiment are implemented.

[0274] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart storage card (SmartMedia Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card (FlashCard), etc. Of course, the computer-readable storage medium can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed on the computer device, such as the program code of the method for generating the media directory file or the video presentation method in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or are to be output.

[0275] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0276] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for generating a media directory file, used in a server, characterized in that: include: Acquire text content of target media, wherein the text content corresponds to audio content in the target media; Determining multiple jump nodes of the target media according to the text content; and Setting a directory index for each of the plurality of jump nodes to generate a media directory file of the target media; The directory index includes the directory name of the jump node and the time information of the jump node in the target media; Wherein, determining the multiple jump nodes of the target media according to the text content includes: determining a continuation sentence in the text content, the continuation sentence is used to separate different content paragraphs; determining the multiple jump nodes according to the time information of each of the continuation sentences in the target media; The step of determining the continuation sentence in the text content includes: Matching a plurality of language tags with the text content respectively, the plurality of language tags being preset; Determine a sentence in the text content that matches any language tag among the multiple language tags as the continuation sentence; Wherein, each language tag includes a plurality of characters; The matching of the multiple language tags with the text content respectively includes: Matching the text content with each node of a tree structure, wherein the tree structure includes paths of the multiple language tags, and each node in the path corresponds to each character in the language tag in sequence; The step of setting a directory index for each of the plurality of jump nodes includes: Obtaining key content associated with each of the follow-up statements; According to the key content associated with each of the continuation statements, the directory name of the jump node corresponding to each of the continuation statements is set.

2. The method for generating a media directory file according to claim 1, characterized in that: The matching of the text content with each node of the tree structure includes: According to the character sequence of each character in the text content, each character is matched in sequence. When performing the match of the mth character: Determine whether the m-1th character in the text content matches a node in the tree structure; If the m-1th character matches a node that is not a leaf node in the tree structure, the m-th character is matched with each child node under the node that matches the m-1th character to obtain a node that matches the m-th character; if a node that matches the m-th character is obtained and is a leaf node, a target language label corresponding to a path where the node that matches the m-th character is located is determined; If the m-1th character does not match a node in the tree structure or matches a leaf node in the tree structure, the mth character is matched with the first node in each path; wherein the first node in each path corresponds to the first character of each language tag, and nodes with the same first character are shared.

3. The method for generating a media directory file according to claim 1, characterized in that: It also includes configuration operations for the tree structure: Split each language tag into characters; Configuring a root node of the tree structure; The first characters of the language tags are respectively configured as child nodes of the root node, and the nodes with the same first characters are shared; According to the character sequence in the ith language tag, the ith path in the tree structure is configured; wherein the ith path includes each node between the ith child node of the root node and the ith leaf node under the ith child node; the ith child node of the root node corresponds to the first character of the ith language tag, the ith leaf node under the ith child node of the root node corresponds to the last character of the ith language tag, and the adjacent previous character and next character in the ith language tag correspond to the parent node and the child node in the tree structure; the ith language tag is any one of the multiple language tags; Among them, if the first multiple characters of the i-th language tag and the first multiple characters of other language tags correspond one-to-one and are the same, then the multiple nodes corresponding to the first multiple characters of the i-th language tag and the multiple nodes corresponding to the first multiple characters of the other language tags are configured as common nodes in the tree structure in a one-to-one correspondence.

4. The method for generating a media directory file according to claim 3, characterized in that: The obtaining of key contents associated with each of the follow-up statements includes: Extracting multiple nouns from the text; Determining one or more nouns with the highest frequency of occurrence according to the respective frequencies of occurrence of the plurality of nouns; Determining a media type of the target media according to the one or more nouns; Determining a target noun library associated with the target media according to the media type; Matching each noun in the target noun library with each noun in the whole sentence where the follow-up sentence is located; Acquire key content associated with the continuation statement according to the matching result; The key content includes nouns that exist in the entire sentence where the follow-up sentence is located and in the target noun library.

5. A system for generating a media directory file, used in a server, characterized in that: include: An acquisition module, used for acquiring text content of a target media, wherein the text content corresponds to audio content in the target media; A determination module, used for determining a plurality of jump nodes of the target media according to the text content; A generating module, used for setting a directory index for each of the plurality of jump nodes to generate a media directory file of the target media; The directory index includes the directory name of the jump node and the time information of the jump node in the target media; Wherein, determining the multiple jump nodes of the target media according to the text content includes: determining a continuation sentence in the text content, the continuation sentence is used to separate different content paragraphs; determining the multiple jump nodes according to the time information of each of the continuation sentences in the target media; The step of determining the continuation sentence in the text content includes: Matching a plurality of language tags with the text content respectively, the plurality of language tags being preset; Determine a sentence in the text content that matches any language tag among the multiple language tags as the continuation sentence; Wherein, each language tag includes a plurality of characters; The matching of the multiple language tags with the text content respectively includes: Matching the text content with each node of a tree structure, wherein the tree structure includes paths of the multiple language tags, and each node in the path corresponds to each character in the language tag in sequence; The step of setting a directory index for each of the plurality of jump nodes includes: Obtaining key content associated with each of the follow-up statements; According to the key content associated with each of the continuation statements, the directory name of the jump node corresponding to each of the continuation statements is set.

6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it is used to implement: The steps of the method for generating a media directory file as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program, which can be executed by at least one processor to enable the at least one processor to perform: The steps of the method for generating a media directory file as described in any one of claims 1 to 4.

8. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented.