CN105045908B - A kind of mobile terminal sings single generation method and system - Google Patents

A kind of mobile terminal sings single generation method and system Download PDF

Info

Publication number
CN105045908B
CN105045908B CN201510488433.0A CN201510488433A CN105045908B CN 105045908 B CN105045908 B CN 105045908B CN 201510488433 A CN201510488433 A CN 201510488433A CN 105045908 B CN105045908 B CN 105045908B
Authority
CN
China
Prior art keywords
song
storage
address
files
mobile terminal
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.)
Active
Application number
CN201510488433.0A
Other languages
Chinese (zh)
Other versions
CN105045908A (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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201510488433.0A priority Critical patent/CN105045908B/en
Publication of CN105045908A publication Critical patent/CN105045908A/en
Application granted granted Critical
Publication of CN105045908B publication Critical patent/CN105045908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/64Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

The invention discloses a kind of mobile terminals to sing single generation method and system, method includes: that sequentially the song files stored are numbered, storage first address of the song files in terminal memory is recorded, and records the binding information of the storage first address and number of song files;It when detecting the song list edit instruction of user, obtains the storage first address of selected each song files and obtains corresponding number, the selected corresponding number of each song is added in song list, and it is single to store the song.It is single that song is generated according to the number that song files are obtained in storage in the present invention, is not directly to generate song list according to song title, effectively prevents that the problem of causing playback of songs to fail can not be identified because of the filename in song list.

Description

A kind of mobile terminal sings single generation method and system
Technical field
Single generation method is sung the present invention relates to technical field of mobile terminals more particularly to a kind of mobile terminal and is System.
Background technique
Music playback function is the common function of mobile terminal, and the most commonly used is listen in song list when listening to song Song, is referred to as listening to the song in playlist.In the prior art, it sings in list and specifies corresponding song then to these songs Song plays out.Because it is disorderly that song title, which has plenty of Chinese name, has plenty of English or other language names, song title even also, Code, the song generated in this way is singly disorderly and unsystematic, also results in the song failure played in song list sometimes.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of mobile terminal sing single generation method and System, it is intended to solve to sing in mobile terminal music playout software in the prior art be singly easily led to according to song title generation song without The defect of method normal play.
Technical scheme is as follows:
A kind of single generation method of mobile terminal song, wherein the described method comprises the following steps:
A, sequentially the song files stored are numbered, record the first ground of storage of the song files in terminal memory Location, and record the binding information of the storage first address and number of song files;
B, it when detecting the song list edit instruction of user, obtains the storage first address of selected each song files and obtains The selected corresponding number of each song is added in song list by corresponding number, and it is single to store the song.
The mobile terminal sings single generation method, wherein after the step B further include:
C, when the playback of songs for detecting user instructs, then the corresponding number of song to be played is obtained, is obtained according to number The corresponding storage first address of song to be played is taken, the corresponding song files of song to be played are obtained according to the storage first address and is broadcast It puts.
The mobile terminal sings single generation method, wherein the step B is specifically included:
B1, when detecting the song list edit instruction of user, obtain the first ground of the storages of each song files that user selectes Location;
B2, each song is obtained according to the storage first address of song files stored in mobile terminal and the binding information of number The corresponding number of bent file;
B3, the selected corresponding number of each song is added in song list, and stores the song list including number.
The mobile terminal sings single generation method, wherein before the step A further include:
S, mobile terminal is measured in real time the file of storage, judge storage file suffix whether be .mp3, .mp4 .wma .rm .rmvb .aac .mid or .wav then follow the steps A when being.
The mobile terminal sings single generation method, wherein in the step A storage first address of each song files with only A number corresponds to one by one.
A kind of mobile terminal song is single to generate system, wherein includes:
Memory module is bound, for sequentially the song files stored to be numbered, records song files in terminal Storage first address in memory, and record the binding information of the storage first address and number of song files;
Single generation module is sung, for obtaining selected each song files when detecting the song list edit instruction of user Storage first address simultaneously obtains corresponding number, the selected corresponding number of each song is added in song list, and store the song It is single.
The mobile terminal song is single to generate system, wherein further include:
Playing control module, for when the playback of songs for detecting user instructs, then it is corresponding to obtain song to be played Number obtains the corresponding storage first address of song to be played according to number, obtains song pair to be played according to the storage first address The song files answered and broadcasting.
The mobile terminal song is single to generate system, wherein the single generation module of the song specifically includes:
First address acquiring unit, for when detecting the song list edit instruction of user, obtaining each song that user selectes The storage first address of bent file;
Number acquiring unit, for according to the storage first address of song files stored in mobile terminal and tying up for number Determine the corresponding number of each song files of acquisition of information;
Song singly automatically generates unit, for the corresponding number of each song selected to be added in song list, and stores and includes The song list of number.
The mobile terminal song is single to generate system, wherein further include:
Song files monitoring modular is measured in real time for file of the mobile terminal to storage, judges the file of storage Suffix whether be .mp3 .mp4 .wma .rm .rmvb .aac .mid or .wav, then start binding storage mould when being Block.
The mobile terminal song is single to generate system, wherein the storage of each song files is first in the binding memory module Address is corresponding with only one number.
A kind of mobile terminal provided by the invention sings single generation method and system, and method includes: sequentially to storing Song files are numbered, and record storage first address of the song files in terminal memory, and the storage for recording song files is first The binding information of address and number;When detecting the song list edit instruction of user, the storage of selected each song files is obtained First address simultaneously obtains corresponding number, the selected corresponding number of each song is added in song list, and it is single to store the song.This It is single that song is generated according to the number that song files are obtained in storage in invention, is not directly to generate song according to song title It is single, it effectively prevents that the problem of causing playback of songs to fail can not be identified because of the filename in song list.
Detailed description of the invention
Fig. 1 is the flow chart that mobile terminal of the present invention sings single generation method preferred embodiment.
Fig. 2 is the single structural block diagram for generating system preferred embodiment of mobile terminal of the present invention song.
Specific embodiment
The present invention provides a kind of mobile terminal and sings single generation method and system, for make the purpose of the present invention, technical solution and Effect is clearer, clear, and the present invention is described in more detail below.It should be appreciated that specific embodiment described herein It is only used to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, singing the flow chart of single generation method preferred embodiment, the method for mobile terminal of the present invention The following steps are included:
Step S100, sequentially the song files stored are numbered, record song files in terminal memory First address is stored, and records the binding information of the storage first address and number of song files.
In the embodiment of the present invention, the binding of storage first address and number that each song files are stored by m file is believed Breath.The m file preserves the corresponding relationship of the storage first address and number of the song files stored in mobile terminal;M file In a line indicate that the corresponding relationship numbered with it of a song, format are as follows:
X, y;
Wherein, x is expressed as the number of song distribution, and y indicates the initial address of head song files in memory;
Wherein, need to guarantee that the number of each song is different when distributing number, therefore, in distribution can according to 1, 2, sequence 3 ... is that distribution, i.e., storage first address and the only one volume of each song files is numbered in each song Number correspondence.
In order to ensure only song files are numbered, then before step S100 further include:
Step S10, mobile terminal is measured in real time the file of storage, judge storage file suffix whether be .mp3 .mp4 .wma .rm .rmvb .aac .mid or .wav then follow the steps S100 when being.
In order to further ensure monitor file when song files, in addition to being monitored to suffix name, also to song text Part size is monitored.When detecting the suffix name that the song files such as suffix entitled .rm or .rmvb and video file share, Then judge whether the size of this document is less than 20M, song files can be defaulted as rather than video file when being less than.
Step S200, when detecting the song list edit instruction of user, the first ground of storage of selected each song files is obtained Location simultaneously obtains corresponding number, the selected corresponding number of each song is added in song list, and it is single to store the song.
Obviously, what is stored in the song list in the present invention is the corresponding number of each song files, in Dan Zhongyong mono- number of song Replace the filename of panoramic song files in the prior art, to keep song single clean and tidy orderly, effectively prevent due to Caused by the filename of song can not be identified in song list the problems such as playback of songs failure.
Further, after the step S200 further include:
Step S300, when the playback of songs for detecting user instructs, then the corresponding number of song to be played is obtained, according to Number obtains the corresponding storage first address of song to be played, obtains the corresponding song text of song to be played according to the storage first address Part simultaneously plays.
Specifically, the process for carrying out playback of songs in step S300 is as follows: first obtaining the volume of accessed song files Number;The storage first address of the song files in memory is searched in m file further according to number;Finally by the song files Storage first address can access the song files.
Further, song is generated in the step S200 singly to specifically include:
Step S201, when detecting the song list edit instruction of user, depositing for each song files that user selectes is obtained Store up first address;
Step S202, it is obtained according to the binding information of the storage first address of song files stored in mobile terminal and number Take the corresponding number of each song files;
Step S203, the selected corresponding number of each song is added in song list, and stores the song list including number.
As it can be seen that it is single to generate song according to the number that song files are obtained in storage in the present invention, it is not direct basis Song title sings list to generate, and effectively prevents that the problem of causing playback of songs to fail can not be identified because of the filename in song list.
User need to sing in antiphonal style the song in list when the operation such as replicating, move, deleting, and directly be operated i.e. in song list It can.Specifically, obtaining the volume of accessed song files when mobile terminal detects the instruction such as duplication, movement, deletion of user Number;The storage first address of the song files in memory is searched in m file further according to number;Finally stored according to the song First address in memory the song files replicated, moved, being deleted etc. with operation.
Based on above method embodiment, the present invention also provides a kind of mobile terminals to sing single generation system.As shown in Fig. 2, institute Stating the single generation system of mobile terminal song includes:
Memory module 100 is bound, for sequentially the song files stored to be numbered, records song files at end Storage first address in end memory, and record the binding information of the storage first address and number of song files;
Single generation module 200 is sung, for obtaining selected each song files when detecting the song list edit instruction of user Storage first address and obtain corresponding number, the selected corresponding number of each song is added in song list, and described in storing Song is single.
Further, it is sung in single generation system in the mobile terminal, further includes:
Playing control module, for when the playback of songs for detecting user instructs, then it is corresponding to obtain song to be played Number obtains the corresponding storage first address of song to be played according to number, obtains song pair to be played according to the storage first address The song files answered and broadcasting.
Further, it is sung in single generation system in the mobile terminal, the single generation module 200 of the song specifically includes:
First address acquiring unit, for when detecting the song list edit instruction of user, obtaining each song that user selectes The storage first address of bent file;
Number acquiring unit, for according to the storage first address of song files stored in mobile terminal and tying up for number Determine the corresponding number of each song files of acquisition of information;
Song singly automatically generates unit, for the corresponding number of each song selected to be added in song list, and stores and includes The song list of number.
Further, it is sung in single generation system in the mobile terminal, further includes:
Song files monitoring modular is measured in real time for file of the mobile terminal to storage, judges the file of storage Suffix whether be .mp3 .mp4 .wma .rm .rmvb .aac .mid or .wav, then start binding storage mould when being Block.
Further, it is sung in single generation system in the mobile terminal, each song files in the binding memory module Storage first address it is corresponding with only one number.
User need to sing in antiphonal style the song in list when the operation such as replicating, move, deleting, and directly be operated i.e. in song list It can.Specifically, being obtained by number acquiring unit accessed when mobile terminal detects the instruction such as duplication, movement, deletion of user Song files number;The song files are searched in memory in m file according to number by first address acquiring unit again Storage first address;Finally the song files are replicated in memory according to the first address that the song stores, moved, are deleted It is operated except equal.
In conclusion a kind of mobile terminal provided by the invention sings single generation method and system, method include: sequentially to just It is numbered in the song files of storage, records storage first address of the song files in terminal memory, and record song files Storage first address and number binding information;When detecting the song list edit instruction of user, selected each song text is obtained The storage first address of part simultaneously obtains corresponding number, the selected corresponding number of each song is added in song list, and store institute It is single to state song.It is single that song is generated according to the number that song files are obtained in storage in the present invention, is not directly according to song title List is sung to generate, effectively prevents that the problem of causing playback of songs to fail can not be identified because of the filename in song list.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (8)

1. a kind of mobile terminal sings single generation method, which is characterized in that the described method comprises the following steps:
S, mobile terminal is measured in real time the file of storage, judge storage file suffix whether be .mp3 .mp4, .wma .rm .rmvb .aac .mid or .wav then follow the steps A when being;
A, sequentially the song files stored are numbered, record storage first address of the song files in terminal memory, And record the binding information of the storage first address and number of song files;
B, it when detecting the song list edit instruction of user, obtains the storage first address of selected each song files and obtains correspondence Number, the selected corresponding number of each song is added in song list, and store the song singly;
In the step S, when detecting the suffix name that the entitled song files of suffix and video file share, then this document is judged Size whether be song files.
2. mobile terminal sings single generation method according to claim 1, which is characterized in that after the step B further include:
C, when detect user playback of songs instruct when, then obtain the corresponding number of song to be played, according to number obtain to The corresponding storage first address of song is played, the corresponding song files of song to be played are obtained according to the storage first address and is played.
3. mobile terminal sings single generation method according to claim 1, which is characterized in that the step B is specifically included:
B1, when detecting the song list edit instruction of user, obtain the storage first address of each song files that user selectes;
B2, each song text is obtained according to the storage first address of song files stored in mobile terminal and the binding information of number The corresponding number of part;
B3, the selected corresponding number of each song is added in song list, and stores the song list including number.
4. mobile terminal sings single generation method according to claim 1, which is characterized in that each song text in the step A The storage first address of part is corresponding with only one number.
5. a kind of mobile terminal song is single to generate system characterized by comprising
Song files monitoring modular is measured in real time for file of the mobile terminal to storage, after the file for judging storage Whether be .mp3 .mp4 .wma .rm .rmvb .aac .mid or .wav, then start binding memory module when being if sewing;
The song files monitoring modular is then sentenced when detecting the suffix name that the entitled song files of suffix and video file share Whether the size of disconnected this document is song files;
Memory module is bound, for sequentially the song files stored to be numbered, records song files in terminal memory In storage first address, and record song files storage first address and number binding information;
Single generation module is sung, for obtaining the storage of selected each song files when detecting the song list edit instruction of user First address simultaneously obtains corresponding number, the selected corresponding number of each song is added in song list, and it is single to store the song.
6. mobile terminal song is single according to claim 5 generates system, which is characterized in that further include:
Playing control module, for when the playback of songs for detecting user instructs, then obtaining the corresponding number of song to be played, The corresponding storage first address of song to be played is obtained according to number, the corresponding song of song to be played is obtained according to the storage first address Bent file simultaneously plays.
7. mobile terminal song is single according to claim 5 generates system, which is characterized in that the single generation module of the song specifically wraps It includes:
First address acquiring unit, each song text selected for when detecting the song list edit instruction of user, obtaining user The storage first address of part;
Number acquiring unit, for being believed according to the storage first address of song files stored in mobile terminal and the binding of number Breath obtains the corresponding number of each song files;
Song singly automatically generates unit, and for the corresponding number of each song selected to be added in song list, and storing includes number Song list.
8. mobile terminal song is single according to claim 5 generates system, which is characterized in that each in the binding memory module The storage first address of song files is corresponding with only one number.
CN201510488433.0A 2015-08-11 2015-08-11 A kind of mobile terminal sings single generation method and system Active CN105045908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510488433.0A CN105045908B (en) 2015-08-11 2015-08-11 A kind of mobile terminal sings single generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510488433.0A CN105045908B (en) 2015-08-11 2015-08-11 A kind of mobile terminal sings single generation method and system

Publications (2)

Publication Number Publication Date
CN105045908A CN105045908A (en) 2015-11-11
CN105045908B true CN105045908B (en) 2019-06-04

Family

ID=54452455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510488433.0A Active CN105045908B (en) 2015-08-11 2015-08-11 A kind of mobile terminal sings single generation method and system

Country Status (1)

Country Link
CN (1) CN105045908B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325140A (en) * 2011-09-15 2012-01-18 Tcl集团股份有限公司 Method and system for controlling internet television karaoke song requests by using intelligent mobile equipment
CN104679855A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Playlist creation method and terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325140A (en) * 2011-09-15 2012-01-18 Tcl集团股份有限公司 Method and system for controlling internet television karaoke song requests by using intelligent mobile equipment
CN104679855A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Playlist creation method and terminal device

Also Published As

Publication number Publication date
CN105045908A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
JP4384671B2 (en) Lyrics providing system for digital audio files
CN100549970C (en) Carry out the synchronous method and apparatus of audio/video content by playlist
JP4690303B2 (en) Apparatus and method for reproducing content based on viewing points of series content
WO2009009231A4 (en) Intelligent music track selection in a networked environment
JP2008547154A5 (en)
EP1650627A3 (en) MP3 player capable of automatic updating, automatic updating system for MP3 player and method thereof
TW200627413A (en) Apparatus and method for reproducing multimedia data using virtual file system
JP2008040893A5 (en)
CN102340699A (en) Method and system for storing historical use information of television user
JP2007509455A5 (en)
CN101312565A (en) Method for synchronous lyrics browsing when playing music on mobile phone
CN104409087A (en) Method and system of playing song documents
CN103718243A (en) Enhanced media recordings and playback
MY139867A (en) Information storage medium for storing metadata supporting multiple languages, and systems and methods of processing metadata
CN105045908B (en) A kind of mobile terminal sings single generation method and system
US20120284267A1 (en) Item Randomization with Item Relational Dependencies
JP2006323678A5 (en)
CN101814308A (en) Reproduction device and reproduction method
CN101950579B (en) Set Top Box breakpoint plays the method for MP3
US20100088275A1 (en) Information processing apparatus, information processing method, information processing program, information providing apparatus, information providing method, information providing program and information processing system
TWI511575B (en) Method for playing streaming data, electronic device for performing the same and information storage media for storing the same
US20140108615A1 (en) Method and apparatus for managing a catalog of media content
JP4924243B2 (en) Content information acquisition apparatus, program, and content information acquisition method
NZ570583A (en) Managing playlists
JP2007329846A (en) Content reproducing device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201028

Address after: 6 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Address before: 10 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.

TR01 Transfer of patent right