File downloading method, device, vehicle and storage medium
By determining the network signal status based on the vehicle's driving status and position, targeted multimedia file download strategies are solved, and the playback interruption is caused by the failure to download the multimedia file in the vehicle, improving the user experience.
Patent Information
- Application Number
- CN202210623002.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2042-06-02
AI Technical Summary
When playing multimedia files in the car, the failure to download the multimedia files will cause the playback to be interrupted, affecting the user experience.
By obtaining the driving status and position of the target vehicle, determining the network signal status, and downloading the corresponding strategies of multiple multimedia files in the multimedia file list according to the signal status, including downloading one by one and simultaneously downloading.
Improves flexibility in multimedia file downloads, reduces the possibility of playback interruptions, and improves user experience.
Smart Images

Figure CN115473884B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a file downloading method, device, vehicle and storage medium. Background Art
[0002] With the rapid development of automobile technology and the continuous improvement of people's living standards, cars have become an indispensable means of transportation in people's lives. People use the smart screen in the car to listen to music, watch videos, and listen to the radio online to relieve driving fatigue.
[0003] Currently, users make multimedia file lists according to their personal preferences. During the multimedia file playback process, multiple multimedia files in the multimedia file list are downloaded simultaneously. When the current multimedia file is being played, the current multimedia file has not been downloaded yet, causing playback interruption and affecting user experience. Summary of the invention
[0004] The present application provides a file downloading method, device, vehicle and storage medium to at least solve the problem in the related art that multimedia files are not downloaded completely and the playback is interrupted. The technical solution of the present application is as follows:
[0005] The present application provides a method for downloading a file, including:
[0006] Obtaining the driving status and / or position of the target vehicle;
[0007] Determining a network signal status of the target vehicle according to the driving status and / or position of the target vehicle;
[0008] According to the network signal status of the target vehicle, multiple multimedia files in the multimedia file list are downloaded.
[0009] Optionally, determining the network signal state of the target vehicle according to the driving state and / or position of the target vehicle includes:
[0010] If the driving state of the target vehicle is a driving state, determining that the network signal state of the target vehicle is an unstable signal state;
[0011] If the driving state of the target vehicle is a parking state, it is determined that the network signal state of the target vehicle is a signal stable state.
[0012] Optionally, downloading a plurality of multimedia files in a multimedia file list according to a network signal status of the target vehicle comprises:
[0013] If the network signal state of the target vehicle is the unstable signal state, the multiple multimedia files are downloaded one by one according to the order of the multiple multimedia files in the multimedia file list.
[0014] Optionally, if the multiple multimedia files are multiple video files, downloading the multiple multimedia files one by one according to the order of the multiple multimedia files in the multimedia file list includes:
[0015] Determining the type of any one of the multiple video files according to the duration of the any one of the multiple video files;
[0016] According to the type of any one of the video files, the multiple video files are downloaded one by one in sequence.
[0017] Optionally, determining the type of any one of the multiple video files according to the duration of the any one of the multiple video files includes:
[0018] Determine whether the duration of any one of the video files is greater than a set duration threshold;
[0019] If yes, determining that the type of any one of the video files is a first video type;
[0020] If not, it is determined that the type of any one of the video files is the second video type.
[0021] Optionally, downloading the multiple video files one by one in sequence according to the type of any one of the video files includes:
[0022] For any one of the video files, if the type of the any one of the video files is the first video type, the multiple video segments are downloaded in sequence according to the sequence of the multiple video segments included in the any one of the video files.
[0023] Optionally, downloading a plurality of multimedia files in a multimedia file list according to a network signal status of the target vehicle comprises:
[0024] If the network signal state of the target vehicle is a stable signal state, obtaining the network speed of the target vehicle;
[0025] According to the network speed of the target vehicle, multiple multimedia files in the multimedia file list are downloaded.
[0026] Optionally, downloading multiple multimedia files in the multimedia file list according to the network speed of the target vehicle includes:
[0027] Determine the current network speed status according to the network speed of the target vehicle;
[0028] If the current network speed state is in the first network speed state, after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded among the multiple multimedia files are downloaded simultaneously;
[0029] If the current network speed state is in the second network speed state, after the download of the first multimedia segment of the multimedia file currently being downloaded is completed, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded;
[0030] Among them, the network speed under the first network speed state is greater than the network speed under the second network speed state, the playback time of the first multimedia segment is greater than or equal to the download time of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
[0031] The present application also provides a file downloading device, including:
[0032] An acquisition module, used to acquire the driving status and / or position of the target vehicle;
[0033] A determination module, used to determine the network signal status of the target vehicle according to the driving status and / or position of the target vehicle;
[0034] The download module is used to download multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle.
[0035] Optionally, when the determination module determines the network signal state of the target vehicle according to the driving state and / or position of the target vehicle, if the driving state of the target vehicle is a driving state, it is used to determine that the network signal state of the target vehicle is a signal unstable state; if the driving state of the target vehicle is a parking state, it is used to determine that the network signal state of the target vehicle is a signal stable state.
[0036] Optionally, when the download module downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle, if the network signal status of the target vehicle is the unstable signal state, the download module is used to download the multiple multimedia files one by one in the order of the multiple multimedia files in the multimedia file list.
[0037] Optionally, if the multiple multimedia files are multiple video files, the download module is used to determine the type of any one of the multiple video files according to the length of the any one of the multiple video files when downloading the multiple multimedia files one by one in the order of the multiple multimedia files in the multimedia file list; and download the multiple video files one by one in sequence according to the type of the any one of the video files.
[0038] Optionally, when determining the type of any one video file among the multiple video files based on the duration of the any one video file, the download module is used to determine whether the duration of the any one video file is greater than a set duration threshold; if so, determining that the type of the any one video file is the first video type; if not, determining that the type of the any one video file is the second video type.
[0039] Optionally, the download module downloads the multiple video files one by one in sequence according to the type of any one of the video files, and is used to divide the any one of the video files into multiple video segments if the type of any one of the video files is the first video type; and download the multiple video segments in sequence according to the sequence of the multiple video segments.
[0040] Optionally, the download module downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle. If the network signal status of the target vehicle is a stable signal state, it is used to obtain the network speed of the target vehicle; according to the network speed of the target vehicle, multiple multimedia files in the multimedia file list are downloaded.
[0041] Optionally, when the download module downloads multiple multimedia files in the multimedia file list according to the network speed of the target vehicle, it is used to determine the current network speed status according to the network speed of the target vehicle; if the current network speed status is in the first network speed status, then after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded in the multiple multimedia files are downloaded simultaneously; if the current network speed status is in the second network speed status, after the download of the first multimedia segment of the multimedia file currently being downloaded is completed, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded; wherein, the network speed under the first network speed status is greater than the network speed under the second network speed status, the playback duration of the first multimedia segment is greater than or equal to the download duration of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
[0042] The embodiment of the present application also provides a vehicle, comprising: a vehicle body and a memory and a processor installed in the vehicle body;
[0043] The memory is used to store computer programs;
[0044] The processor is used to execute the computer program to implement each step in the above method.
[0045] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the above method is implemented.
[0046] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0047] In some embodiments of the present application, the target vehicle obtains its own driving status and / or position; for different driving status and different positions, the network signal of the network where the target vehicle is located will be different, so the target vehicle determines the network signal status of the target vehicle according to its own driving status and / or position; for different network signal status, the speed of multiple downloads will be different, and the target vehicle downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle, thereby improving the flexibility of multimedia file downloading, minimizing the possibility of playback terminals, and improving user experience.
[0048] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0050] Figure 1 A flowchart of a file downloading method provided for an exemplary embodiment of the present application;
[0051] Figure 2 A flowchart of another file downloading method provided for an exemplary embodiment of the present application;
[0052] Figure 3 is a device block diagram of a file downloading device provided by an exemplary embodiment of the present application;
[0053] Figure 4 A schematic structural diagram of a vehicle provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0056] With the rapid development of automobile technology and the continuous improvement of people's living standards, cars have become an indispensable means of transportation in people's lives. People use the smart screen in the car to listen to music, watch videos, and listen to the radio online to relieve driving fatigue.
[0057] Currently, users make multimedia file lists according to their personal preferences. During the multimedia file playback process, multiple multimedia files in the multimedia file list are downloaded simultaneously. When the current multimedia file is being played, the current multimedia file has not been downloaded yet, causing playback interruption and affecting user experience.
[0058] In response to the above-mentioned technical problems, in some embodiments of the present application, the target vehicle obtains its own driving status and / or position; for different driving status and different positions, the network signal of the network where the target vehicle is located will be different, so the target vehicle determines the network signal status of the target vehicle according to its own driving status and / or position; for different network signal status, the speed of multiple downloads will be different, and the target vehicle downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle, thereby improving the flexibility of multimedia file downloading, minimizing the possibility of playback terminals, and improving user experience.
[0059] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0060] Figure 1 The following is a flowchart of a file downloading method provided by an exemplary embodiment of the present application. Figure 1 As shown, the method includes:
[0061] S101: Acquire the driving state and / or position of the target vehicle;
[0062] S102: Determine the network signal status of the target vehicle according to the driving status and / or position of the target vehicle;
[0063] S103: Downloading multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle.
[0064] In this embodiment, the executor of the above method is the target vehicle. The embodiment of the present application does not limit the type of the target vehicle, and the present disclosure does not limit the type of the target vehicle, including but not limited to any one of the following: electric vehicles, oil-powered vehicles, hybrid vehicles, hydrogen energy vehicles, new energy and oil-powered hybrid vehicles, etc.
[0065] It should be noted that the driving state of the target vehicle includes: a driving state and a parking state.
[0066] The location of the target vehicle can be the geographical location of the target vehicle or the type of area where the target vehicle is located.
[0067] In this embodiment, the target vehicle determines the network signal status of the target vehicle according to the driving status and / or position of the target vehicle.
[0068] In one embodiment, the target vehicle determines the network signal state of the target vehicle according to the driving state of the target vehicle. One achievable method is that if the driving state of the target vehicle is in a driving state, the network signal state of the target vehicle is determined to be a signal unstable state; if the driving state of the target vehicle is in a parking state, the network signal state of the target vehicle is determined to be a signal stable state. When the vehicle is driving, the vehicle's surrounding environment changes rapidly, and the vehicle's network state changes rapidly.
[0069] In another embodiment, the target vehicle determines the network signal state of the target vehicle according to the position of the target vehicle. One achievable manner is that if the position of the target vehicle is an underground area, the network signal state of the target vehicle is determined to be an unstable state; if the position of the target vehicle is an above-ground area, the network signal state of the target vehicle is determined to be a stable state. For example, if the position of the target vehicle is an underground parking lot, the network signal state of the target vehicle is determined to be an unstable state; if the position of the target vehicle is on the ground, the network signal state of the target vehicle is determined to be a stable state.
[0070] In this embodiment, the target vehicle downloads multiple multimedia files in the multimedia file list according to the network signal state of the target vehicle. One achievable manner is that if the network signal state of the target vehicle is an unstable signal state, the multiple multimedia files are downloaded one by one according to the order of the multiple multimedia files in the multimedia file list.
[0071] In one embodiment, if the multiple multimedia files are multiple video files, the target vehicle downloads the multiple multimedia files one by one in the order of the multiple multimedia files in the multimedia file list. One achievable manner is to determine the type of any video file according to the duration of any video file among the multiple video files; and download the multiple video files one by one in sequence according to the type of any video file.
[0072] In the above embodiment, the target vehicle determines the type of any video file according to the duration of any video file among the multiple video files. One implementation method is to determine whether the duration of any video file is greater than a set duration threshold; if so, the type of any video file is determined to be the first video type; if not, the type of any video file is determined to be the second video type; wherein the playback duration of the video file of the first video type is greater than the playback duration of the video file of the second video type. It should be noted that the embodiment of the present application does not limit the setting of the duration threshold, and the setting of the duration threshold can be 5 minutes, 10 minutes, 15 minutes, etc., and the setting of the duration threshold can be adjusted according to actual conditions. If the type of any video file is the first video type, the multiple video clips are downloaded in sequence according to the order of the multiple video clips contained in any video file. If the type of any video file is the second video type, the video file is not segmented.
[0073] For example, the user interacts with the target vehicle to generate a video file playlist; the video file playlist includes five video files, namely the first video file, the second video file, the third video file, the fourth video file and the fifth video file, wherein the first video file has a duration of 5 minutes, the second video file has a duration of 40 minutes, the third video file has a duration of 50 minutes, the fourth video file has a duration of 3 minutes and the fifth video file has a duration of 10 minutes. Among them, the duration of the second video file is 40 minutes, which is greater than the set duration threshold of 10 minutes, and the second video file is divided into four video segments, each of which has a duration of 10 minutes; the duration of the third video file is 50 minutes, which is greater than the set duration threshold of 10 minutes, and the third video file is divided into five video segments, each of which has a duration of 10 minutes; after the first video file is downloaded, the four video segments divided from the second video file are downloaded in sequence, and then the five video segments divided from the third video file are downloaded in sequence; finally, the fourth video file and the fifth video file are downloaded in sequence.
[0074] In another embodiment, if the multiple multimedia files are multiple audio files, the multiple multimedia files are downloaded one by one according to the order of the multiple audio files in the audio file list.
[0075] In this embodiment, if the target vehicle is in a parking state, the network signal state of the target vehicle is a signal stable state, but the location of the target vehicle is different, and the network speed of the target vehicle cannot be determined. Therefore, when the target vehicle is in a parking state, it is necessary to measure the network speed of the network where the target vehicle is located, and download multiple multimedia files in the multimedia file list according to the network speed of the target vehicle. The target vehicle downloads multiple multimedia files in the multimedia file list according to the network signal state of the target vehicle. One achievable method is to obtain the network speed of the target vehicle if the network signal state of the target vehicle is a signal stable state; and download multiple multimedia files in the multimedia file list according to the network speed of the target vehicle.
[0076] In the above embodiment, the target vehicle downloads multiple multimedia files in the multimedia file list according to the network speed of the target vehicle. One achievable method is to determine the current network speed state according to the network speed of the target vehicle; if the current network speed state is in the first network speed state, after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded in the multiple multimedia files are downloaded at the same time; if the current network speed state is in the second network speed state, after the download of the first multimedia segment of the multimedia file currently being downloaded is completed, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded; wherein, the network speed under the first network speed state is greater than the network speed under the second network speed state, the playback time of the first multimedia segment is greater than or equal to the download time of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
[0077] It should be noted that the first network speed state in the present application is a faster network speed state, and the second network speed state is a slower network speed state.
[0078] For example, if the network speed of the target vehicle is faster, the current network speed state is determined to be in the first network speed state based on the network speed of the target vehicle; if the current network speed state is in the first network speed state, after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded among the multiple multimedia files are downloaded simultaneously. When the network speed is faster, the multimedia file currently being played has less chance of being stuck, so the remaining multimedia files that have not been downloaded are downloaded simultaneously.
[0079] If the network speed of the target vehicle is slow, determine that the current network speed state is in the second network speed state according to the network speed of the target vehicle; if the current network speed state is in the second network speed state, after the first multimedia segment corresponding to 80% of the multimedia file currently being downloaded is downloaded, download the next multimedia file after the multimedia file currently being downloaded in the multimedia file list; wherein, the playback duration of the first multimedia segment is greater than or equal to the download duration of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
[0080] In the above method embodiment of the present application, the target vehicle obtains its own driving status and / or position; for different driving status and different positions, the network signal of the network where the target vehicle is located will be different, so the target vehicle determines the network signal status of the target vehicle according to its own driving status and / or position; for different network signal status, the speed of multiple downloads will be different, and the target vehicle downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle, thereby improving the flexibility of multimedia file downloading, minimizing the possibility of playback terminals, and improving user experience.
[0081] Based on the description of the above embodiments, Figure 2 The flowchart of another file downloading method provided by the exemplary embodiment of the present application is as follows. Figure 2 As shown, the method includes:
[0082] S201: Acquire the driving status of the target vehicle;
[0083] S202: Determine the network signal status of the target vehicle according to the driving status of the target vehicle;
[0084] S203: Downloading multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle.
[0085] In this embodiment, the executor of the above method is the target vehicle. The embodiment of the present application does not limit the type of the target vehicle, and the present disclosure does not limit the type of the target vehicle, including but not limited to any one of the following: electric vehicles, oil-powered vehicles, hybrid vehicles, hydrogen energy vehicles, new energy and oil-powered hybrid vehicles, etc.
[0086] It should be noted that the driving state of the target vehicle includes: a driving state and a parking state.
[0087] The location of the target vehicle can be the geographical location of the target vehicle or the type of area where the target vehicle is located.
[0088] In this embodiment, the target vehicle determines the network signal status of the target vehicle according to the driving status and / or position of the target vehicle.
[0089] The implementation methods of each step of this embodiment can refer to the corresponding contents in the aforementioned embodiments. This embodiment can also achieve the beneficial effects of the aforementioned embodiments, which will not be described in detail here.
[0090] Figure 3 is a device block diagram of a file downloading device 30 provided by an exemplary embodiment of the present application. Figure 3 The device includes an acquisition module 31, a determination module 32 and a downloading module 33.
[0091] An acquisition module 31 is used to acquire the driving state and / or position of the target vehicle;
[0092] A determination module 32, for determining a network signal state of a target vehicle according to a driving state and / or a position of the target vehicle;
[0093] The download module 33 is used to download multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle.
[0094] Optionally, when the determination module 32 determines the network signal state of the target vehicle according to the driving state of the target vehicle, if the driving state of the target vehicle is a driving state, it is used to determine that the network signal state of the target vehicle is a signal unstable state; if the driving state of the target vehicle is a parking state, it is used to determine that the network signal state of the target vehicle is a signal stable state.
[0095] Optionally, when the download module 33 downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle, if the network signal status of the target vehicle is an unstable signal state, it is used to download the multiple multimedia files one by one in the order of the multiple multimedia files in the multimedia file list.
[0096] Optionally, if the multiple multimedia files are multiple video files, the download module 33 is used to determine the type of any video file according to the length of any video file among the multiple video files when downloading the multiple multimedia files one by one in the order of the multiple multimedia files in the multimedia file list; and download the multiple video files one by one in sequence according to the type of any video file.
[0097] Optionally, when determining the type of any video file based on the length of any video file among multiple video files, the download module 33 is used to determine whether the length of any video file is greater than a set length threshold; if so, the type of any video file is determined to be the first video type; if not, the type of any video file is determined to be the second video type.
[0098] Optionally, the download module 33 downloads multiple video files one by one in sequence according to the type of any video file, and is used to download multiple video segments in sequence according to the order of multiple video segments contained in any video file if the type of any video file is the first video type.
[0099] Optionally, the download module 33 downloads multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle. If the network signal status of the target vehicle is a stable signal state, it is used to obtain the network speed of the target vehicle; according to the network speed of the target vehicle, multiple multimedia files in the multimedia file list are downloaded.
[0100] Optionally, when the download module 33 downloads multiple multimedia files in the multimedia file list according to the network speed of the target vehicle, it is used to determine the current network speed status according to the network speed of the target vehicle; if the current network speed status is in the first network speed status, then after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded in the multiple multimedia files are downloaded simultaneously; if the current network speed status is in the second network speed status, after the download of the first multimedia segment of the multimedia file currently being downloaded is completed, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded; wherein, the network speed under the first network speed status is greater than the network speed under the second network speed status, the playback duration of the first multimedia segment is greater than or equal to the download duration of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
[0101] Figure 4 A schematic diagram of a vehicle structure provided by an exemplary embodiment of the present application. Figure 4 As shown, the vehicle includes: a memory 401 and a processor 402. In addition, the vehicle also includes necessary components such as a power supply component 403, a communication component 404 and a display screen 405.
[0102] The memory 401 is used to store computer programs and can be configured to store various other data to support operations on the vehicle. Examples of such data include instructions for any application or method used to operate on the vehicle.
[0103] Memory 401 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0104] The communication component 404 is used for data transmission with other devices.
[0105] The processor 402 may execute computer instructions stored in the memory 401 to: obtain the driving state and / or position of the target vehicle;
[0106] Determine the network signal status of the target vehicle according to the driving status and / or position of the target vehicle;
[0107] According to the network signal status of the target vehicle, multiple multimedia files in the multimedia file list are downloaded.
[0108] Optionally, when determining the network signal state of the target vehicle according to the driving state of the target vehicle, the processor 402 is configured to:
[0109] If the driving state of the target vehicle is a driving state, determining that the network signal state of the target vehicle is an unstable signal state;
[0110] If the driving state of the target vehicle is a parking state, it is determined that the network signal state of the target vehicle is a signal stable state.
[0111] Optionally, when the processor 402 downloads a plurality of multimedia files in the multimedia file list according to the network signal status of the target vehicle, it is configured to:
[0112] If the network signal state of the target vehicle is an unstable signal state, the multiple multimedia files are downloaded one by one according to the order of the multiple multimedia files in the multimedia file list.
[0113] Optionally, if the multiple multimedia files are multiple video files, the processor 402 is configured to:
[0114] Determine the type of any video file according to the duration of any video file among multiple video files;
[0115] According to the type of any video file, multiple video files are downloaded one by one in sequence.
[0116] Optionally, when determining the type of any video file according to the duration of any video file among the multiple video files, the processor 402 is configured to:
[0117] Determine whether the duration of any video file is greater than a set duration threshold;
[0118] If so, determining that the type of any one video file is a first video type;
[0119] If not, it is determined that the type of any one video file is the second video type.
[0120] Optionally, when the processor 402 downloads multiple video files one by one in sequence according to the type of any video file, it is configured to:
[0121] For any video file, if the type of any video file is the first video type, the multiple video segments are downloaded in sequence according to the sequence of the multiple video segments included in the any video file.
[0122] Optionally, when the processor 402 downloads a plurality of multimedia files in the multimedia file list according to the network signal status of the target vehicle, it is configured to:
[0123] If the network signal state of the target vehicle is a stable signal state, the network speed of the target vehicle is obtained;
[0124] According to the network speed of the target vehicle, multiple multimedia files in the multimedia file list are downloaded.
[0125] Optionally, when the processor 402 downloads the multiple multimedia files in the multimedia file list according to the network speed of the target vehicle, it is configured to:
[0126] Determine the current network speed status according to the network speed of the target vehicle;
[0127] If the current network speed is in the first network speed, after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded among the multiple multimedia files are downloaded simultaneously;
[0128] If the current network speed is in the second network speed, after the first multimedia segment of the multimedia file currently being downloaded is downloaded, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded;
[0129] Among them, the network speed under the first network speed state is greater than the network speed under the second network speed state, the playback time of the first multimedia segment is greater than or equal to the download time of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
[0130] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer-readable storage medium stores the computer program and the computer program is executed by one or more processors, the one or more processors execute Figure 1 Each step in the method embodiment.
[0131] Accordingly, the embodiment of the present application also provides a computer program product, the computer program product includes a computer program / instruction, and the computer program / instruction is executed by a processor. Figure 1 Each step in the method embodiment.
[0132] Above Figure 4 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0133] Above Figure 4 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.
[0134] Above Figure 4 The display screen in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0135] The vehicle may also include audio components.
[0136] The audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.
[0137] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0138] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0141] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0142] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0143] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0144] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0145] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A file downloading method, characterized in that: The method is performed by a target vehicle and includes: Acquire the driving state of the target vehicle, wherein the driving state of the target vehicle includes: a driving state and a parking state; Determining a network signal state of the target vehicle according to the driving state of the target vehicle; Downloading multiple multimedia files in the multimedia file list according to the network signal status of the target vehicle; If the driving state of the target vehicle is a driving state, determining that the network signal state of the target vehicle is an unstable signal state; If the driving state of the target vehicle is a parking state, determining that the network signal state of the target vehicle is a signal stable state; If the network signal state of the target vehicle is the unstable signal state, downloading the multiple multimedia files one by one according to the order of the multiple multimedia files in the multimedia file list; If the network signal state of the target vehicle is a stable signal state, obtaining the network speed of the target vehicle; Determine the current network speed status according to the network speed of the target vehicle; If the current network speed state is in the first network speed state, after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded among the multiple multimedia files are downloaded simultaneously; If the current network speed state is in the second network speed state, after the download of the first multimedia segment of the multimedia file currently being downloaded is completed, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded; Among them, the network speed under the first network speed state is greater than the network speed under the second network speed state, the playback time of the first multimedia segment is greater than or equal to the download time of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
2. The method according to claim 1, characterized in that The method further comprises: Get the location of the target vehicle; According to the position of the target vehicle, a network signal status of the target vehicle is determined.
3. The method according to claim 2, characterized in that If the multiple multimedia files are multiple video files, downloading the multiple multimedia files one by one according to the order of the multiple multimedia files in the multimedia file list includes: Determining the type of any one of the multiple video files according to the duration of the any one of the multiple video files; According to the type of any one of the video files, the multiple video files are downloaded one by one in sequence.
4. The method according to claim 3, characterized in that Determining the type of any one of the multiple video files according to the duration of the any one of the multiple video files includes: Determine whether the duration of any one of the video files is greater than a set duration threshold; If yes, determining that the type of any one of the video files is a first video type; If not, it is determined that the type of any one of the video files is the second video type.
5. The method according to claim 3, characterized in that: The downloading of the plurality of video files one by one in sequence according to the type of any one of the video files comprises: For any one of the video files, if the type of the any one of the video files is the first video type, the multiple video segments are downloaded in sequence according to the sequence of the multiple video segments included in the any one of the video files.
6. A file downloading device, the device being arranged in a target vehicle, characterized in that: include: An acquisition module is used to acquire the driving state of the target vehicle, wherein the driving state of the target vehicle includes: a driving state and a parking state; A determination module, used to determine the network signal state of the target vehicle according to the driving state of the target vehicle; A download module, used for downloading a plurality of multimedia files in the multimedia file list according to the network signal status of the target vehicle; The determination module is specifically used to: if the driving state of the target vehicle is a driving state, determine that the network signal state of the target vehicle is a signal unstable state; if the driving state of the target vehicle is a parking state, determine that the network signal state of the target vehicle is a signal stable state; The download module is specifically used for: If the network signal state of the target vehicle is the unstable signal state, downloading the multiple multimedia files one by one according to the order of the multiple multimedia files in the multimedia file list; If the network signal state of the target vehicle is a stable signal state, obtaining the network speed of the target vehicle; Determine the current network speed status according to the network speed of the target vehicle; If the current network speed state is in the first network speed state, after the download of the multimedia file currently being downloaded is completed, the remaining multimedia files that have not been downloaded among the multiple multimedia files are downloaded simultaneously; If the current network speed state is in the second network speed state, after the download of the first multimedia segment of the multimedia file currently being downloaded is completed, the next multimedia file of the multimedia file currently being downloaded in the multimedia file list is downloaded; Among them, the network speed under the first network speed state is greater than the network speed under the second network speed state, the playback time of the first multimedia segment is greater than or equal to the download time of the second multimedia segment, and the second multimedia segment is the remaining multimedia segment of the multimedia file currently being downloaded except the first multimedia segment.
7. A vehicle, characterized in that: include: Vehicle bodies and vehicle body mounted memories and processors; The memory is used to store computer programs; The processor is configured to execute the computer program to implement each step in the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Streaming media file segment downloading method and device, and terminal
CN106231440A
Internet of Vehicles V2X communication auxiliary file downloading method
CN109600715A
File uploading method and device, terminal, server and readable storage medium
CN109831506A