WO2019085040A1 - Method for loading media data file by vehicle-mounted system, and vehicle-mounted system - Google Patents

Method for loading media data file by vehicle-mounted system, and vehicle-mounted system Download PDF

Info

Publication number
WO2019085040A1
WO2019085040A1 PCT/CN2017/111399 CN2017111399W WO2019085040A1 WO 2019085040 A1 WO2019085040 A1 WO 2019085040A1 CN 2017111399 W CN2017111399 W CN 2017111399W WO 2019085040 A1 WO2019085040 A1 WO 2019085040A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
media data
data file
loaded
loading
Prior art date
Application number
PCT/CN2017/111399
Other languages
French (fr)
Chinese (zh)
Inventor
王辉耀
方杰
Original Assignee
深圳市沃特沃德股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Publication of WO2019085040A1 publication Critical patent/WO2019085040A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data

Definitions

  • the present invention relates to the field of in-vehicle systems, and more particularly to a method and an in-vehicle system for loading a media data file into an in-vehicle system.
  • Car multimedia entertainment has evolved from a previous radio and a cassette player or CD player to a system that can access a variety of entertainment information through external devices and network communication.
  • the car multimedia entertainment function can be used for satellite digital broadcast reception and digital TV.
  • Receive, CD/DVD playback, etc., and multimedia playback functions such as MP3/MP4/IPOD/USB, to provide users with richer audio-visual enjoyment, and more applications, to meet the user's requirements for car entertainment and comfort.
  • the in-vehicle multimedia audio-visual entertainment data is numerous and complicated.
  • the media data files are stored directly, but the categories are not classified and stored, which causes the user to select the programs that they want to watch, which takes a long time and affects the user experience.
  • the main object of the present invention is to provide a method for loading a media data file by an in-vehicle system, which aims to solve the technical problem that the existing vehicle system does not perform class classification and classified storage after loading media data files.
  • the present invention provides a method for loading a media data file by an in-vehicle system, including:
  • the to-be-loaded media data file is derived from an external device, and the foregoing analyzing the to-be-loaded media data
  • the steps for the file type of the file including:
  • the method before the step of scanning the storage folder of the external device step by step, the method includes:
  • the step of identifying a file suffix name of all the media data files in the storage folder is as follows:
  • the step of loading the file path of the to-be-loaded media data file in the specified folder of the corresponding file type according to the file type includes:
  • the present invention also provides an in-vehicle system, including:
  • an analysis module configured to analyze a file type of the media data file to be loaded
  • a loading module configured to respectively load the file path of the to-be-loaded media data file in a specified folder of the corresponding file type according to the file type.
  • the to-be-loaded media data file is derived from an external device, and the analysis module includes:
  • a first scanning unit configured to scan a storage folder of the external device step by step
  • an identification unit configured to identify a file suffix name of all media data files in the storage folder
  • a distinguishing unit configured to distinguish a file type of the media data file according to the file suffix name.
  • the analyzing module further includes:
  • a monitoring unit configured to monitor whether an external device is mounted
  • an access unit configured to access a data storage space of the external device if an external device is externally loaded.
  • the identifying unit comprises:
  • a first determining subunit configured to determine whether a compressed file exists
  • the loading module includes:
  • a second scanning unit configured to scan the specified folder
  • a second determining unit configured to determine whether the to-be-loaded media data file is duplicated with the existing media data file in the specified folder
  • a loading unit configured to load the to-be-loaded media data file if there is no duplicate media data file.
  • the present invention loads and stores media data files on an in-vehicle system, loads and stores them in folders corresponding to the in-vehicle system according to file type classification, and manages loading and storing of media data files from the source, which is convenient.
  • the user invokes and finds the corresponding media data file, saves time, reduces the possibility of duplicate media data file content, and optimizes the in-vehicle system memory resource usage status.
  • the invention scans the source folder of the media data file step by step in the loading process to avoid missing the classification and loading of some media data files.
  • FIG. 1 is a schematic flow chart of a method for loading a media data file in an in-vehicle system according to a first embodiment of the present invention
  • step S1 is a schematic flow chart of the method of step S1 in the second embodiment of the present invention.
  • step S1 is a schematic flow chart of the method of step S1 in the third embodiment of the present invention.
  • step S11 is a schematic flow chart of the method of step S11 in the fourth embodiment of the present invention.
  • step S2 is a schematic flow chart of a method of step S2 in the fifth embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a module of an in-vehicle system in a first embodiment of the present invention
  • 7 is a schematic structural diagram of an analysis module in a second embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an analysis module in a third embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an identification unit in a fourth embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a loading module in a fifth embodiment of the present invention.
  • a first embodiment of the present invention provides a method for loading a media data file by an in-vehicle system, including:
  • S1 analyzing the file type of the media data file to be loaded.
  • the file types in this step include audio files, video files, picture files, and the like.
  • S2 loading the file path of the to-be-loaded media data file into the specified folder of the corresponding file type according to the file type.
  • the corresponding folder corresponding to the vehicle system is loaded, for example, the audio file is loaded into the audio folder; the video file is loaded into the video folder; the image file is loaded into the image folder, so that the user can find, Management and further application, saving users, reducing the possibility of duplication of media data files, and optimizing the use of memory resources in the vehicle system.
  • the file path is the source path of the media data file.
  • the to-be-loaded media data file is derived from an external device, and the step S1 includes:
  • S10 Scan the storage folder of the foregoing external device step by step.
  • the step-by-step scanning in this step includes comprehensive scanning from the total folder to the sub-folders of each level in order to ensure that any required media data files are not missed.
  • the storage folder of the media data file refers to the folder in which the media data file was not originally loaded before the in-vehicle system.
  • S11 Identify a file suffix name of all the media data files in the storage folder.
  • the file type of the media data file is classified and classified by identifying the file suffix name.
  • the file extensions include: image file suffixes, such as BMP (bitmap), JPG, JPEG. PN G, GIF, etc.; audio file suffixes, such as MP3, OGG, WAV, APE, CDA, AU, MI DI, MAC , AAC, etc.; video file suffixes, such as RMVB, WMV, ASF, AVI, MPG, MKV, MP4, DVD, OGM, MOV, MPEG2, MPEG4, etc.
  • image file suffixes such as BMP (bitmap), JPG, JPEG. PN G, GIF, etc.
  • audio file suffixes such as MP3, OGG, WAV, APE, CDA, AU, MI DI, MAC , AAC, etc.
  • video file suffixes such as RMVB, WMV, ASF, AVI, MPG, MKV, MP4, DVD, OGM,
  • S12 Differentiating the file type of the media data file according to the file suffix name.
  • the classification is performed according to the file suffix name of the media data file, so as to classify each media data file, and improve the file type classification accuracy of the media data file.
  • the method before step S10, the method includes:
  • S100 Monitor whether an external device is mounted.
  • the media data file of the embodiment is derived from an external device, and the external device in this step includes a data storage device such as a USB flash drive or a smart terminal.
  • This step monitors whether there is an external device connected by monitoring whether the external data device is connected to the data interface of the vehicle system.
  • the data storage space of this step refers to the original storage location of the media data file in the external device.
  • the step S1 includes:
  • S110 Determine whether there is a compressed file.
  • Decompression in this step prevents missed or misselected media data files to increase the accuracy of classifying loading and managing file types of media data files.
  • step S2 includes:
  • This step refers to scanning a specified folder in the in-vehicle system when the media file is loaded into the in-vehicle system, so as to learn more about the parameter information of the existing media data file, including: the existing media data file The naming, size or content etc.
  • S21 determining whether the to-be-loaded media data file is overlapped with the existing media data file in the specified folder.
  • This step may be based on comparing parameter information of the to-be-loaded media data file with the existing media data file. It is determined whether the media data file is duplicated. If two or more parameter information are the same, it is considered that there is a media data file that is duplicated with the media data file to be loaded.
  • This step can prevent repeated loading, so as not to waste the memory resources of the in-vehicle system.
  • the loading of this step means that the storage link of the media data file to be loaded is saved in the memory system of the vehicle system by copying.
  • a new folder may be automatically created to be consistent with the type of the media data file to be loaded.
  • the storage link of the media data files is more convenient for managing media data files in the in-vehicle system.
  • a first embodiment of the present invention further provides an in-vehicle system, including:
  • the analysis module 1 is configured to analyze the file type of the media data file to be loaded.
  • the above file types include an audio file, a video file, and a picture file, and the above file types are analyzed and distinguished by the analysis module 1.
  • the loading module 2 is configured to respectively load the file paths of the media data files to be loaded according to the file type in a specified folder of the corresponding file type.
  • the loading module 2 is separately loaded according to different file types, for example, the audio file is loaded into the audio folder; the video file is loaded into the video folder; the image file is loaded into the image folder, so that the user can find, manage, and further apply. It saves time and reduces the possibility of duplication of media data files, optimizing the memory resource usage status of the vehicle system.
  • the file path refers to the source path of the media data file.
  • the to-be-loaded media data file is derived from an external device, and the analysis module 1 includes:
  • the first scanning unit 10 is configured to scan the storage folder of the foregoing external device step by step.
  • the first scanning unit 10 scans step by step from the total folder to the sub-folders of each level, and sequentially scans in order to ensure that any required media data files are not missed.
  • the storage folder of the media data file refers to the media data file. The folder that originally existed before the car system was loaded.
  • the identification unit 11 is configured to identify a file suffix name of all media data files in the storage folder.
  • the identification unit 11 classifies the file types of the media data files by identifying the file suffix names, and the file suffix names include: image file suffix names, such as BMP (bitmap), JPG, JPEG, PNG , GIF, etc.; audio file suffixes, such as MP3, OGG, WAV, APE, CDA, AU, MIDI, MAC, AAC, etc.; video file suffixes, such as RMVB, WMV, ASF, AVI, MPG, MKV, MP4, DVD , OGM, MOV, MPEG2, MPEG4, etc.
  • image file suffix names such as BMP (bitmap), JPG, JPEG, PNG , GIF, etc.
  • audio file suffixes such as MP3, OGG, WAV, APE, CDA, AU, MIDI, MAC, AAC, etc.
  • video file suffixes such as RMVB, WMV, ASF, AVI, MPG, MKV, MP4, DVD ,
  • the distinguishing unit 12 is configured to distinguish the file type of the media data file according to the file suffix name.
  • the distinguishing unit 12 performs classification and classification according to the file suffix name of the media data file, so as to classify each media data file, and improve the file type classification accuracy of the media data file.
  • the analysis module 1 further includes:
  • the monitoring unit 100 is configured to monitor whether an external device is mounted.
  • the media data file in this embodiment is derived from an external device, and the external device includes a data storage device such as a USB flash drive or an intelligent terminal.
  • the monitoring unit 100 monitors whether the external data device is accessed by monitoring the data interface of the vehicle system.
  • the access unit 101 is configured to access a data storage space of the external device if an external device is mounted.
  • the above data storage space refers to the original storage location of the media data file in the external device, and can be accessed by the access unit 101.
  • the foregoing identifying unit 11 includes:
  • the first determining sub-unit 110 is configured to determine whether a compressed file exists.
  • the first determining sub-unit 110 determines whether a compressed file exists by compressing a file common file type suffix
  • the decompression subunit 111 is configured to decompress the compressed file if a compressed file exists.
  • the selection or mis-selection of the media data file can be prevented to increase the accuracy of classifying the loading and managing the file type of the media data file.
  • the loading module 2 includes: [0109]
  • the second scanning unit 20 is configured to scan the specified folder.
  • the second scanning unit 20 scans the existing media data file in the in-vehicle system, so as to learn more about the parameter information of the existing media data file, including: The naming, size or content of the media data file.
  • the second determining unit 21 is configured to determine whether the to-be-loaded media data file is duplicated with the existing media data file.
  • the second determining unit 21 may determine, according to the comparison of the to-be-loaded file and the parameter information of the existing media data file, whether there is a media data file that is duplicated with the file to be loaded, if the two or more parameter information The same, it is considered that there is a media data file that is duplicated with the file to be loaded.
  • the abandon loading unit 22 is configured to discard the loading of the to-be-loaded file if there is a duplicate media data file.
  • Abandoning the loading unit 22 can prevent repeated loading so as not to waste the memory resources of the in-vehicle system.
  • a loading unit 23 configured to load the to-be-loaded file if there is no duplicate media data file
  • the above loading means that the loading unit 23 saves the storage link of the media data file to be loaded in the in-vehicle system memory disk by copying.
  • a new folder may be automatically created to store media data consistent with the type of the media data file to be loaded.
  • File storage links to make it easier to manage media data files within the in-vehicle system.
  • the media data file is loaded on the in-vehicle system, and the file is stored in the corresponding folder of the in-vehicle system according to the file type classification, and the loading and storage of the media data file are managed from the source, which is convenient for the user to call and find.
  • Corresponding media data files save time and reduce the possibility of duplicate media data file content, optimizing the memory resource usage status of the vehicle system.
  • the source folder of the media data file is scanned step by step in the loading process to avoid missing the classification and loading of some media data files.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Traffic Control Systems (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

Disclosed in the present invention are a method for loading a media data file by a vehicle-mounted system, and the vehicle-mounted system. The method for loading a media data file by a vehicle-mounted system comprises: analyzing the file types of media data files to be loaded; and respectively loading, according to the file types, file paths of the media data files to be loaded, to specified file folders corresponding to the file types. In the present invention, when media data files are loaded in the vehicle-mounted system, the media data files are respectively loaded and stored in file folders corresponding to the vehicle-mounted system, and the loading and the storage of the media data files are managed from the source, which helps a user invoke and search for the corresponding media data files, reduces the time, reduces the possibility of repeated contents of the media data files, and optimizes a memory resource usage state of the vehicle-mounted system. In the present invention, source folders of the media data files are comprehensively scanned level by level in the loading process, and accordingly, the omission of classification and loading of certain media data files is avoided.

Description

车载系统加载媒体数据文件的方法与车载系统 技术领域  Method for loading media data file in vehicle system and vehicle system
[0001] 本发明涉及到车载系统领域, 特别是涉及到车载系统加载媒体数据文件的方法 与车载系统。  [0001] The present invention relates to the field of in-vehicle systems, and more particularly to a method and an in-vehicle system for loading a media data file into an in-vehicle system.
背景技术  Background technique
[0002] 随着现代汽车工业和电子技术的发展, 车辆导航、 通信、 多媒体影音娱乐、 等 电子系统可以通过网络技术联网形成功能强大的综合性车载系统。 未来的车载 系统向着集成化、 智能化、 全图形化信息平台的方向发展。 车载多媒体影音娱 乐已经由以前的收音机和一个卡带机或 CD机进化成可以通过外挂设备和网络通 讯等途径获取多种娱乐信息的系统, 车载多媒体影音娱乐功能可进行卫星数字 广播接收、 车载数字电视接收、 CD/DVD播放等, 并具有 MP3/MP4/IPOD/USB等 多媒体播放功能, 为用户提供更丰富的视听享受, 应用也更加丰富, 以满足用 户对车载娱乐性、 舒适性的要求。 但车载多媒体影音娱乐数据多而庞杂, 现多 为直接将媒体数据文件进行储存, 而未进行类别区分, 分类存储, 致使用户筛 选想观看的节目吋, 耗吋很久, 影响用户的使用体验。  [0002] With the development of the modern automobile industry and electronic technology, electronic systems such as vehicle navigation, communication, multimedia entertainment, and the like can form a powerful integrated in-vehicle system through network technology networking. Future in-vehicle systems are moving toward an integrated, intelligent, and fully graphical information platform. Car multimedia entertainment has evolved from a previous radio and a cassette player or CD player to a system that can access a variety of entertainment information through external devices and network communication. The car multimedia entertainment function can be used for satellite digital broadcast reception and digital TV. Receive, CD/DVD playback, etc., and multimedia playback functions such as MP3/MP4/IPOD/USB, to provide users with richer audio-visual enjoyment, and more applications, to meet the user's requirements for car entertainment and comfort. However, the in-vehicle multimedia audio-visual entertainment data is numerous and complicated. Nowadays, the media data files are stored directly, but the categories are not classified and stored, which causes the user to select the programs that they want to watch, which takes a long time and affects the user experience.
[0003] 因此, 现有技术还有待改进。  [0003] Therefore, the prior art still needs to be improved.
技术问题  technical problem
[0004] 本发明的主要目的为提供车载系统加载媒体数据文件的方法, 旨在解决现有车 载系统在加载媒体数据文件吋未进行类别区分、 分类存储的技术问题。  [0004] The main object of the present invention is to provide a method for loading a media data file by an in-vehicle system, which aims to solve the technical problem that the existing vehicle system does not perform class classification and classified storage after loading media data files.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0005] 本发明提出一种车载系统加载媒体数据文件的方法, 包括:  [0005] The present invention provides a method for loading a media data file by an in-vehicle system, including:
[0006] 分析待加载媒体数据文件的文件类型; [0006] analyzing a file type of a media data file to be loaded;
[0007] 根据所述文件类型将所述待加载媒体数据文件的文件路径分别加载于对应文件 类型的指定文件夹中。  And loading a file path of the to-be-loaded media data file into a specified folder of a corresponding file type according to the file type.
[0008] 优选地, 上述待加载媒体数据文件来源于外置设备, 上述分析待加载媒体数据 文件的文件类型的步骤, 包括: [0008] Preferably, the to-be-loaded media data file is derived from an external device, and the foregoing analyzing the to-be-loaded media data The steps for the file type of the file, including:
[0009] 逐级扫描所述外置设备的存储文件夹;  [0009] scanning the storage folder of the external device step by step;
[0010] 识别所述存储文件夹中所有媒体数据文件的文件后缀名;  [0010] identifying a file suffix name of all media data files in the storage folder;
[0011] 根据所述文件后缀名区分所述媒体数据文件的文件类型。  [0011] distinguishing the file type of the media data file according to the file suffix name.
[0012] 优选地, 上述逐级扫描上述外置设备的存储文件夹的步骤之前, 包括:  [0012] Preferably, before the step of scanning the storage folder of the external device step by step, the method includes:
[0013] 监听是否存在外置设备挂载;  [0013] monitoring whether there is an external device mount;
[0014] 若存在, 则访问上述外置设备的数据存储空间。  [0014] If yes, access the data storage space of the external device.
[0015] 优选地, 上述识别上述存储文件夹中所有媒体数据文件的文件后缀名的步骤, 包括:  [0015] Preferably, the step of identifying a file suffix name of all the media data files in the storage folder is as follows:
[0016] 判断是否存在压缩文件;  [0016] determining whether there is a compressed file;
[0017] 若存在压缩文件, 则解压缩上述压缩文件。  [0017] If there is a compressed file, the compressed file is decompressed.
[0018] 优选地, 上述根据所述文件类型将所述待加载媒体数据文件的文件路径分别加 载于对应文件类型的指定文件夹中的步骤, 包括:  [0018] Preferably, the step of loading the file path of the to-be-loaded media data file in the specified folder of the corresponding file type according to the file type, includes:
[0019] 扫描指定文件夹;  [0019] scanning a specified folder;
[0020] 判断上述待加载媒体数据文件是否与上述指定文件夹中已存在的媒体数据文件 重复;  [0020] determining whether the to-be-loaded media data file is duplicated with the existing media data file in the specified folder;
[0021] 若存在重复的上述媒体数据文件, 则放弃加载上述待加载媒体数据文件; [0021] if there is a duplicate media data file, the data file to be loaded is discarded;
[0022] 若不存在重复的上述媒体数据文件, 则加载上述待加载媒体数据文件。 [0022] If there is no duplicate media data file, the media file to be loaded is loaded.
[0023] 本发明还提供一种车载系统, 包括:  [0023] The present invention also provides an in-vehicle system, including:
[0024] 分析模块, 用于分析待加载媒体数据文件的文件类型;  [0024] an analysis module, configured to analyze a file type of the media data file to be loaded;
[0025] 加载模块, 用于根据所述文件类型将所述待加载媒体数据文件的文件路径分别 加载于对应文件类型的指定文件夹中。  And a loading module, configured to respectively load the file path of the to-be-loaded media data file in a specified folder of the corresponding file type according to the file type.
[0026] 优选地, 所述待加载媒体数据文件来源于外置设备, 所述分析模块包括: [0026] Preferably, the to-be-loaded media data file is derived from an external device, and the analysis module includes:
[0027] 第一扫描单元, 用于逐级扫描所述外置设备的存储文件夹; [0027] a first scanning unit, configured to scan a storage folder of the external device step by step;
[0028] 识别单元, 用于识别所述存储文件夹中所有媒体数据文件的文件后缀名; [0028] an identification unit, configured to identify a file suffix name of all media data files in the storage folder;
[0029] 区分单元, 用于根据所述文件后缀名区分所述媒体数据文件的文件类型。 [0029] a distinguishing unit, configured to distinguish a file type of the media data file according to the file suffix name.
[0030] 优选地, 所述分析模块还包括:  [0030] Preferably, the analyzing module further includes:
[0031] 监听单元, 用于监听是否存在外置设备挂载; [0032] 访问单元, 用于若存在外置设备外载, 则访问所述外置设备的数据存储空间。 [0031] a monitoring unit, configured to monitor whether an external device is mounted; [0032] an access unit, configured to access a data storage space of the external device if an external device is externally loaded.
[0033] 优选地, 所述识别单元包括:  [0033] Preferably, the identifying unit comprises:
[0034] 第一判断子单元, 用于判断是否存在压缩文件;  [0034] a first determining subunit, configured to determine whether a compressed file exists;
[0035] 解压缩子单元, 用于若存在压缩文件, 则解压缩所述压缩文件。  And [0035] decompressing the subunit, configured to decompress the compressed file if a compressed file exists.
[0036] 优选地, 所述加载模块包括:  [0036] Preferably, the loading module includes:
[0037] 第二扫描单元, 用于扫描所述指定文件夹;  [0037] a second scanning unit, configured to scan the specified folder;
[0038] 第二判断单元, 用于判断所述待加载媒体数据文件是否与所述指定文件夹中已 存在的媒体数据文件重复;  [0038] a second determining unit, configured to determine whether the to-be-loaded media data file is duplicated with the existing media data file in the specified folder;
[0039] 放弃加载单元, 用于若存在重复的所述媒体数据文件, 则放弃加载所述待加载 媒体数据文件; [0039] aborting the loading unit, if there is a duplicate of the media data file, abandon loading the to-be-loaded media data file;
[0040] 加载单元, 用于若不存在重复的所述媒体数据文件, 则加载所述待加载媒体数 据文件。  [0040] a loading unit, configured to load the to-be-loaded media data file if there is no duplicate media data file.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0041] 本发明有益技术效果: 本发明通过在车载系统上加载媒体数据文件吋根据文件 类型分类分别加载存储于车载系统对应的文件夹内, 从源头上管理媒体数据文 件的加载和存储, 方便用户调用和査找相应的媒体数据文件, 节省吋间, 且减 少出现媒体数据文件内容重复的可能性, 优化车载系统内存资源使用状态。 本 发明在加载过程中通过对媒体数据文件的来源文件夹进行逐级全面扫描, 避免 漏掉对某些媒体数据文件的分类与加载。  [0041] Advantageous Effects of the Invention: The present invention loads and stores media data files on an in-vehicle system, loads and stores them in folders corresponding to the in-vehicle system according to file type classification, and manages loading and storing of media data files from the source, which is convenient. The user invokes and finds the corresponding media data file, saves time, reduces the possibility of duplicate media data file content, and optimizes the in-vehicle system memory resource usage status. The invention scans the source folder of the media data file step by step in the loading process to avoid missing the classification and loading of some media data files.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0042] 图 1本发明第一实施例中车载系统加载媒体数据文件的方法流程示意图; 1 is a schematic flow chart of a method for loading a media data file in an in-vehicle system according to a first embodiment of the present invention;
[0043] 图 2本发明第二实施例中步骤 S1的方法流程示意图; 2 is a schematic flow chart of the method of step S1 in the second embodiment of the present invention;
[0044] 图 3本发明第三实施例中步骤 S1的的方法流程示意图;  3 is a schematic flow chart of the method of step S1 in the third embodiment of the present invention;
[0045] 图 4本发明第四实施例中步骤 S11的方法流程示意图;  4 is a schematic flow chart of the method of step S11 in the fourth embodiment of the present invention;
[0046] 图 5本发明第五实施例中步骤 S2的方法流程示意图;  5 is a schematic flow chart of a method of step S2 in the fifth embodiment of the present invention;
[0047] 图 6本发明第一实施例中车载系统的模块结构示意图; [0048] 图 7本发明第二实施例中分析模块的结构示意图; 6 is a schematic structural diagram of a module of an in-vehicle system in a first embodiment of the present invention; 7 is a schematic structural diagram of an analysis module in a second embodiment of the present invention;
[0049] 图 8本发明第三实施例中分析模块的结构示意图; 8 is a schematic structural diagram of an analysis module in a third embodiment of the present invention;
[0050] 图 9本发明第四实施例中识别单元的结构示意图 9 is a schematic structural diagram of an identification unit in a fourth embodiment of the present invention.
[0051] 图 10本发明第五实施例中加载模块的结构示意图。 10 is a schematic structural diagram of a loading module in a fifth embodiment of the present invention.
[0052] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。  [0052] The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0053] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。 The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0054] 参照图 1, 本发明第一实施例提出一种车载系统加载媒体数据文件的方法, 包 括:  [0054] Referring to FIG. 1, a first embodiment of the present invention provides a method for loading a media data file by an in-vehicle system, including:
[0055] S1 : 分析待加载媒体数据文件的文件类型。  [0055] S1: analyzing the file type of the media data file to be loaded.
[0056] 本步骤中文件类型包括音频文件、 视频文件和图片文件等。  [0056] The file types in this step include audio files, video files, picture files, and the like.
[0057] S2: 根据上述文件类型将上述待加载媒体数据文件的文件路径分别加载于对应 文件类型的指定文件夹中。  [0057] S2: loading the file path of the to-be-loaded media data file into the specified folder of the corresponding file type according to the file type.
[0058] 根据不同文件类型分类分别加载于车载系统对应的指定文件夹, 比如, 音频文 件加载于音频文件夹; 视频文件加载于视频文件夹; 图片文件加载于图片文件 夹, 以便方便用户査找、 管理和进一步应用, 节省用户吋间, 且减少出现媒体 数据文件内容重复的可能性, 优化车载系统内存资源使用状态。 文件路径是指 媒体数据文件的来源路径。 [0058] According to different file type classification, respectively, the corresponding folder corresponding to the vehicle system is loaded, for example, the audio file is loaded into the audio folder; the video file is loaded into the video folder; the image file is loaded into the image folder, so that the user can find, Management and further application, saving users, reducing the possibility of duplication of media data files, and optimizing the use of memory resources in the vehicle system. The file path is the source path of the media data file.
[0059] 参照图 2, 本发明第二实施例中, 所述待加载媒体数据文件来源于外置设备, 步骤 Sl, 包括: [0059] Referring to FIG. 2, in the second embodiment of the present invention, the to-be-loaded media data file is derived from an external device, and the step S1 includes:
[0060] S10: 逐级扫描上述外置设备的存储文件夹。 [0060] S10: Scan the storage folder of the foregoing external device step by step.
[0061] 本步骤中逐级扫描包括从总文件夹到各级子文件夹依次全面扫描, 以确保无遗 漏任何需要的媒体数据文件。 媒体数据文件的存储文件夹指媒体数据文件未加 载到车载系统前原始存在的文件夹。  [0061] The step-by-step scanning in this step includes comprehensive scanning from the total folder to the sub-folders of each level in order to ensure that any required media data files are not missed. The storage folder of the media data file refers to the folder in which the media data file was not originally loaded before the in-vehicle system.
[0062] S11 : 识别上述存储文件夹中所有媒体数据文件的文件后缀名。 [0062] S11: Identify a file suffix name of all the media data files in the storage folder.
[0063] 本实施例中, 通过识别文件后缀名对媒体数据文件的文件类型进行区分分类。 上述文件后缀名包括: 图片文件后缀名, 比如 BMP (位图) 、 JPG、 JPEG. PN G、 GIF等; 音频文件后缀名, 比如 MP3、 OGG、 WAV、 APE、 CDA、 AU、 MI DI、 MAC、 AAC等; 视频文件后缀名, 比如 RMVB、 WMV、 ASF、 AVI、 MPG 、 MKV、 MP4、 DVD、 OGM、 MOV、 MPEG2、 MPEG4等。 [0063] In this embodiment, the file type of the media data file is classified and classified by identifying the file suffix name. The file extensions include: image file suffixes, such as BMP (bitmap), JPG, JPEG. PN G, GIF, etc.; audio file suffixes, such as MP3, OGG, WAV, APE, CDA, AU, MI DI, MAC , AAC, etc.; video file suffixes, such as RMVB, WMV, ASF, AVI, MPG, MKV, MP4, DVD, OGM, MOV, MPEG2, MPEG4, etc.
[0064] S12: 根据上述文件后缀名区分上述媒体数据文件的文件类型。  [0064] S12: Differentiating the file type of the media data file according to the file suffix name.
[0065] 本实施例中, 按照媒体数据文件的文件后缀名进行区分分类, 以便对各媒体数 据文件进行分类, 提高媒体数据文件的文件类型分类准确度。  In this embodiment, the classification is performed according to the file suffix name of the media data file, so as to classify each media data file, and improve the file type classification accuracy of the media data file.
[0066] 参照图 3, 本发明第三实施例中, 步骤 S10之前, 包括:  [0066] Referring to FIG. 3, in the third embodiment of the present invention, before step S10, the method includes:
[0067] S100: 监听是否存在外置设备挂载。  [0067] S100: Monitor whether an external device is mounted.
[0068] 本实施例的媒体数据文件来源于外置设备, 本步骤中的外置设备包括 U盘、 智 能终端等数据储存设备。 本步骤通过监听车载系统数据接口是否有外置设备接 入, 来监听是否存在外置设备挂载。  The media data file of the embodiment is derived from an external device, and the external device in this step includes a data storage device such as a USB flash drive or a smart terminal. This step monitors whether there is an external device connected by monitoring whether the external data device is connected to the data interface of the vehicle system.
[0069] S101 : 若存在, 则访问上述外置设备的数据存储空间。  [0069] S101: If yes, access the data storage space of the external device.
[0070] 本步骤的数据存储空间指媒体数据文件在外置设备中的原始存放位置。  [0070] The data storage space of this step refers to the original storage location of the media data file in the external device.
[0071] 参照图 4, 本发明第四实施例中, 步骤 Sl l, 包括:  Referring to FIG. 4, in a fourth embodiment of the present invention, the step S1 includes:
[0072] S110: 判断是否存在压缩文件。  [0072] S110: Determine whether there is a compressed file.
[0073] 本步骤中通过压缩文件常用文件类型后缀来判断是否存在压缩文件。  [0073] In this step, it is determined whether a compressed file exists by compressing a common file type suffix of the file.
[0074] S111 : 若存在压缩文件, 则解压缩上述压缩文件。 [0074] S111: If there is a compressed file, the compressed file is decompressed.
[0075] 本步骤中的解压缩可防止对媒体数据文件的漏选或误选, 以增加分类加载和管 理媒体数据文件的文件类型的准确性。  [0075] Decompression in this step prevents missed or misselected media data files to increase the accuracy of classifying loading and managing file types of media data files.
[0076] 参照图 5, 本发明第五实施例中, 步骤 S2, 包括: [0076] Referring to FIG. 5, in the fifth embodiment of the present invention, step S2 includes:
[0077] S20: 扫描指定文件夹。 [0077] S20: Scan the specified folder.
[0078] 本步骤是指在将媒体文件加载到车载系统的吋候, 扫描车载系统中指定文件夹 , 以便更详尽的了解已存在的媒体数据文件的参数信息, 包括: 已存在的媒体 数据文件的命名、 大小或内容等。  [0078] This step refers to scanning a specified folder in the in-vehicle system when the media file is loaded into the in-vehicle system, so as to learn more about the parameter information of the existing media data file, including: the existing media data file The naming, size or content etc.
[0079] S21 : 判断上述待加载媒体数据文件是否与上述指定文件夹中已存在的媒体数 据文件重复。  [0079] S21: determining whether the to-be-loaded media data file is overlapped with the existing media data file in the specified folder.
[0080] 本步骤可根据对比待加载媒体数据文件与已存在的媒体数据文件的参数信息来 判断媒体数据文件是否重复, 若两项或两项以上的参数信息相同, 则认为存在 与待加载媒体数据文件重复的媒体数据文件。 [0080] This step may be based on comparing parameter information of the to-be-loaded media data file with the existing media data file. It is determined whether the media data file is duplicated. If two or more parameter information are the same, it is considered that there is a media data file that is duplicated with the media data file to be loaded.
[0081] S22: 若存在重复的上述媒体数据文件, 则放弃加载上述待加载媒体数据文件 [0081] S22: if there is a duplicate media data file, aborting loading the to-be-loaded media data file
[0082] 本步骤可防止重复加载, 以免浪费车载系统的内存资源。 [0082] This step can prevent repeated loading, so as not to waste the memory resources of the in-vehicle system.
[0083] S23: 若不存在重复的上述媒体数据文件, 则加载上述待加载媒体数据文件。 [0083] S23: If there is no duplicate media data file, load the media data file to be loaded.
[0084] 本步骤的加载是指将待加载媒体数据文件的存储链接通过复制的方式保存于车 载系统内存盘中。 [0084] The loading of this step means that the storage link of the media data file to be loaded is saved in the memory system of the vehicle system by copying.
[0085] 本实施例中若车载系统内存盘中不存在与待加载媒体数据文件的类型一致的媒 体数据文件夹吋, 可自动创建新的文件夹, 以存放与待加载媒体数据文件的类 型一致的媒体数据文件的存储链接, 以便更方便管理车载系统内的媒体数据文 件。  [0085] In this embodiment, if there is no media data folder in the memory disk of the in-vehicle system that is consistent with the type of the media data file to be loaded, a new folder may be automatically created to be consistent with the type of the media data file to be loaded. The storage link of the media data files is more convenient for managing media data files in the in-vehicle system.
[0086] 参照图 6, 本发明第一实施例还提供一种车载系统, 包括:  [0086] Referring to FIG. 6, a first embodiment of the present invention further provides an in-vehicle system, including:
[0087] 分析模块 1, 用于分析待加载媒体数据文件的文件类型。 [0087] The analysis module 1 is configured to analyze the file type of the media data file to be loaded.
[0088] 上述文件类型包括音频文件、 视频文件和图片文件等, 通过分析模块 1对上述 文件类型进行分析、 区分。  [0088] The above file types include an audio file, a video file, and a picture file, and the above file types are analyzed and distinguished by the analysis module 1.
[0089] 加载模块 2, 用于根据文件类型将上述待加载媒体数据文件的文件路径分别加 载于对应文件类型的指定文件夹中。  [0089] The loading module 2 is configured to respectively load the file paths of the media data files to be loaded according to the file type in a specified folder of the corresponding file type.
[0090] 加载模块 2根据不同文件类型分类分别加载, 比如, 音频文件加载于音频文件 夹; 视频文件加载于视频文件夹; 图片文件加载于图片文件夹, 以便方便用户 査找、 管理和进一步应用, 节省吋间, 且减少出现媒体数据文件内容重复的可 能性, 优化车载系统内存资源使用状态。 文件路径是指媒体数据文件的来源路 径。  [0090] The loading module 2 is separately loaded according to different file types, for example, the audio file is loaded into the audio folder; the video file is loaded into the video folder; the image file is loaded into the image folder, so that the user can find, manage, and further apply. It saves time and reduces the possibility of duplication of media data files, optimizing the memory resource usage status of the vehicle system. The file path refers to the source path of the media data file.
[0091] 参照图 7, 本发明第二实施例中, 上述待加载媒体数据文件来源于外置设备, 上述分析模块 1包括:  Referring to FIG. 7, in the second embodiment of the present invention, the to-be-loaded media data file is derived from an external device, and the analysis module 1 includes:
[0092] 第一扫描单元 10, 用于逐级扫描上述外置设备的存储文件夹。 [0092] The first scanning unit 10 is configured to scan the storage folder of the foregoing external device step by step.
[0093] 第一扫描单元 10从总文件夹到各级子文件夹逐级扫描, 依次全面扫描, 以确保 无遗漏任何需要的媒体数据文件。 媒体数据文件的存储文件夹指媒体数据文件 未加载到车载系统前原始存在的文件夹。 [0093] The first scanning unit 10 scans step by step from the total folder to the sub-folders of each level, and sequentially scans in order to ensure that any required media data files are not missed. The storage folder of the media data file refers to the media data file. The folder that originally existed before the car system was loaded.
[0094] 识别单元 11, 用于识别所述存储文件夹中所有媒体数据文件的文件后缀名。 [0094] The identification unit 11 is configured to identify a file suffix name of all media data files in the storage folder.
[0095] 本实施例中, 识别单元 11通过识别文件后缀名对媒体数据文件的文件类型进行 区分分类, 上述文件后缀名包括: 图片文件后缀名, 比如 BMP (位图) 、 JPG、 JPEG、 PNG、 GIF等; 音频文件后缀名, 比如 MP3、 OGG、 WAV、 APE、 CDA 、 AU、 MIDI、 MAC、 AAC等; 视频文件后缀名, 比如 RMVB、 WMV、 ASF、 AVI、 MPG、 MKV、 MP4、 DVD、 OGM、 MOV、 MPEG2、 MPEG4等。 [0095] In this embodiment, the identification unit 11 classifies the file types of the media data files by identifying the file suffix names, and the file suffix names include: image file suffix names, such as BMP (bitmap), JPG, JPEG, PNG , GIF, etc.; audio file suffixes, such as MP3, OGG, WAV, APE, CDA, AU, MIDI, MAC, AAC, etc.; video file suffixes, such as RMVB, WMV, ASF, AVI, MPG, MKV, MP4, DVD , OGM, MOV, MPEG2, MPEG4, etc.
[0096] 区分单元 12, 用于根据上述文件后缀名区分上述媒体数据文件的文件类型。 [0096] The distinguishing unit 12 is configured to distinguish the file type of the media data file according to the file suffix name.
[0097] 本实施例中, 通过区分单元 12按照媒体数据文件的文件后缀名进行区分分类, 以便对各媒体数据文件进行分类, 提高对媒体数据文件的文件类型分类准确度 [0097] In this embodiment, the distinguishing unit 12 performs classification and classification according to the file suffix name of the media data file, so as to classify each media data file, and improve the file type classification accuracy of the media data file.
[0098] 参照图 8, 本发明第三实施例中, 上述分析模块 1还包括: [0098] Referring to FIG. 8, in the third embodiment of the present invention, the analysis module 1 further includes:
[0099] 监听单元 100, 用于监听是否存在外置设备挂载。 [0099] The monitoring unit 100 is configured to monitor whether an external device is mounted.
[0100] 本实施例的媒体数据文件来源于外置设备, 上述外置设备包括 U盘、 智能终端 等数据储存设备。 监听单元 100通过监听车载系统数据接口是否有外置设备接入 [0100] The media data file in this embodiment is derived from an external device, and the external device includes a data storage device such as a USB flash drive or an intelligent terminal. The monitoring unit 100 monitors whether the external data device is accessed by monitoring the data interface of the vehicle system.
, 来监听是否存在外置设备挂载。 , to monitor if there is an external device mount.
[0101] 访问单元 101, 用于若存在外置设备挂载, 则访问上述外置设备的数据存储空 间。  [0101] The access unit 101 is configured to access a data storage space of the external device if an external device is mounted.
[0102] 上述数据存储空间指媒体数据文件在外置设备中的原始存放位置, 可通过访问 单元 101进行访问。  [0102] The above data storage space refers to the original storage location of the media data file in the external device, and can be accessed by the access unit 101.
[0103] 参照图 9, 本发明第四实施例中, 上述识别单元 11包括: [0103] Referring to FIG. 9, in the fourth embodiment of the present invention, the foregoing identifying unit 11 includes:
[0104] 第一判断子单元 110, 用于判断是否存在压缩文件。 [0104] The first determining sub-unit 110 is configured to determine whether a compressed file exists.
[0105] 第一判断子单元 110通过压缩文件常用文件类型后缀来判断是否存在压缩文件  [0105] The first determining sub-unit 110 determines whether a compressed file exists by compressing a file common file type suffix
[0106] 解压缩子单元 111, 用于若存在压缩文件, 则解压缩上述压缩文件。 [0106] The decompression subunit 111 is configured to decompress the compressed file if a compressed file exists.
[0107] 通过解压缩子单元 111进行解压缩, 可防止对媒体数据文件的漏选或误选, 以 增加分类加载和管理媒体数据文件的文件类型的准确性。  [0107] By decompressing the decompressing sub-unit 111, the selection or mis-selection of the media data file can be prevented to increase the accuracy of classifying the loading and managing the file type of the media data file.
[0108] 参照图 10, 本发明第五实施例中, 上述加载模块 2包括: [0109] 第二扫描单元 20, 用于扫描上述指定文件夹。 [0108] Referring to FIG. 10, in the fifth embodiment of the present invention, the loading module 2 includes: [0109] The second scanning unit 20 is configured to scan the specified folder.
[0110] 在将媒体文件加载到车载系统的吋候, 第二扫描单元 20扫描车载系统中已存在 的媒体数据文件, 以便更详尽的了解已存在的媒体数据文件的参数信息, 包括 : 已存在的媒体数据文件的命名、 大小或内容等。  [0110] When the media file is loaded into the in-vehicle system, the second scanning unit 20 scans the existing media data file in the in-vehicle system, so as to learn more about the parameter information of the existing media data file, including: The naming, size or content of the media data file.
[0111] 第二判断单元 21, 用于判断所述待加载媒体数据文件是否与所述已存在的媒体 数据文件重复。  [0111] The second determining unit 21 is configured to determine whether the to-be-loaded media data file is duplicated with the existing media data file.
[0112] 第二判断单元 21可根据对比待加载文件与已存在的媒体数据文件的参数信息, 来判断判断是否存在与待加载文件重复的媒体数据文件, 若上述两项或两项以 上参数信息相同, 则认为存在与待加载文件重复的媒体数据文件。  [0112] The second determining unit 21 may determine, according to the comparison of the to-be-loaded file and the parameter information of the existing media data file, whether there is a media data file that is duplicated with the file to be loaded, if the two or more parameter information The same, it is considered that there is a media data file that is duplicated with the file to be loaded.
[0113] 放弃加载单元 22, 用于若存在重复的上述媒体数据文件, 则放弃加载上述待加 载文件。  [0113] The abandon loading unit 22 is configured to discard the loading of the to-be-loaded file if there is a duplicate media data file.
[0114] 放弃加载单元 22可防止重复加载, 以免浪费车载系统的内存资源。  [0114] Abandoning the loading unit 22 can prevent repeated loading so as not to waste the memory resources of the in-vehicle system.
[0115] 加载单元 23, 用于若不存在重复的上述媒体数据文件, 则加载上述待加载文件  [0115] a loading unit 23, configured to load the to-be-loaded file if there is no duplicate media data file
[0116] 上述加载是指加载单元 23将待加载媒体数据文件的存储链接通过复制的方式保 存于车载系统内存盘中。 [0116] The above loading means that the loading unit 23 saves the storage link of the media data file to be loaded in the in-vehicle system memory disk by copying.
[0117] 本实施例中若车载系统内存盘中不存在与待加载文件的类型一致的媒体数据文 件吋, 可通过自动创建新的文件夹, 以存放与待加载媒体数据文件类型一致的 媒体数据文件的存储链接, 以便更方便管理车载系统内的而媒体数据文件。  [0117] In this embodiment, if there is no media data file in the memory disk of the in-vehicle system that is consistent with the type of the file to be loaded, a new folder may be automatically created to store media data consistent with the type of the media data file to be loaded. File storage links to make it easier to manage media data files within the in-vehicle system.
[0118] 本发明实施例通过在车载系统上加载媒体数据文件吋根据文件类型分类分别加 载存储于车载系统对应的文件夹内, 从源头上管理媒体数据文件的加载和存储 , 方便用户调用和査找相应的媒体数据文件, 节省吋间, 且减少出现媒体数据 文件内容重复的可能性, 优化车载系统内存资源使用状态。 本发明实施例在加 载过程中通过对媒体数据文件的来源文件夹进行逐级全面扫描, 避免漏掉对某 些媒体数据文件的分类与加载。  [0118] In the embodiment of the present invention, the media data file is loaded on the in-vehicle system, and the file is stored in the corresponding folder of the in-vehicle system according to the file type classification, and the loading and storage of the media data file are managed from the source, which is convenient for the user to call and find. Corresponding media data files save time and reduce the possibility of duplicate media data file content, optimizing the memory resource usage status of the vehicle system. In the embodiment of the present invention, the source folder of the media data file is scanned step by step in the loading process to avoid missing the classification and loading of some media data files.
[0119] 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利 用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运 用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。  The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.

