Multimedia file downloading method and device and storage medium

By detecting and merging m3u8 format multimedia files, the problem of users' distrust of the download method of audio and video providers is solved, and a unified download method is realized, which improves user experience and compatibility.

CN118945153APending Publication Date: 2024-11-12SHENZHEN MAIFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411065289.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The user's trust problems caused by inconsistent download methods defined by the audio and video providers lead to complex and inconvenient download process.

Method used

By detecting the file format of the download link, if it is m3u8 format, obtain segmented links and merge segmented videos, providing a unified and flexible download method to avoid being restricted by the complex download methods of the video provider.

Benefits of technology

It improves user convenience and trust, and expands the compatibility and downloadable content for popular audio and video platform resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945153A_ABST
    Figure CN118945153A_ABST
Patent Text Reader

Abstract

The invention relates to the field of data processing, and discloses a multimedia file downloading method and device and a storage medium. The method comprises the following steps: when a downloading link is obtained, detecting a file format of a resource file according to the downloading link; if the file format is an m3u8 format, downloading a resource file, and obtaining a plurality of segmented links according to the resource file; and executing a downloading operation according to the plurality of segment links to obtain a plurality of segment videos, and merging the plurality of segment videos to obtain a target file. In the embodiment of the invention, the resource file format corresponding to the downloading link is detected, and the multimedia file in the m3u8 format is processed, so that a uniform and flexible downloading mode is realized, the downloading mode is not limited by complex downloading modes defined by video providers, and the use convenience and credibility of a user are improved. The method focuses on widely used file formats, so that the method can cover and be compatible with a large number of resources on hot audio and video platforms, and the range of downloadable contents of users is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a method, device and storage medium for downloading multimedia files. Background Art

[0002] Many popular audio and video platforms have a lot of resources and content that viewers are interested in and want to download.

[0003] Since the downloading methods are not uniform and are defined and provided by the audio and video providers, and users often think that the types of audio and video providers are all kinds of strange, many problems arise, which cause users to distrust the downloading methods provided by the audio and video providers. A new technical solution is needed to solve the above technical problems. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem that the downloading method is defined and provided by the video provider, but users often think that the types of video providers are strange, so many problems are derived, which cause users to distrust the downloading method provided by the video provider.

[0005] A first aspect of the present invention provides a method for downloading a multimedia file, the method comprising:

[0006] When the download link is obtained, the file format of the resource file is detected according to the download link;

[0007] If the file format is m3u8 format, download the resource file, and obtain multiple segment links according to the resource file;

[0008] A download operation is performed according to the plurality of segmented links to obtain a plurality of segmented videos, and the plurality of segmented videos are merged to obtain a target file.

[0009] Optionally, in a first implementation of the first aspect of the present invention, when obtaining the download link, before the step of detecting the file format of the resource file according to the download link, the method further includes:

[0010] When a sharing link of an audio or video platform is detected, the link address information is extracted;

[0011] The preset crawler tool is called to obtain the download link according to the link address information.

[0012] Optionally, in a second implementation of the first aspect of the present invention, the step of calling a preset crawler tool to obtain the download link according to the link address information includes:

[0013] Obtaining the parsing strategy corresponding to the audio and video platform;

[0014] The crawler tool is called to parse the link address information according to the parsing strategy to obtain the download link.

[0015] Optionally, in a third implementation of the first aspect of the present invention, after the step of detecting the file format of the resource file according to the download link when obtaining the download link, the method further includes:

[0016] If the file format indicates that the resource file includes an audio file and a silent video file, download the audio file and the silent video file;

[0017] A merging operation is performed on the audio file and the silent video file to obtain a target file.

[0018] Optionally, in a fourth implementation manner of the first aspect of the present invention, the step of performing a merging operation on the audio file and the silent video file to obtain a target file includes:

[0019] Performing synchronization verification on the audio file and the silent video file to obtain a verification result;

[0020] If the verification result indicates that the audio file and the silent video file are corresponding, a merge operation is performed on the audio file and the silent video file to obtain a target file.

[0021] Optionally, in a fifth implementation of the first aspect of the present invention, the step of performing synchronization verification on the audio file and the silent video file to obtain a verification result includes:

[0022] Detecting a first duration of the audio file, and detecting a second duration of the silent video file;

[0023] Determine a time difference between the first duration and the second duration;

[0024] If the time difference is 0, the audio file and the silent video file are matched as the verification result.

[0025] Optionally, in a sixth implementation manner of the first aspect of the present invention, after the step of determining the time difference between the first duration and the second duration, the method further includes:

