CN102056021A - Chinese and English command-based man-machine interactive system and method - Google Patents

Chinese and English command-based man-machine interactive system and method Download PDF

Info

Publication number
CN102056021A
CN102056021A CN2009101982745A CN200910198274A CN102056021A CN 102056021 A CN102056021 A CN 102056021A CN 2009101982745 A CN2009101982745 A CN 2009101982745A CN 200910198274 A CN200910198274 A CN 200910198274A CN 102056021 A CN102056021 A CN 102056021A
Authority
CN
China
Prior art keywords
command
message
module
order
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009101982745A
Other languages
Chinese (zh)
Inventor
李峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN2009101982745A priority Critical patent/CN102056021A/en
Publication of CN102056021A publication Critical patent/CN102056021A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a Chinese and English command-based man-machine interactive system and a Chinese and English command-based man-machine interactive method, and relates to a man-machine interactive system and a man-machine interactive method in the field of televisions or set top boxes. The system comprises a text input module, a command processing module and an execution module. The method comprises the following steps that: the text input module inputs Chinese and English characters into a buffer through remote control; and the command processing module reads a message sequence consisting of continuous characters in the buffer, decomposes the message sequence according to a defined format, converts the message sequence into a standard command sequence which can be executed by the system through fuzzy matching technology, and sequentially distributes execution information of each command to the corresponding execution module for execution. The conventional menu operation mode can be completely replaced, complicated operation steps and obscure professional terms are avoided, and the design of a remote controller is simplified; meanwhile, the functions of the televisions or the set top boxes are obviously expanded, and functions which cannot be realized by the menu mode are realized.

Description

