Multimedia loading method and device, electronic equipment and storage medium

By downloading multimedia files in segments and dynamically adjusting download points, the problem of expensive vehicle traffic and network transmission speed limitations is solved, efficient data transmission and user experience improvement are achieved, and traffic waste caused by overall downloading is avoided.

CN118802899APending Publication Date: 2024-10-18CHINA FAW CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410791864.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Traffic charges for in-vehicle devices are expensive, and the traditional overall audio and video download solution has the problem of wasted traffic. Especially when playing multimedia files, users may only use it for a short period of time, causing the overall download to be ineffective.

Method used

Using the multimedia file segmentation download method, the file is pre-segmented through the segmentation module. The download point calculation module calculates the download point of the next file segment and downloads it when it reaches that point. According to the network speed, audio quality, and video quality Based on user habits, the file segment length and download point are dynamically adjusted, and only the file segments actually required are downloaded.

Benefits of technology

It improves data transmission efficiency and user experience, reduces traffic waste, ensures that audio loading is more efficient, users can quickly start playing, adapts to different network environments, and improves user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802899A_ABST
    Figure CN118802899A_ABST
Patent Text Reader

Abstract

The invention discloses a multimedia loading method and device, electronic equipment and a storage medium, and the method comprises the steps: segmenting a played file before the file is played, and obtaining a plurality of multimedia file segments; when one multimedia file segment is played, calculating a file segment downloading point at which the next multimedia file segment needs to be downloaded; and when the file segment downloading point is reached, downloading the next multimedia file segment. According to the multimedia loading method and device, the electronic equipment and the storage medium provided by the invention, the loading scheme is optimized through the intelligent algorithm, resources are loaded in advance according to the vehicle-mounted terminal network state and the user behavior prediction, the waiting time is shortened, and the loading efficiency and the user experience are improved; a segmented downloading strategy is adopted, only the actually needed audio paragraphs are downloaded, and flow waste caused by overall downloading is avoided; the audio loading in the vehicle-mounted system is more efficient, the user can quickly start to play the audio content, the loading waiting time is reduced, and the user satisfaction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of multimedia technology, and in particular to a multimedia loading method, a multimedia loading device, an electronic device and a storage medium. Background Art

[0002] Nowadays, it is very common for people to use car computers to listen to music and watch videos while riding in a vehicle.

[0003] Compared with mobile phones, car data traffic charges are more expensive. And the traditional audio and video overall download solution has a lot of data waste.

[0004] For example, a user sees a piece of music on the Internet and is very interested in it, so he chooses to play it. However, after the music has just been played for a while, the user finds that the prelude of the music is not what he wants, so he switches to another song. In this case, after the user chooses to play, the car system downloads the entire song from the Internet. What the user actually listens to is only the prelude of the downloaded music.

[0005] Chinese invention patent application CN102088696A discloses a method for downloading large files in segments. However, the download target of the patent application is large files of any format, and no special technical solution is designed specifically for multimedia files. Summary of the invention

[0006] The purpose of the present invention is to provide a multimedia loading method, device, electronic device and storage medium, which can solve the problems of expensive vehicle traffic charges and limited network transmission speed, and improve data transmission efficiency and user experience.

[0007] The present invention provides the following scheme:

[0008] According to one aspect of the present invention, a method for loading multimedia is provided, the method comprising:

[0009] Before playing the file, the played file is segmented to obtain multiple multimedia file segments;

[0010] When a multimedia file segment is played, a file segment download point where the next multimedia file segment needs to be downloaded is calculated;

[0011] When the file segment download point is reached, the next multimedia file segment is downloaded.

[0012] Optionally, the file segment download point includes: a file segment download point expressed as a time point, or a file segment download point expressed as a file playback position.

[0013] Optionally, when the file segment download point is reached, the next multimedia file segment is downloaded, including:

[0014] When the currently played multimedia file segment reaches the file segment download point, the next multimedia file segment is downloaded.

[0015] Optionally, when the file segment download point is reached, the next multimedia file segment is downloaded, including:

[0016] When the current time reaches the file segment download point, the next multimedia file segment is downloaded.

[0017] Optionally, the played file is segmented, including:

[0018] Segment the played file according to fixed time length; or

[0019] The played file is segmented according to the dynamically adjusted time length.

[0020] Optionally, also include:

[0021] The length of dynamic adjustment time is adjusted according to network speed, audio quality, video quality, and user habits.