[0026] If the time difference is greater than a preset threshold and the first duration is less than the second duration, the audio file and the silent video file are matched as the verification result.

[0027] Optionally, in a seventh implementation manner of the first aspect of the present invention, after the step of detecting the file format of the resource file according to the download link when obtaining the download link, the method further includes:

[0028] If the file format is an audio format or a video format, the resource file is downloaded and used as the target file.

[0029] A second aspect of the present invention provides a multimedia file downloading device, comprising: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the multimedia file downloading device executes the above-mentioned multimedia file downloading method.

[0030] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for downloading multimedia files.

[0031] In an embodiment of the present invention, when a download link is obtained, the file format of the resource file is detected according to the download link; if the file format is in m3u8 format, the resource file is downloaded, and multiple segment links are obtained according to the resource file; a download operation is performed according to multiple segment links to obtain multiple segmented videos, and multiple segmented videos are merged to obtain a target file. By detecting the resource file format corresponding to the download link, and processing the multimedia file in m3u8 format in particular, a unified and flexible download method is achieved, which is no longer limited to the complex download methods defined by the video providers, thereby improving the user's convenience and trust. Focusing on widely used file formats, the method can cover and be compatible with resources on a large number of popular audio and video platforms, expanding the scope of user downloadable content. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a first embodiment of a method for downloading multimedia files according to an embodiment of the present invention;

[0033] Figure 2 A schematic diagram of a second embodiment of a method for downloading multimedia files according to an embodiment of the present invention;

[0034] Figure 3 Schematic diagram of a third embodiment of the method for downloading multimedia files in an embodiment of the present invention;

[0035] Figure 4 Schematic diagram of a fourth embodiment of a method for downloading multimedia files according to an embodiment of the present invention;

[0036] Figure 5 The figure is a schematic diagram of an embodiment of a device for downloading multimedia files in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The embodiment of the present invention provides a method, device and storage medium for downloading multimedia files.

[0038] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0039] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0040] The professional terms involved in the method of downloading multimedia files include but are not limited to:

[0041] m3u8 format: A playlist file format based on the HTTP Live Streaming (HLS) protocol, mainly used for segmented transmission of streaming media videos. The m3u8 file itself is a text file that contains the URIs (Uniform Resource Identifiers) of one or more media files, which are usually segments of the video (ts files). At the same time, the m3u8 file can also contain metadata about the video stream, such as encoding information, resolution, etc.

[0042] Segment links: In the HLS protocol, video content is divided into multiple smaller segments (usually called "ts" files), each of which has an independent URL address, which is the so-called "segment link". The client sequentially downloads the video segments pointed to by these segment links and merges them locally to achieve continuous video playback.

[0043] Crawler: A web crawler is an automated script or program that browses the World Wide Web and extracts information. In the multimedia file download method, a web crawler may be used to parse the web page content of the audio and video platform and extract the actual download link or playlist information of the video.

[0044] Parsing strategy: A parsing strategy refers to a set of rules or methods used to parse a specific type of web page or data format. In the scenario of multimedia file download, the parsing strategy may include logic and algorithms for identifying the structure of a web page and extracting key information (such as download links).

[0045] Synchronicity verification: When merging an audio file and a silent video file, synchronization verification is to ensure that the two are aligned on the timeline, that is, the audio and video content occurs at the same time point. This usually involves comparing the duration of the audio file and the video file, and adjusting their start time or playback speed to ensure that they can play synchronously.

[0046] Preset threshold: A preset threshold is a predefined boundary value or range that is used to trigger an action or judgment under certain conditions. In synchronization verification, the preset threshold may be used to determine whether the duration difference between an audio file and a video file is within an acceptable range, so as to decide whether to consider them as corresponding and merge them.

[0047] Target file: The target file refers to the file that the user ultimately wants to obtain after a series of processes (such as downloading, merging, etc.). In the context of multimedia file downloading, the target file may be a merged video file that contains the complete video content that the user wants to watch.

[0048] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for downloading multimedia files in an embodiment of the present invention includes:

[0049] 101. When a download link is obtained, a file format of the resource file is detected according to the download link;

[0050] Specifically, the download link is detected and the file format is identified. For example, the user inputs a sharing link, and then the multimedia file downloading device extracts the download link based on the sharing link.

[0051] You can use HTTP get request to download the response header or partial content of the link.

[0052] Analyze the response content or URL suffix (.m3u8) to identify the format of the resource file. File format (such as m3u8, audio, video, etc.).

