CN104821178B - A kind of method and terminal that listed files is shown - Google Patents
A kind of method and terminal that listed files is shown Download PDFInfo
- Publication number
- CN104821178B CN104821178B CN201510126608.3A CN201510126608A CN104821178B CN 104821178 B CN104821178 B CN 104821178B CN 201510126608 A CN201510126608 A CN 201510126608A CN 104821178 B CN104821178 B CN 104821178B
- Authority
- CN
- China
- Prior art keywords
- file
- listed files
- blue light
- type
- light player
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004891 communication Methods 0.000 claims description 30
- 238000012163 sequencing technique Methods 0.000 claims description 2
- 108010001267 Protein Subunits Proteins 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 241001062009 Indigofera Species 0.000 description 10
- 238000001514 detection method Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000013497 data interchange Methods 0.000 description 6
- 230000006698 induction Effects 0.000 description 6
- 229910052573 porcelain Inorganic materials 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 230000001154 acute effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of method and terminal that listed files is shown, wherein method includes the following steps: the instruction for receiving the listed files of display blue light player;The listed files to be shown of the blue light player is obtained according to described instruction;The listed files to be shown is arranged according to default rule;The listed files to be shown after display arrangement.The embodiment of the present invention can show the listed files of blue light player on the interface of terminal, and file provider needed for searching for user is just.
Description
Technical field
The present invention relates to intelligent terminal technical fields, and in particular to a kind of method and terminal that listed files is shown.
Background technique
As the screen size of LCD TV is increasing, blue light player is widely used in daily life, no
The multimedia file (such as: song, video, picture etc.) of multiple format is only supported to play, moreover it is possible to provide the user with the view of high definition
Feel and enjoys.But blue light player is when playing multimedia file at present, multimedia file of the carry on blue light player or
It is rambling that person, which is stored in the multimedia file in blue light player, therefore the situation various in multimedia file quantity
Under, user will take a substantial amount of time the multimedia file needed for searching.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal that listed files is shown, indigo plant can be shown on the interface of terminal
The listed files of light player, file provider needed for searching for user is just.
First aspect of the embodiment of the present invention provides a kind of method that listed files is shown, comprising:
Receive the instruction of the listed files of display blue light player;
The listed files to be shown of the blue light player is obtained according to described instruction;
The listed files to be shown is arranged according to default rule;
The listed files to be shown after display arrangement.
Second aspect of the embodiment of the present invention provides a kind of terminal, comprising:
Receiving unit, the instruction of the listed files for receiving display blue light player;
Acquiring unit, for obtaining the listed files to be shown of the blue light player according to described instruction;
Sequencing unit, for arranging the listed files to be shown according to default rule;
Display unit, for showing the listed files to be shown after arranging.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player arranges the listed files to be shown according to default rule and shows the institute after arrangement
Listed files to be shown is stated, realizes the listed files for showing blue light player on the interface of terminal, text needed for being searched for user
Part provides convenient.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram for the method that listed files is shown provided in an embodiment of the present invention;
Fig. 2 is the flow diagram for the method that another listed files provided in an embodiment of the present invention is shown;
Fig. 3 is the flow diagram for the method that another listed files provided in an embodiment of the present invention is shown;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The method that listed files provided in an embodiment of the present invention is shown can be applied to the terminal in installation blue light control APP
The scene of upper display blue light player listed files, such as: blue light player is shown on the mobile phone of installation blue light control APP
Listed files, and the file according to needed for listed files lookup user.The embodiment of the present invention can be on the interface of terminal
Show the listed files of blue light player, the file provider needed for searching for user is just.
Terminal in the embodiment of the present invention be mounted with blue light control APP terminal, can include but is not limited to mobile phone,
The touch control terminals such as PAD (tablet computer), intelligent wearable device.
It is situated between in detail below in conjunction with attached drawing 1- attached drawing 3 to the method that listed files provided in an embodiment of the present invention is shown
It continues.
It referring to Figure 1, is a kind of flow diagram for the method that listed files is shown provided in an embodiment of the present invention, the party
Method may include step S101- step S104.
S101 receives the instruction of the listed files of display blue light player.
Specifically, whether the blue light control APP in detection terminal is in operating status, when the result of detection, which is, is, connect
Receive the instruction for the display blue light player listed files that user selects on blue light control APP.
The precondition for executing step S101 is that communication connection has been established in the terminal and the blue light player, if the two
The listed files of the blue light player can not then be obtained by not setting up communication connection.Bluetooth is provided in existing blue light player
Module is wirelessly connected module, therefore can be connected by bluetooth connection, near-field communication connection, wireless network connection, infrared induction
Etc. connection types establish the communication connection between the terminal and the blue light player.
S102 obtains the listed files to be shown of the blue light player according to described instruction.
Specifically, the file to be shown for obtaining the blue light player is sent to the blue light player according to described instruction
The instruction of list simultaneously obtains the listed files to be shown, and the listed files to be shown includes carry equipment on blue light player
In listed files or blue light player in store listed files, wherein the carry equipment can include but is not limited to blue light
The equipment such as optical disc, CD dish, USB flash disk, hard disk.The format of file is JSON format, the JSON lattice in the listed files to be shown
Formula is a kind of data interchange format based on JavaScript programming language, has very big advantage in cross-platform data transmission.
S103 arranges the listed files to be shown according to default rule.
Specifically, due to the file of the blue light player be it is rambling, the list to be shown got is also not have
File that is sequential, being not easy to needed for user searches, therefore the listed files to be shown, institute are arranged according to default rule
Stating default rule can be in batches regular, be also possible to classification rule, according to the user's choice depending on.
S104, the listed files to be shown after display arrangement.
Specifically, if the default rule is in batches regular, the file column to be shown after showing arrangement in batches
Table;If the default rule is classification rule, the listed files to be shown after showing classification arrangement.
It include at least one file in the listed files to be shown after the arrangement.When receiving to described at least one
Described in being searched when the search request of one of file in a file, in the listed files to be shown after the arrangement
One of file.It receives and the play operation of the one of file found is requested, indicate the blue light player
Execute the play operation.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player arranges the listed files to be shown according to default rule and shows the institute after arrangement
Listed files to be shown is stated, realizes the listed files for showing blue light player on the interface of terminal, text needed for being searched for user
Part provides convenient.
Fig. 2 is referred to, it, should for the flow diagram for the method that another listed files provided in an embodiment of the present invention is shown
Method may include step S201- step S208.
S201 establishes the connection with blue light player.
Specifically, the communication connection for establishing terminal and blue light player is to realize to show the blue light on the interface of terminal
The precondition of the listed files of player can not obtain the file of the blue light player if the two does not set up communication connection
List.It is provided with bluetooth module in existing blue light player, is wirelessly connected module, therefore bluetooth connection, near field can be passed through
The connection types such as communication connection, wireless network connection, infrared induction connection are established between the terminal and the blue light player
Communication connection.
S202 receives the instruction for showing the listed files of the blue light player.
Specifically, whether the blue light detected in terminal controls APP after establishing the communication connection with the blue light player
It is in operating status, when the result of detection, which is, is, receive the display blue light player text that user selects on blue light control APP
The instruction of part list.
S203 obtains the listed files to be shown of the blue light player according to described instruction.
Specifically, the file to be shown for obtaining the blue light player is sent to the blue light player according to described instruction
The instruction of list simultaneously obtains the listed files to be shown, and the listed files to be shown includes carry equipment on blue light player
In listed files or blue light player in store listed files, wherein the carry equipment can include but is not limited to blue light
The equipment such as optical disc, CD dish, USB flash disk, hard disk.The format of file is JSON format, the JSON lattice in the listed files to be shown
Formula is a kind of data interchange format based on JavaScript programming language, has very big advantage in cross-platform data transmission.
The listed files to be shown is obtained at least one sublist according to preset value equal part by S204.
Wherein, the preset value can be the entry number of every page of display of blue light control APP default, specific value with
The size of screen and the size of font are related, are also possible to the entry number of every page of display of user setting, if described to be shown
The quantity of documents of listed files is various, the adjustable preset value of user.By the listed files to be shown according to described pre-
If value equal part obtains at least one sublist, wherein the entry number of each sublist is the preset value.For example, described to aobvious
The quantity of documents for showing listed files is 150, and the preset value is 10, then equal part obtains 15 sublist, each sublist
Include 10 files.
S205, at least one described sublist after showing arrangement in batches.
Specifically, at least one sublist according to after the equal part is shown in batches, every batch of display is one or more
Sublist, specific every batch of shows that the number of sublist is determined by user, less in the quantity of documents of the listed files to be shown
In the case where, every batch of shows a sublist;In the case where the quantity of documents of the listed files to be shown is more, every batch of can
User's fast browsing is facilitated to search required file to show two or four sublist.
S206 includes at least one file in the listed files to be shown after the arrangement, when receiving to described
When the search request of one of file at least one file, search whether that there are institutes in first sublist of display
State one of file.
Specifically, at least one described sublist after the arrangement includes at least one file, when receiving to described
When the search request of one of file at least one file, search whether to deposit in first sublist of display first
In one of file, one of file is file destination needed for user.
S207, when the result of lookup is no, showing next group sublist and searching in the next group sublist is
No there are one of files, the search operation are repeated, until finding one of file.
Specifically, show that one of file is not present in first described sublist when the result of lookup is no,
Display next group sublist simultaneously searches whether that there are one of files in the next group sublist.If searching at this time
Result be when being, without reading remaining not shown sublist;If the result searched at this time is no, described look into is repeated
Operation is looked for until finding one of file.Such as: the number of the sublist is 10, is searching first sub- column
Just one of file is found in table, then need not show remaining 9 sublist.
S208 receives and requests the play operation of the one of file found, indicates the blue light player
Execute the play operation.
The play operation of the one of file found is requested specifically, receiving user, Xiang Suoshu blue light is broadcast
It puts machine and sends the instruction instruction blue light player execution play operation, realize the terminal to the blue light player
Broadcasting control.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player according to the regularly arranged listed files to be shown in batches and shows the institute after arrangement
Listed files to be shown is stated, the search request to one of file is received and is indicated after finding one of file
The blue light player executes corresponding operation, realizes the listed files for showing blue light player in batches on the interface of terminal,
File needed for facilitating user to be searched according to the listed files of display.
Fig. 3 is referred to, it, should for the flow diagram for the method that another listed files provided in an embodiment of the present invention is shown
Method may include step S301- step S311.
S301 establishes the connection with blue light player.
Specifically, the communication connection for establishing terminal and blue light player is to realize to show the blue light on the interface of terminal
The precondition of the listed files of player can not obtain the file of the blue light player if the two does not set up communication connection
List.It is provided with bluetooth module in existing blue light player, is wirelessly connected module, therefore bluetooth connection, near field can be passed through
The connection types such as communication connection, wireless network connection, infrared induction connection are established between the terminal and the blue light player
Communication connection.
S302 receives the instruction for showing the listed files of the blue light player.
Specifically, whether the blue light detected in terminal controls APP after establishing the communication connection with the blue light player
It is in operating status, when the result of detection, which is, is, receive the display blue light player text that user selects on blue light control APP
The instruction of part list.
S303 obtains the listed files to be shown of the blue light player according to described instruction.
Specifically, the file to be shown for obtaining the blue light player is sent to the blue light player according to described instruction
The instruction of list simultaneously obtains the listed files to be shown, and the listed files to be shown includes carry equipment on blue light player
In listed files or blue light player in store listed files, wherein the carry equipment can include but is not limited to blue light
The equipment such as optical disc, CD dish, USB flash disk, hard disk.The format of file is JSON format, the JSON lattice in the listed files to be shown
Formula is a kind of data interchange format based on JavaScript programming language, has very big advantage in cross-platform data transmission.
S304 obtains the type of each file in the listed files to be shown.
Specifically, due in the listed files to be shown file be it is rambling, various types of files are mixed in one
It rises, inconvenience is searched, therefore to the regularly arranged listed files to be shown using classification, obtains the listed files to be shown
In each file type and be classified according to the type of each file.
S305, according to the type of first class paper to the listed files to be shown classified to obtain at least one first
Grade listed files.
Specifically, the type of the first class paper can include but is not limited to artist name, album name, song kind
Class, movie formats, picture format etc..The listed files to be shown classify according to the type of the first class paper
To at least one first class paper list, such as: song 5, Zhou Jielun in the listed files to be shown including Liu Dehua
Song 7, comedy movie 4, the listed files to be shown is classified to obtain 3 first class paper lists, title
It is Liu Dehua, Zhou Jielun, comedy movie respectively, the quantity of documents that 3 first class paper lists include is respectively 5,7,4.
At least one described first class paper list is obtained at least one according to the classification of type of second level file by S306
Second level listed files.
Specifically, the type of the second level file can include but is not limited to song, film, picture, document etc..By institute
It states at least one first class paper list and at least one second level file column is obtained according to the classification of type of the second level file
Table is classified to obtain 2 second level file column for example, obtaining 3 first class paper lists to citing in step S305
Table, title are song, film respectively, and song files list includes 2 first class paper lists, and movie file list includes 1
First class paper list.
S307 shows at least one described second level listed files and its corresponding first class paper list.
Specifically, show at least one described second level listed files and its corresponding first class paper list, and such as: 2
A second level listed files, title are song, film respectively, and song files list includes 2 first class paper lists, respectively
5 songs, 5 songs of Zhou Jielun of Liu Dehua, movie file list include 1 first class paper list, are comedy movie 4
Portion, " chapter " " section " that the result of display is similar to book show that song, film are similar to " chapter ", Liu Dehua, Zhou Jielun, comedy electricity
Shadow is similar to " section " of " chapter " below.
S308 includes at least one file in the listed files to be shown after the arrangement, when receiving to described
When the search request of one of file at least one file, the class of the second level file of one of file is obtained
Type.
Specifically, include at least one file in the listed files to be shown after the arrangement, when receiving to described
When the search request of one of file at least one file, the class of the second level file of one of file is obtained
Type, one of file are file destination needed for user.
S309, show second level listed files corresponding to the type of the second level file and judge it is described one of them
The type of file whether further include first class paper type.
Specifically, showing second level listed files corresponding to the type of the second level file and judging described wherein one
The type of a file whether further include first class paper type.For example, one of file is Zhou Jielun-blue and white porcelain
.mp3, the type of second level file be song, show song corresponding to second level listed files, judge it is described one of them
The type of file whether further include first class paper type, i.e. singer's title.
S310 shows the corresponding first class paper list of the type of the first class paper when the result judged is is
And one of file is searched in the first class paper list.
When the result judged is is, the corresponding first class paper list of the type of the first class paper is shown and in institute
It states and searches one of file in first class paper list, for example, the type of the first class paper is singer's title week
Jie Lun searches Zhou Jielun-blue and white porcelain .mp3 in the first class paper list of entitled Zhou Jielun.
S311 receives and requests the play operation of the one of file found, indicates the blue light player
Execute the play operation.
The play operation of the one of file found is requested specifically, receiving user, Xiang Suoshu blue light is broadcast
It puts machine and sends the instruction instruction blue light player execution play operation, realize the terminal to the blue light player
Broadcasting control.For example, one of file is Zhou Jielun-blue and white porcelain .mp3, receives user and this play operation is asked
It asks, indicates that the blue light player executes the operation for playing the song.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player, according to classification the regularly arranged listed files to be shown and show arrangement after institute
Listed files to be shown is stated, the search request to one of file is received and is indicated after finding one of file
The blue light player executes corresponding operation, realizes the listed files for showing blue light player in batches on the interface of terminal,
File needed for facilitating user to be searched according to the listed files of display.
It is situated between in detail below in conjunction with attached drawing 4- attached drawing 6 to the terminal that listed files provided in an embodiment of the present invention is shown
It continues.It should be noted that the attached terminal shown in fig. 6 of attached drawing 4-, the method for executing Fig. 1-embodiment illustrated in fig. 2 of the present invention,
For ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to this hair
Bright Fig. 1-embodiment shown in Fig. 3.
Fig. 4 is referred to, is a kind of structural schematic diagram of terminal provided by the invention;The terminal 10 can include: receiving unit
101, acquiring unit 102, arrangement units 103 and display unit 104.
Receiving unit 101, the instruction of the listed files for receiving display blue light player.
In the specific implementation, whether the blue light control APP in detection terminal is in operating status, when the result of detection is yes
When, receive the instruction for the display blue light player listed files that user selects on blue light control APP.
The precondition that the receiving unit 101 receives the instruction of the listed files of display blue light player is the terminal
Communication connection has been established with the blue light player, the blue light player can not be obtained if the two does not set up communication connection
Listed files.Be provided with bluetooth module in existing blue light player, be wirelessly connected module, thus can by bluetooth connection,
The connection types such as near-field communication connection, wireless network connection, infrared induction connection establish the terminal and the blue light player
Between communication connection.
Acquiring unit 102, for obtaining the listed files to be shown of the blue light player according to described instruction.
The to be shown of the blue light player is obtained in the specific implementation, sending according to described instruction to the blue light player
The instruction of listed files simultaneously obtains the listed files to be shown, and the listed files to be shown includes carry on blue light player
The listed files stored in listed files or blue light player in equipment, wherein the carry equipment can include but is not limited to
The equipment such as Blu-ray Disc, CD dish, USB flash disk, hard disk.The format of file is JSON format in the listed files to be shown, described
JSON format is a kind of data interchange format based on JavaScript programming language, is had in cross-platform data transmission very big
Advantage.
Arrangement units 103, for arranging the listed files to be shown according to default rule.
In the specific implementation, since the file of the blue light player is list to be shown that is rambling, getting
It is not have sequential, to be not easy to needed for user searches file, therefore arrange according to the default rule arrangement file to be shown
Table, the default rule can be in batches regular, be also possible to classification rule, according to the user's choice depending on.
Display unit 104, for showing the listed files to be shown after arranging.
In the specific implementation, if the default rule is in batches regular, after showing arrangement in batches the text to be shown
Part list;If the default rule is classification rule, the listed files to be shown after showing classification arrangement.
It include at least one file in the listed files to be shown after the arrangement.When receiving to described at least one
Described in being searched when the search request of one of file in a file, in the listed files to be shown after the arrangement
One of file.It receives and the play operation of the one of file found is requested, indicate the blue light player
Execute the play operation.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player arranges the listed files to be shown according to default rule and shows the institute after arrangement
Listed files to be shown is stated, realizes the listed files for showing blue light player on the interface of terminal, text needed for being searched for user
Part provides convenient.
Fig. 5 is referred to, for the structural schematic diagram of another terminal provided by the invention;The terminal 20 can include: connection is single
Member 201, receiving unit 202, acquiring unit 203, arrangement units 204, display unit 205, searching unit 206 and indicating unit
207, wherein the arrangement units 204 include waiting sub-units 2041, the display unit 205 includes display unit 2051 in batches,
Searching unit 206 includes the first searching unit 2061 and the second searching unit 2062.
Connection unit 201, for establishing and the connection of blue light player.
In the specific implementation, the communication connection for establishing terminal and blue light player is realized on the interface of terminal described in display
The precondition of the listed files of blue light player can not obtain the blue light player if the two does not set up communication connection
Listed files.Be provided with bluetooth module in existing blue light player, be wirelessly connected module, thus can by bluetooth connection,
The connection types such as near-field communication connection, wireless network connection, infrared induction connection establish the terminal and the blue light player
Between communication connection.
Receiving unit 202, for receiving the instruction for showing the listed files of the blue light player.
In the specific implementation, the blue light detected in terminal controls APP after establishing the communication connection with the blue light player
It is whether in operating status, when the result of detection, which is, is, receives the display blue light that user selects on blue light control APP and play
The instruction of machine listed files.
Acquiring unit 203, for obtaining the listed files to be shown of the blue light player according to described instruction.
The to be shown of the blue light player is obtained in the specific implementation, sending according to described instruction to the blue light player
The instruction of listed files simultaneously obtains the listed files to be shown, and the listed files to be shown includes carry on blue light player
The listed files stored in listed files or blue light player in equipment, wherein the carry equipment can include but is not limited to
The equipment such as Blu-ray Disc, CD dish, USB flash disk, hard disk.The format of file is JSON format in the listed files to be shown, described
JSON format is a kind of data interchange format based on JavaScript programming language, is had in cross-platform data transmission very big
Advantage.
Arrangement units 204, for arranging the listed files to be shown according to default rule.In embodiments of the present invention
The arrangement units 204 specifically include equal sub-units 2041.
Equal sub-units 2041, for the listed files to be shown to be obtained at least one sub- column according to preset value equal part
Table.
Wherein, the preset value can be the entry number of every page of display of blue light control APP default, specific value with
The size of screen and the size of font are related, are also possible to the entry number of every page of display of user setting, if described to be shown
The quantity of documents of listed files is various, the adjustable preset value of user.By the listed files to be shown according to described pre-
If value equal part obtains at least one sublist, wherein the entry number of each sublist is the preset value.For example, described to aobvious
The quantity of documents for showing listed files is 150, and the preset value is 10, then equal part obtains 15 sublist, each sublist
Include 10 files.
Display unit 205, for showing the listed files to be shown after arranging.It is described aobvious in embodiments of the present invention
Show that unit 205 specifically includes display unit 2051 in batches.
Display unit in batches, for show in batches arrangement after described at least one sublist.
In the specific implementation, at least one sublist according to after the equal part is shown in batches, every batch of show one or
Multiple sublist, specific every batch of shows that the number of sublist is determined by user, in the quantity of documents of the listed files to be shown
In the case where less, every batch of shows a sublist;In the case where the quantity of documents of the listed files to be shown is more, often
Two or four sublist can be shown to facilitate user's fast browsing to search required file by criticizing.
Searching unit 206, for working as the search request received to one of file at least one described file
When, one of file is searched in the listed files to be shown after the arrangement.Institute in embodiments of the present invention
Stating searching unit 206 includes the first searching unit 2061 and the second searching unit 2062.
First searching unit 2061, for working as the lookup received to one of file at least one described file
When request, search whether that there are one of files in first sublist of display.
In the specific implementation, at least one described sublist after the arrangement includes at least one file, when receiving pair
When the search request of one of file at least one described file, searching first in first sublist of display is
It is no there are one of file, one of file is file destination needed for user.
Second searching unit 2062, for showing next group sublist and described next when the result of lookup is no
It searches whether to repeat the search operation there are one of file in batch sublist, until finding described wherein one
A file.
In the specific implementation, when the result of lookup is no, show first described sublist there is no it is described one of them
File shows next group sublist and searches whether that there are one of files in the next group sublist.If this
When the result searched be when being, without reading remaining not shown sublist;If the result searched at this time is no, repeat
The search operation is until find one of file.Such as: the number of the sublist is 10, is searching first
It criticizes in sublist and just finds one of file, then need not show remaining 9 sublist.
Indicating unit 207, for receiving to the request of the play operation of the one of file found, described in instruction
Blue light player executes the play operation.
The play operation of the one of file found is requested in the specific implementation, receiving user, to the indigo plant
Light player sends instruction and indicates that the blue light player executes the play operation, realizes the terminal and broadcasts to the blue light
Put the broadcasting control of machine.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player according to the regularly arranged listed files to be shown in batches and shows the institute after arrangement
Listed files to be shown is stated, the search request to one of file is received and is indicated after finding one of file
The blue light player executes corresponding operation, realizes the listed files for showing blue light player in batches on the interface of terminal,
File needed for facilitating user to be searched according to the listed files of display.
Fig. 6 is referred to, for the structural schematic diagram of another terminal provided by the invention;The terminal 30 can include: connection is single
Member 301, receiving unit 302, acquiring unit 303, arrangement units 304, display unit 305, searching unit 306 and indicating unit
307, wherein the arrangement units 304 include first kind acquiring unit 3041, the first taxon 3042 and the second grouping sheet
Member 3043, the display unit 305 include classification display unit 3051, and searching unit 306 includes Second Type acquiring unit
3061, judging unit 3062 and target searching unit 3063.
Connection unit 301, for establishing and the connection of blue light player.
In the specific implementation, the communication connection for establishing terminal and blue light player is realized on the interface of terminal described in display
The precondition of the listed files of blue light player can not obtain the blue light player if the two does not set up communication connection
Listed files.Be provided with bluetooth module in existing blue light player, be wirelessly connected module, thus can by bluetooth connection,
The connection types such as near-field communication connection, wireless network connection, infrared induction connection establish the terminal and the blue light player
Between communication connection.
Receiving unit 302, the instruction of the listed files for receiving display blue light player.
In the specific implementation, the blue light detected in terminal controls APP after establishing the communication connection with the blue light player
It is whether in operating status, when the result of detection, which is, is, receives the display blue light that user selects on blue light control APP and play
The instruction of machine listed files.
Acquiring unit 303, for obtaining the listed files to be shown of the blue light player according to described instruction.
The to be shown of the blue light player is obtained in the specific implementation, sending according to described instruction to the blue light player
The instruction of listed files simultaneously obtains the listed files to be shown, and the listed files to be shown includes carry on blue light player
The listed files stored in listed files or blue light player in equipment, wherein the carry equipment can include but is not limited to
The equipment such as Blu-ray Disc, CD dish, USB flash disk, hard disk.The format of file is JSON format in the listed files to be shown, described
JSON format is a kind of data interchange format based on JavaScript programming language, is had in cross-platform data transmission very big
Advantage.
Arrangement units 304, for arranging the listed files to be shown according to default rule.In the embodiment of the present invention
Arrangement units 304 include first kind acquiring unit 3041, the first taxon 3042 and the second taxon 3042.
First kind acquiring unit 3041, for obtaining the type of each file in the listed files to be shown.
In the specific implementation, due in the listed files to be shown file be it is rambling, various types of files are mixed
Together, inconvenient to search, therefore to the regularly arranged listed files to be shown using classification, obtain the file to be shown
It the type of each file and is classified according to the type of each file in list.
First taxon 3042, for being classified according to the type of first class paper to the listed files to be shown
Obtain at least one first class paper list.
In the specific implementation, the type of the first class paper can include but is not limited to artist name, album name, song
Type, movie formats, picture format etc..Classified according to the type of the first class paper to the listed files to be shown
At least one first class paper list is obtained, such as: song 5, Zhou Jie in the listed files to be shown including Liu Dehua
The song 7 of human relations, comedy movie 4 classify the listed files to be shown to obtain 3 first class paper lists, name
Title is Liu Dehua, Zhou Jielun, comedy movie respectively, the quantity of documents that 3 first class paper lists include is respectively 5,7,
4。
Second taxon 3043, for the type by least one described first class paper list according to second level file
Classification obtains at least one second level listed files.
In the specific implementation, the type of the second level file can include but is not limited to song, film, picture, document etc..
At least one described first class paper list is obtained at least one second level text according to the classification of type of the second level file
Part list is classified to obtain 2 second level texts for example, obtaining 3 first class paper lists to citing in step S305
Part list, title are song, film respectively, and song files list includes 2 first class paper lists, and movie file list includes
1 first class paper list.
Display unit 305, for showing the listed files to be shown after arranging.It is shown described in the embodiment of the present invention
Unit 305 specifically includes classification display unit 3051.
Classification display unit 3051, for showing at least one described second level listed files and its corresponding first order text
Part list.
In the specific implementation, showing at least one described second level listed files and its corresponding first class paper list, example
Such as: 2 second level listed files, title are song, film respectively, and song files list includes 2 first class paper lists, point
Not Wei Liu Dehua 5 songs, 5 songs of Zhou Jielun, movie file list include 1 first class paper list, be comedy
Film 4, " chapter " " section " that the result of display is similar to book is shown, song, film are similar to " chapter ", Liu Dehua, Zhou Jielun, happiness
Acute film is similar to " section " of " chapter " below.
Searching unit 306, for working as the search request received to one of file at least one described file
When, one of file is searched in the listed files to be shown after the arrangement.Described in the embodiment of the present invention
Searching unit 306 includes Second Type acquiring unit 3061, judging unit 3062 and target searching unit 3063.
Second Type acquiring unit 3061 is received for working as to one of file at least one described file
When search request, the type of the second level file of one of file is obtained.
In the specific implementation, include at least one file in the listed files to be shown after the arrangement, when receiving pair
When the search request of one of file at least one described file, the second level file of one of file is obtained
Type, one of file be user needed for file destination.
Judging unit 3062, for showing second level listed files corresponding to the type of the second level file and judging
The type of one of file whether further include first class paper type.
In the specific implementation, show second level listed files corresponding to the type of the second level file and judge it is described its
In a file type whether further include first class paper type.For example, one of file is that Zhou Jielun-is blue and white
Porcelain .mp3, the type of second level file are song, show second level listed files corresponding to song, judgement described wherein one
The type of a file whether further include first class paper type, i.e. singer's title.
Target searching unit 3063, the type for when the result judged is is, showing the first class paper are corresponding
First class paper list and one of file is searched in the first class paper list.
When the result judged is is, the corresponding first class paper list of the type of the first class paper is shown and in institute
It states and searches one of file in first class paper list, for example, the type of the first class paper is singer's title week
Jie Lun searches Zhou Jielun-blue and white porcelain .mp3 in the first class paper list of entitled Zhou Jielun.
Indicating unit 307, for receiving to the request of the play operation of the one of file found, described in instruction
Blue light player executes the play operation.
The play operation of the one of file found is requested in the specific implementation, receiving user, to the indigo plant
Light player sends instruction and indicates that the blue light player executes the play operation, realizes the terminal and broadcasts to the blue light
Put the broadcasting control of machine.For example, one of file is Zhou Jielun-blue and white porcelain .mp3, receives user and this broadcasting is grasped
It requests, indicates that the blue light player executes the operation for playing the song.
In embodiments of the present invention, by obtaining the indigo plant after receiving the instruction of listed files of display blue light player
The listed files to be shown of light player, according to classification the regularly arranged listed files to be shown and show arrangement after institute
Listed files to be shown is stated, the search request to one of file is received and is indicated after finding one of file
The blue light player executes corresponding operation, realizes the listed files for showing blue light player in batches on the interface of terminal,
File needed for facilitating user to be searched according to the listed files of display.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (8)
1. a kind of method that the listed files of blue light player is shown, applied to the terminal for being equipped with blue light control APP, feature
It is, comprising: receive the instruction of the listed files of display blue light player;
The listed files to be shown of the blue light player is obtained according to described instruction;
The listed files to be shown is arranged according to default rule;
The listed files to be shown after display arrangement;
The listed files to be shown includes the listed files stored in blue light player, file in the listed files to be shown
Format be JSON format;
The default rule includes that rule or classification in batches are regular;If the default rule is in batches regular, display point
The listed files to be shown after criticizing arrangement;If the default rule is classification rule, the institute after showing classification arrangement
State listed files to be shown;
It is described to arrange the listed files to be shown according to default rule, comprising:
Obtain the type of each file in the listed files to be shown;
The listed files to be shown is classified according to the type of first class paper to obtain at least one first class paper column
Table;
At least one described first class paper list is obtained at least one second level text according to the classification of type of second level file
Part list;
The listed files to be shown after the display arrangement, comprising:
Show at least one described second level listed files and its corresponding first class paper list;
Before the instruction of the data for receiving display blue light player, further includes:
The connection with blue light player is established, the connection is including in bluetooth connection, near-field communication connection, wireless network connection
At least one connection type;
It is described to arrange the listed files to be shown according to default rule, can also include:
The listed files to be shown is obtained at least one sublist according to preset value equal part;
The listed files to be shown after the display arrangement, comprising:
At least one described sublist after showing arrangement in batches.
2. the method according to claim 1, wherein including in the listed files to be shown after the arrangement
At least one file, the method also includes:
When receiving the search request to one of file at least one described file, after the arrangement described in
One of file is searched in listed files to be shown;
It receives and the play operation of the one of file found is requested, indicate that the blue light player is broadcast described in executing
Put operation.
3. according to the method described in claim 2, it is characterized in that, described when receiving to its at least one described file
In a file search request when, one of text is searched in the listed files to be shown after the arrangement
Part, comprising:
When receiving the search request to one of file at least one described file, in first sub- column of display
Search whether that there are one of files in table;
When the result of lookup is no, shows next group sublist and search whether to exist in the next group sublist described
One of file repeats the search operation, until finding one of file.
4. according to the method described in claim 2, it is characterized in that, described when receiving to its at least one described file
In a file search request when, one of text is searched in the listed files to be shown after the arrangement
Part, comprising:
When receiving the search request to one of file at least one described file, one of text is obtained
The type of the second level file of part;
It shows second level listed files corresponding to the type of the second level file and judges the class of one of file
Type whether further include first class paper type;
When the result judged is is, the corresponding first class paper list of the type of the first class paper is shown and described
One of file is searched in first grade file list.
5. a kind of terminal for being equipped with blue light control APP characterized by comprising
Receiving unit, the instruction of the listed files for receiving display blue light player;
Acquiring unit, for obtaining the listed files to be shown of the blue light player according to described instruction;
Sequencing unit, for arranging the listed files to be shown according to default rule;
Display unit, for showing the listed files to be shown after arranging;
The listed files to be shown includes the listed files stored in blue light player, file in the listed files to be shown
Format be JSON format;
The default rule includes that rule or classification in batches are regular;If the default rule is in batches regular, display point
The listed files to be shown after criticizing arrangement;If the default rule is classification rule, the institute after showing classification arrangement
State listed files to be shown;
The arrangement units include:
First kind acquiring unit, for obtaining the type of each file in the listed files to be shown;
First taxon, for being classified to obtain at least to the listed files to be shown according to the type of first class paper
One first class paper list;
Second taxon, for obtaining at least one described first class paper list according to the classification of type of second level file
At least one second level listed files;
The display unit includes classification display unit, for showing at least one described second level listed files and its corresponding
First class paper list;
Connection unit includes bluetooth connection, near-field communication connection, nothing with the connection of blue light player, the connection for establishing
At least one of line network connection connection type;
The arrangement units include waiting sub-units, for the listed files to be shown to be obtained at least one according to preset value equal part
A sublist;
The display unit includes display unit in batches, at least one sublist described in show after arrangement in batches.
6. terminal according to claim 5, which is characterized in that include in the listed files to be shown after the arrangement
At least one file, the terminal further include:
Searching unit, for when receiving the search request to one of file at least one described file, in institute
One of file is searched in the listed files to be shown after stating arrangement;
Indicating unit indicates that the blue light is broadcast for receiving the play operation request to the one of file found
It puts machine and executes the play operation.
7. terminal according to claim 6, which is characterized in that the searching unit includes:
First searching unit, for when receiving the search request to one of file at least one described file,
Search whether that there are one of files in first sublist of display;
Second searching unit, for showing next group sublist and in the next group sublist when the result of lookup is no
In search whether to repeat the search operation there are one of file, until finding one of file.
8. terminal according to claim 6, which is characterized in that the searching unit includes:
Second Type acquiring unit, for working as the search request received to one of file at least one described file
When, obtain the type of the second level file of one of file;
Judging unit, for showing described in second level listed files corresponding to the type of the second level file and judgement wherein
The type of one file whether further include first class paper type;
Target searching unit, for showing the corresponding first order of the type of the first class paper when the result judged is is
Listed files simultaneously searches one of file in the first class paper list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510126608.3A CN104821178B (en) | 2015-03-20 | 2015-03-20 | A kind of method and terminal that listed files is shown |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510126608.3A CN104821178B (en) | 2015-03-20 | 2015-03-20 | A kind of method and terminal that listed files is shown |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104821178A CN104821178A (en) | 2015-08-05 |
CN104821178B true CN104821178B (en) | 2019-03-01 |
Family
ID=53731445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510126608.3A Expired - Fee Related CN104821178B (en) | 2015-03-20 | 2015-03-20 | A kind of method and terminal that listed files is shown |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104821178B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183460B (en) * | 2015-08-14 | 2018-09-14 | 魅族科技(中国)有限公司 | A kind of list methods of exhibiting and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101646992A (en) * | 2007-03-28 | 2010-02-10 | 株式会社爱可信 | Content reproduction system, content reproduction/control device, and computer program |
CN104217738A (en) * | 2014-08-29 | 2014-12-17 | 广东欧珀移动通信有限公司 | Playlist realization method and system of device type source file supported by blu-ray disc player |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007158854A (en) * | 2005-12-06 | 2007-06-21 | Matsushita Electric Ind Co Ltd | Av server device, client apparatus, and file transfer system |
-
2015
- 2015-03-20 CN CN201510126608.3A patent/CN104821178B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101646992A (en) * | 2007-03-28 | 2010-02-10 | 株式会社爱可信 | Content reproduction system, content reproduction/control device, and computer program |
CN104217738A (en) * | 2014-08-29 | 2014-12-17 | 广东欧珀移动通信有限公司 | Playlist realization method and system of device type source file supported by blu-ray disc player |
Also Published As
Publication number | Publication date |
---|---|
CN104821178A (en) | 2015-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11601385B2 (en) | Conversion of text relating to media content and media extension apps | |
US20170359285A1 (en) | Conversion of detected url in text message | |
EP3119064B1 (en) | A lock screen method and mobile terminal | |
WO2017166621A1 (en) | Split-screen displaying method and apparatus, and electronic device | |
EP2763387B1 (en) | Method and system for sharing web page information | |
US8078230B2 (en) | Method and apparatus for providing a prioritized list of display devices for display of a media file | |
US20180275840A1 (en) | Method for executing program and electronic device thereof | |
EP2557490A1 (en) | Icon adding method and device in interface of android system and mobile terminal | |
CN102227909A (en) | Storage device managing playable content | |
WO2022002066A1 (en) | Method and apparatus for browsing table in document, and electronic device and storage medium | |
CN105354306A (en) | Application recommendation method and terminal | |
US9497271B2 (en) | Method, storage medium, and apparatus for performing peer to peer service by using contacts information | |
KR20120093745A (en) | Method for controlling display apparatus's operation and display apparatus thereof | |
CN112988108B (en) | Information playing method and device, electronic equipment and storage medium | |
CN103686417A (en) | User interface customizing method and system | |
US20130055156A1 (en) | Information processing terminal, display control method, and display control program | |
CN101770371A (en) | Application theme content preview method and device | |
CN103500234B (en) | A kind of multimedia file downloading method and electronic equipment | |
CN104821178B (en) | A kind of method and terminal that listed files is shown | |
US20130050267A1 (en) | Information processing terminal, display control method, and display control program | |
CN117786159A (en) | Text material acquisition method, apparatus, device, medium and program product | |
KR101779825B1 (en) | Apparatus and method for managering content data in portable terminal | |
WO2013177863A1 (en) | Colour-based symbol selection method and device | |
CN108668003B (en) | Method for displaying notification message by terminal, terminal and device with storage function | |
JP2012221159A (en) | Content processing device, content processing method, and control program for content processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190301 |