[0022] Optionally, calculating a file segment download point where the next multimedia file segment needs to be downloaded includes:

[0023] Calculate the file segment download point expressed as a time point based on network speed, audio quality, video quality, and user habits.

[0024] Optionally, calculating a file segment download point where the next multimedia file segment needs to be downloaded includes:

[0025] Calculate the file segment download point expressed as the file playback position based on network speed, audio quality, video quality, and user habits.

[0026] Optionally, also include:

[0027] When the user fast-forwards, the video will jump to the playback point selected by the user for playback.

[0028] Optionally, the triggering timing of calculating the file segment download point includes: when the audio multimedia file of this segment is automatically played, or when the user fast-forwards.

[0029] According to two aspects of the present invention, there is provided a multimedia loading device, the multimedia loading device comprising:

[0030] A segmentation module is used to segment the played file before the file is played to obtain multiple multimedia file segments;

[0031] A download point calculation module, used for calculating a file segment download point where a next multimedia file segment needs to be downloaded when a multimedia file segment is played;

[0032] The download module is used to download the next multimedia file segment when the file segment download point is reached.

[0033] According to three aspects of the present invention, there is provided an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0034] The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the multimedia loading method.

[0035] According to four aspects of the present invention, a computer-readable storage medium is provided, comprising: a computer program executable by an electronic device is stored therein, and when the computer program runs on the electronic device, the electronic device executes the steps of the multimedia loading method.

[0036] Through the above scheme, the following beneficial technical effects are obtained:

[0037] Optimize the loading plan through intelligent algorithms, load resources in advance according to the network status of the vehicle and user behavior prediction, reduce waiting time, and improve loading efficiency and user experience;

[0038] Adopt segmented download strategy to download only the audio segments actually needed, thus avoiding the waste of traffic caused by overall download;

[0039] Audio loading in the car system is more efficient, users can quickly start playing audio content, reduce loading waiting time, and improve user satisfaction;

[0040] Dynamically adjust the preloading threshold according to the network environment and actual situation of the vehicle computer to adapt to different network speeds and operator restrictions to ensure continuous audio playback and loading efficiency;

[0041] Intelligent algorithms can learn users’ usage habits and behavior patterns, predict the moments when users may switch, and load related resources in advance to further improve loading efficiency and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention.

[0043] Figure 2 It is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention.

[0044] Figure 3 It is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention.

[0045] Figure 4 It is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention.

[0046] Figure 5 It is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention.

[0047] Figure 6 It is a structural diagram of a multimedia loading device provided by one or more embodiments of the present invention.

[0048] Figure 7 is a structural diagram of an electronic device provided by one or more embodiments of the present invention. DETAILED DESCRIPTION

[0049] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] Figure 1 1 is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention. Figure 1 , the multimedia loading method includes the following steps:

[0051] S11, before playing the file, segment the file to be played to obtain multiple multimedia file segments.

[0052] S12, when a multimedia file segment is played, calculating a file segment download point where the next multimedia file segment needs to be downloaded.

[0053] S13, when the file segment download point is reached, the next multimedia file segment is downloaded.

[0054] Figure 1 The core idea of ​​the technical solution shown is segmented downloading and intelligent dynamic loading.

[0055] First, the multimedia file to be played is no longer downloaded as a whole as in the prior art. Instead, the multimedia file to be downloaded is pre-segmented before downloading. When the user selects to play the multimedia file, the multimedia file segments after the block processing are downloaded.

[0056] The advantage of choosing segmented downloading is that it avoids a lot of unnecessary consumption of download traffic. For example, when a user chooses to play a song on the Internet, at any time point during the playback process, the car computer only downloads a segment of the playback file through the network, rather than the entire song. In this way, if the user pauses, switches, cuts songs, and other operations during the playback process, some file segments that no longer need to be downloaded due to changes in the user's playback strategy can be omitted, thus saving traffic and bandwidth.

[0057] Taking the example described in the background technology section of this application as an example, a user selects a song to play. Just after listening to the prelude, the user finds that he has selected the wrong song, so he pauses the playback of the selected song. Under the overall download strategy, no matter what operation the user performs, the file that the user has selected to play needs to be downloaded completely. After adopting the segmented download strategy, the file segments that need to be downloaded may only be the first few segments of the file, or even only the first segment of the file. Therefore, after adopting the segmented download strategy, when listening to and watching multimedia files, it can greatly save traffic and bandwidth.