[0053] In a specific scenario, a user inputs a sharing link of an audio and video platform through a user interface (such as a web page, an application, etc.) of a multimedia file download device.

[0054] The multimedia file download device parses the sharing link input by the user and directly extracts the download link therefrom (if the sharing link is already a download link, this step is skipped).

[0055] If the shared link is not a direct download link, the download device will call the built-in or preset crawler tool to simulate the browser behavior and send an HTTP request to the audio and video platform based on the URL address information of the shared link to obtain the real download link.

[0056] The downloading device of the multimedia file sends a request to the download link using an HTTP GET request to obtain a response header or a portion of the content.

[0057] The multimedia file downloading device checks the Content-Type header information of the response, if available, to preliminarily determine the resource type.

[0058] At the same time, the multimedia file download device also checks the URL suffix (such as .m3u8, .mp4, .mp3, etc.) as an important basis for file format identification.

[0059] If the response content or the URL suffix clearly indicates the file format (such as .m3u8), the downloading device of the multimedia file will record the format.

[0060] Based on the above analysis, the multimedia file downloading device determines the format of the resource file (such as m3u8, audio, video, etc.) and prepares for subsequent processing.

[0061] 102. If the file format is m3u8 format, download the resource file, and obtain multiple segment links according to the resource file;

[0062] Specifically, download the resource file (m3u8 file). Parse the content of the m3u8 file, extract all segment links (usually URLs of TS video segments), traverse the segment links, and download each segment video one by one.

[0063] Optionally, in a specific scenario, after identifying that the file format is m3u8, the multimedia file downloading device uses an HTTP GET request to download the m3u8 file (resource file) to local storage.

[0064] The multimedia file downloading device reads the m3u8 file content and parses the file according to the format specification of the m3u8 file (such as the EXTINF and URI tags in the list).

[0065] Extract all segment links (URLs of TS video segments) pointing to different parts of the video.

[0066] The multimedia file downloading device traverses the parsed segment link list. For each segment link in the list, the multimedia file downloading device prepares to perform a download operation.

[0067] The multimedia file downloading device initiates an HTTP GET request for each segment link and downloads the corresponding TS video segment to local storage.

[0068] During the download process, the download device of the multimedia file may implement parallel downloading to speed up the downloading speed, or dynamically adjust the download strategy according to the network status.

[0069] 103. Execute a download operation according to the plurality of segment links to obtain a plurality of segment videos, and merge the plurality of segment videos to obtain a target file;

[0070] Use a video merger tool (such as FFmpeg) to merge all segmented videos into one target file.

[0071] Optionally, in a specific scenario, the multimedia file downloading device checks the download status of all segmented videos to ensure that all segments have been successfully downloaded locally.

[0072] The multimedia file downloading device calls or starts a video merging tool (such as FFmpeg) to prepare for the video merging operation.

[0073] The multimedia file download device configures FFmpeg's command line parameters to point to the paths of all segmented videos and specifies the path and format of the output files.

[0074] Execute the FFmpeg command to merge all segmented videos into a complete video file (target file).

[0075] The multimedia file downloading device checks whether the merged target file is complete, including but not limited to checking basic information such as file size and playback duration.

[0076] When the merging is determined to be successful and verified to be correct, the multimedia file downloading device will notify the user that the downloading is complete and provide an access method for the target file (such as a file path, a download link, etc.).

[0077] Optional, see Figure 2 , Figure 2 This is a schematic diagram of a specific embodiment before step 101 of the method for downloading multimedia files in an embodiment of the present invention. Before step 101, the following specific implementation methods are also included:

[0078] 201. When a sharing link of an audio or video platform is detected, extract the link address information;

[0079] 202. Call a preset crawler tool to obtain the download link according to the link address information.

[0080] In steps 201-202, by detecting the sharing link of the audio and video platform and extracting the link address information, the resource file can be located more directly, reducing the download failure caused by incorrect or invalid links. At the same time, the preset crawler tool is called to automatically obtain the download link, which has a high degree of automation and improves the download efficiency. Different audio and video platforms may use different link formats or encryption methods to protect their content. Through the preset crawler tool, the method can cope with the link formats of different platforms, improve the compatibility and adaptability of resources on different audio and video platforms, and enable users to download the required multimedia files more conveniently.

[0081] Optional, see Figure 3 , Figure 3 FIG. 2 is a schematic diagram of a specific embodiment of step 202 of the method for downloading multimedia files in an embodiment of the present invention. Step 202 also includes the following specific implementation methods:

[0082] 2021. Obtaining a parsing strategy corresponding to the audio and video platform;