Claims

权利要求书  Claim
一种车载系统加载媒体数据文件的方法, 其特征在于, 包括: 分析待加载媒体数据文件的文件类型; A method for loading a media data file in an in-vehicle system, comprising: analyzing a file type of a media data file to be loaded;
根据所述文件类型将所述待加载媒体数据文件的文件路径分别加载于 对应文件类型的指定文件夹中。 And loading the file path of the to-be-loaded media data file into a specified folder of the corresponding file type according to the file type.
根据权利要求 1所述的车载系统加载媒体数据文件的方法, 其特征在 于, 所述待加载媒体数据文件来源于外置设备, 所述分析待加载媒体 数据文件的文件类型的步骤, 包括: The method of loading a media data file in an in-vehicle system according to claim 1, wherein the data file to be loaded is derived from an external device, and the step of analyzing a file type of the data file to be loaded includes:
逐级扫描所述外置设备的存储文件夹; Scanning the storage folder of the external device step by step;
识别所述存储文件夹中所有媒体数据文件的文件后缀名; Identifying a file suffix name of all media data files in the storage folder;
根据所述文件后缀名区分所述媒体数据文件的文件类型。 Differentiating the file type of the media data file according to the file suffix name.
根据权利要求 2所述的车载系统加载媒体数据文件的方法, 其特征在 于, 所述逐级扫描所述外置设备的存储文件夹的步骤之前, 包括: 监听是否存在外置设备挂载; The method of loading a media data file by the in-vehicle system according to claim 2, wherein the step of scanning the storage folder of the external device step by step comprises: monitoring whether an external device is mounted;
若存在, 则访问所述外置设备的数据存储空间。 If so, access the data storage space of the external device.
根据权利要求 2所述的车载系统加载媒体数据文件的方法, 其特征在 于, 所述识别所述存储文件夹中所有媒体数据文件的文件后缀名的步 骤, 包括: The method of loading a media data file by the in-vehicle system according to claim 2, wherein the step of identifying a file suffix name of all the media data files in the storage folder comprises:
判断是否存在压缩文件; Determine if there is a compressed file;
若存在压缩文件, 则解压缩所述压缩文件。 If there is a compressed file, the compressed file is decompressed.
根据权利要求 1所述的车载系统加载媒体数据文件的方法, 其特征在 于, 所述根据所述文件类型将所述待加载媒体数据文件的文件路径分 别加载于对应文件类型的指定文件夹中的步骤, 包括: The method of loading a media data file in an in-vehicle system according to claim 1, wherein the file path of the to-be-loaded media data file is respectively loaded in a specified folder of a corresponding file type according to the file type. Steps, including:
扫描指定文件夹; Scan the specified folder;
判断所述待加载媒体数据文件是否与所述指定文件夹中已存在的媒体 数据文件重复; Determining whether the to-be-loaded media data file is duplicated with the existing media data file in the specified folder;
若重复, 则放弃加载所述待加载媒体数据文件; If it is repeated, the loading of the to-be-loaded media data file is abandoned;
若不重复, 则加载所述待加载媒体数据文件。 一种车载系统, 其特征在于, 包括: If not repeated, the media data file to be loaded is loaded. An in-vehicle system, comprising:
分析模块, 用于分析待加载媒体数据文件的文件类型; An analysis module, configured to analyze a file type of the media data file to be loaded;
加载模块, 用于根据所述文件类型将所述待加载媒体数据文件的文件 路径分别加载于对应文件类型的指定文件夹中。 And a loading module, configured to respectively load the file path of the to-be-loaded media data file into a specified folder of the corresponding file type according to the file type.
根据权利要求 6所述的车载系统, 其特征在于, 所述待加载媒体数据 文件来源于外置设备, 所述分析模块包括: The in-vehicle system according to claim 6, wherein the to-be-loaded media data file is derived from an external device, and the analysis module comprises:
第一扫描单元, 用于逐级扫描所述外置设备的存储文件夹; 识别单元, 用于识别所述存储文件夹中所有媒体数据文件的文件后缀 名; a first scanning unit, configured to scan a storage folder of the external device step by step; an identifying unit, configured to identify a file suffix name of all media data files in the storage folder;
区分单元, 用于根据所述文件后缀名区分所述媒体数据文件的文件类 型。 a distinguishing unit, configured to distinguish a file type of the media data file according to the file suffix name.
根据权利要求 7所述的车载系统, 其特征在于, 所述分析模块还包括 监听单元, 用于监听是否存在外置设备挂载; The in-vehicle system according to claim 7, wherein the analysis module further comprises a monitoring unit, configured to monitor whether an external device is mounted;
访问单元, 用于若存在外置设备外载, 则访问所述外置设备的数据存 储空间。 The access unit is configured to access the data storage space of the external device if there is an external device external load.
根据权利要求 7所述的车载系统, 其特征在于, 所述识别单元包括: 第一判断子单元, 用于判断是否存在压缩文件; The in-vehicle system according to claim 7, wherein the identification unit comprises: a first determining subunit, configured to determine whether a compressed file exists;
解压缩子单元, 用于若存在压缩文件, 则解压缩所述压缩文件。 根据权利要求 6所述的车载系统, 其特征在于, 所述加载模块包括: 第二扫描单元, 用于扫描所述指定文件夹; The decompressing subunit is configured to decompress the compressed file if a compressed file exists. The in-vehicle system according to claim 6, wherein the loading module comprises: a second scanning unit, configured to scan the specified folder;
第二判断单元, 用于判断所述待加载媒体数据文件是否与所述指定文 件夹中已存在的媒体数据文件重复; a second determining unit, configured to determine whether the to-be-loaded media data file is duplicated with the existing media data file in the specified folder;
放弃加载单元, 用于若存在重复的所述媒体数据文件, 则放弃加载所 述待加载媒体数据文件; Abandoning the loading unit, if the duplicated media data file exists, discarding loading the to-be-loaded media data file;
加载单元, 用于若不存在重复的所述媒体数据文件, 则加载所述待加 载媒体数据文件。 And a loading unit, configured to load the to-be-loaded media data file if there is no duplicate media data file.
PCT/CN2017/111399 2017-11-03 2017-11-16 Method for loading media data file by vehicle-mounted system, and vehicle-mounted system WO2019085040A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711071938.2 2017-11-03
CN201711071938.2A CN107885812A (en) 2017-11-03 2017-11-03 The method and onboard system of onboard system loading medium data file