[0058] The core idea of ​​intelligent dynamic loading is that during the file segment loading process, key parameters can be dynamically adjusted according to factors such as network environment and user habits.

[0059] Take the example of a change in the network environment. The user chooses to play a video. At the beginning of the video, the user is in a low-speed network with an average network speed of only 1MB / S. During the video playback, the user accesses a high-speed network, and the average network speed becomes 1GB / S. In a low-speed network, the unit for segmenting video files is 10 seconds. Because if the length of the file segment is too long, the video playback will occupy too much network bandwidth, which will affect the use of the network by other applications loaded on the car computer.

[0060] After switching to a high-speed network, there is no need to use a 10-second file segment length. In a high-speed network, a 10-minute file segment length can be used. Even if a 10-minute file segment length is used, the download of the played file will not affect the use of the network by other applications loaded on the car computer.

[0061] The above is just an example of the file segment length parameter. In the intelligent dynamic loading strategy, there are many parameters that can be adjusted according to the network environment and user habits. They can be: file segment download point, cache capacity, cache segment length, etc.

[0062] Figure 21 is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention. Figure 2 , the multimedia loading method includes the following steps:

[0063] S21, before playing the file, segment the file to be played to obtain multiple multimedia file segments.

[0064] S22, when a multimedia file segment is played, calculating a file segment download point where the next multimedia file segment needs to be downloaded.

[0065] S23, when the multimedia file segment currently being played reaches the file segment download point, the next multimedia file segment is downloaded.

[0066] It should be understood that the file segment download point can be expressed in a variety of different ways. First, the file segment download point can be a time point. For example, when it reaches 3:33:33 in the afternoon, the next multimedia file segment is downloaded.

[0067] In addition, the file segment download point can also be a specific playback position in the multimedia file. For example, the total playback time of the video file is 2 hours. When the file is played to 1 hour, 33 minutes and 33 seconds, the next multimedia file segment is downloaded.

[0068] In the technical solution of the present application, a file segment download point represented as a specific time point is called a file segment download point expressed as a time point. A file segment download point represented as a specific file playback position is called a file segment download point expressed as a file playback position.

[0069] Depend on Figure 2 The technical solution shown shows the execution process of the technical solution of segmented download plus intelligent dynamic loading when the file segment download point is a file segment download point expressed as a file playback position. In other words, when to download the next multimedia file segment is based on the playback position of the currently played file segment.

[0070] If the currently played file segment reaches the preset file segment download point, the download of the next file segment is executed; if the currently played file segment has not yet reached the preset file segment download point, the download of the next file segment is not executed.

[0071] Without loss of generality, the file segment download point may also be a file segment download point expressed as a time point. When the file segment download point is expressed as a time point, to determine when the file segment download point is reached, it is necessary to refer to whether the current time has reached the file segment download point expressed as a time point.

[0072] Figure 31 is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention. Figure 3 , the multimedia loading method includes the following steps:

[0073] S31, before playing the file, segmenting the played file according to the dynamically adjusted time length to obtain a plurality of multimedia file segments.

[0074] S32, when a multimedia file segment is played, calculating a file segment download point where the next multimedia file segment needs to be downloaded.

[0075] S33, when the file segment download point is reached, the next multimedia file segment is downloaded.

[0076] It should be understood that in the technical solution provided in the present application, many different strategies may be adopted in the operation of segmenting the played file.

[0077] The most common strategy is to segment the played file with a fixed time length. For example, the total time length of the played file is 4 minutes and 30 seconds. Then, the played file is segmented with a fixed time length of 1 minute, and finally 5 different file segments are obtained. The playing length of the first 4 file segments is 1 minute. The playing length of the last file segment is 30 seconds.

[0078] The advantage of segmenting with fixed time length is that it is relatively simple and easy to implement. However, the disadvantage is that it cannot be adjusted according to the actual network environment and user habits.

[0079] then, Figure 3 A technical solution that can dynamically and intelligently adjust the segment length is shown. Figure 3 The segmentation time length used when segmenting multimedia files is dynamically adjusted. When the average network transmission speed is high, a longer segmentation time can be used; when the average network transmission speed is low, a shorter segmentation time can be used.

[0080] Furthermore, the time length of the segmented files can be monitored in real time, and then the resulting time length can be filtered, and the filtering result can be used as the segmentation time length used in the actual segmentation.

[0081] This filtering can be low-pass filtering or band-pass filtering.