[0083] 2022. Call the crawler tool, parse the link address information according to the parsing strategy, and obtain the download link.

[0084] In steps 2021-2022, corresponding parsing strategies are configured for different audio and video platforms by requesting authorization to flexibly cope with the differences between various platforms, including different link formats and encryption methods. Customizability makes the download method more robust and able to adapt to platform updates or changes that may occur in the future. The parsing strategy includes preprocessing of link address information and optimization of parsing logic, which can help crawlers locate download links faster, reduce unnecessary network requests and data processing, and thus improve download efficiency.

[0085] Optional, see Figure 4 , Figure 4 This is a schematic diagram of a specific embodiment after step 101 of the method for downloading multimedia files in an embodiment of the present invention. After step 101, the following specific implementation methods are also included:

[0086] 203. Perform synchronization verification on the audio file and the silent video file to obtain a verification result;

[0087] 204. If the verification result indicates that the audio file and the silent video file correspond to each other, perform a merging operation on the audio file and the silent video file to obtain a target file.

[0088] In steps 203-204, by merging the audio and silent video files, it is ensured that the final target file contains both audio and video content, thus avoiding the problem of incomplete files that may be caused by separate downloads.

[0089] Optionally, step 204 also includes the following specific implementations:

[0090] 2041. Perform synchronization verification on the audio file and the silent video file to obtain a verification result;

[0091] 2042. If the verification result indicates that the audio file and the silent video file correspond to each other, perform a merge operation on the audio file and the silent video file to obtain a target file.

[0092] In steps 2041-2042, synchronization verification can ensure that the audio file and the silent video file are time-corresponding. This avoids the problem of audio and video being out of sync during the merging process, thereby improving the accuracy of the target file generated in the end. Synchronization verification can help the system or user discover and process audio and video files that are not suitable for merging in advance. This reduces possible errors and anomalies during the merging process and enhances the reliability of the entire download and merging process.

[0093] Optionally, step 2041 also includes the following specific implementations:

[0094] 20411. Detect a first duration of the audio file, and detect a second duration of the silent video file;

[0095] 20412. Determine a time difference between the first duration and the second duration;

[0096] 20413. If the time difference is 0, the audio file and the silent video file are matched as the verification result.

[0097] In steps 20411-20413, by directly detecting the duration of the audio file and the silent video file and comparing the difference between them, it is possible to accurately determine whether the two are synchronized. The verification method based on duration is more direct and reliable than verification based on other indirect features (such as frame rate, encoding method, etc.). Duration detection is a relatively simple and fast operation that does not require complex decoding or processing of audio and video files. Therefore, using duration as the basis for synchronization verification can significantly improve the efficiency of the verification process and reduce the user's waiting time. Audio files and silent video files from different sources may have different encoding methods, frame rates and other attributes, but their durations are usually comparable and consistent. Therefore, the synchronization verification method based on duration has strong applicability and can be applied to a variety of different file formats and sources.

[0098] Optionally, step 20411 may further include the following specific implementations:

[0099] 20414. If the time difference is greater than a preset threshold and the first duration is less than the second duration, the audio file and the silent video file are matched as the verification result.

[0100] In step 20414, it is considered that in some cases, although there is a certain time difference between the audio file and the silent video file, this difference may not affect the viewing experience of the user. Especially when the duration of the audio file is less than the silent video file, and the time difference is within an acceptable range, the user may be more willing to accept this incompletely synchronized file combination. The introduction of a preset threshold provides a flexible processing method for this situation, enhancing the applicability and flexibility of the method. In the synchronization verification process, due to the influence of various factors (such as network delay, encoding differences, etc.), a certain time difference may sometimes be generated. If these factors are not considered, directly using the time difference of 0 as the only criterion for verification to pass may cause some audio and video file combinations that are actually acceptable to be misjudged as being out of sync. Therefore, this optional embodiment also reduces the possibility of misjudgment and improves the accuracy and reliability of verification.

[0101] Furthermore, when there is a time difference between the audio file and the silent video file, but the difference is within an acceptable range and the user is willing to accept this incomplete synchronization combination, in order to ensure that the merged file is as close to the original content as possible in terms of lip synchronization:

[0102] Try using the Repeat, Loop, or Crossfade features in your audio editing software to stretch the audio to match the length of the video file.

[0103] If the video file is too long and the content allows trimming, you can trim a portion of the end of the video file to match the duration of the audio file. This method is suitable for situations where the video content has redundant or trimmable parts.

[0104] If the time difference between audio and video is constant, one of the audio or video can be shifted in time during the merge process to achieve optimal synchronization.