Publications (1)

Publication Number Publication Date
WO2019085040A1 true WO2019085040A1 (en) 2019-05-09

Family

ID=61778839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111399 WO2019085040A1 (en) 2017-11-03 2017-11-16 Method for loading media data file by vehicle-mounted system, and vehicle-mounted system

Country Status (2)

Country Link
CN (1) CN107885812A (en)
WO (1) WO2019085040A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005577B (en) * 2018-06-29 2021-06-18 歌尔科技有限公司 Data access method and device, intelligent wearable device and storage medium
CN110543575B (en) * 2019-08-28 2021-11-19 浙江鸿泉车联网有限公司 Media file retrieval method and device of vehicle-mounted external storage equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125610A1 (en) * 2008-11-18 2010-05-20 At&T Intellectual Property I, L.P. Multimedia file drop in a wireless device
CN102054038A (en) * 2010-12-30 2011-05-11 东莞宇龙通信科技有限公司 File decompression method and device as well as mobile terminal
CN102387422A (en) * 2010-08-31 2012-03-21 青岛海信电器股份有限公司 Digital media player, file searching method thereof and television
CN105183768A (en) * 2015-07-31 2015-12-23 华为数字技术(成都)有限公司 File management method, apparatus and terminal device
CN105302883A (en) * 2015-10-13 2016-02-03 深圳市乐唯科技开发有限公司 Time-based media file management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125610A1 (en) * 2008-11-18 2010-05-20 At&T Intellectual Property I, L.P. Multimedia file drop in a wireless device
CN102387422A (en) * 2010-08-31 2012-03-21 青岛海信电器股份有限公司 Digital media player, file searching method thereof and television
CN102054038A (en) * 2010-12-30 2011-05-11 东莞宇龙通信科技有限公司 File decompression method and device as well as mobile terminal
CN105183768A (en) * 2015-07-31 2015-12-23 华为数字技术(成都)有限公司 File management method, apparatus and terminal device
CN105302883A (en) * 2015-10-13 2016-02-03 深圳市乐唯科技开发有限公司 Time-based media file management method and system