[0082] Figure 4 is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention. Figure 4 , the multimedia loading method includes the following steps:

[0083] S41, before playing the file, segment the file to be played to obtain a plurality of multimedia file segments.

[0084] S42, when a multimedia file segment is played, the file segment download point expressed as a time point is calculated according to the network speed, audio quality, video quality, and user usage habits.

[0085] S43, when the file segment download point is reached, the next multimedia file segment is downloaded.

[0086] It should be understood that the file segment download point, as a very important parameter in the technical solution, can be dynamically adjusted according to factors such as the network environment and user habits.

[0087] Specifically, if the current network speed is fast, the file segment download point can be adjusted closer to the end of the current file segment playback. If the current network speed is slow, the file segment download point can be adjusted further away from the end of the current file segment playback.

[0088] If the quality of the currently playing audio file is high, the file segment download point can be adjusted further away from the end of the current file segment. If the quality of the currently playing audio file is low, the file segment download point can be adjusted closer to the end of the current file segment.

[0089] If the quality of the video file currently being played is high, the file segment download point can be adjusted further away from the end of the current file segment being played. If the quality of the video file currently being played is low, the file segment download point can be adjusted closer to the end of the current file segment being played.

[0090] Of course, the adjusted file segment download point may be expressed as a time point or as a file playback position.

[0091] The dynamically adjusted parameters include more than just the file segment download point. In a specific embodiment, the user's fast-forward behavior can be monitored, and the possible fast-forward behavior can be predicted, and the next file segment to be downloaded can be indicated based on the prediction result. For example, the user's historical fast-forward actions can be recorded, and the length of the playback period skipped by these fast-forward actions can be counted. Assume that the length of the skipped period is normally distributed. Then, the mathematical expectation of the historical skipping time is calculated, and this mathematical expectation is used as the predicted value of the skipping time length of the next fast-forward action.

[0092] In some specific implementations, the file segment download point may be given by the following formula:

[0093] d n =αd n-1 +β(s n -s n-1)+γ[B-(r n -r n-1 )]

[0094] Among them, d n Indicates the file segment download point at time n, d n-1 Indicates the file segment download point at time n-1, s n Indicates the average network speed at time n, s n-1 represents the average network speed at time n-1, r n Indicates the audio quality or video quality at the nth moment, r n-1 It represents the audio quality or video quality at the n-1th moment. α, β, and γ are weighting coefficients, and B represents the threshold parameter.

[0095] In some other specific implementations, the file segment download point may be given by the following formula:

[0096] d n =αd n-1 +β(s n -s n-1 )+γ[B-(r n -r n-1 )]+δ·(C-pr n )

[0097] Among them, pr n Indicates the audio quality or video quality that the user is accustomed to at the nth moment. n It is obtained by collecting statistics on the audio quality or video quality used by the user in history. n The corresponding weighting coefficient. C represents another threshold parameter.

[0098] Figure 5 1 is a flowchart of a multimedia loading method provided by one or more embodiments of the present invention. Figure 5 , the multimedia loading method includes the following steps:

[0099] S501, segmenting the audio multimedia file according to its duration.

[0100] S502, download the first segment and start playing.

[0101] S503, calculating a threshold for starting to download the next segment.

[0102] S504, determine whether the threshold is reached, if yes, execute S505.

[0103] S505, download the next segment.

[0104] S506, play to the segment just downloaded, and repeat S503.

[0105] S507, playback ends.

[0106] S508: The user fast-forwards.

[0107] S509, determine whether the target section has been downloaded, if yes, execute S504, if not, execute S510.

[0108] S510, download the target paragraph, and after completion, execute S504.

[0109] In by Figure 5 In the illustrated embodiment, the file segment download point is given in the form of a threshold value. That is, after the file segment starts playing, the threshold value is calculated. When the playback reaches the threshold value, the next file segment is then downloaded.

[0110] Moreover, in Figure 5 In the illustrated embodiment, the file segments that are skipped due to the user's fast forward operation do not need to be downloaded. That is, after the user performs the fast forward operation, the file segments between the starting point and the end point of the fast forward operation will not be downloaded, but it is directly determined whether the file segment at the end point has been downloaded. If it has not been downloaded, the file segment at the end point, that is, the target segment, is directly downloaded using the network. If the target segment has been downloaded, the target segment is played.

[0111] like Figure 6 As shown, the present invention also provides a multimedia loading device, comprising:

