CN102262646A - Music document classifying method of set-top box - Google Patents

Music document classifying method of set-top box Download PDF

Info

Publication number
CN102262646A
CN102262646A CN2011101395048A CN201110139504A CN102262646A CN 102262646 A CN102262646 A CN 102262646A CN 2011101395048 A CN2011101395048 A CN 2011101395048A CN 201110139504 A CN201110139504 A CN 201110139504A CN 102262646 A CN102262646 A CN 102262646A
Authority
CN
China
Prior art keywords
music
music file
top box
node data
list
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.)
Pending
Application number
CN2011101395048A
Other languages
Chinese (zh)
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN2011101395048A priority Critical patent/CN102262646A/en
Publication of CN102262646A publication Critical patent/CN102262646A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention is suitable for the technical field of digital set-top boxes and provides a music document classifying method of a set-top box, and the method comprises the following steps of: creating an empty music list on the memory of the set-top box; putting sought information which corresponds to searched music documents and serves as node data into a full chain list; and simultaneously putting the node data which is put into the full chain list in corresponding classification lists according to classification information in labels of the music documents. By utilizing the method provided by the invention, the music documents can be automatically classified, so that the operating process for users to select and listen to music becomes simple and fast.

Description

A kind of music file sorting technique of set-top box
Technical field
The present invention relates to the top box of digital machine technical field, relate in particular to a kind of music file sorting technique of set-top box.
Background technology
Set-top box is being brought into play increasing effect in people's life, the set-top box with multimedia music playing function has won liking of user especially and favored.Multimedia development make various schools, a hundred flowers blossom for various forms of music, let a hundred schools contend.
The method that prior art adopts is as follows: the external memorizer insertion machine top box that will comprise music file; The information of searching of the music file correspondence that searched in the external memorizer is put into full chained list as node data, as shown in Figure 1.
The shortcoming of prior art is: music file is not possessed the function of automatic Classification Management, and music file is more in external memorizer, or music categories more for a long time, and the process that the user uses is more loaded down with trivial details.
Summary of the invention
Technical matters to be solved by this invention is that the music file in the external memorizer is classified.
For solving the problems of the technologies described above, the invention provides a kind of music file sorting technique of set-top box, comprise the steps:
Step 1, will comprise the external memorizer insertion machine top box of music file;
Step 2, create the music list of a sky on the set-top box internal memory, described music list comprises full chained list and sorted table, and described sorted table comprises at least two submeters;
Step 3, in described external memorizer the search for music file, the information of searching of each music file correspondence of being searched is all put into described full chained list as a node data;
Step 4, according to the classification information in the described music file label, the described node data of putting into described full chained list is put into corresponding described sorted table simultaneously.
Adopt said method, music file can be classified automatically, the operating process that makes the user select to listen to the music becomes simply, fast.
Further, described node data comprises: the path of the music file of previous node correspondence and title, the path of the music file of present node correspondence and title, the path of the music file of a back node correspondence and title.
Further, described music file label comprises: marker character, song title, artist, special edition, time, brief information and classification information.
Further, the classification of described sorted table is consistent with classification information in the described music file label, comprising: classical music, country music, blue music, dance music.
Further, the form of described music file comprises: mp3, wav, wma.
Further, also comprise step 5 after the step 4: the described music list that will comprise all node datas is put into described external memorizer.
If the user need sort to music file, then the user can change the order of music file corresponding node data in the described full chained list; If perhaps the user wishes the music of listening some to like separately a favorite program submeter to be set in described sorted table then, and the music file of oneself liking listening is put into described favorite program submeter.When the music list that has comprised described information-setting by user is stored behind the described external memorizer, set-top box can directly read described information-setting by user from described music list, need not to create again a new music list, so just can reduce user's number of operations greatly.
Further, after each node data a mode bit is set in described full chained list, whether described mode bit is used for the described node data of mark effective; Described node data is effective, shows that the music file in the external memorizer of described node data correspondence exists.
Further, when the external memorizer insertion machine top box that includes described music list, and the music file contents of described external memorizer is when changing, and set-top box is carried out updating steps to described music list and comprised:
Described music list is kept on the internal memory of set-top box, described music list comprises full chained list of internal memory and internal memory sorted table, and described internal memory sorted table comprises at least two submeters;
On the internal memory of set-top box, it is invalid that each node data of the full chained list of described internal memory all is set to;
Search for music file in described external memorizer judges whether the current music file of searching for is included in the full chained list of described internal memory;
Be that the node data on the full chained list of internal memory of current music file correspondence of searching for is set to effectively;
Otherwise, the information of searching of current music file correspondence of searching for is put into the full chained list of described internal memory as a new node data, and it is set to effectively, according to the classification information in the current music file label of searching for, described node data is put into described internal memory sorted table.
Further, if comprise invalid node data in the full chained list of described internal memory, also comprise the steps:
In the full chained list of described internal memory, the node data that all are invalid is deleted;
According to classified information, in described internal memory sorted table, the described invalid node data of correspondence is deleted;
The described music list of having deleted invalid node data is put into described external memorizer.
As from the foregoing, when the music file contents of external memorizer changes, the set-top box internal memory can upgrade original music list according to present music file, and send in the external memorizer automatically, and the user need not to do any processing can obtain up-to-date sorted table.
Description of drawings
Fig. 1 is the method flow diagram of prior art;
Fig. 2 is a method flow diagram of the present invention;
Fig. 3 is the full linked list format for using in the prior art;
The full linked list format of Fig. 4 for using in the technology of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The form of music file of the present invention comprises: mp3, wav, wma.
As an embodiment, the present invention adopts the music file of mp3 form to describe, and for convenience of description, the music file of mp3 form is abbreviated as the mp3 file.
Embodiment one
The music file sorting technique of a kind of set-top box of the present invention as shown in Figure 2, comprises the steps:
Step 1, will comprise the external memorizer insertion machine top box of mp3 file.
Step 2, create the music list of a sky on the set-top box internal memory, as mp3.list, described music list mp3.list comprises full chained list and sorted table, and described sorted table comprises at least two submeters; Described submeter comprises: classical music table, country music table, blue music table, dance music table, Hip-Hop table, other tables.
Step 3, in described external memorizer search mp3 file, the information of searching of each mp3 file correspondence of being searched is all put into described full chained list as a node data; Described node data comprises: the path of the music file of previous node correspondence and title, and the path of the music file of present node correspondence and title, the path of the music file of a back node correspondence and title, as shown in Figure 3.The full linked list format of Fig. 3 for using in the prior art, a.mp3, b.mp3, c.mp3 are 3 different music files, a node data in the corresponding full chained list of each music file.
Step 4, according to the classification information in the described mp3 file label, the described node data of putting into described full chained list is put into corresponding described sorted table simultaneously.
Described mp3 file label is placed in 128 bytes of each music file afterbody, and this label comprises: marker character, song title, artist, special edition, time, brief information and classification information.Described classification information is in order to show the classification of described mp3 music file.In step 3, the postulated mechanism top box searches the b.mp3 file, and the information of searching of b.mp3 file is put into described full chained list as a node data; Then step 4 is, reads the classification information of b.mp3, if classical music is then put into the information of searching of b.mp3 under the described sorted table classical music table as a node data.
More than four music file sorting techniques that step is a kind of set-top box of the present invention, when the user selects to enter music playback function, set-top box can be set up a music list mp3.list in internal memory, described music list mp3.list is except comprising a full chain off-balancesheet, also comprise a plurality of sorted tables, want the mp3 song of listening so the user can faster, more easily find according to sorted table.
Step 5: when the user withdrawed from music playback function, the described music list mp3.list that set-top box will comprise all node datas put into described external memorizer automatically.
When comprising the external memorizer insertion machine top box of mp3.list, set-top box need not to set up a new music list again, and the user can use sorted table to search music, has reduced the time of setting up music list.
If the user need sort to music file, then the user can change the order of music file corresponding node data in the described full chained list; If perhaps the user wishes the music of listening some to like separately a favorite program submeter to be set in described sorted table then, and the music file of oneself liking listening is put into described favorite program submeter.When the music list that has comprised described information-setting by user is stored behind the described external memorizer, set-top box can directly read described information-setting by user from described music list, need not to create again a new music list, so just can reduce user's number of operations and the running time greatly.
Step 6: after each node data a mode bit is set in described full chained list, whether described mode bit is used for the described node data of mark effective; Described node data is effective, shows that the music file in the external memorizer of described node data correspondence exists, as Fig. 4.The full linked list format of Fig. 4 for using in the technology of the present invention.
Embodiment two
When the external memorizer insertion machine top box that includes described music list mp3.list, and the music file contents of described external memorizer is when changing, and set-top box is carried out updating steps to mp3.list and comprised:
S1: described mp3.list is kept on the internal memory of set-top box, described mp3.list comprises full chained list of internal memory and internal memory sorted table, and described internal memory sorted table comprises at least two submeters;
S2: on the internal memory of set-top box, it is invalid that each node data of the full chained list of described internal memory all is set to;
S3: search for music file in described external memorizer, judge whether the current music file of searching for is included in the full chained list of described internal memory;
Be that the node data on the full chained list of internal memory of current music file correspondence of searching for is set to effectively;
Otherwise, the information of searching of current music file correspondence of searching for is put into the full chained list of described internal memory as a new node data, and it is set to effectively, according to the classification information in the current music file label of searching for, described node data is put into described internal memory sorted table.
If comprise invalid node data in the full chained list of described internal memory, also comprise the steps:
S4: in the full chained list of described internal memory, the node data that all are invalid is deleted;
S5:, in described internal memory sorted table, the described invalid node data of correspondence is deleted according to classified information;
S6: the described music list mp3_1.list that will delete invalid node data puts into described external memorizer.
Above S1-S6 is the music file contents of external memorizer when changing, and set-top box is carried out updating steps to music list.
Now illustrate,, be respectively a.mp3 as 6 mp3 files are arranged in the external memorizer now, d.mp3, e.mp3, f.mp3, g.mp3, and full chained list that mp3.list comprises and the information in the sorted table are: a.mp3, b.mp3, c.mp3.Described mp3.list is kept on the internal memory of set-top box, with the a.mp3 in the full chained list of internal memory, b.mp3, it is invalid that the node data of c.mp3 correspondence is set to; Search a.mp3, because it is included in the full chained list of described internal memory, then the node data of a.mp3 correspondence is set to effectively; Search d.mp3, because it is not in the full chained list of described internal memory, so the information of searching of d.mp3 is increased in the full chained list of described internal memory as a new node data, and its corresponding node data is set to effectively, e.mp3, f.mp3, g.mp3 adopt the method identical with d.mp3 to join in the full chained list of described internal memory; Because external memorizer has not had b.mp3 and c.mp3, so b.mp3 in the full chained list of internal memory, the node data of c.mp3 correspondence is invalid, node data deletion with b.mp3 and c.mp3, simultaneously the node data of b.mp3 in the internal memory sorted table and c.mp3 is deleted, obtain a new mp3_1.list, mp3_1.list is sent to external memorizer, promptly finished renewal mp3.list.
As from the foregoing, when the music file contents of external memorizer changes, the set-top box internal memory can upgrade original music list according to present music file, and send in the external memorizer automatically, and the user need not to do any processing can obtain up-to-date sorted table.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the music file sorting technique of a set-top box is characterized in that, comprises the steps:
Step 1, will comprise the external memorizer insertion machine top box of music file;
Step 2, create the music list of a sky on the set-top box internal memory, described music list comprises full chained list and sorted table, and described sorted table comprises at least two submeters;
Step 3, in described external memorizer the search for music file, the information of searching of each music file correspondence of being searched is all put into described full chained list as a node data;
Step 4, according to the classification information in the described music file label, the described node data of putting into described full chained list is put into corresponding described sorted table simultaneously.
2. the music file sorting technique of set-top box according to claim 1, it is characterized in that, described node data comprises: the path of the music file of previous node correspondence and title, the path of the music file of present node correspondence and title, the path of the music file of a back node correspondence and title.
3. the music file sorting technique of set-top box according to claim 1 is characterized in that described music file label comprises: marker character, song title, artist, special edition, time, brief information and classification information.
4. the music file sorting technique of set-top box according to claim 1 is characterized in that, the classification of described sorted table is consistent with classification information in the described music file label, comprising: classical music, country music, blue music, dance music.
5. the music file sorting technique of set-top box according to claim 1 is characterized in that the form of described music file comprises: mp3, wav, wma.
6. the music file sorting technique of set-top box according to claim 1 is characterized in that, also comprise step 5 after the step 4: the described music list that will comprise all node datas is put into described external memorizer.
7. as the music file sorting technique of set-top box as described in the claim 6, it is characterized in that after each node data a mode bit is set in described full chained list, whether described mode bit is used for the described node data of mark effective; Described node data is effective, shows that the music file in the external memorizer of described node data correspondence exists.
8. as the music file sorting technique of set-top box as described in the claim 7, it is characterized in that, when the external memorizer insertion machine top box that includes described music list, and the music file contents of described external memorizer is when changing, and set-top box is carried out updating steps to described music list and comprised:
Described music list is kept on the internal memory of set-top box, described music list comprises full chained list of internal memory and internal memory sorted table, and described internal memory sorted table comprises at least two submeters;
On the internal memory of set-top box, it is invalid that each node data of the full chained list of described internal memory all is set to;
Search for music file in described external memorizer judges whether the current music file of searching for is included in the full chained list of described internal memory;
Be that the node data on the full chained list of internal memory of current music file correspondence of searching for is set to effectively;
Otherwise, the information of searching of current music file correspondence of searching for is put into the full chained list of described internal memory as a new node data, and it is set to effectively, according to the classification information in the current music file label of searching for, described node data is put into described internal memory sorted table.
9. as the music file sorting technique of set-top box as described in the claim 8, it is characterized in that,, also comprise the steps: if comprise invalid node data in the full chained list of described internal memory
In the full chained list of described internal memory, the node data that all are invalid is deleted;
According to classified information, in described internal memory sorted table, the described invalid node data of correspondence is deleted;
The described music list of having deleted invalid node data is put into described external memorizer.
CN2011101395048A 2011-05-26 2011-05-26 Music document classifying method of set-top box Pending CN102262646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101395048A CN102262646A (en) 2011-05-26 2011-05-26 Music document classifying method of set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101395048A CN102262646A (en) 2011-05-26 2011-05-26 Music document classifying method of set-top box

