CN103559896A - Audio and video playing method for multimedia terminal external memorizer - Google Patents

Audio and video playing method for multimedia terminal external memorizer Download PDF

Info

Publication number
CN103559896A
CN103559896A CN201310445343.4A CN201310445343A CN103559896A CN 103559896 A CN103559896 A CN 103559896A CN 201310445343 A CN201310445343 A CN 201310445343A CN 103559896 A CN103559896 A CN 103559896A
Authority
CN
China
Prior art keywords
audio
external memorizer
video document
video
thread
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201310445343.4A
Other languages
Chinese (zh)
Other versions
CN103559896B (en
Inventor
陈卓
梁自平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General Electronics Co Ltd
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 Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN201310445343.4A priority Critical patent/CN103559896B/en
Publication of CN103559896A publication Critical patent/CN103559896A/en
Application granted granted Critical
Publication of CN103559896B publication Critical patent/CN103559896B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an audio and video playing method for multimedia terminal external memorizer. A searching thread and a playing thread are started at the same time. The searching thread comprises the steps that audio and video file information in the external memorizer is read, and the read audio and video file information is stored in a searching list. The playing thread comprises the steps that a memory list stored when the external memorizer is logged off last time serves as a play list, and audio and video files, corresponding to the external memorizer, of the play list are played; after the audio and video file information in the external memorizer is read, the searching thread is logged off, and the searching list is updated into the play list; when the external memorizer is logged off, the current play list is stored as the memory list. The playing thread of audios and videos can be fast established, the audio and video files can be played within 3 seconds without reading the audio and video file information of the external memorizer completely, and the sense experience of users is enhanced.

Description

The audio frequency and video player method of a kind of multimedia terminal external memorizer
Technical field
The present invention relates to car entertainment technical field, be specifically related to the audio frequency and video player method of a kind of multimedia terminal external memorizer, the audio frequency and video that are particularly useful for vehicle-mounted multimedia terminal external memorizer are play.
Background technology
Along with expanding economy and scientific and technological progress, the amusement function of multimedia terminal becomes increasingly abundant.At present, the entertainment systems of multimedia terminal can carry out radio reception, by 3G module online, downloaded that audio-video document is play and play etc. by reading the audio-video document of external memorizer.
At present, the audio-video document that external memorizer is play in multimedia terminal has all first read all fileinfos of external memorizer, according to all audio-video documents in external memorizer, sets up playlist, plays.A kind of vehicle-mounted end of patent of invention as open in China and vehicle-mounted end method for playing music (application number: 201110410416.7, the applying date: 2011-12-09), specific as follows:
Information in scanning read memory, described audio file information at least comprises song title and the path of this audio file;
After in storer, information reads, according to the incidence relation of audio file and the file described in it, form audio file and launch list, described audio file launches list and at least comprises Folder Name and described file subordinate tone frequency file title, and shows that this audio file launches list;
After described audio file expansion list forms, displaying audio file launches the audio file in list in order.
Above-mentioned player method need to scan the fileinfo that has read external memorizer, just can play after setting up playlist.When the quantity of documents of external memorizer storage is larger, the file of external memorizer storage is read in multimedia terminal scanning, and the time of setting up playlist is longer, therefore cause the time to be played such as user long, even may wait for and reaching more than 30 seconds, affect user's experience.
Summary of the invention
The object of the invention is to overcome shortcomings and deficiencies of the prior art, the audio frequency and video player method of a kind of multimedia terminal external memorizer is provided, make the broadcasting thread energy Rapid Establishment of audio frequency and video, the audio-video document information that does not need wait to read external memorizer completely just can be carried out the broadcasting of audio-video document.
Object of the present invention is achieved through the following technical solutions: the audio frequency and video player method of a kind of multimedia terminal external memorizer,
Start a search thread and simultaneously and play thread, described search thread is: read the audio-video document information in external memorizer, and the audio-video document information reading is stored in to search listing; Described broadcasting thread is: the memory list of preserving when the last time is exited external memorizer, as playlist, is play the audio-video document in its corresponding external memorizer;
Read after the audio-video document information in external memorizer, exited search thread, and search listing has been updated in playlist;
While exiting external memorizer, current playlist is stored as to memory list.
Preferably, described audio-video document information at least comprises file name and the path of audio-video document.
Preferably, before the step that the memory list of preserving is play as playlist, also comprise the step that memory list is screened when the last time is exited external memorizer, the step of described screening is specially: according to the audio-video document information of each audio-video document in memory list, whether directly search this audio-video document exists in external memorizer, delete in memory list the audio-video document information without corresponding audio-video document in external memorizer respective paths, and using the memory list after screening as playlist.
Preferably, when the memory list after screening be empty, broadcasting thread obtains the part audio-video document information set up in search listing as playlist, plays the audio-video document in its corresponding external memorizer.
Preferably, the audio-video document information that described memory list is served as reasons the last time audio-video document of current broadcasting is corresponding while exiting external memorizer and with its list that continuous several audio-video document information form up and down.
Preferably, described memory list storage is in Nand Flash.
Preferably, described external memorizer is SD card, USB flash disk or portable hard drive.
The present invention has the following advantages and beneficial effect compared to existing technology:
(1) the present invention starts external memorizer in multimedia terminal, the method that the audio-video document of its external memorizer is play adopts and starts a search thread and a broadcasting thread simultaneously, and using memory list that the last time preserves while the exiting external memorizer playlist when starting external memorizer, play the audio-video document in its corresponding external memorizer, make the broadcasting thread energy Rapid Establishment of audio frequency and video, do not need to wait for the audio-video document information that has read external memorizer completely, in 0 to 3 second, get final product playing audio-video document, improve user's sensory experience.
(2) after memory list is screened, if memory list is empty, play thread and obtain the part audio-video document information set up in search listing as playlist, play the audio-video document of its corresponding external memorizer, guarantee to make the broadcasting thread energy Rapid Establishment of audio frequency and video, do not need to wait for and read the audio-video document information of external memorizer completely, thereby guarantee to get final product playing audio-video document not needing to wait as long for.
(3) after the audio-video document information in having read external memorizer, exit search thread, and search listing is updated in playlist, in playing process, upgrade playlist and can current broadcasting not impacted, do not affect user and experience.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of search thread in the present embodiment;
Fig. 2 plays the process flow diagram of thread in the present embodiment.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited to this.
Embodiment 1
An audio frequency and video player method for external memorizer, the present embodiment be take vehicle-mounted multimedia terminal as example, specific as follows:
S101, start a search thread and simultaneously and play thread.As shown in Figure 1, described search thread is: read the audio-video document information in external memorizer, and the audio-video document information reading is stored in to search listing.Described audio-video document information at least comprises file name and the path of audio-video document.Described search listing is along with search thread reads the increase of the audio-video document information in external memorizer and increases audio-video document information wherein.When the audio-video document information in external memorizer has read, search listing has been set up.
As shown in Figure 2, described broadcasting thread is:
S201, screen memory list, according to the audio-video document information of each audio-video document in memory list, directly search this audio-video document and whether exist in external memorizer, delete in memory list the audio-video document information without corresponding audio-video document in external memorizer respective paths.
S202, using the memory list after screening as playlist, play the audio-video document in its corresponding external memorizer, if memory list be sky, play thread and obtain the part audio-video document information set up in search listing as playlist.The audio-video document information that described memory list is served as reasons the last time audio-video document of current broadcasting is corresponding while exiting external memorizer and with its list that continuous several audio-video document information form up and down, and described memory list storage is in Nand Flash.The audio-video document information of described composition memory list can be adjusted according to actual needs.
Start a search thread and simultaneously and play thread, and using memory list that the last time preserves while the exiting external memorizer playlist when starting external memorizer, play the audio-video document in its corresponding external memorizer, make the broadcasting thread energy Rapid Establishment of audio frequency and video, in 0 to 3 second, get final product playing audio-video document, improve user's sensory experience.
S102, as shown in Figure 1, has read after the audio-video document information in external memorizer, exits search thread, and search listing is updated in playlist.In playing process, upgrade playlist and can current broadcasting not impacted, do not affect user and experience.
S103, as shown in Figure 2, while exiting external memorizer, using audio-video document information corresponding to the audio-video document of current broadcasting and with its up and down continuous some audio-video document information as memory list storage in Nand Flash.
Described external memorizer can for SD card or USB flash disk or portable hard drive etc., other have the equipment of numerical information memory function.
Above-described embodiment is preferably embodiment of the present invention; but embodiments of the present invention are not restricted to the described embodiments; other any do not deviate from change, the modification done under Spirit Essence of the present invention and principle, substitutes, combination, simplify; all should be equivalent substitute mode, within being included in protection scope of the present invention.

Claims (7)

1. an audio frequency and video player method for multimedia terminal external memorizer, is characterized in that,
Start a search thread and simultaneously and play thread, described search thread is: read the audio-video document information in external memorizer, and the audio-video document information reading is stored in to search listing; Described broadcasting thread is: the memory list of preserving when the last time is exited external memorizer, as playlist, is play the audio-video document in its corresponding external memorizer;
Read after the audio-video document information in external memorizer, exited search thread, and search listing has been updated in playlist;
While exiting external memorizer, current playlist is stored as to memory list.
2. the audio frequency and video player method of multimedia terminal according to claim 1 external memorizer, is characterized in that: described audio-video document information at least comprises file name and the path of audio-video document.
3. the audio frequency and video player method of multimedia terminal according to claim 2 external memorizer, it is characterized in that, before the step that the memory list of preserving is play as playlist, also comprise the step that memory list is screened when the last time is exited external memorizer, the step of described screening is specially: according to the audio-video document information of each audio-video document in memory list, whether directly search this audio-video document exists in external memorizer, delete in memory list the audio-video document information without corresponding audio-video document in external memorizer respective paths, and using the memory list after screening as playlist.
4. the audio frequency and video player method of multimedia terminal according to claim 3 external memorizer, it is characterized in that: when the memory list after screening is empty, play thread and obtain the part audio-video document information set up in search listing as playlist, play the audio-video document in its corresponding external memorizer.
5. the audio frequency and video player method of multimedia terminal according to claim 4 external memorizer, is characterized in that: the audio-video document information that described memory list is served as reasons the last time audio-video document of current broadcasting is corresponding while exiting external memorizer and with its list that continuous several audio-video document information form up and down.
6. according to the audio frequency and video player method of the multimedia terminal external memorizer described in claim 1 to 5 any one, it is characterized in that: described memory list storage is in Nand Flash.
7. the audio frequency and video player method of multimedia terminal according to claim 6 external memorizer, is characterized in that: described external memorizer is SD card, USB flash disk or portable hard drive.
CN201310445343.4A 2013-09-26 2013-09-26 A kind of audio and video playing method of multimedia terminal external memorizer Expired - Fee Related CN103559896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310445343.4A CN103559896B (en) 2013-09-26 2013-09-26 A kind of audio and video playing method of multimedia terminal external memorizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310445343.4A CN103559896B (en) 2013-09-26 2013-09-26 A kind of audio and video playing method of multimedia terminal external memorizer

Publications (2)

Publication Number Publication Date
CN103559896A true CN103559896A (en) 2014-02-05
CN103559896B CN103559896B (en) 2016-06-29

Family

ID=50014123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310445343.4A Expired - Fee Related CN103559896B (en) 2013-09-26 2013-09-26 A kind of audio and video playing method of multimedia terminal external memorizer

Country Status (1)

Country Link
CN (1) CN103559896B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217738A (en) * 2014-08-29 2014-12-17 广东欧珀移动通信有限公司 Playlist realization method and system of device type source file supported by blu-ray disc player
CN105872668A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Audio-video data processing method and device as well as vehicle-mounted terminal
CN106407147A (en) * 2016-09-27 2017-02-15 武汉启目科技有限公司 Method for quickly operating USB flash disk at android terminal
CN107943616A (en) * 2017-11-10 2018-04-20 惠州市德赛西威汽车电子股份有限公司 A kind of method that vehicle-mounted Android starts source is recovered
CN108711439A (en) * 2018-03-30 2018-10-26 斑马网络技术有限公司 Vehicle-mounted music play system, vehicle and its playback method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1554095A (en) * 2001-09-10 2004-12-08 汤姆森特许公司 Method and apparatus for creating an indexed playlist in a digital audio data player
JP2005019833A (en) * 2003-06-27 2005-01-20 Mitsubishi Electric Corp Terminal box
CN101996667A (en) * 2009-08-10 2011-03-30 鸿富锦精密工业(深圳)有限公司 Method for playing audio file in electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1554095A (en) * 2001-09-10 2004-12-08 汤姆森特许公司 Method and apparatus for creating an indexed playlist in a digital audio data player
JP2005019833A (en) * 2003-06-27 2005-01-20 Mitsubishi Electric Corp Terminal box
CN101996667A (en) * 2009-08-10 2011-03-30 鸿富锦精密工业(深圳)有限公司 Method for playing audio file in electronic device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217738A (en) * 2014-08-29 2014-12-17 广东欧珀移动通信有限公司 Playlist realization method and system of device type source file supported by blu-ray disc player
CN105872668A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Audio-video data processing method and device as well as vehicle-mounted terminal
WO2017166587A1 (en) * 2016-03-31 2017-10-05 百度在线网络技术(北京)有限公司 Method and device for audio/video data processing and vehicle-mounted terminal
CN106407147A (en) * 2016-09-27 2017-02-15 武汉启目科技有限公司 Method for quickly operating USB flash disk at android terminal
CN107943616A (en) * 2017-11-10 2018-04-20 惠州市德赛西威汽车电子股份有限公司 A kind of method that vehicle-mounted Android starts source is recovered
CN108711439A (en) * 2018-03-30 2018-10-26 斑马网络技术有限公司 Vehicle-mounted music play system, vehicle and its playback method

Also Published As

Publication number Publication date
CN103559896B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN103559896A (en) Audio and video playing method for multimedia terminal external memorizer
CN102243581B (en) Method for setting multimedia desktop background and multimedia player
CN104882151B (en) The method, apparatus and system of multimedia resource are shown in singing songs
CN104202684A (en) Segmental network video seamless playing method and device
CN103442300A (en) Audio and video skip playing method and device
CN101377946B (en) Medium play method and terminal
CN101873355A (en) Method, device and system for downloading file
JP2008172324A (en) Information processor, processing method and program
US20120186418A1 (en) System for Automatically Adjusting Sound Effects and Method Thereof
CN104125516A (en) Media file receiving method and apparatus, media file sending method and apparatus, and system
CN103517154A (en) Method for preloading video files and system thereof
CN103607461A (en) Information sharing method and cloud server
CN101950577A (en) Method for selecting and playing corresponding type of music according to current weather condition
CN103517131A (en) Method for playing segmental videos in gapless mode in television set and television set
CN102842317B (en) Multi-medium play method and player
CN103905925A (en) Method and terminal for repeatedly playing program
CN101695123A (en) Media broadcasting system and method for respectively customizing broadcast strategy for media segment
CN103237264B (en) Internet video player method and device
CN103956175A (en) Playing method and equipment of multi-media files
US20160188286A1 (en) Apparatus, systems and methods for audio content shuffling
CN103796068A (en) Scene control system and method thereof
CN104681047A (en) Adaptive video playing method, device and terminal
JP2013517715A (en) Method and apparatus for recording multimedia broadcast program
CN103699583A (en) Method for realizing live broadcast time shifting, and electronic equipment
CN102857820B (en) Channel management method, device and television set

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160629

Termination date: 20190926

CF01 Termination of patent right due to non-payment of annual fee