[0112] The segmentation module 601 is used to segment the played file before the file is played to obtain multiple multimedia file segments.

[0113] The download point calculation module 602 is used to calculate the file segment download point where the next multimedia file segment needs to be downloaded when a multimedia file segment is played.

[0114] The download module 603 is used to download the next multimedia file segment when the file segment download point is reached.

[0115] It is worth noting that although only some basic functional modules are disclosed in the embodiments of the present invention, it does not mean that the composition of the present system is limited to the above basic functional modules. On the contrary, what the present embodiment wants to express is that on the basis of the above basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, the present system is open rather than closed. Just because the present embodiment only discloses individual basic functional modules, it cannot be considered that the protection scope of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions and are described separately in various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or one or more software and / or hardware.

[0116] like Figure 7 As shown, the present invention also provides an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the multimedia loading method.

[0117] Figure 7 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 7 The electronic device provided in the embodiment of the present invention includes: one or more processors 710 and a memory 720; the processor 710 in the electronic device may be one or more, Figure 7 A processor 710 is taken as an example; the memory 720 is used to store one or more programs; the one or more programs are executed by the one or more processors 710, so that the one or more processors 710 implement the multimedia loading method as described in any one of the embodiments of the present invention.

[0118] The electronic device may further include: an input device 730 and an output device 740 .

[0119] The processor 710, memory 720, input device 730 and output device 740 in the electronic device can be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0120] The memory 720 in the electronic device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the multimedia loading method provided in the embodiment of the present invention. The processor 710 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 720, that is, implementing the multimedia loading method in the above method embodiment.

[0121] The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 720 may further include a memory remotely arranged relative to the processor 710, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0122] The input device 730 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 740 may include a display device such as a display screen.

[0123] The present invention also provides a computer-readable storage medium storing a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the multimedia loading method.

[0124] Specifically, the computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, 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 above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0125] The present invention also provides a vehicle, wherein the vehicle is provided with the multimedia loading device as described above.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multimedia loading method, characterized in that: The multimedia loading method comprises: Before playing the file, the played file is segmented to obtain multiple multimedia file segments; When a multimedia file segment is played, a file segment download point where the next multimedia file segment needs to be downloaded is calculated; When the file segment download point is reached, the next multimedia file segment is downloaded.

2. The method according to claim 1, characterized in that The file segment download point includes: the file segment download point expressed as a time point, or the file segment download point expressed as a file playback position.

3. The method according to claim 2, characterized in that When the file segment download point is reached, the next multimedia file segment is downloaded, including: When the currently played multimedia file segment reaches the file segment download point, the next multimedia file segment is downloaded.

4. The method according to claim 2, characterized in that: When the file segment download point is reached, the next multimedia file segment is downloaded, including: When the current time reaches the file segment download point, the next multimedia file segment is downloaded.

5. The method according to claim 1, characterized in that Segment the played file, including: Segment the played file according to fixed time length; or The played file is segmented according to the dynamically adjusted time length.

6. The method according to claim 5, characterized in that Also includes: The length of dynamic adjustment time is adjusted according to network speed, audio quality, video quality, and user habits.

7. The method according to claim 2, characterized in that Calculating the file segment download point where the next multimedia file segment needs to be downloaded includes: Calculate the file segment download point expressed as a time point based on network speed, audio quality, video quality, and user habits.

8. The method according to claim 2, characterized in that: Calculating the file segment download point where the next multimedia file segment needs to be downloaded includes: Calculate the file segment download point expressed as the file playback position based on network speed, audio quality, video quality, and user habits.

9. The method according to claim 1, characterized in that: Also includes: When the user fast-forwards, the video will jump to the playback point selected by the user for playback.

10. The method according to any one of claims 1 to 9, characterized in that: The triggering timing of calculating the file segment download point includes: when the audio multimedia file of this segment is automatically played, or when the user fast-forwards.

11. A multimedia loading device, characterized in that: The multimedia loading device comprises: A segmentation module is used to segment the played file before the file is played to obtain multiple multimedia file segments; A download point calculation module, used for calculating a file segment download point where a next multimedia file segment needs to be downloaded when a multimedia file segment is played; The download module is used to download the next multimedia file segment when the file segment download point is reached.

12. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of any one of the methods described in claims 1 to 10.

13. A computer-readable storage medium, characterized in that: It stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Multimedia loading method and apparatus, electronic device and storage medium

    WO2025261369A1