A kind of man-machine interactive system and method based on the Chinese and English order
Technical field
The invention belongs to the field of consumer electronics of TV/set-top box, relate to software programming, TV signal and function treatment, fuzzy matching technology, human-computer interaction interface.
Background technology
Along with the progress of TV tech and the utilization of digital technology, TV (hereinafter referred to as TV) the particularly function of Digital Television (hereinafter referred to as DTV) or set-top box (hereinafter referred to as STB) is more and more, more and more perfect, substantially exceeded the category of traditional TV reception, for example now typical DTV and STB are except playing numeral and analog television program, can also receive from DVD, the video/audio signal of the various forms of various signal sources such as computer, can surf the web, play usb data (for example MP3 etc.), video record, play games, see photo or the like, but meanwhile, the human-computer interaction interface that with menu and remote control is combination is in this trend of incompatibility more and more:
Operability: the menu setting project is various, the nested number of plies is on the high side, remote keying simultaneously is more and more, and remote control panel also is to do bigger and bigger, and the user need hold big remote control, bow and in remote control, find correct button, the aligning TV that comes back again pushes button, and bows and looks for button, comes back again ... experience several circulations, and needing two hands cooperations just can finish, this makes user experience very bad.
Understandability: menu and remote control professional more and more stronger, the many a lot of technical terms of domestic consumer's demand side, this also greatly reduces user's experience.
In sum, the human-computer interaction interface of traditional menu mode has lagged behind the development of TV/STB greatly, becomes the important bottleneck of modern audiovisual experience, and the user demands more flexible efficient understandable man-machine interaction mode urgently.
Summary of the invention:
Primary and foremost purpose of the present invention is to provide a kind of mode of operation simply and easily for the TV/STB operation, show as two aspects: the one, can simplify existing TV/STB menu system greatly and replace a simple order editor, and some simple menu, make the user break away from loaded down with trivial details and professional menu setting, the 2nd, can simplify remote control panel greatly (only needs numerical key 0 ~ 9 in theory, the power key, 4 directionkeys and some function keys), reduce the remote control area, make one-handed performance become possibility, the inconvenience when obviously having reduced user's operating and remote controlling
Another object of the present invention is to expand the interaction function of TV/STB, has realized being difficult in traditional menu mode the interaction function of realization, such as intelligent program searching etc.
The 3rd purpose of the present invention is to have realized the user defined command function, and the user can organize various command according to the mode of oneself being accustomed to, and realizes automatic batch processing, increased the degree of freedom of user's operation.
Generally speaking, the present invention has realized a kind of like this function: the user can be with the language that is similar to daily dialogue, send ' short message ' by remote control and give TV/STB, just can control TV/STB, make it can do certain or a series of continuous action, not only convenient understandable, and improved control ability.
Basic ideas of the present invention are: receiving the Chinese and English message sequence of user by the remote control input, then by fuzzy matching, is order and the execution that system can identification with random message conversion.
The objective of the invention is to be achieved through the following technical solutions:
A kind of TV/STB man-machine interactive system based on the Chinese and English order comprises the text input module, communication between command processing module and other functional modules and these modules and control path, as shown in Figure 1
Described text input module comprises:
The input method submodule: realize the function of user by remote control input Chinese and English, the English character of importing is encoded to ASCII character, Chinese character is encoded to the GB2312 sign indicating number, gives the message management submodule.
The message management submodule: receive the coding Chinese and English character that the input method submodule is sent here, be stored among the buffer, continuous Chinese and English character is formed message sequence, management buffer, the demonstration and the renewal of administration order editor content.
Described command processing module is core content of the present invention (as Fig. 2), comprising:
Message sink submodule: read the message sequence among the buffer of text input module, resolve message sequence and deposit in the message array of oneself according to the message sequence definition.
The fuzzy matching submodule: each message to message sequence number group is carried out fuzzy matching, finds the system registry order that matches, and replaces former message, finally makes message sequence be converted to command sequence
Order management submodule: the counting of administration order sequence, storage, order time-delay and execution etc.
Order distribution submodule: command execution information is distributed to each Executive Module by the notice message.
The scheduling sublayer module: the center controlled function, communicate by letter with other external modules and coordinate the action of command processing module inside.
Described other modules comprise:
Look the audio decoder module, video/audio is provided with module, the channel manage module, the basic function module of TV/STB such as signal source handover module, comprise optional network browsing module in addition, static images display module, other extended function modules such as MP3 playing module, in the present invention, they are final command execution module.
A kind of man-machine interaction method based on said system comprises step:
A, text input module are converted to Chinese and English character with remote keying and are stored among the buffer, and continuous Chinese and English character is formed Chinese and English message sequence among the buffer, are the notification command processing module when the carriage return character of receiving continuously (2 and more than).
B, command processing module have notice, and read the Chinese and English message sequence among the buffer, are converted to command sequence after fuzzy matching, are distributed to each Executive Module of TV/STB again after resolving.
C, each Executive Module receive command processing module and are distributed to command execution information and the execution of oneself, feed back execution result then and give command processing module.
Before described steps A, also comprise:
The text input module receives user's the request that enters command mode, and transmits solicited message to described command processing module;
Command processing module makes system enter command mode, and command processing module is called the display module of TV/STB, the display command editor;
Described steps A also comprises:
Remote keying is encoded to English ASCII character to the input method submodule and Chinese GB2312 sign indicating number is given the message management submodule, the continuous character code of message management submodule reception is stored in and forms message sequence among the buffer, when message sequence length surpassed the buffer size, the user can't continue input;
The display module that the message management submodule calls TV/STB produces, the message sequence of explicit user input synchronously in the order editor;
The user imports the carriage return character (2 times and more than) continuously, the input of end sequence, and the message management submodule is merged into a carriage return character with the continuous carriage return character, and structure notifies the message notifying command processing module to read message sequence.
Described step B also comprises:
The message input submodule of command processing module receives the notice of text input module, read the message sequence (carriage return character that comprises ending) among the buffer, decompose message sequence in the message array of oneself according to the message sequence format of the present invention's definition, then the message array is passed to the fuzzy matching submodule.
Described step B also comprises:
The present invention is defined as the semanteme of message sequence: message sequence=message item 1+ separator+message item 2+...+ message item N+ end mark, wherein, message item=' control+separator+text+parameter ', ' text ' represents the message item content, ' control ' represents the executive mode of the pairing order of message item: time of delay, single is carried out or circulation is carried out, ' parameter ' represents the parameter of the pairing order of message, separator and end mark can not appear at ' control ', in ' text ' and ' parameter ', ' text ' and ' parameter ' can not begin (can comprise the control item character thereafter) with the character in ' control ' item;
' control ' employing time among the present invention, ' separator ' is the space, ' end mark ' is carriage return, therefore the general type of message sequence is exactly: ' time 1+ space+text 1+ parameter 1+ time 2+ space+text 2+ parameter 2+...+ time N+ space+text N+ parameter N+carriage return ', its meaning is: postpone ' after the time 1 ', so that ' parameter 1 ' is carried out ' text 1 ' pairing order, after first order finishes, postpone ' the time 2 ', so that ' parameter 2 ' is carried out ' text 2 ' pairing order, ... by that analogy, up to ' the pairing command execution of text N ' finishes, and the space is as separator, can not appear at ' time ', in ' text ', ' parameter ', ' time ' item must begin with 0~9 ASCII character and ' text ' ' parameter ' can not begin with 0~9 ASCII character;
Message input submodule decomposes message sequence based on above-mentioned definition: come in minute solution sequence each with the space, if currentitem all is made up of 0~9 ASCII character, then think ' time ' item, if the ASCII character with non-0~9 begins promptly to think ' text ' and ' parameter ' item, other situations think that illegal input is abandoned, then with ' time ', ' text ', ' parameter ' item is inserted the position separately of message array respectively, and group address sent to the fuzzy matching submodule, ' text ' and ' parameter ' item in the array of fuzzy matching submodule location carries out fuzzy matching.
Described step B also comprises:
' text ' and ' parameter ' item in the fuzzy matching submodule localization message array, pass through fuzzy matching algorithm, attempt at the system command table, improve in channel table and the custom command table and find the order that matches, and replacing ' text ' and ' parameter ', the most random message sequence is converted to the command sequence system that makes of standard can identification and execution.
Described step B also comprises:
Before entering command mode, in flash, stored the system command table, as shown in Figure 9, in the table system command name and corresponding execution information, system command is divided into from function: replace the order of traditional menu setting and operation, content search and querying command based on epg database, the senior application function of TV/STB is as ' Household Encyclopedia ', ' dictionary ' etc., the order of administration order (' display command ', ' edit commands ', ' delete command ', ' look-up command ', order management order are can be with the order of parameter), improve the program another name in the channel table;
Before entering command mode, in flash, stored improved channel table, as shown in Figure 10, in traditional channel table, increased the program another name, after searching the platform end, the user must manually import the program another name item by item, can be the arbitrary name of user oneself definition.
Command sequence is stored in becomes command file among the flash, filename is custom command, and self-defined file can be read repeatedly and carry out, and all custom commands are registered in the custom command table, and the custom command table as shown in Figure 11.
Shown step B also comprises:
System command can be expanded, enter system by writing new software module and compiling link, then the API Name of specific function in module name or the module is registered into system command table as the system command name, can realize the new system command of specific function, the expansion of system command only is subjected to the restriction of flash memory capacity;
Custom command can be expanded, and the user can set up and edit the command file of oneself arbitrarily, stores among the flash, and the quantity of custom command file only is subjected to the restriction of flash capacity;
System command and custom command all can change title, promptly move ' edit commands '+' parameter ', ' parameter ' is system command and custom command, and the order editor can point out input new command name, and input and affirmation can change the title of system command and custom command.
Described step B also comprises:
When situation that occur not have the coupling order, the system prompt user re-enters or abandons, and the situation of a plurality of coupling orders occurs, and system prompt the user re-enter, and selects a coupling to order or abandon.If after re-entering, matching process can carry out repeatedly up to finding definite coupling order or abandoning.
Described step B also comprises:
After message sequence was converted into command sequence, the order management submodule was checked this command sequence, if comprise 2 and above order, just was allowed to be stored as command file, stored among the flash otherwise only can carry out but not allow.
Described step B also comprises:
Order management submodule resolve command obtains module name and API, and structure is notified message in view of the above, and the ID of notice message is a module name, and message content is an api function, is distributed to corresponding message queue according to notice message ID after the time that postpones appointment
Described step C also comprises:
Each Executive Module reads the notice message that is distributed to by the message queue of oneself, decomposite API wherein and call execution, and feedback result is given command processing module.
Description of drawings
Fig. 1 is for realizing system block diagram of the present invention, and command processing module is a core content of the present invention, and other modules are necessary support modules of the present invention.
Fig. 2 is the composition module of command processing module of the present invention.
Fig. 3 is command analysis of the present invention and flowchart
Fig. 4 is order editor, the storage information that shows behind message sequence that the user that is exemplified as of institute imports and the end of input
Fig. 5, Fig. 6 for show by the order editor have a plurality of occurrence the time Treatment Options and processing procedure
Fig. 7 is the storage information
Fig. 8 is for carrying out information
Fig. 9 is the system command table, be divided into 2 row, one row are being deposited Chinese and English system command title, for example ' change color ', ' sports cast ', ' dictionary ', ' display command tabulation ' etc., another row are being deposited the execution Information, and form is ' Executive Module a title: API ', for example the execution information of ' change color ' is PictureSetting:Color, and this api function of Color () that system can call in this module of PictureSetting is finished the color adjustment.Module name among this figure and API name all are examples, and API can be with parameter.
Figure 10 is improved channel table, be on the basis of traditional channel tabulation, to have increased program Chinese and English title one hurdle, after searching the platform end, need the user to play an another name for each program in the channel list, for example " CCTV1 ", " central authorities' 1 cover ", " ZYYT " and so on, and manually fill in, each title among the figure all is an example.
Figure 11 is the custom command table.Wherein custom command one row are being deposited user-defined command file name, the store path of command file is being deposited on one hurdle, command file path, it is related with operating system the partition of flash being divided, a fixed area among the Flash (can be the part of a partition or partition) is used to deposit corresponding custom command file, command processing module is used this information and is opened command file, obtains the specific instructions that comprises.Each title among this figure all is an example.
Figure 12 is for changing the user message sequence command sequence that obtains by fuzzy matching
Specific implementation method:
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated
Fig. 3 is a system flow chart of the present invention, mainly contains 4 system modes as shown in the figure: the input attitude, revise attitude, and check attitude and execution state, 5 submodules of this one of four states and command processing module have been finished the process of commands flow process jointly.
Behind the system boot, press special function keys when entering command mode, carry out initial work earlier: empty each relevant buffer, reset timer, the reset mode position is for the input attitude etc., and system enters the input attitude.
The Message-text sequence that front end text input module is collected and process user is imported by remote control, this message sequence meets foregoing standard sequence form, the text input module is ordered editor as shown in Figure 4 by the Presentation Function module demonstration of calling TV/STB simultaneously, size is 8 row x32 row, the message sequence that is used for synchronous explicit user input, the completely later rolling that can make progress of windows content, the buffer size is 512 bytes, so the maximum length of message sequence is 512 English alphabets or 256 Chinese characters, buffer user completely later on can't continue input, when receiving continuous 2 times and above enter key, message sequence finishes, a plurality of carriage return characters that the text input module will end up are merged into a carriage return character, and the notification command processing module reads message sequence, the scheduling sublayer module invokes message sink submodule of command processing module is read message sequence in the array of oneself then, and the notification text input module empties buffer.
Next the order management submodule is according to the message sequence format of definition, decomposite ' text ' and ' parameter ' and give the fuzzy matching submodule, the fuzzy matching submodule passes through matching algorithm, to each message item in the message sequence, attempt to seek it at the system command table, coupling order in improved channel list and the custom command table replaces Message-text with the deviation post of coupling order in showing separately.The gauge outfit skew of three command lists has nothing in common with each other, for example the skew of the gauge outfit of system command table is 0, the gauge outfit of improving channel table was 300 (as long as surpassing the length of system command table), the gauge outfit of custom command table be 1300 (if surpass the system command table and improve channel table length and), determined that it is which position at which table so mate the side-play amount of command list.Coupling has certain range of tolerable variance, such as user message: ' change brightness ', ' raising brightness ', ' brighter ', ' brightness ' ... Deng can matching ' change brightness ' this system command, this has exempted the burden that the user must remember standard commands, has given very big flexibility.
In the matching process, every message of coupling order that can't find can be pointed out the selection processing mode, and as shown in Figure 5, if select to abandon, then this message replaces (the invalid command item NULL of corresponding system command gauge outfit) with 0.
In the matching process, if obtain several coupling orders, such as identical system command and the user defined command of name, then show as Fig. 5 Treatment Options shown in Figure 6 in the editor.
Re-enter if select, then system mode becomes ' modification attitude ', after receiving the carriage return end, (not allowing to occur the space in same message) all will be left out in space in the text, and then mate this message again, up to finding 1 coupling order or not having the coupling order or the user abandons just termination, as shown in Figure 6
After matching process finishes, show final command sequence as shown in Figure 6 in the window.
Next the order management submodule is checked name column number in the command sequence, if more than 1, then whether prompting needs storage as shown in Figure 7 in the order editor, if select storage, the order management submodule is stored as command file with it, if order then carries out immediately but can not store, if not order then report an error.
If next the user selects to carry out, as shown in Figure 8, the order management submodule is converted to list structure with array earlier, and each array element is configured to a linked list units, and all linked list units link.After beginning to carry out, at first travel through this chained list, if custom command and be not parameter as the previous command, then read in corresponding command file and be launched into the system command chained list, if the custom command of multilayer nest, repeat this process and launch fully, then the command chaining watch chain that launches is tapped into original chained list (this also is a reason of using list structure why), so far include only system command in the chained list up to all custom commands.Timer resets, check the time term T in first linked list units, if T>0, timer picked up counting T minute, if time term is not filled out or is equaled 0, timer hold reset state then, order in the active cell is carried out at once: order distribution submodule finds the execution information of the corresponding command according to side-play amount, structure notice message, with ' this information of Executive Module: API ' is filled into the notice message, and for the program another name order that improves in the channel table, Executive Module all is the channel manage module of TV/STB, API changes the platform function, and the carrier frequency of channel and pid information.
Command sequence form in the internal memory as shown in figure 12, this sequence is deposited according to structure of arrays, also stores according to structure of arrays.
With sequence shown in Figure 12 is example explanation execution result, the command sequence of Figure 12 is: " the 0 deletion content 0 display command Tuesday tabulation of 0 automatic channel search, 0 news hookup, 30 Shanghai TV Station's sports channels, 10 NULL content 0 Monday, 0 Household Encyclopedia ", wherein, ' content Monday ' is custom command, ' content Tuesday ' here is as the parameter of ' deletion ' but not custom command, launch and be linked in the sequence with ' content Monday ': " 0 automatic channel search, 0 news hookup, 30 Shanghai TV Station's sports channels, 10 NULL 0 change 0 deletion content 0 custom command Tuesday of brightness DVD 60 MP3 0 Household Encyclopedia ", the effect of carrying out is such: the beginning automatic channel search, check current time T then, if T<19:00, then continue to play current program, if 19:00<T<19:30, then be tuned to central authorities' 1 cover play news hookup, if T>19:30, report that then ' news hookup finishes, can't watch ', continue current program after 30 minutes, be tuned to Shanghai stage body ssd channel, it is illegal attempting the NULL order after 10 minutes, skip, carry out ' change brightness ', eject brightness dialog box is set, the user adjusts brightness value by the left and right directions key, after the affirmation, brightness changes, then signal source switches to DVD, watch that DVD ejects dialog box and allows the user select to play the local MP3 or the MP3 of USB flash disk after 60 minutes, after the user selects Qu Ku and playback of songs to finish, ' Household Encyclopedia is performed system command, the interface that shows Household Encyclopedia, after withdrawing from this and using, self-defined file ' Tuesday content ' can be deleted, shows the custom command tabulation then at once.
Press ESC Escape in the process of implementation, implementation can be carried out at the current command and finish the back termination.
The present invention is based on Chinese and English input method, the notion of the intuitive and convenient of ' short message ' is introduced man-machine interaction mode, realized a kind of man-machine interactive system based on the Chinese and English order, can not only replace traditional menu system fully, and expanded the operational capacity of TV/STB more, make it can automatically perform a series of action, greatly facilitate the user.
The above only is the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, the variation that can expect easily or replacement all should be encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection range of claim.