[0105] If the time difference is not constant, or there is a local asynchrony, an automatic synchronization algorithm based on the audio waveform or video frame content is called for processing.

[0106] When video content related to lip sync is identified, the lip movements in the video are analyzed and matched with the speech in the audio file, and the timeline of the audio or video is automatically adjusted to achieve optimal lip sync.

[0107] Optionally, after step 101, the following specific implementations are also included:

[0108] 205. If the file format is an audio format or a video format, download the resource file and use the resource file as a target file.

[0109] In step 205, for resource files that are already in complete audio or video format, no additional segment downloading, merging, etc. operations are required. Directly obtaining and saving these files from the download link can simplify the processing flow.

[0110] In an embodiment of the present invention, when a download link is obtained, the file format of the resource file is detected according to the download link; if the file format is in m3u8 format, the resource file is downloaded, and multiple segment links are obtained according to the resource file; a download operation is performed according to multiple segment links to obtain multiple segmented videos, and multiple segmented videos are merged to obtain a target file. By detecting the resource file format corresponding to the download link, and processing the multimedia file in m3u8 format in particular, a unified and flexible download method is achieved, which is no longer limited to the complex download methods defined by the video providers, thereby improving the user's convenience and trust. Focusing on widely used file formats, the method can cover and be compatible with resources on a large number of popular audio and video platforms, expanding the scope of user downloadable content.

[0111] Figure 5 1 is a schematic diagram of the structure of a multimedia file downloading device provided by an embodiment of the present invention. The multimedia file downloading device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the multimedia file downloading device 500. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the multimedia file downloading device 500.

[0112] The multimedia file-based downloading device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. It will be appreciated by those skilled in the art that Figure 5 The structure of the multimedia file downloading device shown does not constitute a limitation on the multimedia file downloading device, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0113] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for downloading multimedia files.

[0114] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0115] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0116] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for downloading multimedia files, characterized in that: The method for downloading the multimedia file comprises: When the download link is obtained, the file format of the resource file is detected according to the download link; If the file format is m3u8 format, download the resource file, and obtain multiple segment links according to the resource file; A download operation is performed according to the plurality of segmented links to obtain a plurality of segmented videos, and the plurality of segmented videos are merged to obtain a target file.

2. The method for downloading multimedia files according to claim 1, characterized in that: When obtaining the download link, before the step of detecting the file format of the resource file according to the download link, the method further includes: When a sharing link of an audio or video platform is detected, the link address information is extracted; The preset crawler tool is called to obtain the download link according to the link address information.

3. The method for downloading multimedia files according to claim 2, characterized in that: The step of calling a preset crawler tool to obtain the download link according to the link address information includes: Obtaining the parsing strategy corresponding to the audio and video platform; The crawler tool is called to parse the link address information according to the parsing strategy to obtain the download link.

4. The method for downloading multimedia files according to claim 1, characterized in that: After the step of detecting the file format of the resource file according to the download link when obtaining the download link, the method further includes: If the file format indicates that the resource file includes an audio file and a silent video file, download the audio file and the silent video file; A merging operation is performed on the audio file and the silent video file to obtain a target file.

5. The method for downloading multimedia files according to claim 4, characterized in that: The step of performing a merging operation on the audio file and the silent video file to obtain a target file comprises: Performing synchronization verification on the audio file and the silent video file to obtain a verification result; If the verification result indicates that the audio file and the silent video file are corresponding, a merge operation is performed on the audio file and the silent video file to obtain a target file.

6. The method for downloading multimedia files according to claim 5, characterized in that: The step of performing synchronization verification on the audio file and the silent video file to obtain a verification result comprises: Detecting a first duration of the audio file, and detecting a second duration of the silent video file; Determine a time difference between the first duration and the second duration; If the time difference is 0, the audio file and the silent video file are matched as the verification result.

7. The method for downloading multimedia files according to claim 6, characterized in that: After the step of determining the time difference between the first duration and the second duration, the method further includes: If the time difference is greater than a preset threshold and the first duration is less than the second duration, the audio file and the silent video file are matched as the verification result.

8. The method for downloading multimedia files according to claim 1, characterized in that: After the step of detecting the file format of the resource file according to the download link when obtaining the download link, the method further includes: If the file format is an audio format or a video format, the resource file is downloaded and used as the target file.

9. A multimedia file downloading device, characterized in that: The multimedia file downloading device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory to enable the multimedia file downloading device to execute the multimedia file downloading method according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for downloading multimedia files according to any one of claims 1 to 8 is implemented.