Also Published As

Publication number Publication date
CN107885812A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
US8954625B2 (en) System, method and computer program product for portable multimedia content display
AU2009201279B2 (en) Managing media files using metadata injection
US8150937B2 (en) Wireless synchronization between media player and host device
KR101501858B1 (en) Media file caching for an electronic device to conserve resources
EP2631820B1 (en) Computer-implemented method, mobile device, computer network system, and computer program product for optimized audio data provision
WO2007072155A2 (en) Method and system for synchronization between devices using metadata
CN108401026B (en) Block chain-based data storage method, system and computer-readable storage medium
CN104572966A (en) Zip file unzipping method and device
WO2019085040A1 (en) Method for loading media data file by vehicle-mounted system, and vehicle-mounted system
CN103179190A (en) Method, device and system for transmitting pictures
JP6734291B2 (en) Display for partial segments
CN113900597A (en) Data storage method, system, equipment and storage medium
KR20060095555A (en) Translation service for a system with a content directory service
US8635369B2 (en) Content transmission system, content sending apparatus and method, content reception apparatus and method, program, and recording media
CN104572964A (en) Zip file unzipping method and device
CN114553858A (en) Resource pre-downloading method, device and equipment
CN102447673A (en) Method and equipment for depacking multimedia file carrying a package format
KR101190977B1 (en) Decoding a hierarchical multi-layer data package
CN101674373A (en) MP4 streaming media playing system for mobile communication terminal and application method thereof
US10630809B2 (en) Information processing apparatus, image processing apparatus and control methods thereof
CN104506390A (en) Log storage method and device of road test system
TW201234289A (en) Autonomous intelligent content items
CN104090898B (en) The method that local music mates with music in storehouse and device
CN110908958B (en) File processing method, device, terminal and storage medium
CN111447490A (en) Streaming media file processing method and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17930817

Country of ref document: EP

Kind code of ref document: A1