Claims (16)

1. man-machine interactive system based on the Chinese and English order is characterized in that comprising:
The text input module is realized the function of user by remote keying input Chinese and English, and mode by appointment is with command processing module communication.
Command processing module realizes the message sequence coupling, and core processing functions such as distribution are resolved in conversion
Each Executive Module is the necessary function module of common TV/set-top box, is concrete exectorial module in the present invention.
2. system according to claim 1 is characterized in that, described text input module comprises:
The input method submodule is realized function by remote control input Chinese and English based on specific Chinese character coding input method such as T9 or independently developed input method.
The message sequence that message management submodule, the management continuous Chinese and English character among the buffer is formed, and and the display module of TV/set-top box cooperate, the common order editor function that realizes, explicit user is imported synchronously, and the rolling that can make progress.Window size is to stipulate in advance, and the present invention recommends the window of 8 row x32 row.
3. system according to claim 1 is characterized in that, described command processing module comprises:
Command processing module is finished from accepting the core processing process that message sequence is carried out to the order distribution.Wherein command processing module is divided into:
The message sink submodule is used to receive message sequence and according to the message sequence format parsing, deposits the message array in, statistical message item number, and whether decision needs storage.
The fuzzy matching submodule is used for each message to message sequence, at the system command table, seeks occurrence in improved channel table and the custom command table, and this message is replaced in the order that obtains matching.
The order management submodule is used for for there not being coupling, and the prompting of situations such as many couplings is handled, and functions such as command analysis are handled in the storage prompting
Order distribution submodule is used for information such as the Executive Module that comes out according to command analysis and API, structure notice message, and be distributed to corresponding Executive Module
The scheduling sublayer module is used for scheduling, coordinates and manage four submodules of front, realizes ' input attitude ' → ' modification attitude ' → such state machine of ' coupling attitude ' → ' execution state '.
4. the man-machine interaction method based on said system is characterized in that, comprises step:
A, text input module are converted to Chinese and English character with remote keying and are stored among the buffer, and continuous Chinese and English character is formed Chinese and English message sequence, are the notification command processing module when the carriage return character of receiving continuously (2 and more than).
B, command processing module have notice, and read the Chinese and English message sequence among the buffer, are converted to command sequence after fuzzy matching, are distributed to each Executive Module of TV/set-top box again after resolving.
C, each Executive Module receive command processing module and are distributed to command execution information and the execution of oneself, feed back execution result then and give command processing module.
5. method according to claim 4 is characterized in that, also comprises before described steps A:
The text input module receives user's the request that enters command mode, and transmits solicited message to described command processing module;
Command processing module makes system enter command mode, and command processing module is called the display module of TV/set-top box, the display command editor;
6. method according to claim 4 is characterized in that, described steps A also comprises:
Remote keying is encoded to English ASCII character to the input method submodule and Chinese GB2312 sign indicating number is given the message management submodule, the continuous character code of message management submodule reception is stored in and forms message sequence among the buffer, when message sequence length surpassed the buffer size, the user can't continue input;
The display module that the message management submodule calls TV/set-top box produces, the message sequence of explicit user input synchronously in the order editor;
The user imports the carriage return character (2 times and more than) continuously, can the input of end sequence, and the message management submodule is merged into 1 carriage return character with the continuous carriage return character, and structure notifies the message notifying command processing module to read message sequence.
7. method according to claim 4 is characterized in that, described step B also comprises:
The message input submodule of command processing module receives the notice message of text input module, read the message sequence (carriage return character that comprises ending) among the buffer, decompose message sequence in the message array of oneself according to the message sequence format of the present invention's definition, then the message array is passed to the fuzzy matching submodule.
8. method according to claim 7 is characterized in that, described step B also comprises:
The semanteme of message sequence is defined as: message sequence=message item 1+ separator+message item 2+ ... + message item N+ end mark, wherein, message item=' control+separator+text+parameter ', ' text ' represents the message item content, ' control ' represents the executive mode of the pairing order of message item: time of delay, single is carried out or circulation is carried out, ' parameter ' represents the parameter of the pairing order of message, separator and end mark can not appear at ' control ', in ' text ' and ' parameter ', ' text ' and ' parameter ' can not begin (can comprise the control item character thereafter) with the character in ' control ' item;
' control ' employing time among the present invention, ' separator ' is the space, ' end mark ' is carriage return, therefore the general type of message sequence is exactly: ' time 1+ space+text 1+ parameter 1+ time 2+ space+text 2+ parameter 2+ ... + time N+ space+text N+ parameter N+carriage return, its meaning is: postpone ' after the time 1 ', so that ' parameter 1 ' is carried out ' text 1 ' pairing order, after first order finishes, postpone ' the time 2 ', so that ' parameter 2 ' is carried out ' text 2 ' pairing order, by that analogy, up to ' the pairing command execution of text N ' finishes, and the space is as separator, can not appear at ' time ', in ' text ', ' parameter ', ' time ' item must begin with 0 ~ 9 ASCII character and ' text ' ' parameter ' can not begin with 0 ~ 9 ASCII character;
Message input submodule decomposes message sequence based on above-mentioned definition: come in minute solution sequence each with the space, if currentitem all is made up of 0 ~ 9 ASCII character, then think ' time ' item, if the ASCII character with non-0 ~ 9 begins promptly to think ' text ' and ' parameter ' item, other situations think that illegal input is abandoned, then with ' time ', ' text ', ' parameter ' item is inserted the position separately of message array respectively, and group address sent to the fuzzy matching submodule, ' text ' and ' parameter ' item in the array of fuzzy matching submodule location carries out fuzzy matching.
9. method according to claim 4 is characterized in that, described step B also comprises:
' text ' and ' parameter ' item in the fuzzy matching submodule localization message array, pass through fuzzy matching algorithm, attempt at the system command table, improve in channel table and the custom command table and find the order that matches, and replacing ' text ' and ' parameter ', the most random message sequence is converted to the command sequence system that makes of standard can identification and execution.
10. method according to claim 9 is characterized in that comprising:
Before entering command mode, in flash, stored the system command table, in the table system command name and corresponding execution information, system command is divided into from function: replace the order of traditional menu setting and operation, content search and querying command based on epg database, the senior application function of TV/STB is as ' Household Encyclopedia ', ' dictionary ' etc., the order of administration order (' display command ', ' edit commands ', ' delete command ', ' look-up command ', the order management order is can be with the order of parameter), improve the program another name in the channel table;
Before entering command mode, stored improved channel table in flash: increased the program another name in traditional channel table, after searching the platform end, the user must manually import the program another name item by item, can be the arbitrary name of user oneself definition.
Command sequence is stored in becomes command file among the flash, filename is custom command, and self-defined file can be read repeatedly and carry out, and all custom commands are registered in the custom command table.
11. method according to claim 10 is characterized in that comprising:
System command can be expanded, enter system by writing new software module and compiling link, then the API Name of specific function in module name or the module is registered into system command table as the system command name, can realize the new system command of specific function, the expansion of system command only is subjected to the restriction of flash memory capacity;
Custom command can be expanded, and the user can set up and edit the command file of oneself arbitrarily, stores among the flash, and the quantity of custom command file only is subjected to the restriction of flash capacity;
System command and custom command all can change title, promptly move ' edit commands '+' parameter ', ' parameter ' is system command and custom command, and the order editor can point out input new command name, and input and affirmation can change the title of system command and custom command.
12. method according to claim 9 is characterized in that described step B also comprises:
When situation that occur not have the coupling order, the system prompt user re-enters or abandons, and the situation of a plurality of coupling orders occurs, and system prompt the user re-enter, and selects a coupling to order or abandon.If after re-entering, matching process can carry out repeatedly up to finding definite coupling order or abandoning.
13., it is characterized in that described step B also comprises according to the method shown in the claim 4:
After message sequence was converted into command sequence, the order management submodule was checked this command sequence, if comprise 2 and above order, just was allowed to be stored as command file, stored among the flash otherwise only can carry out but not allow.
14. method according to claim 4 is characterized in that described step B also comprises:
In ' input attitude ', ' modification attitude ' and ' coupling attitude ', command sequence can comprise system command and custom command, message sequence and command sequence can be present in internal memory or be stored in flash with the array form, at ' execution state ', custom command must launch, and command sequence can only comprise system command, and the order array must be converted to the order chained list
15. method according to claim 4 is characterized in that described step B also comprises:
Order management submodule resolve command obtains module name and API, and structure is notified message in view of the above, and the ID of notice message is a module name, and content is an api function, and ID is distributed to corresponding message queue according to the notice message
16. method according to claim 4 is characterized in that, described step C also comprises:
Each Executive Module reads the notice message that is distributed to by the message queue of oneself, decomposite API wherein and call execution, and feedback result is given command processing module.
CN2009101982745A 2009-11-04 2009-11-04 Chinese and English command-based man-machine interactive system and method Pending CN102056021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101982745A CN102056021A (en) 2009-11-04 2009-11-04 Chinese and English command-based man-machine interactive system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101982745A CN102056021A (en) 2009-11-04 2009-11-04 Chinese and English command-based man-machine interactive system and method