Publications (1)

Publication Number Publication Date
CN102262646A true CN102262646A (en) 2011-11-30

Family

ID=45009276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101395048A Pending CN102262646A (en) 2011-05-26 2011-05-26 Music document classifying method of set-top box

Country Status (1)

Country Link
CN (1) CN102262646A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295611A (en) * 2012-03-02 2013-09-11 深圳富泰宏精密工业有限公司 Music automatic optimization system and method
CN107566904A (en) * 2017-08-31 2018-01-09 海信电子科技(深圳)有限公司 A kind of resource data updating method and set-top box device
CN109558072A (en) * 2018-10-10 2019-04-02 建荣半导体(深圳)有限公司 The memory expanding method, system, audio that audio plays chip play chip and storage device
CN109960744A (en) * 2019-03-21 2019-07-02 杭州虹晟信息科技有限公司 Music storage and extraction system based on big data
CN110139127A (en) * 2019-05-21 2019-08-16 北京声智科技有限公司 Audio file play method, server, intelligent sound box and play system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860701A (en) * 2010-05-07 2010-10-13 康佳集团股份有限公司 Method for finding required programs by utilizing set-top box
CN101923519A (en) * 2010-08-06 2010-12-22 福建新大陆通信科技股份有限公司 Method for quickly storing and reading EPG (Electronic Program Guide) data of set top box
CN101969525A (en) * 2010-08-10 2011-02-09 中山大学 Method for realizing multi-level classified management of digital photos on digital TV and set top box
CN102034518A (en) * 2009-09-30 2011-04-27 深圳市福智软件技术有限公司 Method for editing MP3 play list and digital electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034518A (en) * 2009-09-30 2011-04-27 深圳市福智软件技术有限公司 Method for editing MP3 play list and digital electronic device
CN101860701A (en) * 2010-05-07 2010-10-13 康佳集团股份有限公司 Method for finding required programs by utilizing set-top box
CN101923519A (en) * 2010-08-06 2010-12-22 福建新大陆通信科技股份有限公司 Method for quickly storing and reading EPG (Electronic Program Guide) data of set top box
CN101969525A (en) * 2010-08-10 2011-02-09 中山大学 Method for realizing multi-level classified management of digital photos on digital TV and set top box

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295611A (en) * 2012-03-02 2013-09-11 深圳富泰宏精密工业有限公司 Music automatic optimization system and method
CN107566904A (en) * 2017-08-31 2018-01-09 海信电子科技(深圳)有限公司 A kind of resource data updating method and set-top box device
CN109558072A (en) * 2018-10-10 2019-04-02 建荣半导体(深圳)有限公司 The memory expanding method, system, audio that audio plays chip play chip and storage device
CN109558072B (en) * 2018-10-10 2022-03-25 建荣半导体(深圳)有限公司 Storage space expansion method and system of audio playing chip, audio playing chip and storage device
CN109960744A (en) * 2019-03-21 2019-07-02 杭州虹晟信息科技有限公司 Music storage and extraction system based on big data
CN109960744B (en) * 2019-03-21 2021-01-19 上海麦克风文化传媒有限公司 Music storage and extraction system based on big data
CN110139127A (en) * 2019-05-21 2019-08-16 北京声智科技有限公司 Audio file play method, server, intelligent sound box and play system

