Embodiment
For making object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
The embodiment of the present invention provides a kind of characters input method of media player, and its flow process as shown in Figure 1, specifically comprises:
Step 101: for multiple data entries of storing in described media player, set up corresponding relation the preservation of each character in the index mark of each data entries and affiliated index mark;
Step 102: receive the character of input, according to the corresponding relation of preserved character and index mark, obtain the index mark corresponding with the character of described input, and export the index mark obtaining;
Step 103: receive the selection instruction of input, in the index mark corresponding at the obtained character with described input, the index mark that selected described selection instruction is indicated.
It should be noted that, described index mark refers to the information word for identification information entry, for example: for a music file, this file generally includes filename, performance or sings polytype index mark such as musician, affiliated musical form of this music, in actual applications, the most common also the most frequently used index mark is filename, but it should be pointed out that method that the present invention shows can expand in the retrieval of the index mark to other types equally.For convenience of describing, the index mark of hereinafter mentioning is information bar destination name of the file, easily understands, and this narration only, for for example, does not represent the restriction to the invention process method.
Wherein, receive the character of input described in step 101, according to the corresponding relation of preserved character and index mark, the method that obtains the index mark corresponding with the character of described input specifically comprises:
Receive multiple characters of input, according to the corresponding relation of preserved character and index mark, obtain existing with described multiple characters the index mark of corresponding relation.
It should be noted that, a character can identify corresponding to the index of multiple data entries simultaneously, the index mark of the multiple data entries simultaneously corresponding with a character forms the set of an index mark, and the corresponding relation of setting up and preserving in described step 101 is the corresponding relation of each character and this set.Simultaneously, due to described step 101 have at every turn data entries add media player in time be all performed once (no matter whether to carry out character input, step 101 all needs to carry out), therefore for including the media player of some data entries, the each character comprising in the index mark of each data entries and the index mark of this data entries have all been set up corresponding relation, thereby have included the character of some---the corresponding relation of index mark set.Therefore, once add the data entries in described equipment to regard to certain, if the character comprising in the index of this data entries mark is the character of having set up corresponding relation, described step 101 is actual is the process that existing corresponding relation is upgraded, if and the character comprising in the index of described data entries mark has partly or entirely for still there is not the character of corresponding relation, these characters are needed to set up new corresponding relation.
For describing the difference of above-mentioned two situations in detail, be specifically described below by an example:
If certain less important index mark (for the sake of simplicity, the index mark of establishing is now this information bar destination name of the file) of adding the central data entries of media player to is " call ", below two kinds of described situations are discussed respectively:
1) if the index of existing data entries mark comprises in described media player: " call out, wake up, call out, shout, sky ", known according to narrating above, before described " call " adds this equipment to, the corresponding relation having existed should be:
The index mark set that character " is exhaled " comprises: " call out, call out ";
The index mark set that character " is named " comprises: " call out, shout ";
The index mark set that character " is called out " comprises: " waking up ";
The index mark set that character " is waken up " comprises: " waking up ";
The index mark set that character " is cried out " comprises: " call out, shout ";
Character " my god " index mark set comprise: " sky ";
The index mark set of character " sky " comprising: " sky ".
After described " call " adds this equipment to, the corresponding relation after execution step 101 should be:
The index mark set that character " is exhaled " comprises: " call out, call out, call ";
The index mark set that character " is named " comprises: " call out, shout ";
The index mark set that character " is called out " comprises: " wake up, call ";
The index mark set that character " is waken up " comprises: " waking up ";
The index mark set that character " is cried out " comprises: " call out, shout ";
Character " my god " index mark set comprise: " sky ";
The index mark of character " sky " is closed and is comprised: " sky ".
Visible, described step 101 is actual is the renewal to the set of the existing index that character " is exhaled " and existing character " is called out " mark---, in described two set, add a new corresponding relation " call " respectively.
2) if the index of existing data entries mark comprises in described media player: " shout, sky ", now to be added to the central data entries of equipment, the character comprising in its index mark is the character that does not still have corresponding relation, known according to narrating above, before described " call " adds this equipment to, the corresponding relation having existed should be:
The index mark set that character " is cried out " comprises: " shouting ";
The index mark set that character " is named " comprises: " shouting ";
Character " my god " index mark set comprise: " sky ";
The index mark set of character " sky " comprising: " sky ".
After described " call " adds this equipment to, the corresponding relation after execution step 101 should be:
The index mark set that character " is cried out " comprises: " shouting ";
The index mark set that character " is named " comprises: " shouting ";
Character " my god " index mark set comprise: " sky ";
The index mark set of character " sky " comprising: " sky ".
the index mark set that character " is exhaled " comprises: " call ";
the index mark set that character " is called out " comprises: " call ";
Visible, the corresponding relation of described step 101 is now newly-built two characters and data entries index mark thereof---, set up respectively that character " is exhaled " and character " is called out " and the set of index mark, and in this set, comprised respectively a corresponding relation " call ".
In addition, corresponding with the process in step 101, the method can further include:
Step 101a:
In the time that data entries is deleted from described media player, remove the corresponding relation that each character in the index mark of this data entries and this index identify.
Easily understand, between described step 101, step 101a and subsequent step 102~103, there is not strict sequencing, in fact response action when described foundation, preservation, renewal or the step of removing described corresponding relation are data entries change (being that data entries is saved in media player or deletes) from equipment, it is the angle from the workflow of whole method, described corresponding relation need to be first set up, the retrieving of subsequent step 102~103 could be carried out.Simultaneously, those skilled in the art also easily understand, in above-mentioned steps 101 and step 101a, set up, preserve, upgrade and remove the process of described corresponding relation, can be very easily by the operation of data link table, matrix or other data structure be realized in the time of actual realization, specifically be the known technology of person skilled, repeat no more herein.
Further, described in, obtain existing the method for the index mark of corresponding relation specifically to comprise with described multiple characters:
There is the index mark that all has corresponding relation with multiple characters of inputting if judge, using this index mark as existing the index of corresponding relation to identify with described multiple characters; If there is not the index mark that all has corresponding relation with inputted multiple characters in judgement, using with described multiple characters in partial character exist the index mark of corresponding relation as existing the index of corresponding relation to identify with described multiple characters.
Correspondingly, now, in step 102, the index mark that described output obtains specifically comprises:
According to exporting obtained index mark with the mode of the matching degree descending sort of described multiple characters, wherein, there is the index mark of corresponding relation with more multiple inputted characters, the matching degree of itself and described multiple characters is higher.
Easily understand, the matching degree of described index mark and the character of input can also further be expanded and be: front and back order and context relation between the each character in the character information of input, more approaching with front and back order and the context relation of respective symbols in index mark, matching degree is higher, otherwise matching degree is lower.The matching degree of mentioning is herein to search for the known technological means of those skilled in the art generally, does not modify and improve in application of the present invention, therefore no longer launches narration, specifically can consult related data.
For further retrieving clearly of the present invention, below by a concrete example, described step 101~103 are explained:
If the index of the data entries comprising in the media player mark title of data entries (in this example for) is respectively: gimmick, get started, enter, victory or defeat, transportation, write, write, writer, hand-written, transmission, carry, enter to the greatest extent my hand, helper, assistant, input, start with;
For saving length, the process of adding described 16 data entries to described equipment is herein omitted, also corresponding relation unrelated to the invention (for example data entries corresponding with character " pair ", " work ", " win " etc.) is omitted, now the corresponding relation of character and data entries comprises simultaneously:
The set of index that character " is write " mark comprises: write, write, writer, hand-written;
The index mark set of character " defeated " comprising: victory or defeat, transportation, transmission, conveying, input;
The index mark set of character " hand " comprising: gimmick, writer, hand-written, enter my hand, helper, assistant to the greatest extent;
The set of index that character " enters " mark comprises: get started, enter, enter to the greatest extent my hand, input.
Suppose now a data entries " handwriting input " to be added in described media player, step 101 will be set up the corresponding relation that the character that comprises in the index mark of this data entries and this data entries index identify, and corresponding relation now comprises:
Index that character " is write " mark set (being made as set A) comprising: write, write, writer, hand-written, handwriting input;
The index mark set (being made as set B) of character " defeated " comprising: victory or defeat, transportation, transmission, conveying, input, handwriting input;
The index mark set (being made as set C) of character " hand " comprising: gimmick, writer, hand-written, enter my hand, helper, assistant, handwriting input to the greatest extent;
Index that character " enters " mark set (being made as set D) comprising: get started, enter, enter to the greatest extent my hand, input, handwriting input.
If a) in step 102, the primary election character of input is " handwriting input ", for this primary election character, it comprises " hand ", " writing ", " defeated " and " entering " four characters, in index mark set due to described each character, all comprise " handwriting input " this entry (common factor of set A, B, C, D is " handwriting input "), therefore show that final result for retrieval is for " handwriting input ".
If b) user has forgotten the accurate title of described data entries " handwriting input ", only remember the partial content (such as " hand-written ") of this data entries title, in step 102, user inputs after " hand-written ", corresponding result for retrieval should be the common factor of set A and C, i.e. " hand-written, handwriting input, writer " (actual ordering is correspondingly determined by the algorithm of the matching degree of setting, and will not discuss herein); When user obtains after this result for retrieval, the result that generally will be retrieved is suggested and to remember what want retrieval should be " handwriting input ", thereby can correctly retrieve equally the index mark of the data entries needing.
Because the index mark of the data entries in media player is generally some specific phrases and phrase (such as song title, place name, Business Name etc. are all generally proprietary phrases), be not common common daily phrase and phrase, therefore this information retrieval method is specially adapted to be applied in the middle of media player, and can realize information inquiry fast and effectively.
Based on the above method, the present invention also provides a kind of media player simultaneously, and its composition structure as shown in Figure 2, specifically comprises: corresponding relation operational module 210 and retrieval module 220;
Wherein, corresponding relation operational module 210, for multiple data entries that described media player is stored, sets up respectively corresponding relation the preservation of each character of comprising in the index mark of each data entries and affiliated index mark;
Retrieval module 220, for receiving the character of input, according to the corresponding relation of preserved character and index mark, obtain the index mark corresponding with the character of described input, and the index that output obtains identifies; Receive the selection instruction of input, in the index mark corresponding at the obtained character with described input, the index mark that selected selection instruction is indicated.
Wherein, described corresponding relation operational module 210 comprises that corresponding relation sets up unit 211 and corresponding relation delete cells 212;
Described corresponding relation is set up unit 211, for multiple data entries that described media player is stored, sets up respectively corresponding relation the preservation of each character of comprising in the index mark of each data entries and affiliated index mark;
Described corresponding relation delete cells 212, in the time having data entries to delete from described media player, removes the corresponding relation that each character in the index mark of this data entries and this index identify.
Described retrieval module 220, comprises the first selected cell 221 and the second selected cell 222;
Described the first selected cell 221, for receiving multiple characters of input, according to the corresponding relation of preserved character and index mark, obtain existing with described multiple characters the index mark of corresponding relation, and the index that output obtains identifies;
Described the second selected cell 222, for receiving the selection instruction of input, in the index mark corresponding at the obtained character with described input, the index mark that selected selection instruction is indicated.
Meanwhile, described the first selected cell 221 further comprises: judgment sub-unit 223 and output subelement 224;
Described judgment sub-unit 223, for receiving multiple characters of input, judge according to the corresponding relation of preserved character and index mark, if there is the index mark that all has corresponding relation with multiple characters of inputting in judgement, using this index mark as existing the index of corresponding relation to identify with described multiple characters, otherwise, using with described multiple characters in partial character exist the index mark of corresponding relation as existing the index of corresponding relation to identify with described multiple characters;
Described output subelement 224, for according to exporting with the mode of the matching degree descending sort of described multiple characters the index mark that judgment sub-unit obtains, wherein, have the index mark of corresponding relation with more multiple inputted characters, the matching degree of itself and described multiple characters is higher.
From above-mentioned, the media player that the embodiment of the present invention provides and characters input method thereof, the corresponding relation identifying by setting up each character in the index mark of each data entries and affiliated index, thereby can in the time retrieving, needn't rely on the index mark initial character of the data entries to desired seek or the accurate memory of alphabet, and any one or more characters that the index that can utilize the data entries of desired seek comprises in identifying are retrieved---for example only remember the partial content of the index mark of the data entries of desired seek, while even retrieval the character of input put in order with the index mark of the data entries of desired seek in character sequence and inconsistent situation under, thereby still can successfully retrieve and obtain result for retrieval---character input and data entries retrieval are organically combined in the middle of a process, degree of intelligence and the ease for use of character input and retrieval are greatly improved, and then significantly improve character input and the speed of retrieval and the success ratio of retrieval.
Above-mentioned explanation is for data entries and retrieves the description of carrying out, in concrete application, retrieve the result obtaining according to data entries, different media players can also carry out further other application, for example, preferably, on the basis of described media player and characters input method thereof, carry out the application of television programme title or channel designation search for utilizing digital TV set-top box, the embodiment of the present invention also further provides a kind of television program search viewing method: first utilize described characters input method to carry out the search of channel designation or television programme title, rear line prompting search result, after the TV programme or channel of selecting from Search Results user to watch, the TV programme that storage user selects or the information of channel, and arrange user select TV programme or the watch time of channel, in the time arriving the watch time of described TV programme or channel, prompting user, thereby user can be facilitated, fast, punctual TV programme or the channel that need to watch watched.
Described television program search viewing method, its flow process as shown in Figure 3, specifically comprises:
Step 301: set up corresponding relation the preservation of each character in the index mark of each data entries and affiliated index mark, described data entries is the information of TV programme or channel;
Easily understand, in embodiments of the present invention, the index mark of described TV program information includes but not limited to television programme title, TV programme reproduction time, channel corresponding to TV programme.The index mark of channel information includes but not limited to channel designation, channel.Wherein TV program information can, by user directly from digital broadcast networks or the Internet download, also can be processed rear acquisition by the electronic television program guide (Electronic Program Guide, EPG) intercepting in digital television signal.
Step 302: receive the television program search request that user sends, this television program search request comprises the character that user inputs.
Correspondingly, because described index mark can be television programme title, reproduction time or channel designation, channel etc., therefore, user is in the time of input character, can inputting channel or TV program information---as Domestic News TV programme, TV play film, entertainment television program etc.---complete name or title in partial character, also can input the reproduction time of TV programme or channel, or other information of TV programme and channel, certainly, the character of described user input can be also several combinations in the information of TV programme or channel, as combination of television programme title and TV programme reproduction time etc.
In embodiments of the present invention, the mode of user inputs character is by the input equipment handwriting input with touch-screen, adopt phonetic entry by the equipment with voice collecting function, gather gesture input by the equipment with image collecting function, or adopt keyboard or the input of push button input equipment by human-computer interaction interface.
When by band touch-screen input device handwriting characters, receiving after the character of user's handwriting input, the method also comprises the steps:
The character of identification user handwriting input.In embodiments of the present invention, can adopt existing any one handwriting recognition technology to identify the character of user's handwriting input, not repeat them here.
Step 303: according to the corresponding relation of preserved character and index mark, obtain the index mark corresponding with the character of described input, and the index that output obtains identifies.
In embodiments of the present invention, the method of the index mark that output obtains can have multiple, as shown index mark by human-computer interaction interface---be the information of channel or TV programme, the information of the TV programme wherein showing includes but not limited to television programme title, TV programme reproduction time and channel corresponding to TV programme, the information of the channel showing includes but not limited to channel designation, channel, also can adopt the mode of voice broadcast to export index mark etc.
Step 304: channel or TV programme that subscribing user is selected from exported index mark, and in the time arriving the TV programme of reservation or the watch time of channel, prompting user.
Fig. 4 further shows the specific implementation flow process of described step 304, and details are as follows:
Step 401: the channel that storage user selects from exported index mark or the information of TV programme, channel or the TV programme selected for user arrange the TV program watching time.
In embodiments of the present invention, user can select channel or the TV programme that need to watch from exported index mark.In the time selecting, can carry out individual event selection, also can carry out multinomial selection.After the channel or TV programme of having selected to watch user from exported index mark, the channel that storage user selects or the information of TV programme, and channel or the TV programme selected for user arrange the TV program watching time, channel or the TV programme selected with subscribing user.
In embodiments of the present invention, directly the broadcast start time of TV programme is set to the watch time of this TV programme, also can, according to user's demand, for user provides human-computer interaction interface, for user, the channel of selection or the watch time of TV programme be freely set.
Step 402: whether monitoring current time arrives the TV programme of reservation or the watch time of channel, if so, execution step 403, otherwise continue to carry out this step.
In embodiments of the present invention, if when user has subscribed multiple TV programme or channel in step 401, monitor current time, and judge whether current time arrives any one TV programme of reservation or the watch time of channel, if so, execution step 403, otherwise continue monitoring.
Step 403: prompting user has arrived the TV programme of reservation or the watch time of channel.
In order to make, user is convenient, TV reception efficiently, and in the time that prompting user arrives the TV programme of reservation or the watch time of channel, preferably, the method also, after step 403, further comprises the steps:
Step 404: judge whether to jump to the channel of reservation or channel corresponding to the TV programme of reservation, if so, execution step 405, otherwise execution step 406.
In embodiments of the present invention, in the time that prompting user has arrived the TV programme of reservation or the watch time of channel, can whether jump to the channel of reservation or channel corresponding to the TV programme of reservation by human-computer interaction interface or voice-output device inquiry user, if user confirms to need redirect, judge and need to jump to the channel of reservation or channel corresponding to the TV programme of reservation, otherwise judge not redirect.
Step 405: jump to the channel of reservation or channel corresponding to the TV programme of reservation, and the reservation of this TV programme or channel is cancelled in request.
Step 406: judge whether to cancel the reservation of this TV programme or channel, if so, cancel the reservation of this TV programme or channel.It should be noted that, in embodiments of the present invention, when in step 401, carry out be multinomial selection time---subscribed multiple channels or multiple TV programme simultaneously, after step 406, returned and continue execution step 402, otherwise execution step 407.
Step 407: reset the watch time of this TV programme or channel, and return to execution step 402.
When user is being fully booked after TV programme or channel in advance, if need to again subscribe TV programme or channel, in order to meet user's this demand, preferably, the embodiment of the present invention is being subscribed after TV programme or channel, and the method also comprises the steps:
Whether Real-Time Monitoring receives the television program search request that user sends, and in the time receiving the television program search request of user's transmission, performs step 302.In the time that whether monitoring receives the television program search request of user's transmission, if user is by the input equipment handwriting characters with touch-screen, receiving after the television program search request of user's transmission, first identify the character comprising in described television program search request, then perform step 302.
It should be noted that, said method is the explanation that example is carried out that is applied as with top box of digital machine, but in actual applications, those skilled in the art should understand that, all Digital Television that are built in, Set Top Box, with the PMP of function of watching television, MP4, software service in the products such as mobile terminal, the embedded device that hardware unit or software and hardware combine, or be integrated into Digital Television as suspension member independently, Set Top Box, with the PMP of function of watching television, MP4, various embedded chips in the application system of the products such as mobile terminal or these products, all can apply said method.
Corresponding with described television program search viewing method, the embodiment of the present invention also provides a kind of television program search copic viewing system, Fig. 5 shows the structure of described television program search copic viewing system, for convenience of explanation, only shows the part relevant to the embodiment of the present invention.This television program search copic viewing system can be to be built in the device that software service, hardware unit or software and hardware in Digital Television, Set Top Box, the product such as PMP, MP4, mobile terminal with function of watching television combine, or is integrated into as suspension member independently in the application system of Digital Television, Set Top Box, the product such as PMP, MP4, mobile terminal with function of watching television or these products.And the building block of this television program search copic viewing system can separate from different equipment.Wherein:
Corresponding relation preservation that corresponding relation is set up memory storage 510 and set up each character in the index mark of each data entries and affiliated index mark, described data entries is the information of TV programme or channel.Wherein TV program information includes but not limited to television programme title, TV programme reproduction time, channel corresponding to TV programme.Channel information includes but not limited to channel designation, channel.Described TV program information can be by user directly from digital broadcast networks or the Internet download, and is stored to after treatment corresponding relation and sets up in memory storage 510, also can be by intercepting the EPG in digital television signal, and EPG is processed to rear acquisition.
Program searching request receiving device 520 receives the television program search request that user sends, and comprises the character of user's input in this television program search request.Wherein, because described index mark can be television programme title, reproduction time or channel designation, channel etc., therefore, user is in the time of input character, can inputting channel or TV program information---as Domestic News TV programme, TV play film, entertainment television program etc.---complete name or title in partial character, also can input the reproduction time of TV programme or channel, or other information of TV programme and channel, certainly, the character of described user input can be also several combinations in the information of TV programme or channel, as combination of television programme title and TV programme reproduction time etc.
In embodiments of the present invention, can compatible multiple television program search request input mode, as television program search copic viewing system provides human-computer interaction interface to user, so that user adopts keyboard or push button input equipment input character by human-computer interaction interface, also can directly adopt the input equipment with touch-screen, as the telepilot with touch-screen, handwriting characters, can also adopt phonetic entry by the equipment with voice collecting function, gather gesture input etc. by the equipment with image collecting function.Now, this television program search copic viewing system also comprises TV programme recognition device 530, and this TV programme recognition device 530 is identified the character of user's input that described program searching request receiving device 520 receives.Wherein TV programme recognition device 530 can adopt existing any one character recognition technologies to identify the character of user's input.
The character of user's input that television program search device 540 receives according to program searching request receiving device 520, or TV programme recognition device 530 is identified the character of the user's input obtaining, set up the character of preservation in memory storage 510 and the corresponding relation of index mark according to corresponding relation, obtain the index mark corresponding with the character of described input, and the index that output obtains identifies.
Channel or the TV programme the index mark that program booking control device 550 subscribing user are exported from television program search device 540, selected, and in the time that the described TV program watching time arrives, prompting user watches the channel of reservation or channel corresponding to the TV programme of reservation.This program booking control device 550 comprises that TV programme subscription module 551, watch time monitoring modular 552, program watch reminding module 553.Wherein:
TV programme subscription module 551 is stored the channel selected the index mark that user exports from television program search device 540 or the information of TV programme, simultaneously for channel or the TV programme of user's selection arrange the TV program watching time.In the time selecting TV programme or channel, can carry out individual event selection, also can carry out multinomial selection.In the time carrying out multinomial selection, the channel that storage user selects or the information of TV programme, and each channel or the TV programme selected for user arrange the TV program watching time.
In embodiments of the present invention, directly the broadcast start time of TV programme is set to the watch time of this TV programme, also can, according to user's demand, for user provides human-computer interaction interface, for user, the channel of selection or the watch time of TV programme be freely set.
Watch time monitoring modular 552 is monitored current time and whether has been arrived the TV programme of reservation or the watch time of channel.
Program watches that reminding module 553 is in the time that watch time monitoring modular 552 monitors current time and arrived the TV programme of reservation or the watch time of channel, and prompting user has arrived the TV programme of reservation or the watch time of channel.
In order to make, user is convenient, TV reception efficiently, and preferably, this program booking control device 550 also comprises channel redirect module 554.This channel redirect module 554 monitors current time at watch time monitoring modular 552 and arrives the TV programme of reservation or the watch time of channel, or determine while jumping to the channel of reservation or channel corresponding to predetermined TV programme user, jump to the channel of reservation or predetermined channel corresponding to TV programme, and cancel the reservation of this TV programme or channel.
In order to further facilitate user's TV reception, preferably, this program booking control device 550 also comprises the heavy subscription module 555 of program.The heavy subscription module 555 of this program, in the time that the watch time of the channel of subscribing or TV programme arrives, resets the watch time of this channel or TV programme.
In embodiments of the present invention, according to chracter search channel or the TV programme corresponding with described character of user input, and the index that output obtains identifies so that user can simple, fast search and selection want TV programme or the channel watched.By the pattern of handwriting input is provided, changes push button input in the past, thereby provide intelligence, friendly man-machine interaction mode for user.The TV programme of selecting from Search Results by subscribing user or channel, thus watching of making that user can be real-time wanted the TV programme of watching, avoided missing the TV program watching time.In the time arriving the TV programme of reservation or the watch time of channel, prompting user, or directly jump to TV programme or the channel of reservation, or after determining, user jumps to TV programme or the channel of reservation, when bringing convenience to user, increase the personalized degree of TV watching.In the time arriving the watch time of TV programme or channel, by resetting the watch time of this TV programme or channel, can again subscribe this TV programme or channel.
Finally, easily understand, the foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.