Publications (1)

Publication Number Publication Date
CN102056021A true CN102056021A (en) 2011-05-11

Family

ID=43959873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101982745A Pending CN102056021A (en) 2009-11-04 2009-11-04 Chinese and English command-based man-machine interactive system and method

Country Status (1)

Country Link
CN (1) CN102056021A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102398355A (en) * 2011-11-18 2012-04-04 深圳市宝捷信科技有限公司 Control method and control device of custom command as well as injection molding machine system
CN103648053A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and device for connecting remote storage device in intelligent television
CN107612708A (en) * 2017-08-09 2018-01-19 上海斐讯数据通信技术有限公司 The control method and system of a kind of router and a kind of router
CN112734056A (en) * 2020-12-29 2021-04-30 望海康信(北京)科技股份公司 Operation and maintenance system, method and corresponding equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564123A (en) * 2004-03-26 2005-01-12 宏碁股份有限公司 Operation method of web page speech interface
US20090030681A1 (en) * 2007-07-23 2009-01-29 Verizon Data Services India Pvt Ltd Controlling a set-top box via remote speech recognition
CN101521722A (en) * 2008-02-27 2009-09-02 深圳Tcl新技术有限公司 Speech recognition television and realization method thereof
CN101557432A (en) * 2008-04-08 2009-10-14 Lg电子株式会社 Mobile terminal and menu control method thereof
CN201336069Y (en) * 2009-01-20 2009-10-28 绩优科技(深圳)有限公司 Remote controller with function of character input

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564123A (en) * 2004-03-26 2005-01-12 宏碁股份有限公司 Operation method of web page speech interface
US20090030681A1 (en) * 2007-07-23 2009-01-29 Verizon Data Services India Pvt Ltd Controlling a set-top box via remote speech recognition
CN101521722A (en) * 2008-02-27 2009-09-02 深圳Tcl新技术有限公司 Speech recognition television and realization method thereof
CN101557432A (en) * 2008-04-08 2009-10-14 Lg电子株式会社 Mobile terminal and menu control method thereof
CN201336069Y (en) * 2009-01-20 2009-10-28 绩优科技(深圳)有限公司 Remote controller with function of character input

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102398355A (en) * 2011-11-18 2012-04-04 深圳市宝捷信科技有限公司 Control method and control device of custom command as well as injection molding machine system
CN102398355B (en) * 2011-11-18 2014-08-27 深圳市宝捷信科技有限公司 Control method and control device of custom command as well as injection molding machine system
CN103648053A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and device for connecting remote storage device in intelligent television
CN107612708A (en) * 2017-08-09 2018-01-19 上海斐讯数据通信技术有限公司 The control method and system of a kind of router and a kind of router
CN112734056A (en) * 2020-12-29 2021-04-30 望海康信(北京)科技股份公司 Operation and maintenance system, method and corresponding equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102510392B (en) Equipment room application sharing method and system, television and mobile terminal
CN102006514B (en) Television program EPG (Electronic Program Guide) content based search management system and method
US8266656B2 (en) Method for making selections in search criteria in TV EPGs
EP2959477A1 (en) Method and system for controlling a user receiving device using voice commands
EP2059034A2 (en) Remote control terminal, information acquiring apparatus, information providing apparatus, information providing system, information providing method, and program
CN101489025A (en) Method for self-defining press-key function of remote controller
CN102056021A (en) Chinese and English command-based man-machine interactive system and method
CN101431625B (en) Remote controller with words input function and method for implementing words input
CN103533391A (en) Two-way interaction digital television box system with acoustic control type interaction and implementation method
CN103227946A (en) Method for television scene switching and television
EP2661876A1 (en) Method and apparatus for updating a database in a receiving device
CN101959005A (en) Method and set top box (STB) for implementing shortcut of STB menu
CN104703013A (en) Operation method and device for remote control for set top box
CN110019716A (en) More wheel answering methods, terminal device and storage medium
CN109275005A (en) A kind of combination button remote control method, device, equipment and storage medium
CN102186118A (en) System and method for quickly selecting program
CN102547464B (en) Method for searching and positioning digital channel programs of television station for television
CN104202641B (en) Method, multimedia equipment and the system of quick Search and Orientation multimedia programming resource
CN101742065B (en) Integrated set-top box device and integration method thereof
CN105516774A (en) Digital gateway and television broadcasting control system
CN105828143A (en) Method for controlling intelligent television through azimuth gestures and device thereof
CN105187746A (en) Television set and language storage method of television set
CN102970602A (en) Television program reservation method and system
CN101600078A (en) The method and apparatus of handbook is provided in display device
CN103294524A (en) Television system and application program management method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110511