Similar Documents

Publication Publication Date Title
US9645787B1 (en) Tag-based electronic media playlist processing
US7912565B2 (en) Method for creating and accessing a menu for audio content without using a display
KR100466143B1 (en) File management method, contents recording apparatus, contents reproducing apparatus and contents recording medium
US20120116558A1 (en) Augmenting media content in a media sharing group
CN101609707B (en) Information processing apparatus and information processing method
KR20070086804A (en) Adaptation of location similarity threshold in associative content retrieval
CN101128880A (en) Retrieving content items for a playlist based on universal content ID
CN102262646A (en) Music document classifying method of set-top box
CN105045828B (en) A kind of pinpoint searching system of audio-video voice messaging and method
CN104598439A (en) Title correction method and device of information object and method for pushing information object
US20090287649A1 (en) Method and apparatus for providing content playlist
CN104035993B (en) Memory search method, e-book management system, the reading system of e-book
CN106682003B (en) The path segmentation mapping method and device of distributed storage NameSpace
KR20090025535A (en) Method and system for generating search collection of query
TW200849044A (en) Database files-management system, integration module and browsing interface of database files-management system, database files-management method
CN105407030A (en) Method and device for playing multimedia file in instant messaging
CN104077385A (en) Classification and retrieval method of files
CN103383694B (en) A kind of tissue, management, mark music file system and method
CN100524312C (en) Mass storing and managing method of smart card
CN101925898A (en) Method and apparatus for organizing media data in database
US20080114789A1 (en) Data item retrieval method and apparatus
JP5393977B2 (en) Information processing apparatus, information processing method, content transfer system, and computer program
CN101088088A (en) Method and device for editing program search information
CN101055752B (en) A storage method of the video/audio disk data
CN101588455B (en) Topicalization receiving and recording system of media material

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111130