In view of this, main purpose of the present invention, be to provide a kind of mobile phone handsets and distant control function processing method, can utilize button limited on the mobile phone handsets, reach the distant control function of multiple external equipment to be controlled and multiple remote control function item with distant control function.
According to above-mentioned purpose, the present invention proposes a kind of mobile phone handsets with distant control function, can learn the remote signal of external remote, also can control simultaneously the remote control function item on the external equipment to be controlled of corresponding this outside remote controller.But comprise LCDs on these mobile phone handsets, comprise a plurality of setting keys (for example numerical key " 0 "~" 9 " and "
*" and " # ") but key zone, ultrared remote control R-T unit and be used for storing corresponding relation memory of data between remote control function item, corresponding remote signal and correspondence setting key.The control unit (being microprocessor) of mobile phone handsets inside then program code above-mentioned mobile phone handsets are operated in remotely controlled pattern and the straighforward operation pattern.Under the remotely controlled pattern, when the user has keyed in the remote control function item title, but then will receive corresponding remote signal of sending by external remote and the correspondence setting key of in key zone, selecting by the remote control R-T unit, be stored in memory.Under the straighforward operation pattern, but control unit is then with remote control function item and corresponding setting key, be shown on the LCD with a key corresponding table, when but the user pushes button the setting key of distinguishing, control unit is then according to the indicated corresponding remote control function item of key corresponding table, from memory, find out corresponding remote signal, and send, use remote control external equipment to be controlled by the remote control R-T unit.In addition, but when being specified in same setting key, then can utilize defined two-page separation key on the key zone, switch in key corresponding table shown on the LCD above a remote control function item, make the user when pressing setting key but use, can be corresponding to different remote control function items.Owing to use different key corresponding tables to represent various distant control functions just,, also can reach the purpose of multiple external equipment of control and remote control function item thereof even under the few situation of the number of keys on the mobile phone handsets.
In addition, if but in memory, originally stored corresponding relation data between the remote control function item of external equipment to be controlled, corresponding remote signal and correspondence setting key, then do not need to carry out above-mentioned remotely controlled mould.When carrying out the straighforward operation of external equipment to be controlled, control unit can be directly according to corresponding relation data stored in memory, be shown on the LCD with a key corresponding table, when but the user presses setting key, control unit is then according to the indicated remote control function item of above-mentioned key corresponding table, find out corresponding remote signal from memory, and send by the remote control R-T unit, nationality is with remote control external equipment to be controlled.
In addition, the invention provides a kind of distant control function processing method, can make the corresponding remote control function item of learning the remote signal of external remote in the mobile phone handsets and being used for controlling corresponding external equipment to be controlled.At first, but key in the remote control function item title that will learn and in key zone specified setting key (if when but a plurality of remote control function item is instructed in same setting key simultaneously, then can be set in different key zones) with page break, and remote control R-T unit by mobile phone handsets, receive corresponding remote signal from external remote, these three kinds are stored in the memory, are set at the virtual key dish cart.When operating, then demonstrate key corresponding table on LCD, but key corresponding table is the setting key of expression in the above-mentioned key zone and the corresponding relation of the remote control function item of external equipment to be controlled according to the virtual key dish cart.When if but a plurality of remote control function item is instructed in same setting key simultaneously, then can be shown in different connecing on the key corresponding diagram, the user then utilizes two-page separation key to select different key corresponding tables.
But during the setting key on the user pushes button the district, just can find out corresponding remote control function item according to key corresponding table.Pass through the virtual key dish cart in the memory again, but capture the remote control signal data of corresponding this setting key, send by above-mentioned remote control R-T unit again, just can reach the purpose of remote control.Owing to use the virtual key dish cart to come the display button corresponding diagram,, also can reach the purpose of multiple external equipment of control and remote control function item thereof even under the few situation of the number of keys on the mobile phone handsets.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. elaborate:
Embodiment:
The present invention utilizes the mobile phone handsets of quite popularizing at present to come integration to solve the mixed and disorderly phenomenon of various electrical appliance remote controllers.And because the key zone of mobile phone handsets has only certain button usually, for example comprise numerical key " 0 " to " 9 ", "
*" and " # " less and a few function key, therefore will accomplish the multiple electric equipment of remote control even only be single than complex apparatus, quite difficulty all seems.The scheme of head it off of the present invention, it then is the LCD (LCD display) of utilizing most of mobile phones all to possess to be used for show message, the key corresponding table of utilization display remoting function on LCD, and provide suitable button to switch different key corresponding tables, can allow the minority on the mobile phone handsets throw the purpose that key is realized multiple electric equipment products, the control of multiple distant control function.Below cooperation is graphic, describes the present invention in detail with an embodiment.
Fig. 1 represents the schematic appearance of employed mobile phone handsets in the present embodiment.As shown in the figure, mobile phone handsets mainly comprise key zone 10, LCD 40 in appearance and protrude in fuselage antenna 60 partly.In key zone 10, then comprised the keypad set 50 that can be used for setting distant control function (in the present embodiment be with numerical key " 0 " to " 0 ", "
*" and " # "), options button 35 (comprising " ▲ " and "<" two keys) and can be by the software function setting key 20,30 of set-up function in addition.The above-mentioned keypad set 50 is can be used for program to turn to the button that the external equipment distant control function is selected, and therefore can be adjusted according to the mobile phone that will implement.In the following description, for simplicity, various numerical keys and additional character "
*", " # " directly with " 0 "~" 9 ", "
*", " # " represented.40 of liquid crystal display screens in the present embodiment are to be as the criterion with general gsm mobile telephone screen size, approximately are 16
*98 pixels.60 on antenna is the radiofrequency signal part that is used for receiving and dispatching mobile phone, and the place then is the exposed parts of infra-red remote control transceiver 70 at fuselage item end, is used for receiving and dispatching infrared remote control signal.Mandatory declaration be difference slightly all to be arranged in the design of various mobile phone handsets, but should be suitable for the present invention.
Fig. 2 is illustrated in the system block diagrams that this reality is dragged the mobile phone handsets that have distant control function in the example.In Fig. 2, except part in the existing explanation of Fig. 1, comprise key zone 10, antenna 60, LCD40, infra-red remote control transceiver 70 or the like, comprised also in the mobile phone handsets system that microprocessor 1, radiofrequency signal receiving circuit 3, radiofrequency signal transtation mission circuit 5, memory close 7, Microspeaker 8 and mini microphone 9.Radiofrequency signal receiving circuit 3 and radiofrequency signal transtation mission circuit 5 are coupled to exterior antenna 60, as the processing unit that signal receives and signal sends of gsm wireless electric wave; 9 of Microspeaker 8 and mini microphones are to be used for sending and receiving voice signal.It is the sum total of all types of memories that memory closes 7, this comprised in order to the read-only memory (ROM) that stores fixed data but, set or the flash memory of editing data in order to the random-access memory (ram) that stores temporary data and in order to the record user.1 of microprocessor couples above-mentioned most element, according to its performed program, assigns the order of control and data processing, and generally the microprocessor that uses in mobile phone can be the MIPS R2000 or the microprocessor of other ad eundems.Be to realize distant control function, therefore just to realize the needed componentry of distant control function, to comprise that key zone 10, LCD40, infra-red remote control transceiver 70, memory section 7 and microprocessor 1 are described in detail in the present embodiment.
Key zone 10 provides the usefulness of user's input, wherein options button 35 is to allow the user carry out the selection of function, 20,30 on function setting key is set for different functions according to the different operating situation by program, and the most important thing is that it can set component page key (PAGE), allow the user at the straighforward operation pattern incision different key corresponding table that swaps out, but setting key 50 then when the straighforward operation pattern corresponding to various remote control function item, when pressing, represent to start a certain remote control function item.LCD40 then provides user's information, and in straighforward operation pattern following time, but shows the key corresponding table of relevance between setting key and the corresponding remote control function item.These buttons and LCD40 will describe in detail in actual example described later in the situation of practical operation again.
70 of infra-red remote control R-T units are to be used under the remotely controlled pattern, receive remote control signal data from external remote corresponding to certain remote control function item, and under the straighforward operation pattern, then be that the user is wished the pairing remote control signal data of the remote control function item of controlling, be sent to the external equipment that to control.Memory section 7 is to be used for storing microprocessor 1 needed distant control function program code, and in order to storing the remote control function item of external equipment to be controlled, but and the corresponding relation data between corresponding remote control signal data and corresponding setting key.This is called the virtual key dish cart in the present embodiment, and it is to allow LCD40 demonstrate needed key corresponding table under the straighforward operation pattern.Each virtual key dish cart is corresponding to a certain particular outer equipment, and for an external equipment that needs the dozens of remote control function item, the size of virtual key dish cart approximately is below the 1KB, therefore can't expend the lots of memory space.In addition, the virtual key dish cart can be preset before mobile phone dispatches from the factory, and can also be increased or is made amendment by the user.
1 of microprocessor is the control centre of whole distant control function, and its execution is stored in the distant control function executive program in the memory section 7, can allow mobile phone handsets operate under two kinds of patterns, is respectively remotely controlled pattern and straighforward operation pattern.The remotely controlled pattern is the remote control signal data that does not store corresponding external equipment in the mobile phone handsets, or user's operator scheme of being carried out need revise inner stored originally remote control signal data the time.The straighforward operation pattern then is the operator scheme of being carried out when the user will actually carry out external equipment.
Fig. 3 represents in embodiments of the present invention, by each interelement and the data flow diagram on data processing in performed program of microprocessor 1 and the system.Wherein, by comprising three parts in the performed program of microprocessor 1, be respectively remotely controlled functional module group 1a, dummy keyboard service module 1b and distant control function service loft 1c.Performed under the remotely controlled pattern is remotely controlled functional module group 1a, and it is according to the selectivity setting and be stored in the default distant control function database 7b of memory section 7 or by the remote control function item that the user sets up on their own, be shown on the LCD40; After the user selects wherein certain button and keys in its remote control function item title, then receive by the received remote signals of infra-red remote control transceiver 70 (producing) by external remote but and user's specified setting key on key zone 10, the remote control function item title that cooperates previous input, set up or revise virtual key dish cart 7a, revise key corresponding table simultaneously.On the other hand, performed under the straighforward operation pattern then is dummy keyboard service module 1b and distant control function service module 1c.Dummy keyboard service mould level 1b can be according to the previous virtual key dish cart 7a that sets up, on LCD40, demonstrate the corresponding key corresponding diagram, and when but but the remote control function item quantity that can select surpasses setting key quantity or same setting key and sets different remote control function item for respectively, the user just can be switched different key corresponding tables by the two-page separation key that is set by function setting key 30.The module of distant control function service simultaneously 1c then prepares to receive the button of user on key zone 10, but receiving when pressing in the setting key 50 any button, then transferring to dummy keyboard service module 1b picks up and finds pairing remote control function item, and receive corresponding true remote control signal data by virtual key dish cart 78, transfer to infra-red remote control transceiver 70 again and send, use the control external equipment.With next flow chart, describe the motion flow in the present embodiment in detail by Fig. 4 and Fig. 5.
Fig. 4 is illustrated in the flow chart of the performed processing of remotely controlled functional module group 1a in the remotely controlled pattern.At first enter the remotely controlled pattern, this moment, remotely controlled functional module group 1a can pass through LCD, demonstrated the external equipment menu that all can be controlled, and waited for the reception selection (S1 that the user did.Fig. 6 represents in the present embodiment, when entering the remotely controlled pattern by the shown external equipment menu to be controlled of LCD40.As shown in Figure 6, wherein preestablish 5 kinds of known external equipments, comprised TV (TV), VCR (video recorder), AIR conditioner (air-conditioning), Audio (sound equipment), DVD (digital audio-video laser disc).The option of setting up new external equipment also is provided in addition.For 5 kinds of known external equipments, can store the virtual key dish cart that it comprised in advance in the mobile phone.The user only need select certain known device, just can directly access all remote control function items.The mode of selecting is to utilize options button 35 to do up and down to select, and connects down "enter" key" (being function setting key 30) again.Below be that to select TV with the user be that example illustrates.
After the user finished selection, then remotely controlled functional module group 1a then utilized LCD40 to demonstrate remote control function item corresponding to selected external equipment again, and waits for selection and the key entry (S2) that receives the user.Schematic appearance when Fig. 7 is illustrated in the distant control function that enters TV.In Fig. 7, list the remote control function item at the Page1 key corresponding table at LCD40 about TV, the user can utilize options button 35 to select the remote control function item of other Page key corresponding tables that do not show.In ensuing explanation, then be that the hypothesis user has selected Vol option wherein.
After the user has set corresponding button and has keyed in the distant control function title, but remotely controlled functional module group 1a then needs to receive on the one hand the setting key of user's configuration to this remote control function item, revise control key corresponding diagram correspondence position on the one hand, then will receive the remote control signal data of sending here from external remote (S3) on the other hand from infra-red remote control transceiver 70.But in order to distinguish configuration setting key part and beginning received signal data, can set a crash time, 200ms for example has only when the user presses above this crash time and last button also for this reason during key, and just expression begins the received signal data.For instance, if the user will give the Vol+ option configuration button 1 ", then first button " 1 " is keyed in Vol+ then, presses " 1 " again and surpasses a period of time, just then remotely controlled functional module group 1a can set up between the two relevance.Same mode also goes for receiving the remote control signal data that external remote is sent.When receiving remote control signal data, the user need press the button of external remote corresponding to " Vol+ " option, aims at the infra-red remote control transceiver 70 of mobile phone handsets, sends this merit remote control signal data; And after mobile phone handsets successfully receive this remote control signal data, then will set up relevance between this remote control signal data and the remote control function item.The length of general remote control signal data is greatly about 32 or 14, therefore the needed processing time or take the storage area can be not oversize.
But after receiving the setting key that uses configuration and receiving remote control signal data, remotely controlled functional module group 1a just can utilize the remote control function item title of key entry, the control key that the user is specified and by the received remote control signal data of external remote is set up virtual key dish cart 7a (S4).Fig. 8 represents in the present embodiment the schematic diagram corresponding to the virtual key dish cart 7a of TV.In this virtual key dish cart 7a, each has comprised corresponding virtual key assignments, remote control function item and remote control signal data.But the setting key that the virtual key value representation is corresponded in a certain button correspondence table, in the present embodiment, virtual key assignments 00-15 disposes to first page of button correspondence table, but wherein virtual key assignments 01-12 is configuration give " 1 "-" 9 " in the setting key, "
*", " 0 ", " # "; Virtual key assignments 16-31 then disposes to second page of button correspondence table, and all the other can the rest may be inferred.Therefore, the button of virtual key assignments 01 (i.e. " 1 ") can be corresponding to Vol+ option and its remote control signal data, and the button of virtual key assignments 02 (i.e. " 2 ") can be corresponding to Bright+ option and its remote control signal data.
After the user finishes a certain remote control function item, can determine whether continue to set other remote control function items (S5), if, then can jump back to step S2 and continue to set remote control function item, otherwise whether decision continues to set other external equipment to be controlled (S6) again, if then can allow the user select other external equipments by rebound step S1, otherwise just finish the remotely controlled pattern.
By the remotely controlled pattern, needed virtual key dish cart 7a in the time of can setting up practical operation.Fig. 5 represents in the present embodiment flow chart of performed processing under the straighforward operation pattern, has comprised the action of dummy keyboard service module 1b and distant control function service module 1c in this pattern.Under the straighforward operation pattern, at first dummy keyboard service module shows external equipment menu to be controlled by LCD40, and waits for the selection (S10) that receives the user.Shown herein external equipment menu to be controlled and that shown in Figure 6 are quite approaching, promptly tabular all can remote control the external equipment title of control.Suppose that the selected external equipment of user is TV (TV) herein.
After finishing selection, dummy keyboard service mode 1b is by the virtual key dish cart of finding out among the virtual key dish cart 7a corresponding to TV, and its virtual key assignments is belonged to the remote control function item of first page of key corresponding table, is presented on the LCD40.Schematic appearance when Fig. 9 represents to enter in the present embodiment first page of key corresponding table of TV.Shown 12 remote control function items in first page of key corresponding table, its virtual key assignments is respectively 01-12, but corresponding to " 1 "-" 9 " of setting key 50, "
*", " 0 ", " # "., just represent to start corresponding remote control function item when but the user presses a certain setting key.In addition, dummy keyboard service mode 16 also receives the input of two-page separation key (PAGE, promptly the function setting key 30) simultaneously, in order to switch the not key corresponding table of same page.Figure 10 is illustrated in the user and presses schematic appearance when entering second page of key corresponding table of TV behind the two-page separation key.Demonstrate 5 remote control function items in second page of key corresponding table, its virtual key assignments is respectively 16-20, but corresponding to " 1 "-" 5 " of setting key 50.And this moment user when pressing these keys, then can start and first page of remote control function item that key corresponding table is different.Need to prove in addition, at first page and second page of H option corresponding to " # ", be the aid illustration function, in order to full name of explaining that each remote control option is abridged, and options button 35 also is set to the television channel options button, and this is all the preset value of system.After finishing the key corresponding table Presentation Function, be about to control and transfer to distant control function service module 1c.
Then distant control function service module 1c just waits for and receives the button (S12) that the user pressed.After the user pushed button, the assistance that distant control function service module 1c just can serve module 1b by dummy keyboard was gone up shown key corresponding table according to present LCD40, finds out the selected remote control function item of user (S13).Then, distant control function service module 1c just can serve module 1b or directly by virtual key dish cart 7c, find out the remote control signal data (S14) corresponding to this remote control function item by dummy keyboard.Then, utilize infra-red remote control transceiver 70 to send this remote signal, just finished the distant control function (S15) of button.At last, if the user will jump out the straighforward operation pattern, that is press and withdraw from (Exit) key (being function setting key 20), just can get back to (S16) under the normal operator scheme.
The disclosed mobile phone handsets with distant control function have following advantage:
1, effectively with communication equipment and consumer products combination, not only can by with the remote controller integration of different electric equipment products in mobile phone handsets, reach the purpose that reduces remote controller quantity, strengthened the functional of mobile phone handsets simultaneously, made it more competitive on the future action communications field.
2, utilize the purpose that shown key corresponding table reaches the multiple utilization of button on LCD,, also can realize the multi-functional remote control service of many equipment even make on the mobile phone handsets that only possess the only a few button.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limiting the present invention, anyly is familiar with this operator, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention should be limited by appended claims.