Audio file scanning method and device and vehicle
By building a playlist based on some data nodes in a mobile storage device, the problem of time-consuming scanning of audio files in the prior art is solved, the effect of quickly playing audio files is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202510253453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-07-18
AI Technical Summary
The prior art takes a long time to scan multiple audio files in a mobile storage device, and cannot meet the user's demand for quickly playing audio files, resulting in poor user experience.
After detecting the access of the mobile storage device, the data node of the audio file is obtained, and a playlist has been constructed when the first N data nodes in the order have been scanned. N is a positive integer greater than or equal to 1, allowing audio playback to be started when some data nodes are scanned and the scanning operation is continued in the background.
It improves the playback speed during the audio file scanning process, meets users' needs for quickly playing audio files, reduces users' waiting time, and improves user experience.
Smart Images

Figure CN120335754A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of document scanning, and more particularly, to an audio file scanning method, apparatus, and vehicle. Background Art
[0002] Currently, it is possible to perform a scanning operation on multiple audio files stored in a removable storage device and construct a playlist. However, the current method for scanning multiple audio files takes a long time and cannot meet the user's need for quickly playing audio files, resulting in a poor user experience. Summary of the Invention
[0003] This application provides an audio file scanning method, apparatus, and vehicle.
[0004] In a first aspect, an embodiment of this application provides an audio file scanning method, including: obtaining at least one audio file in a removable storage device, where each of the audio files includes a plurality of data nodes arranged in sequence, and each of the data nodes corresponds to a data stream; performing a scanning operation on each of the data nodes of each of the audio files; in the audio file, when it is determined that the first data node in the audio file has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N data nodes arranged in sequence, and N is a positive integer greater than or equal to 1.
[0005] Optionally, in a possible implementation, during the process of playing the playlist, if a new data node is scanned, the data stream corresponding to the new data node is added to the playlist.
[0006] Optionally, in a possible implementation, the audio file is a single one. The step of, in the audio file, when it is determined that the first data node in the audio file has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node includes: determining a first target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio file; detecting whether the first sorting of the scanned data node in the audio file matches the first target sorting; and when the sortings match, constructing a playlist based on the data stream corresponding to the scanned first data node.
[0007] Optionally, in a possible implementation, there are multiple audio files. When determining that a first data node in the audio files has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node includes: determining a second target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio files; in multiple audio files, obtaining a first quantity of a first audio file, where the first audio file is used to represent an audio file in which the second sorting of the scanned data node matches the second target sorting; when the first quantity is greater than or equal to a first target quantity, constructing a playlist based on the data stream corresponding to the scanned first data node, where the first target quantity is less than the quantity of the audio files.
[0008] Optionally, in a possible implementation, there are multiple audio files. When determining that a first data node in the audio files has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node includes: determining multiple third target sortings corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio files, where each audio file corresponds to one of the third target sortings; in multiple audio files, obtaining a second quantity of a second audio file, where the second audio file is used to represent an audio file in which the third sorting of the scanned data node matches a specified third target sorting, and the specified third target sorting is the third target sorting corresponding to this audio file; when the second quantity is greater than or equal to a second target quantity, constructing a playlist based on the data stream corresponding to the scanned first data node, where the second target quantity is less than the quantity of the audio files.
[0009] Optionally, in a possible implementation, the scanning operation is further used to obtain description information of each audio file. After constructing a playlist based on the data stream corresponding to the scanned first data node when determining that a first data node in the audio files has been scanned, it further includes: sequentially playing the data streams of each audio file based on the playlist and correspondingly displaying the display content of each currently playing audio file, where the display content is the description information of the audio file or the default display content.
[0010] Optionally, in a possible implementation, when the description information corresponding to the audio file has been obtained, the display content corresponding to the audio file is the description information corresponding to the audio file; when the description information corresponding to the audio file has not been obtained, the display content corresponding to the audio file is the default display content.
[0011] Optionally, in a possible implementation, during the process of playing the playlist, if it is detected that the second data nodes in each of the audio files have been scanned, the playlist is updated based on the data content corresponding to each data node in each of the audio files, where the second data nodes include the data nodes in the audio file other than the first data nodes.
[0012] In a second aspect, an embodiment of the present application further provides an audio file scanning device, including: an acquisition unit, a scanning unit, and a playlist construction unit. The acquisition unit is configured to acquire at least one audio file in a mobile storage device, where each of the audio files includes a plurality of sequentially arranged data nodes, and each of the data nodes corresponds to a data stream; the scanning unit is configured to perform a scanning operation on each of the audio files for the data nodes; the playlist construction unit is configured to, when it is determined that the first data node in the audio file has been scanned in the audio file, construct a playlist based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N sequentially arranged data nodes, and N is a positive integer greater than or equal to 1.
[0013] In a third aspect, an embodiment of the present application further provides a vehicle, where the vehicle includes a microcontroller unit, and the microcontroller unit is configured to construct a playlist based on the method described in the first aspect.
[0014] For the audio file scanning method, device, and vehicle provided by the embodiments of the present application, first, at least one audio file in a mobile storage device is acquired, where each of the audio files includes a plurality of sequentially arranged data nodes, and each of the data nodes corresponds to a data stream; then, a scanning operation on each of the audio files for the data nodes is performed; and then, when it is determined that the first data node in the audio file has been scanned in the audio file, a playlist is constructed based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N sequentially arranged data nodes, and N is a positive integer greater than or equal to 1. It can be seen that in the solution of the present application, it is not necessary to complete the scanning operation of each data node before constructing the playlist, but when it is detected that the first N data nodes have been scanned, the playlist corresponding to the first data node can be constructed. In this way, the speed of audio playback can be increased when scanning multiple audio files, and the user's requirement for quickly playing audio files can be met.
[0015] Other features and advantages of the embodiments of the present application will be described in the subsequent specification, and, in part, will be obvious from the specification, or will be understood by implementing the embodiments of the present application. The objectives and other advantages of the embodiments of the present application can be achieved and obtained by the structures specifically pointed out in the written specification, claims, and drawings. Description of the Drawings
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0017] Figure 1 The application scenario diagram of the audio file scanning method provided by the embodiments of the present application is shown;
[0018] Figure 2 The method flowchart of the audio file scanning method provided by the embodiments of the present application is shown;
[0019] Figure 3 The schematic flow diagram of the mounting provided by the embodiments of the present application is shown;
[0020] Figure 4 The method flowchart of the audio file scanning method provided by another embodiment of the present application is shown;
[0021] Figure 5 The method flowchart of the audio file scanning method provided by yet another embodiment of the present application is shown;
[0022] Figure 6 The method flowchart of the audio file scanning method provided by still another embodiment of the present application is shown;
[0023] Figure 7 The schematic flow diagram of the display through the upper-layer application program provided by the embodiments of the present application is shown;
[0024] Figure 8 The structural block diagram of the audio file scanning device provided by the embodiments of the present application is shown;
[0025] Figure 9 The structural block diagram of the computer-readable storage medium provided by the embodiments of the present application is shown. Detailed Embodiments
[0026] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part rather than all of the embodiments of this application. Usually, the components of the embodiments of this application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents the selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative efforts fall within the scope of protection of this application.
[0027] It should be noted that: Similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, terms such as "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0028] Currently, it is possible to perform a scanning operation on multiple audio files stored in a mobile storage device and construct a playlist. However, the current method for performing a scanning operation on multiple audio files takes a long time and cannot meet the user's demand for quickly playing audio files, resulting in a poor user experience. How to meet the user's demand for quickly playing audio files and improve the user experience is an urgent problem to be solved.
[0029] Currently, when it is detected that a mobile storage device is connected, the files in the mobile storage device will be scanned. Exemplarily, the mobile storage device can be a Universal Serial Bus (USB) device. Thus, when the system detects that the mobile storage device is connected, it can mount the file system of the Universal Serial Bus device to access the files stored in the Universal Serial Bus device. Specifically, the system can perform a scanning operation by traversing the files, thereby scanning the audio files stored in the Universal Serial Bus device. Among them, through the scanning operation, the data stream and meta-information of each audio file can be obtained. The meta-information can include information such as file name, file size, path location, and playing duration. Thus, after the scanning operation is completed, audio playback can be performed based on the obtained data stream and meta-information of each audio file. Among them, the scanning operation can be performed according to the directory structure of the files in the removable storage device, starting from the root directory and scanning layer by layer downward, that is, sequential scanning.
[0030] However, the inventors found in their research that after the scanning operation is completed, to play audio based on the data streams and meta-information of each acquired audio file, it is necessary to first traverse all the directories and files in the entire removable storage device, which takes a long time, especially for removable storage devices with a large capacity or a complex file structure. In addition, precisely because it takes a long time, the user needs to wait for a long time to achieve audio playback after the scanning operation is completed, thereby reducing the user experience and not meeting the user's demand for fast audio playback. In addition, a complete sequential scan of the removable storage device also consumes more system resources.
[0031] Therefore, to solve or partially solve the above problems, the present application provides an audio file scanning method, apparatus, and vehicle.
[0032] Please refer to Figure 1 , Figure 1 FIG. shows an application scenario diagram of the audio file scanning method provided in an embodiment of the present application, that is, the audio file scanning scenario 100. The audio file scanning scenario 100 includes a vehicle 110. The vehicle 110 may be configured with a vehicle-mounted system, and the vehicle-mounted system may include a micro-control unit, so that the vehicle 110 can execute audio file scanning through the micro-control unit to build a playlist. For a detailed introduction, please refer to the subsequent embodiments.
[0033] Please refer to Figure 2 , Figure 2 FIG. shows a flowchart of a method for an audio file scanning method provided in an embodiment of the present application. The audio file scanning method may be applied to the audio file scanning scenario shown in Figure 1 . Specifically, it may be applied to a vehicle. For example, the micro-control unit in the vehicle may be used as the execution subject. The audio file scanning method specifically includes steps S110 to S130.
[0034] Step S110: Obtain at least one audio file in the removable storage device, where each of the audio files includes a plurality of data nodes arranged in sequence, and each of the data nodes corresponds to a data stream.
[0035] Taking the removable storage device being connected to the vehicle as an example for illustration. The vehicle may be configured with a vehicle-mounted system, and the vehicle-mounted system is generally configured with a data interface, such as a universal serial bus interface, so that the user can connect the removable storage device through the universal data interface. Exemplarily, the data interface is a universal serial bus interface, and the removable storage device has a universal serial bus interface, so that the user can insert the removable storage device into the universal serial bus interface of the vehicle-mounted system. Among them, the removable storage device may be a USB flash drive.
[0036] Further, the in-vehicle system can detect whether a removable storage device is connected. Taking a USB flash drive as an example of the removable storage device, the in-vehicle system can be configured with a low-level Universal Serial Bus (USB) driver. This low-level USB driver will detect and identify the type of the connected device and determine whether a removable storage device is connected, and then notify the microcontroller unit of the in-vehicle system for subsequent processing.
[0037] When it is detected that a removable storage device is connected, at least one audio file stored in the removable storage device can be obtained. To obtain the audio file, in some embodiments, the removable storage device can be mounted, and then the audio file stored in the removable storage device can be obtained. For example, the microcontroller unit can call the middle-layer data processing module to mount the removable storage device.
[0038] Exemplarily, please refer to Figure 3 , Figure 3 which shows a schematic flow diagram of the mounting provided by the embodiment of the present application. Figure 3 It includes steps S1101 to S1109.
[0039] Step S1101: Start.
[0040] Step S1102: Detect whether the mounting is successful.
[0041] When it is detected that the removable storage device is successfully mounted, step S1103 can be jumped to for execution; when it is detected that the removable storage device is not successfully mounted, step S1108 can be jumped to for execution.
[0042] Step S1103: Whether the removable storage device is supported.
[0043] When it is detected that the removable storage device is supported, it can jump to step S1104; when it is detected that the removable storage device is not supported, step S1105 can be jumped to for execution.
[0044] Step S1104: Display an insertion prompt.
[0045] The upper-layer application can display a prompt message indicating that the removable storage device has been inserted to the user. Additionally, subsequent scanning operations can be triggered for execution.
[0046] Step S1105: Detect whether the removable storage device is a docking station.
[0047] When the removable storage device is a docking station, it can jump to step S1106; when the removable storage device is not a docking station, it can jump to step S1107.
[0048] Step S1106: Display that the access device is a docking station.
[0049] Step S1107: Display that the access device is not supported.
[0050] Step S1108: Display that the mounting was not successful.
[0051] Step S1109: End.
[0052] It is possible to access the files stored in the removable storage device after successful mounting. In some embodiments, there may be multiple files stored in the removable storage device, and the multiple files may correspond to multiple types. Therefore, first, audio files can be determined from the multiple files stored in the removable storage device, and then the data stream of the audio file can be obtained subsequently. Exemplarily, a scanning thread can be created to perform a scanning operation on the audio file; this scanning thread can also be used to determine audio files from the multiple files stored in the removable storage device. Exemplarily, according to the extensions of each file, files with a specified extension can be determined as audio files. For example, the specified extensions can include ".mp3", ".wav", ".flac", and ".aac", etc. Among them, ".mp3" is used to represent Moving Picture Experts Group Audio Layer III (MP3); ".wav" is used to represent Waveform Audio File Format (WAV); ".flac" is used to represent Free Lossless Audio Codec (FLAC); ".aac" is used to represent Advanced Audio Coding (AAC). It can be seen that in the embodiments provided in the present application, the scanning operation can also be used to obtain audio files from the multiple files stored in the removable storage device.
[0053] Optionally, multiple scanning threads can also be created to determine audio files, so as to allocate files to multiple scanning threads, such that each scanning thread respectively determines audio files from different files. Thus, the efficiency of obtaining audio files can be improved.
[0054] For some embodiments, each audio file may include multiple data nodes, and these data nodes may be arranged in sequence, and each data node may correspond to a data stream.
[0055] Step S120: Perform a scanning operation on the data nodes of each of the audio files.
[0056] To achieve audio playback of audio files, it is also necessary to perform a scanning operation on each audio file. Specifically, it can be a scanning operation of data nodes. Thus, the data stream of each audio file can be obtained through this scanning operation. In the embodiments of the present application, the scanning operation can be triggered by an event of detecting the access of a removable storage device.
[0057] Optionally, the data stream of each audio file can also be obtained by creating multiple scanning threads. Specifically, multiple audio files can be respectively assigned to multiple scanning threads, so that each scanning thread performs a scanning operation on one or more audio files for data nodes. Thus, the efficiency of performing the scanning operation on audio files can be improved, and the speed of audio playback can be generally improved.
[0058] It should be noted that the data stream of an audio file can be used to represent the main data of the audio file, that is, the data necessary for audio playback of the audio file.
[0059] Step S130: In the audio file, when it is determined that the first data node in the audio file has been scanned, a playlist is constructed based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N data nodes arranged in sequence, and N is a positive integer greater than or equal to 1.
[0060] It can be understood that in the case of a large number of audio files, if waiting for the scanning operation of all audio files to be completed before performing audio playback, the operation time that the user needs to wait for scanning may be too long, reducing the user experience.
[0061] Therefore, it is possible to check whether at least some data nodes have been scanned in the detected audio files, and thus construct a playlist based on at least some of the scanned data nodes. In some embodiments, it can be determined whether the first data node in the audio file has been scanned. Thus, when it is determined that the first data node in the audio file has been scanned, a playlist can be constructed based on the data stream corresponding to the scanned first data node. Among them, the first data node is determined based on the first N data nodes arranged in sequence, and N is a positive integer greater than or equal to 1.
[0062] Exemplarily, if N is 3, the first 3 data nodes arranged in sequence can include the first data node, the second data node, and the third data node. Thus, the first data node can include the first data node; it can also include the first data node and the second data node; it can also include the first data node, the second data node, and the third data node.
[0063] Optionally, after the playlist is constructed, the playlist can also be played. Playing the playlist means playing audio. That is, it is possible to start playing audio when a data stream corresponding to a part of the data nodes is obtained. Playing the playlist is essentially playing based on the data streams corresponding to each audio file in the playlist.
[0064] It should be noted that during the process of playing the playlist, the scanning operation of the audio files generally has not ended. Therefore, during the process of playing the playlist, the scanning operation of the audio files can continue to be executed in the background. For a detailed introduction, please refer to the subsequent embodiments.
[0065] Optionally, the scanning operation can also be used to obtain the description information of the audio files. Thus, the description information of the audio files can be correspondingly displayed when playing the audio files in the future. For a detailed introduction, please refer to the subsequent embodiments.
[0066] The audio file scanning method provided by the embodiments of the present application first obtains at least one audio file in the removable storage device, where each of the audio files includes a plurality of sequentially arranged data nodes, and each of the data nodes corresponds to a data stream; then performs a scanning operation on each of the audio files for the data nodes; and then, in the audio file, when it is determined that the first data node in the audio file has been scanned, constructs a playlist based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N sequentially arranged data nodes, and N is a positive integer greater than or equal to 1. It can be seen that in the solution of the present application, it is not necessary to complete the scanning operation of each data node before constructing the playlist, but when it is detected that the first N data nodes have been scanned, the playlist corresponding to the first data node can be constructed. This can improve the speed of audio playback when scanning multiple audio files and can meet the user's need for quickly playing audio files.
[0067] Please refer to Figure 4 , Figure 4 shows a flowchart of a method for scanning audio files provided by an embodiment of the present application. This audio file scanning method can be applied to Figure 1 the audio file scanning scenario shown in, and specifically can be applied to a vehicle. For example, the micro control unit in the vehicle can be used as the execution subject. This audio file scanning method specifically includes steps S210 to S260.
[0068] Step S210: Obtain at least one audio file in the removable storage device, where each of the audio files includes a plurality of sequentially arranged data nodes, and each of the data nodes corresponds to a data stream.
[0069] Step S220: Perform a scanning operation on each of the audio files for data nodes.
[0070] Step S230: When it is determined that the first data node in the audio file has been scanned, construct a playlist based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N data nodes arranged in sequence, and N is a positive integer greater than or equal to 1.
[0071] Among them, steps S210 to S230 have been introduced in detail in the foregoing embodiments and will not be elaborated here.
[0072] Step S240: Sequentially play the data streams of each audio file based on the playlist and correspondingly display the display content of each currently playing audio file, where the display content is the description information of the audio file or the default display content.
[0073] In some embodiments, the scanning operation can also be used to obtain the description information of each audio file. Among them, the description information can include the song name, artist name, album name, song duration, lyrics, and cover image, etc. Thus, after obtaining the playlist, play the data stream in the playlist. It can be understood that during the process of sequentially playing the data stream based on the playlist, the display content of the currently playing audio file can also be correspondingly displayed. Among them, the display content is the description information of the audio file or the default display content.
[0074] During the process of playing the playlist, there may be two situations, that is, the description information corresponding to the audio file has been obtained; or the description information corresponding to the audio file has not been obtained. Among them, the audio file here refers to the audio file corresponding to the data stream played during the process of playing the playlist.
[0075] Thus, in some embodiments, when the description information corresponding to the audio file has been obtained, the description information corresponding to the audio file can be used as the display content corresponding to the audio file; and when the description information corresponding to the audio file has not been obtained, the default display content can be used as the display content corresponding to the audio file. Exemplarily, the default display content can be a default image or a default animation, etc.
[0076] Furthermore, when the description information of the currently playing audio file has been obtained, the description information of the audio file can be correspondingly displayed so that the user can view more information related to the currently playing audio file, improving the user experience. And when the description information of the currently playing audio file has not been obtained, it will not affect the audio playback of the audio file, and the default display content can be used as the display content corresponding to the audio file.
[0077] Optionally, index information corresponding to the description information of the audio file obtained through the scanning operation may also be established. Exemplarily, the index information may include information such as the file name, file size, path location, and playing duration of the audio file, so as to store the description information of each audio file in the form of index information. For example, it is stored in the cache of the in-vehicle system.
[0078] As can be known from the foregoing introduction, during the process of playing the playlist, the scanning operation may also be continuously performed on the audio file, so that the playlist can be updated subsequently with the data stream or description information of the audio file obtained through the scanning operation.
[0079] Specifically, during the process of playing the playlist, if a new data node is scanned, the data stream corresponding to the new data node may be added to the playlist to update the playlist.
[0080] Optionally, during the process of playing the playlist, the process of the scanning operation may also be presented to the user in real time. Among them, the process of the scanning operation may include the scanning progress and the data stream of the audio file that has been scanned or the description information of the audio file that has been scanned, etc.
[0081] Exemplarily, based on the middle-layer data processing module, the process of the scanning operation may be sent to the Telematics Box (T-Box) module through the in-vehicle bus. Then, the process of the scanning operation is forwarded to the upper-layer application through the in-vehicle information communication module, so that the user can view the process of the scanning operation in real time through the upper-layer application. Among them, the in-vehicle bus may be a Controller Area Network (CAN). In addition, the user may also control the audio file being played in the playlist through the upper-layer application, and may also view the display content corresponding to each audio file in the playlist through the upper-layer application. Specifically, for example, the user may perform operations such as searching, managing, and playing the audio files in the playlist through the upper-layer application.
[0082] Optionally, a new data stream may also be added to the playlist. Specifically, after step S240, step S250 may also be included.
[0083] Step S250: During the process of playing the playlist, if a new data node is scanned, the data stream corresponding to the new data node is added to the playlist.
[0084] Specifically, during the process of playing the playlist, the scanning operation of the audio files can be maintained. Thus, if a new data node is scanned, that is, if a new data stream is obtained, the data stream corresponding to the new data node can be added to the playlist to update the playlist.
[0085] It can be understood that adding a new data stream to the playlist to update the playlist requires a certain amount of system processing resources. Therefore, in some embodiments, the playlist can also be updated when it is detected that the scanning of the second data nodes in each audio file has been completed, thereby reducing the consumption of system processing resources.
[0086] Therefore, for some embodiments, after step S240, step S260 may also be included.
[0087] Step S260: During the process of playing the playlist, if it is detected that the scanning of each second data node in each audio file has been completed, update the playlist based on the data content corresponding to each data node in each audio file, where the second data node includes data nodes in the audio file other than the first data node.
[0088] During the process of playing the playlist, the scanning operation of the audio files can be continuously performed. Then, when it is detected that the scanning of each second data node in each audio file has been completed, update the playlist based on the data content corresponding to each data node in each audio file, where the second data node includes data nodes in the audio file other than the first data node. That is to say, only one update of the playlist is required to add all the data streams corresponding to the second data nodes to the playlist. Thus, when playing this playlist subsequently, the audio playback of all audio files in the removable storage device can be realized.
[0089] It can be understood that the scanning operation takes a certain amount of time. If the data stream corresponding to the second data node is added to the playlist when it is detected that the scanning of each second data node in each audio file has been completed, it may cause the update time of the playlist to be too long, resulting in a reduced user experience. Therefore, in some embodiments, step S260 may further include steps S261 to S264.
[0090] Step S261: Obtain the first quantity of the audio files corresponding to the second data nodes.
[0091] Step S262: If the first quantity is less than or equal to the first specified quantity, then when it is detected that scanning of the second data nodes in each of the audio files has been completed, update the playlist based on the data content corresponding to each data node in each of the audio files.
[0092] First, the first quantity corresponding to the audio files of the second data nodes can be obtained. This is because, when the first quantity is small, even if it is detected that scanning of the second data nodes in each of the audio files has been completed and the playlist is updated based on the data content corresponding to each data node in each of the audio files, not too much time will be consumed.
[0093] Exemplarily, the first quantity can be compared with the first specified quantity. When the first quantity is less than or equal to the first specified quantity, it can be determined that the first quantity is small.
[0094] Exemplarily, the first specified quantity can be 120, 100, etc.
[0095] Step S263: If the first quantity is greater than the first specified quantity, then when it is detected that the quantity of the third audio files reaches the first specified quantity in the audio files corresponding to the second data nodes, add the data stream of the third audio files to the playlist, where the third audio files are the audio files corresponding to the data nodes for which it is detected that scanning of the data nodes has been completed among the data nodes in the audio files corresponding to the second data nodes.
[0096] Step S264: Use the audio files other than the third audio files in the audio files corresponding to the second data nodes as the audio files corresponding to the new second data nodes, and return to execute to obtain the first quantity of the audio files corresponding to the new second data nodes and subsequent steps until it is detected that the first quantity is less than or equal to the first specified quantity.
[0097] And when the first quantity is greater than the first specified quantity, if the playlist is still updated based on the data content corresponding to each data node in each of the audio files only when it is detected that scanning of the second data nodes in each of the audio files has been completed, it may consume more time and reduce the user experience.
[0098] Thus, if the first quantity is greater than the first specified quantity, then when it is detected that the quantity of the third audio files reaches the first specified quantity in the audio files corresponding to the second data nodes, add the data stream of the third audio files to the playlist. Where the third audio files are the audio files corresponding to the data nodes for which it is detected that scanning of the data nodes has been completed among the data nodes in the audio files corresponding to the second data nodes.
[0099] Further, use the audio files other than the third audio file in the audio files corresponding to the second data node as the audio files corresponding to the new second data node, and return to execute to obtain the first quantity of the audio files corresponding to the new second data node and subsequent steps until it is detected that the first quantity is less than or equal to the first specified quantity.
[0100] That is to say, it is possible to traverse each audio file in the second audio file until the data streams of each audio file in the second audio file are added to the playlist.
[0101] Thus, the effect of performing segmented scanning operations on multiple audio files can be achieved. That is, the data stream corresponding to the first data node can be regarded as a segment, and the data stream corresponding to each third audio file can also be regarded as a segment, so that the playlist can be constructed after the data stream corresponding to the first data node is obtained, without having to wait until all the audio files have been scanned before constructing the playlist.
[0102] In addition, similar to the data stream of the third audio file, the description information of the third audio file can be added to the playlist in multiple times, which will not be elaborated here.
[0103] Optionally, when it is detected that the data streams and description information of each audio file in the removable storage device have been obtained, the data streams and description information of each audio file can be stored correspondingly. Exemplarily, it can be stored in the storage module of the vehicle system or in the cloud server, so as to facilitate subsequent quick call and playback.
[0104] In addition, since the scanning operation can be implemented by the middle layer data processing module, and the subsequent corresponding storage of the data streams and description information of each obtained audio file can be implemented by the vehicle information communication module. Therefore, in some embodiments, in order to ensure the accuracy of the data streams and description information of each audio file obtained by the vehicle information communication module, a data synchronization mechanism can also be set between the middle layer data processing module and the vehicle information communication module, so as to ensure the consistency of the data between the middle layer data processing module and the vehicle information communication module.
[0105] In the embodiments of the present application, when the description information of the currently playing audio file has been obtained, the description information of the audio file can be correspondingly displayed, so that the user can view more information related to the currently playing audio file, improving the user experience. Moreover, since the playlist is constructed when the first data node in the audio file has been scanned, there is no need to wait for the scanning operation of all audio files to be completed before audio playback can be performed, reducing the user's waiting time. In addition, the user can view the process of the scanning operation in real time through the upper-layer application. The user can also control the audio file currently playing in the playlist through the upper-layer application, and can also view the display content corresponding to each audio file in the playlist through the upper-layer application, enhancing the user experience. Furthermore, the data stream and description information of each audio file can be correspondingly stored, facilitating subsequent quick calling and playback. In the embodiments of the present application, a data synchronization mechanism can also be set between the intermediate-layer data processing module and the vehicle information communication module to ensure the consistency of data between the intermediate-layer data processing module and the vehicle information communication module.
[0106] Please refer to Figure 5 , Figure 5 which shows the flowchart of the audio file scanning method provided by the embodiments of the present application. Figure 5 It includes steps S310 to S390.
[0107] Step S310: Obtain at least one audio file in the removable storage device, where each of the audio files includes a plurality of sequentially arranged data nodes, and each of the data nodes corresponds to a data stream.
[0108] Step S320: Perform a scanning operation on the data nodes of each of the audio files.
[0109] Among them, steps S310 and S320 have been introduced in detail in the foregoing embodiments and will not be elaborated here.
[0110] Step S330: In the audio file, when it is determined that the first data node in the audio file has been scanned, construct a playlist based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N sequentially arranged data nodes, and N is a positive integer greater than or equal to 1.
[0111] For some embodiments, the audio file in the removable storage device can be one. Thus, step S330 can include steps S331 to S333.
[0112] Step S331: Determine the first target sorting corresponding to the first data node based on the sorting of the first N sequentially arranged data nodes in the audio file.
[0113] Step S332: Detect whether the first sorting of the scanned data nodes in the audio file matches the first target sorting.
[0114] Step S333: When the sortings match, construct a playlist based on the data stream corresponding to the first data node that has been scanned.
[0115] First, the first target sorting corresponding to the first data node can be determined based on the sorting of the first N data nodes arranged in sequence in the audio file.
[0116] Exemplarily, if N is 3, the first target sorting can be determined as the first data node, the second data node, and the third data node.
[0117] Then, in the audio file, detect whether the first sorting of the scanned data nodes matches the first target sorting. Herein, whether they match can be understood as whether they are the same. For example, continuing with the first target sorting being the first data node, the second data node, and the third data node as an example, if it is detected that the first sorting of the scanned data nodes includes the first data node and the second data node at this time, it can be determined that it does not match the first target sorting; while if it is detected that the first sorting of the scanned data nodes includes the first data node, the second data node, and the third data node, it can be determined that it matches the first target sorting.
[0118] Thus, when the sortings match, a playlist can be constructed based on the data stream corresponding to the first data node that has been scanned. It should be noted that sorting matching means
[0119] In addition, when it is detected that the sortings do not match, wait until it is detected that the sortings match.
[0120] For some embodiments, there may be multiple audio files in the removable storage device. Thus, step S330 may include steps S334 to S336.
[0121] Step S334: Determine the second target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio file.
[0122] Step S335: In multiple audio files, obtain the first quantity of the first audio file, where the first audio file is used to represent the audio file in which the second sorting of the scanned data nodes matches the second target sorting.
[0123] Step S336: When the first quantity is greater than or equal to the first target quantity, construct a playlist based on the data stream corresponding to the first data node that has been scanned, where the first target quantity is less than the quantity of audio files.
[0124] First, the second target sorting corresponding to the first data node can be determined based on the sorting of the first N data nodes arranged in sequence in the audio file. Similar to the method for determining the first target sorting introduced in the foregoing steps, it will not be elaborated here.
[0125] Then, among the multiple audio files, obtain the first quantity of the first audio file, where the first audio file is used to represent the audio file whose second sorting of the data node that has been scanned matches the second target sorting. That is to say, among the multiple audio files, by checking whether the second sorting of the data node that has been scanned matches the second target sorting, the audio file corresponding to the data node that has been scanned and matches the second target sorting is used as the first audio file. That is to say, the first audio file is used to represent the audio file whose second sorting of the data node that has been scanned matches the second target sorting.
[0126] Thus, when the first quantity is greater than or equal to the first target quantity, construct a playlist based on the data stream corresponding to the first data node that has been scanned, where the first target quantity is less than the quantity of audio files.
[0127] In some embodiments, the first target quantity can be set as an integer less than the quantity of audio files. For example, it can be set as the integer obtained by rounding up one-tenth of the quantity of audio files.
[0128] Optionally, for some embodiments, there can be multiple audio files in the removable storage device. And different target sortings can be set for the audio files. Specifically, step S330 can include steps S337 to S339.
[0129] Step S337: Determine multiple third target sortings corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio file, where each audio file corresponds to one third target sorting.
[0130] Step S338: Among the multiple audio files, obtain the second quantity of the second audio file, where the second audio file is used to represent the audio file whose third sorting of the data node that has been scanned matches the specified third target sorting, and the specified third target sorting is the third target sorting corresponding to this audio file.
[0131] Step S339: When the second quantity is greater than or equal to the second target quantity, construct a playlist based on the data stream corresponding to the first data node that has been scanned, where the second target quantity is less than the quantity of audio files.
[0132] Similar to the first target sorting and the second target sorting, multiple third target sortings corresponding to the first data node can be determined based on the sorting of the first N data nodes arranged in sequence in the audio file. Wherein, each audio file corresponds to one of the third target sortings. That is to say, there may be some audio files corresponding to the same third target sorting.
[0133] Then, among the multiple audio files, obtain the second quantity of the second audio file, where the second audio file is used to represent the audio file whose third sorting of the scanned data node matches the specified third target sorting. That is to say, for the third sorting of the scanned data node in each audio file, compare whether it matches the third target sorting, which is the third target sorting corresponding to this audio file, that is, the specified third target sorting is the third target sorting corresponding to this audio file.
[0134] Thus, when the second quantity is greater than or equal to the second target quantity, construct a playlist based on the data stream corresponding to the first data node that has been scanned, where the second target quantity is less than the quantity of audio files.
[0135] Similar to the first target quantity, the second target quantity can be set as an integer less than the quantity of audio files. For example, it can be set as the integer obtained by rounding up one-eighth of the quantity of audio files.
[0136] Step S340: Play the playlist.
[0137] It can be seen that in the audio file scanning method provided in the embodiments of the present application, even when the audio file is single, a playlist can be constructed based on the data stream corresponding to the scanned first data node in the case of sorting and matching, so that a playlist can be constructed when only the data streams corresponding to some data nodes in the audio file are obtained. In addition, when there are multiple audio files, it is possible to determine whether the second sorting of the data nodes in the scanned audio files matches by the same second target sorting, so as to construct a playlist based on the data stream corresponding to the scanned first data node. It is also possible to determine whether the third sorting of the data nodes in the scanned audio files matches by specifying a third target sorting, that is, the third target sorting corresponding to each audio file, so as to construct a playlist based on the data stream corresponding to the scanned first data node. Subsequently, when playing this playlist, it is possible to improve the speed of audio playback when scanning multiple audio files and meet the user's demand for quickly playing audio files.
[0138] Please refer to Figure 6 , Figure 6 which shows the flowchart of the audio file scanning method provided in the embodiments of the present application. Figure 6 It includes steps S410 to S490.
[0139] Step S410: Start.
[0140] Step S420: Mount.
[0141] For the relevant introduction of mounting, reference can be made to the foregoing embodiments and will not be elaborated here.
[0142] Step S430: Scanning operation.
[0143] Step S440: Whether the scanning operation for each audio file is completed.
[0144] In the case where the scanning operation for each audio file is not completed, step S450 can be jumped to for execution; in the case where it is detected that the scanning operation for each audio file has been completed, step S480 can be jumped to for execution.
[0145] Step S450: Whether the scanning operation for the first specified number of audio files is completed.
[0146] It should be noted that, in combination with the foregoing embodiments, the audio files in step S450 are actually detected for the audio files other than the audio file corresponding to the first data node on the basis of playing the playlist.
[0147] Among them, in the case where the data stream and description information of the audio file are obtained through the scanning operation, it can be determined that the scanning operation of the audio file is completed.
[0148] Among them, the first specified quantity can be 120.
[0149] Thus, in the case where the data stream or description information of the first specified quantity of audio files is obtained, step S460 can be jumped to and executed; in the case where the data stream or description information of the first specified quantity of audio files is not obtained, step S430 can be returned to and executed.
[0150] Step S460: Update the playlist.
[0151] Optionally, in addition to updating the playlist, the index information for storing the description information can also be updated.
[0152] Step S470: Display the updated prompt message.
[0153] After displaying the updated prompt message, step S430 can be returned to and executed.
[0154] Step S480: Update the playlist.
[0155] Step S490: End.
[0156] In the case where it is detected that the scanning operation of each audio file has been completed, the playlist and index information, etc. can be updated, thereby ending the scanning operation.
[0157] Among them, the detailed introduction of each of the above steps can be referred to the foregoing embodiments, and will not be elaborated here.
[0158] Please refer to Figure 7 , Figure 7 which shows the schematic flowchart presented by the upper-layer application in the embodiments of the present application. Specifically, Figure 7 includes steps S510 to S590.
[0159] Step S510: Start.
[0160] Step S520: Display the process of the scanning operation.
[0161] Among them, the process of the scanning operation can include the scanning progress and the data stream of the scanned audio files or the description information of the scanned audio files, etc.
[0162] Step S530: Whether an update or end is detected.
[0163] In the case of detecting an update, step S540 can be jumped to for execution; in the case of detecting an end, step S560 can be jumped to for execution. Among them, the update or end can be a broadcast message, and this broadcast message can come from the intermediate layer data processing module that performs the scanning operation.
[0164] Step S540: Whether the audio files that have completed the scanning operation are greater than or equal to a specified value.
[0165] Thus, in the case where the audio files that have completed the scanning operation are greater than or equal to the specified value, step S550 can be jumped to for execution; in the case where the audio files that have not completed the scanning operation are greater than or equal to the specified value, step S520 can be returned to for execution.
[0166] In some embodiments, the specified value can be 10.
[0167] Optionally, from the foregoing introduction, it can also be that during the playback of the playlist, the scanning operation is continuously performed on the audio files, and then it is judged whether the audio files that have completed the scanning operation among the audio files other than those included in the playlist are greater than or equal to the specified value.
[0168] Step S550: Display all the audio files that have completed the scanning operation.
[0169] What can be displayed is the description information of the audio files that have completed the scanning operation, and step S520 can be continuously returned to for execution.
[0170] Step S560: Whether the playlist is empty.
[0171] Among them, the playlist can be constructed based on the data stream corresponding to the data nodes that have completed the scanning operation. Therefore, in the case where the playlist is empty, it indicates that there are no audio files in the mobile storage device, and step S570 can be jumped to; while in the case where the playlist is not empty, step S580 can be jumped to for execution.
[0172] Step S570: Display that no audio files are detected.
[0173] Among them, displaying that no audio files are detected can be a prompt message generated by the in-vehicle system and displayed to the user.
[0174] Step S580: Display all the audio files that have completed the scanning operation.
[0175] What can be displayed is the description information of the audio files that have completed the scanning operation.
[0176] Step S590: End.
[0177] Please refer toFigure 8 , Figure 8 shows a structural block diagram of an audio file scanning device provided by an embodiment of the present application. The audio file scanning device 800 includes: an acquisition unit 810, a scanning unit 820, and a playlist construction unit 830.
[0178] The acquisition unit 810 is configured to acquire at least one audio file in a removable storage device. Each of the audio files includes a plurality of data nodes arranged in sequence, and each of the data nodes corresponds to a data stream.
[0179] The scanning unit 820 is configured to perform a scanning operation on the data nodes of each of the audio files.
[0180] The playlist construction unit 830 is configured to, when a first data node in the audio file is scanned, construct a playlist based on the data stream corresponding to the scanned first data node. The first data node is determined based on the first N data nodes arranged in sequence, and N is a positive integer greater than or equal to 1.
[0181] Optionally, the playlist construction unit 830 can also be configured to, during the process of playing the playlist, if a new data node is scanned, add the data stream corresponding to the new data node to the playlist.
[0182] Optionally, the playlist construction unit 830 can also be configured to, during the process of playing the playlist, if a new data node is scanned, add the data stream corresponding to the new data node to the playlist.
[0183] Optionally, the playlist construction unit 830 can also be configured to determine a first target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio file; detect whether a first sorting of the scanned data nodes in the audio file matches the first target sorting; and when the sortings match, construct a playlist based on the data stream corresponding to the scanned first data node.
[0184] Optionally, the playlist construction unit 830 can also be configured to determine a second target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio file; obtain a first quantity of a first audio file among the plurality of audio files, where the first audio file is used to represent an audio file in which a second sorting of the scanned data nodes matches the second target sorting; and when the first quantity is greater than or equal to a first target quantity, construct a playlist based on the data stream corresponding to the scanned first data node, where the first target quantity is less than the quantity of the audio files.
[0185] Optionally, the playlist construction unit 830 may also be configured to determine a plurality of third target sorts corresponding to the first data node based on the sort of the first N data nodes arranged in sequence in the audio file, where each audio file corresponds to one of the third target sorts; obtain a second quantity of second audio files among the plurality of audio files, where the second audio files are used to represent audio files in which the third sort of the scanned data nodes matches a specified third target sort, and the specified third target sort is the third target sort corresponding to the audio file; and construct a playlist based on the data stream corresponding to the scanned first data node when the second quantity is greater than or equal to a second target quantity, where the second target quantity is less than the quantity of the audio files.
[0186] Optionally, the playlist construction unit 830 may also be configured to sequentially play the data streams of each audio file in the playlist and correspondingly display the display content of each playing audio file, where the display content is the description information of the audio file or the default display content.
[0187] Optionally, when the description information corresponding to the audio file has been obtained, the display content corresponding to the audio file is the description information corresponding to the audio file; when the description information corresponding to the audio file has not been obtained, the display content corresponding to the audio file is the default display content.
[0188] Optionally, during the process of playing the playlist, if it is detected that the second data nodes in each audio file have been scanned, the playlist construction unit 830 may also be configured to update the playlist based on the data content corresponding to each data node in each audio file, where the second data nodes include the data nodes in the audio file other than the first data node.
[0189] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described devices and units may refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0190] In several embodiments provided in the present application, the coupling between units may be electrical, mechanical, or other forms of coupling. Additionally, in each embodiment of the present application, each functional unit may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.
[0191] Please continue to refer to Figure 1 , Figure 1The vehicle 110 shown in [figure] is configured with an in-vehicle system, which may include a microprocessing unit. Additionally, the in-vehicle system may further include a memory and one or more application programs. The microprocessing unit is electrically connected to the memory, and the one or more programs are configured to construct the playlist through the processor based on the methods described in the various embodiments of the foregoing audio file scanning method.
[0192] The microprocessing unit may include one or more processing cores. The microprocessing unit connects various parts within the entire in-vehicle system using various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory, and by calling data stored in the memory, it performs various functions of the in-vehicle system and processes data. Optionally, the microprocessing unit may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The microprocessing unit may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, and computer programs, etc.; the GPU is responsible for the rendering and drawing of display content; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the microprocessing unit and may be implemented separately through a communication chip. Specifically, the methods described in the foregoing embodiments may be executed by one or more microprocessing units.
[0193] For some embodiments, the memory may include random access memory (RAM) and may also include read-only memory. The memory is used to store instructions, programs, code, code sets, or instruction sets. The memory may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the in-vehicle system of the vehicle, etc.
[0194] Please refer to Figure 9 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 900, and the program code can be called by a processor to execute the methods described in the above method embodiments.
[0195] The computer-readable storage medium 900 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has a storage space for program code 910 that executes any of the method steps in the above-described method. These program codes can be read out from or written into one or more computer program products. The program code 910 can be compressed in a suitable form, for example.
[0196] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An audio file scanning method, characterized in that, Including: Obtain at least one audio file in a removable storage device, where each of the audio files includes a plurality of data nodes arranged in sequence, and each of the data nodes corresponds to a data stream; Perform a scanning operation on the data nodes of each of the audio files; In the audio file, when it is determined that the first data node in the audio file has been scanned, construct a playlist based on the data stream corresponding to the scanned first data node, where the first data node is determined based on the first N data nodes arranged in sequence, and N is a positive integer greater than or equal to 1.
2. The method according to claim 1, wherein The method further includes: During the process of playing the playlist, if a new data node is scanned, add the data stream corresponding to the new data node to the playlist.
3. The method according to claim 1, wherein When the audio file is single, in the audio file, when it is determined that the first data node in the audio file has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node includes: Determine the first target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio file; In the audio file, detect whether the first sorting of the scanned data node matches the first target sorting; When the sortings match, construct a playlist based on the data stream corresponding to the scanned first data node.
4. The method according to claim 1, wherein When the audio files are multiple, in the audio files, when it is determined that the first data node in the audio file has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node includes: Determine the second target sorting corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio files; In the multiple audio files, obtain the first quantity of the first audio file, where the first audio file is used to represent the audio file in which the second sorting of the scanned data node matches the second target sorting; When the first quantity is greater than or equal to the first target quantity, construct a playlist based on the data stream corresponding to the scanned first data node, where the first target quantity is less than the quantity of the audio files.
5. The method according to claim 1, characterized in that, When the audio files are multiple, in the audio files, when it is determined that the first data node in the audio file has been scanned, constructing a playlist based on the data stream corresponding to the scanned first data node includes: Determine a plurality of third target sortings corresponding to the first data node based on the sorting of the first N data nodes arranged in sequence in the audio files, where each of the audio files corresponds to one of the third target sortings; In the multiple audio files, obtain the second quantity of the second audio file, where the second audio file is used to represent the audio file in which the third sorting of the scanned data node matches the specified third target sorting, and the specified third target sorting is the third target sorting corresponding to this audio file; When the second quantity is greater than or equal to the second target quantity, a playlist is constructed based on the data stream corresponding to the first data node that has been scanned, where the second target quantity is less than the quantity of audio files.
6. The method according to claim 1, wherein The scanning operation is further used to obtain the description information of each audio file. After determining that the first data node in the audio file has been scanned and constructing a playlist based on the data stream corresponding to the first data node that has been scanned in the audio file, it further includes: Playing the data streams of each audio file in sequence based on the playlist and correspondingly displaying the display content of each audio file being played, where the display content is the description information of the audio file or the default display content.
7. The method according to claim 6, wherein When the description information corresponding to the audio file has been obtained, the display content corresponding to the audio file is the description information corresponding to the audio file. When the description information corresponding to the audio file has not been obtained, the display content corresponding to the audio file is the default display content.
8. The method according to claim 1, wherein The method further includes: During the process of playing the playlist, if it is detected that the second data nodes in each audio file have been scanned, the playlist is updated based on the data content corresponding to each data node in each audio file, where the second data nodes include the data nodes in the audio file other than the first data node.
9. An audio file scanning device, characterized in that, It includes: An acquisition unit for acquiring at least one audio file in a mobile storage device, where each audio file includes a plurality of sequentially arranged data nodes, and each data node corresponds to a data stream; A scanning unit for performing a scanning operation on the data nodes of each audio file; A playlist construction unit for constructing a playlist based on the data stream corresponding to the first data node that has been scanned when it is determined that the first data node in the audio file has been scanned, where the first data node is determined based on the first N sequentially arranged data nodes, and N is a positive integer greater than or equal to 1.
10. A vehicle, characterized in that, The vehicle includes a microcontroller unit, and the microcontroller unit is used to construct a playlist based on the method according to any one of claims 1-8.