CN102750033A - Touch key converting method and device - Google Patents

Touch key converting method and device Download PDF

Info

Publication number
CN102750033A
CN102750033A CN2012101737641A CN201210173764A CN102750033A CN 102750033 A CN102750033 A CN 102750033A CN 2012101737641 A CN2012101737641 A CN 2012101737641A CN 201210173764 A CN201210173764 A CN 201210173764A CN 102750033 A CN102750033 A CN 102750033A
Authority
CN
China
Prior art keywords
touch
key
event
touch event
button
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
CN2012101737641A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN2012101737641A priority Critical patent/CN102750033A/en
Publication of CN102750033A publication Critical patent/CN102750033A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a touch key converting method. The method includes that when a touch event is found on a current touch screen, whether the touch event is required to be converted into a key event is judged; if the touch event is required to be converted into the key event, the touch event is converted into the key event according to a coordinate value of the touch event and a preset key value mapping table; and according to preset key processing logic, the key mapped by the key value is performed. The invention further discloses a touch key converting device. According to the touch key converting method and the device, under the condition that new television menus are not required for redeveloping, the touch screen is used for selecting and controlling the television menus and other user operation interfaces of a television, the flexibility in using a television touch screen is improved, physical keyboards which are not required in television hardware are omitted, the production cost of the television with the touch screen is reduced, a large amount of labor power, material resources and developing time are saved, and user experiences are improved.

Description

Touch key-press method for transformation and device
Technical field
The present invention relates to the intelligent television technical field, relate in particular to a kind of touch key-press method for transformation and device.
Background technology
Develop rapidly along with multimedia information technology; Touch-screen has had in the electronic technology industry with characteristics such as it are easy to use, sturdy and durable to be used comparatively widely, and existing a large amount of at present mobile phones, computer, electromagnetic oven etc. have all used touch-screen to be used as interactive device.The continuous demand of Along with people's and the development in market, the big screen panel TV machine of band touch function becomes one of developing direction of televisor industry.
With mobile phone, computer etc. closely interactive device compare, televisor has the characteristics of himself; As traditional remote remote sensing facilities for observation,, more be to be used for watching at a distance and remote control though televisor has the demand that closely touches control.In the prior art, the APK of intelligent TV set (phase combining keying) uses and directly to use the membrane keyboard operation mostly, but the menu operation of intelligent TV set itself still need be by telepilot, and can not carry out touch operation.If do not use a teleswitch, and directly use all TV menus of touch-screen control, then need the menu of televisor be designed again, this will expend huge energy and high financial cost, simultaneously, also need spend many time.
Summary of the invention
Fundamental purpose of the present invention provides a kind of touch key-press method for transformation and device, is intended to need not to develop under the situation of new TV menu, realizes the selection control operation to TV menu and other user interfaces of televisor through touch-screen.
The invention discloses a kind of touch key-press method for transformation, may further comprise the steps:
When on current touch-screen, touch event being arranged, judge whether said touch event need be converted into key-press event;
If, then according to the coordinate figure of said touch event with preset key value mapping table, said touch event is converted into button value;
According to presetting the button processing logic, carry out the button operation of said button value mapping.
Preferably, said when on current touch-screen, touch event being arranged, judge whether current touch event need be converted into and also comprise step before the step of key-press event:
Detect whether touch event is arranged on the current touch-screen.
Preferably, the said step that before detecting the step whether touch event is arranged on the current touch-screen, also comprises:
The said touch-screen of initialization is provided with the said key value mapping table that presets.
Preferably, said coordinate figure according to touch event with preset key value mapping table, the step that said touch event is converted into button value specifically comprises:
The coordinate figure and the said pairing coordinate range of each key assignments that presets in the key value mapping table of said touch event are compared;
Whether the coordinate figure of judging said touch event is positioned at the pairing coordinate range of said key assignments;
If then said touch event is converted into button value;
Said button value is mapped as the key assignments of initialize format, and the key assignments of said initialize format is sent.
Preferably, saidly preset the mapping relations that key value mapping table comprises specific region touch event and specific key assignments.
The present invention also discloses a kind of touch key-press reforming unit, comprising:
Button conversion processing module when being used on current touch-screen, touch event being arranged, judges whether said touch event need be converted into key-press event;
The touch key-press conversion module is used for when said touch event need be converted into key-press event, according to the coordinate figure of said touch event with preset key value mapping table, said touch event is converted into button value;
Button mapping conversion module is used for according to presetting the button processing logic, carries out the button operation of said button value mapping.
Preferably, said touch key-press reforming unit also comprises:
Touch detection module, be used to detect whether touch event is arranged on the current touch-screen.
Preferably, said touch key-press reforming unit also comprises:
Touch initialization module, be used for the said touch-screen of initialization, the said key value mapping table that presets is set.
Preferably, said touch key-press conversion module specifically comprises:
The key assignments comparing unit is used for the coordinate figure and the said pairing coordinate range of each key assignments that presets key value mapping table of said touch event are compared;
The coordinate judging unit is used to judge whether the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments;
The key assignments conversion unit is used for when the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments, said touch event being converted into button value;
The key assignments map unit is used for said button value is mapped as the key assignments of initialize format, and the key assignments of said initialize format is sent.
Preferably, saidly preset the mapping relations that key value mapping table comprises specific region touch event and specific key assignments.
When the present invention need be converted into key-press event through touch event and this touch event are arranged on current touch-screen; Coordinate figure and key assignments mapping relations table according to said touch event; Said touch event is converted into button value and carries out the method for the button operation that said button value shines upon; Realized need not to develop under the situation of new TV menu, realized beneficial effect, improved the dirigibility that the TV touch-screen uses the selection control operation of TV menu and other user interfaces of televisor through touch-screen; Saved physical button plate unnecessary in the televisor hardware simultaneously; Reduce the production cost of touch-screen televisor, saved great amount of manpower and material resources and development time, promoted user experience.
Description of drawings
Fig. 1 is the schematic layout pattern that touch event is converted into button value one embodiment in the touch key-press method for transformation of the present invention;
Fig. 2 is the schematic flow sheet of touch key-press method for transformation first embodiment of the present invention;
Fig. 3 is the schematic flow sheet of touch key-press method for transformation second embodiment of the present invention;
Fig. 4 is the schematic flow sheet of touch key-press method for transformation the 3rd embodiment of the present invention;
Fig. 5 be in the touch key-press method for transformation of the present invention according to the coordinate figure of touch event with preset key value mapping table, said touch event is converted into the schematic flow sheet of button value one embodiment;
Fig. 6 is the structural representation of touch key-press reforming unit first embodiment of the present invention;
Fig. 7 is the structural representation of touch key-press reforming unit second embodiment of the present invention;
Fig. 8 is the structural representation of touch key-press reforming unit the 3rd embodiment of the present invention;
Fig. 9 is the structural representation of touch key-press conversion module one embodiment in the touch key-press reforming unit of the present invention.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
Further specify technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Following embodiment is that example specifically describes touch key-press method for transformation of the present invention and device with the touch-screen on the televisor, but touch key-press method for transformation of the present invention and device are not limited to the touch-screen on the televisor.
In a preferred embodiment, televisor touch-screen involved in the present invention is what to separate with television display screen, and bigger and touch-screen is positioned at above the display screen area of touch-screen than the area of display screen; Said touch-screen can be optical touch screen, infrared touch panel, capacitance touch screen, electric resistance touch screen, can also be other forms of touch-screen etc., does not do qualification in this type to this touch-screen.With reference to Fig. 1, Fig. 1 is the schematic layout pattern that touch event is converted into button value one embodiment in the touch key-press method for transformation of the present invention; Display screen is used to show concrete video and menu information, and touch-screen is used to touch the detection with the button incoming event.As shown in Figure 1, the a-quadrant is effective on-screen display (osd) area of display screen, and common being seen video and menu all can only show in this zone.The B zone is effective touch surveyed area of touch-screen, and any touch event in this zone can both be detected by system timely, and accomplishes corresponding touch event by system and handle.The touch-screen lower right corner several button silk-screens S that distributing, the zone at these button silk-screens S place promptly is the zone that need touch event be converted into key-press event.These button silk-screens S representes, when having touch action to take place on certain silk-screen therein, the key-press event that this silk-screen shines upon will be received by system, thus realize to television system menu, change various button operations such as platform, tuning amount.The zone at above-mentioned button silk-screen S place can be the touch effective coverage outside display screen A, also can be the touch effective coverage within display screen A.In a preferred embodiment, said button silk-screen S can pass through OSD (On Screen Display, on-screen menu) demonstration and wait other forms to identify.
To combine specific embodiment to specifically describe the implementation process of touch key-press method for transformation of the present invention and device below.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet of touch key-press method for transformation first embodiment of the present invention; As shown in Figure 2, touch key-press method for transformation of the present invention may further comprise the steps:
Step S01, when on current touch-screen, touch event being arranged, judge whether said touch event occurs in the zone that need be converted into key-press event; If not, execution in step S02 then; If, execution in step S03 then;
When on current touch-screen, touch event being arranged, system judges whether this touch event need be converted into key-press event.Particularly, system is x, the y coordinate figure of this detected touch event, compares with the coordinate range value of predefined each touch key-press; Be not positioned within the coordinate figure scope of above-mentioned certain touch key-press if find this coordinate figure, just handle this touch event by the normal incoming event treatment scheme that touches; Be positioned within the scope of above-mentioned certain touch key-press if find this coordinate, just assert that this touch event need be converted into the button incoming event, simultaneously the key assignments of definite button that will transform.In a preferred embodiment, said touch event is the touch event of specific region, and said key-press event is the specific keys incident that touch event shone upon of said specific region; Particularly; Said specific region is any zone on the touch operation touch-screen that can be detected; Said specific keys incident can be telepilot (IR) type button, keyboard (Keyboard) type button, panel (Keypad) type button, can also be the other types input control apparatus the key response incident.
Step S02, the general touch event treatment scheme of employing are handled said touch event;
If the touch event on the current touch-screen need not be converted into key-press event, then handle this touch event according to normal touch event treatment scheme, system does not use the function that touch event is converted into the corresponding key incident.In a preferred embodiment; Said normal touch event treatment scheme is meant; System be provided with in advance except this touch event being converted into all normal touch event treatment schemees the corresponding key incident, as this touch event being converted into choosing, amplifying or operation such as abbreviation to the touch area.
Step S03, according to the coordinate figure of said touch event with preset key value mapping table, said touch event is converted into button value;
If when touch event being arranged on the current touch-screen, and this touch event need be converted into key-press event, then according to the coordinate figure and the predefined key value mapping table that presets of this touch event, said touch event is converted into and said touch event corresponding key key assignments.Particularly, when system detects current touch event and need be converted into key-press event, according to presetting key value mapping table, with the x of this detected touch event, the touch key-press that the y coordinate figure is converted into predefined correspondence.In a preferred embodiment, the coordinate figure of said touch event is meant, the particular location of horizontal direction and vertical direction in the touch key-press zone of this pairing touch-screen in touch event center, i.e. x, y coordinate figure; The said key value mapping table that presets refers to; The table of mapping relations one by one of specific region touch event and particular system button code value in the touch panel coordinates plane is 01,11,12,13,14 like MENU (menu), the corresponding respectively system in upper and lower, left and right button code value.
Step S04, basis preset the button processing logic, carry out the button operation of said button value mapping.
According to presetting the button processing logic, the button operation that the said button value of system responses is shone upon is accomplished the overall process that touch event is converted into the button processing controls.Particularly; In a preferred embodiment, the said button processing logic that presets is appreciated that the corresponding relation between the button operation that shines upon for said button value and this button value, like the corresponding MENU of specific region touch event in the touch coordinate plane; According to presetting key value mapping table; Said MENU corresponding key key assignments is 01, and according to presetting the button processing logic, the button operation that this button value 01 is shone upon is a drop-down menu of opening said MENU.
When present embodiment touch key-press method for transformation need be converted into key-press event through touch event and this touch event are arranged on current touch-screen; Coordinate figure and key assignments mapping relations table according to said touch event; Said touch event is converted into button value and carries out the method for the button operation that said button value shines upon; Realized need not to develop under the situation of new TV menu; Realize beneficial effect through touch-screen, improved the dirigibility that the TV touch-screen uses the selection control operation of TV menu and other user interfaces of televisor.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet of touch key-press method for transformation second embodiment of the present invention; As shown in Figure 3, present embodiment only at step S01, when on current touch-screen, touch event being arranged, judging whether current touch event need be converted into has increased step before the step of key-press event:
On step S10, the current touch-screen of detection whether touch event is arranged; If, execution in step S01 then; If not, execution in step S02 then;
Step S01, when on current touch-screen, touch event being arranged, judge whether said touch event occurs in the zone that need be converted into key-press event;
Step S02, the general touch event treatment scheme of employing are handled said touch event;
Present embodiment only specifically describes step S10, and related other steps of touch key-press method for transformation of the present invention repeat no more at this please with reference to the said embodiment of Fig. 2.As shown in Figure 3; System powers on; After touching relevant initialization completion, touch detection procedure and will get into normal touch detected state, on the current touch-screen of the detection that this process is not stopped whether touch event is arranged; If there is not touch event, then this process is done a small amount of time-delay continued and is touched detection next time; If touch event is arranged, judge then whether the touch event of receiving occurs in the zone that need carry out the button conversion.
Present embodiment touch key-press method for transformation has been realized the beneficial effect of the dirigibility that raising TV touch-screen uses through before carrying out subsequent operation, detecting the method whether touch event is arranged on the current touch-screen in advance, has promoted user experience.
With reference to Fig. 4, Fig. 4 is the schematic flow sheet of touch key-press method for transformation the 3rd embodiment of the present invention; As shown in Figure 4, touch key-press method for transformation of the present invention also comprised step before the step whether touch event is arranged on step S10, the current touch-screen of detection:
Step S11, the said touch-screen of initialization are provided with the said key value mapping table that presets.
Present embodiment only specifically describes step S11, and related other steps of touch key-press method for transformation of the present invention repeat no more at this please with reference to the foregoing description.As shown in Figure 4, in a preferred embodiment, after system powered on, system will move the driver of touch-screen, accomplishes common touch-screen initialization is set.After the initialization of touch-screen self is accomplished; System is that each need be transmitted to setting the coordinate range value in the touch area of specific keys on the touch-screen; Promptly accomplish the initialization of each touch key-press zone x, y coordinate and wide high parameter, and the touch event of specific region is set and the corresponding relation of specific keys incident promptly presets key value mapping table.Particularly, the said key value mapping table that presets comprises and defines in the touch panel coordinates plane specific region touch event in advance corresponding to specific system's button code value, like MENU, upper and lower, left and right etc.; Specific region on the said screen is meant any zone on the touch-screen that touch operation can be detected; It can be within effective viewing area of display screen (zone that can show Video or OSD), also can be outside effective viewing area of the screen of display screen (on the frame like TV); Said specific region can be any position on the touch-screen, with the position of PCB (Printed Circuit Board, printed circuit board (PCB)) hardware with arrange irrelevant; Said specific region is only with the specific button code value of correspondence; But specific button code value can correspond to a plurality of zones on the touch-screen; Far Left like screen can be set buttons such as MENU, upper and lower, left and right, equally also can set buttons such as MENU, upper and lower, left and right at the rightmost of screen; Said specific keys incident can be remote unit type button, keyboard type button, panel type button, can also be the other types input control apparatus the key response incident; The sign that is used for button forwarding zone can be that the specific keys silk-screen sticks sign, also can be other forms signs, for example shows through OSD etc.
Present embodiment touch key-press method for transformation is through detect the method whether touch event is arranged on the current touch-screen in advance before carrying out subsequent operation; Realized saving the beneficial effect of physical button plate unnecessary in the televisor hardware; Reduce the production cost of touch-screen televisor, saved great amount of manpower and material resources and development time.
With reference to Fig. 5, Fig. 5 be in the touch key-press method for transformation of the present invention according to the coordinate figure of touch event with preset key value mapping table, said touch event is converted into the schematic flow sheet of button value one embodiment; Present embodiment only to step S03, according to the coordinate figure of said touch event with preset key value mapping table; Said touch event is converted into button value to be further described; Related other steps of touch key-press method for transformation of the present invention repeat no more at this please with reference to above-mentioned each related embodiment.As shown in Figure 5, in the touch key-press method for transformation of the present invention, step S03, according to the coordinate figure of said touch event with preset key value mapping table, the step that said touch event is converted into button value specifically comprises:
Step S21, the coordinate figure and the said pairing coordinate range of each key assignments that presets in the key value mapping table of said touch event compared;
When system detects current touch event and need be converted into key-press event, the coordinate range value of x, y coordinate figure and predefined each touch key-press of this detected touch event is compared;
Step S22, judge whether the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments; If not, execution in step S23 then; If, execution in step S24 then;
Step S23, the general touch event treatment scheme of employing are handled said touch event;
System is judged when whether the coordinate figure of this touch event is positioned at the pairing coordinate range of said key assignments; Be not arranged within the coordinate figure scope that presets certain touch key-press of key value mapping table if find this coordinate figure, just handle this touch event by the normal incoming event treatment scheme that touches.
Step S24, said touch event is converted into button value;
System is judged when whether the coordinate figure of this touch event is positioned at the pairing coordinate range of said key assignments; If finding this coordinate is positioned within the scope of above-mentioned certain touch key-press; Just assert that this touch event need be converted into the button incoming event; While is the key assignments of definite button that will transform also, and this touch event is converted into button value.
Step S25, said button value is mapped as the key assignments of initialize format, and the key assignments of said initialize format is sent.
After system is converted into button value with above-mentioned touch incoming event, also need this button value is mapped as the key assignments of initialize format, in a preferred embodiment, the key assignments of said initialize format is android (peace the is tall and erect) key assignments of standard.The key assignments of the initialize format of system's button distribution processor correlation module after with above-mentioned mapping is sent to the application program of current focus, is that the pairing button operation of this key assignments of application response of follow-up current focus is prepared.
Present embodiment touch key-press method for transformation through according to the coordinate figure of said touch event with preset key value mapping table; Said touch event is converted into the method for button value; Touch TV and have the menu that can not respond touch function and the equipment of application for giant-screen; Directly use the virtual key on the touch-screen can realize touching control operation, this has greatly improved the user and has operated continuity under TV menu can not be by the situation of direct touch operation; And saved physical button plates such as machinery in the former televisor, induction, reduced cost of products.
With reference to Fig. 6, Fig. 6 is the structural representation of touch key-press reforming unit first embodiment of the present invention; As shown in Figure 6, touch key-press reforming unit of the present invention comprises:
Button conversion processing module 01 when being used on current touch-screen, touch event being arranged, judges whether said touch event need be converted into key-press event;
When on current touch-screen, touch event being arranged, button conversion processing module 01 judges at first whether this touch event need be converted into key-press event.Particularly, said button conversion processing module 01 is x, the y coordinate figure of this detected touch event, compares with the coordinate range value of predefined each touch key-press; Be not positioned within the coordinate figure scope of above-mentioned certain touch key-press if find this coordinate figure, just handle this touch event by the normal incoming event treatment scheme that touches; Be positioned within the scope of above-mentioned certain touch key-press if find this coordinate, just assert that this touch event need be converted into the button incoming event, simultaneously the key assignments of definite button that will transform.In a preferred embodiment, said touch event is the touch event of specific region, and said key-press event is the specific keys incident that touch event shone upon of said specific region; Particularly; Said specific region is any zone on the touch operation touch-screen that can be detected; Said specific keys incident can be telepilot (IR) type button, keyboard (Keyboard) type button, panel (Keypad) type button, can also be the other types input control apparatus the key response incident.
Touch key-press conversion module 02 is used for when said touch event need be converted into key-press event, according to the coordinate figure of said touch event with preset key value mapping table, said touch event is converted into button value;
If on the current touch-screen touch event is arranged; Button conversion processing module 01 judges that the touch event on the current touch-screen need be converted into key-press event; Then touch key-press conversion module 02 is converted into said touch event and said touch event corresponding key key assignments according to the coordinate figure and the predefined key value mapping table that presets of this touch event; If on the current touch-screen touch event is arranged; Button conversion processing module 01 judges that the touch event on the current touch-screen need not be converted into key-press event; Then touch key-press conversion module 02 is handled this touch event according to normal touch event treatment scheme, and system does not use the function that touch event is converted into the corresponding key incident.Particularly; When button conversion processing module 01 detects current touch event and need be converted into key-press event; Touch key-press conversion module 02 is according to presetting key value mapping table, with the x of this detected touch event, the touch key-press that the y coordinate figure is converted into predefined correspondence.In a preferred embodiment, the coordinate figure of said touch event is meant, the particular location of horizontal direction and vertical direction in the touch key-press zone of this pairing touch-screen in touch event center, i.e. x, y coordinate figure; The said key value mapping table that presets refers to; The table of mapping relations one by one of specific region touch event and particular system button code value in the touch panel coordinates plane is 01,11,12,13,14 like MENU (menu), the corresponding respectively system in upper and lower, left and right button code value.
Button mapping conversion module 03 is used for according to presetting the button processing logic, carries out the button operation of said button value mapping.
According to presetting the button processing logic, the button operation that the said button value of button mapping conversion module 03 response is shone upon is accomplished the overall process that touch event is converted into the button processing controls.Particularly; In a preferred embodiment, the said button processing logic that presets is appreciated that the corresponding relation between the button operation that shines upon for said button value and this button value, like the corresponding MENU of specific region touch event in the touch coordinate plane; According to presetting key value mapping table; Said MENU corresponding key key assignments is 01, and according to presetting the button processing logic, the button operation that this button value 01 is shone upon is a drop-down menu of opening said MENU.
When present embodiment touch key-press reforming unit need be converted into key-press event through touch event and this touch event are arranged on current touch-screen; Coordinate figure and key assignments mapping relations table according to said touch event; Said touch event is converted into button value and carries out the method for the button operation that said button value shines upon; Realized need not to develop again under the situation of new TV menu; Realize beneficial effect through touch-screen, improved the dirigibility that the TV touch-screen uses the selection control operation of TV menu and other user interfaces of televisor.
With reference to Fig. 7, Fig. 7 is the structural representation of touch key-press reforming unit second embodiment of the present invention; Present embodiment has only increased touch detection module 11 on the basis of the said embodiment of Fig. 6; Present embodiment only specifically describes touching detection module 11; Related other modules of touch key-press reforming unit of the present invention repeat no more at this please with reference to the said embodiment of Fig. 6.As shown in Figure 7, touch key-press reforming unit of the present invention also comprises:
Touch detection module 11, be used to detect whether touch event is arranged on the current touch-screen.
System powers on; After touching relevant initialization completion; The touch detection procedure that touches detection module 11 will get into normal touch detected state; On the current touch-screen of the detection that this process is not stopped whether touch event is arranged,, then touch detection module 11 and do a small amount of time-delay continued and touch detection next time if there is not touch event; If touch event is arranged, then button conversion processing module 01 judges whether the touch event of receiving occurs in the zone that need carry out the button conversion.
Present embodiment touch key-press reforming unit has been realized the beneficial effect of the dirigibility that raising TV touch-screen uses through before carrying out subsequent operation, detecting the method whether touch event is arranged on the current touch-screen in advance, has promoted user experience.
With reference to Fig. 8, Fig. 8 is the structural representation of touch key-press reforming unit the 3rd embodiment of the present invention; As shown in Figure 8, touch key-press reforming unit of the present invention also comprises:
Touch initialization module 12, be used for the said touch-screen of initialization, the said key value mapping table that presets is set.
Present embodiment only specifically describes touching initialization module 12, and related other modules of touch key-press reforming unit of the present invention repeat no more at this please with reference to above-mentioned each embodiment.As shown in Figure 8, in a preferred embodiment, after system powers on, touch the driver that initialization module 12 will move touch-screen, accomplish common touch-screen initialization is set.After the initialization of touch-screen self is accomplished; Touch initialization module 12 for each need be transmitted to setting the coordinate range value in the touch area of specific keys on the touch-screen; Promptly accomplish the initialization of each touch key-press zone x, y coordinate and wide high parameter, and the touch event of specific region is set and the corresponding relation of specific keys incident promptly presets key value mapping table.Particularly, the said key value mapping table that presets comprises and defines in the touch panel coordinates plane specific region touch event in advance corresponding to specific system's button code value, like MENU (menu), upper and lower, left and right etc.; Specific region on the said screen is meant any zone on the touch-screen that touch operation can be detected; It can be within effective viewing area of display screen (zone that can show Video or OSD), also can be outside effective viewing area of the screen of display screen (on the frame like TV); Said specific region can be any position on the touch-screen, with the position of PCB (Printed Circuit Board, printed circuit board (PCB)) hardware with arrange irrelevant; Said specific region is only with the specific button code value of correspondence; But specific button code value can correspond to a plurality of zones on the touch-screen; Far Left like screen can be set buttons such as MENU, upper and lower, left and right, equally also can set buttons such as MENU, upper and lower, left and right at the rightmost of screen; Said specific keys incident can be telepilot (IR) type button, keyboard (Keyboard) type button, panel (Keypad) type button, can also be the other types input control apparatus the key response incident; The sign that is used for button forwarding zone can be that the specific keys silk-screen sticks sign, also can be other forms signs, for example shows through OSD (On Screen Display, on-screen menu) etc.
Present embodiment touch key-press method for transformation is through detect the method whether touch event is arranged on the current touch-screen in advance before carrying out subsequent operation; Realized saving the beneficial effect of physical button plate unnecessary in the televisor hardware; Reduce the production cost of touch-screen televisor, saved great amount of manpower and material resources and development time.
With reference to Fig. 9, Fig. 9 is the structural representation of touch key-press conversion module one embodiment in the touch key-press reforming unit of the present invention.Present embodiment only further describes touch key-press conversion module 02, and related other modules of touch key-press reforming unit of the present invention repeat no more at this please with reference to each related embodiment.As shown in Figure 9, touch key-press conversion module 02 specifically comprises in the touch key-press reforming unit of the present invention:
Key assignments comparing unit 021 is used for the coordinate figure and the said pairing coordinate range of each key assignments that presets key value mapping table of said touch event are compared;
When button conversion processing module 01 judged that current touch event need be converted into key-press event, key assignments comparing unit 021 compared the coordinate range value of x, y coordinate figure and predefined each touch key-press of this detected touch event;
Coordinate judging unit 022 is used to judge whether the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments;
Coordinate judging unit 022 is judged when whether the coordinate figure of this touch event is positioned at the pairing coordinate range of said key assignments; If coordinate judging unit 022 is not found this coordinate figure and is arranged within the coordinate figure scope that presets certain touch key-press of key value mapping table, just handle this touch event by the normal incoming event treatment scheme that touches.
Key assignments conversion unit 023 is used for when the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments, said touch event being converted into button value;
If coordinate judging unit 022 finds that the coordinate figure of this touch event is arranged within the coordinate figure scope that presets certain touch key-press of key value mapping table; Key assignments conversion unit 023 just assert that this touch event need be converted into the button incoming event; While is the key assignments of definite button that will transform also, and this touch event is converted into button value.
Key assignments map unit 024 is used for said button value is mapped as the key assignments of initialize format, and the key assignments of said initialize format is sent.
After key assignments conversion unit 023 is converted into button value with above-mentioned touch incoming event; Key assignments map unit 024 is mapped as this button value the key assignments of initialize format; In a preferred embodiment, the key assignments of said initialize format is android (peace the is tall and erect) key assignments of standard.The key assignments of the initialize format of system's button distribution processor correlation module after with above-mentioned mapping is sent to the application program of current focus, is that the pairing button operation of this key assignments of application response of follow-up current focus is prepared.
Present embodiment touch key-press reforming unit through according to the coordinate figure of said touch event with preset key value mapping table; Said touch event is converted into the method for button value; Touch TV and have the menu that can not respond touch function and the equipment of application for giant-screen; Directly use the virtual key on the touch-screen can realize touching control operation, this has greatly improved the user and has operated continuity under TV menu can not be by the situation of direct touch operation; And saved physical button plates such as machinery in the former televisor, induction, reduced cost of products.
The above is merely the preferred embodiments of the present invention; Be not so limit its claim; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. a touch key-press method for transformation is characterized in that, may further comprise the steps:
When on current touch-screen, touch event being arranged, judge whether said touch event need be converted into key-press event;
If, then according to the coordinate figure of said touch event with preset key value mapping table, said touch event is converted into button value;
According to presetting the button processing logic, carry out the button operation of said button value mapping.
2. touch key-press method for transformation according to claim 1 is characterized in that, and is said when on current touch-screen, touch event being arranged, and judges whether current touch event need be converted into also to comprise step before the step of key-press event:
Detect whether touch event is arranged on the current touch-screen.
3. touch key-press method for transformation according to claim 2 is characterized in that, the said step that before detecting the step whether touch event is arranged on the current touch-screen, also comprises:
The said touch-screen of initialization is provided with the said key value mapping table that presets.
4. touch key-press method for transformation according to claim 1 is characterized in that, said coordinate figure according to touch event with preset key value mapping table, the step that said touch event is converted into button value specifically comprises:
The coordinate figure and the said pairing coordinate range of each key assignments that presets in the key value mapping table of said touch event are compared;
Whether the coordinate figure of judging said touch event is positioned at the pairing coordinate range of said key assignments;
If then said touch event is converted into button value;
Said button value is mapped as the key assignments of initialize format, and the key assignments of said initialize format is sent.
5. according to each described touch key-press method for transformation of claim 1 to 4, it is characterized in that, saidly preset the mapping relations that key value mapping table comprises specific region touch event and specific key assignments.
6. a touch key-press reforming unit is characterized in that, comprising:
Button conversion processing module when being used on current touch-screen, touch event being arranged, judges whether said touch event need be converted into key-press event;
The touch key-press conversion module is used for when said touch event need be converted into key-press event, according to the coordinate figure of said touch event with preset key value mapping table, said touch event is converted into button value;
Button mapping conversion module is used for according to presetting the button processing logic, carries out the button operation of said button value mapping.
7. touch key-press reforming unit according to claim 6 is characterized in that, also comprises:
Touch detection module, be used to detect whether touch event is arranged on the current touch-screen.
8. touch key-press reforming unit according to claim 7 is characterized in that, also comprises:
Touch initialization module, be used for the said touch-screen of initialization, the said key value mapping table that presets is set.
9. touch key-press reforming unit according to claim 6 is characterized in that, said touch key-press conversion module specifically comprises:
The key assignments comparing unit is used for the coordinate figure and the said pairing coordinate range of each key assignments that presets key value mapping table of said touch event are compared;
The coordinate judging unit is used to judge whether the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments;
The key assignments conversion unit is used for when the coordinate figure of said touch event is positioned at the pairing coordinate range of said key assignments, said touch event being converted into button value;
The key assignments map unit is used for said button value is mapped as the key assignments of initialize format, and the key assignments of said initialize format is sent.
10. according to each described touch key-press method for transformation of claim 6 to 9, it is characterized in that, saidly preset the mapping relations that key value mapping table comprises specific region touch event and specific key assignments.
CN2012101737641A 2012-05-30 2012-05-30 Touch key converting method and device Pending CN102750033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101737641A CN102750033A (en) 2012-05-30 2012-05-30 Touch key converting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101737641A CN102750033A (en) 2012-05-30 2012-05-30 Touch key converting method and device

Publications (1)

Publication Number Publication Date
CN102750033A true CN102750033A (en) 2012-10-24

Family

ID=47030277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101737641A Pending CN102750033A (en) 2012-05-30 2012-05-30 Touch key converting method and device

Country Status (1)

Country Link
CN (1) CN102750033A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067784A (en) * 2012-12-21 2013-04-24 康佳集团股份有限公司 Virtual key pressing method based on touch screen television and television
CN103729065A (en) * 2013-12-17 2014-04-16 深圳市慧为智能科技有限公司 System and method for mapping touch operations to entity keys
CN103885695A (en) * 2012-12-24 2014-06-25 深圳富泰宏精密工业有限公司 External key management method and external key management system of electronic equipment
CN104166480A (en) * 2014-08-15 2014-11-26 小米科技有限责任公司 Method and device for operating terminal with physical keys
WO2015085759A1 (en) * 2013-12-10 2015-06-18 深圳Tcl新技术有限公司 Method and apparatus for adjusting key values
CN104850263A (en) * 2015-05-29 2015-08-19 北京拉酷网络科技有限公司 Quick information inputting system and method based on touch panel
CN105183232A (en) * 2015-09-21 2015-12-23 广东欧珀移动通信有限公司 Control method for mobile terminal without solid keys and mobile terminal
CN105704571A (en) * 2016-01-15 2016-06-22 易视腾科技有限公司 Navigation control method of Internet television user interface
CN107402762A (en) * 2017-07-26 2017-11-28 青岛海信移动通信技术股份有限公司 The implementation method and device of finger print navigation
CN109157834A (en) * 2018-08-21 2019-01-08 苏州蜗牛数字科技股份有限公司 A method of triggering orderly touch screen macro operation event
CN109271076A (en) * 2018-09-05 2019-01-25 苏州佳世达电通有限公司 The control method and its system of on-screen display menus
CN114237458A (en) * 2022-02-21 2022-03-25 深圳市嘉利达专显科技有限公司 Method, device and storage medium for controlling UI in multidimensional mode independent of OSD position

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070247429A1 (en) * 2006-04-25 2007-10-25 Apple Computer, Inc. Keystroke tactility arrangement on a smooth touch surface
CN101145090A (en) * 2006-09-11 2008-03-19 三星电子株式会社 Computer system and control method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070247429A1 (en) * 2006-04-25 2007-10-25 Apple Computer, Inc. Keystroke tactility arrangement on a smooth touch surface
CN101145090A (en) * 2006-09-11 2008-03-19 三星电子株式会社 Computer system and control method therefor

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067784A (en) * 2012-12-21 2013-04-24 康佳集团股份有限公司 Virtual key pressing method based on touch screen television and television
CN103067784B (en) * 2012-12-21 2018-05-04 康佳集团股份有限公司 A kind of virtual key method and television set based on touch-screen television set
CN103885695A (en) * 2012-12-24 2014-06-25 深圳富泰宏精密工业有限公司 External key management method and external key management system of electronic equipment
WO2015085759A1 (en) * 2013-12-10 2015-06-18 深圳Tcl新技术有限公司 Method and apparatus for adjusting key values
CN103729065A (en) * 2013-12-17 2014-04-16 深圳市慧为智能科技有限公司 System and method for mapping touch operations to entity keys
CN104166480A (en) * 2014-08-15 2014-11-26 小米科技有限责任公司 Method and device for operating terminal with physical keys
CN104166480B (en) * 2014-08-15 2018-09-04 小米科技有限责任公司 Use the method and device of physical button operation control terminal
CN104850263B (en) * 2015-05-29 2017-08-15 北京拉酷网络科技有限公司 Snap information input system and input method based on Trackpad
CN104850263A (en) * 2015-05-29 2015-08-19 北京拉酷网络科技有限公司 Quick information inputting system and method based on touch panel
CN105183232A (en) * 2015-09-21 2015-12-23 广东欧珀移动通信有限公司 Control method for mobile terminal without solid keys and mobile terminal
CN105704571A (en) * 2016-01-15 2016-06-22 易视腾科技有限公司 Navigation control method of Internet television user interface
CN107402762A (en) * 2017-07-26 2017-11-28 青岛海信移动通信技术股份有限公司 The implementation method and device of finger print navigation
CN107402762B (en) * 2017-07-26 2020-12-22 青岛海信移动通信技术股份有限公司 Fingerprint navigation implementation method and device
CN109157834A (en) * 2018-08-21 2019-01-08 苏州蜗牛数字科技股份有限公司 A method of triggering orderly touch screen macro operation event
CN109271076A (en) * 2018-09-05 2019-01-25 苏州佳世达电通有限公司 The control method and its system of on-screen display menus
CN114237458A (en) * 2022-02-21 2022-03-25 深圳市嘉利达专显科技有限公司 Method, device and storage medium for controlling UI in multidimensional mode independent of OSD position

Similar Documents

Publication Publication Date Title
CN102750033A (en) Touch key converting method and device
US20070152975A1 (en) Touch screen-type input device
US8482548B2 (en) Electronic device with infrared touch panel and method for configuring the infrared touch panel
CN109800045B (en) Display method and terminal
CN102750811B (en) Misoperation-preventing remote control component, intelligent system and method
KR20160132761A (en) Fingerprint recognition method and structure for full screen
CN101498979A (en) Method for implementing virtual keyboard by utilizing condenser type touch screen
CN105955658A (en) Method and apparatus for interaction by curved surface screen and mobile terminal
US10416806B2 (en) Input device and control method therefor
WO2019047744A1 (en) Liquid crystal screen module and display terminal
CN103019597A (en) Intelligent terminal with built-in screenshot functionality and realizing method of intelligent terminal
WO2014000402A1 (en) Method, device, and mobile terminal for detecting capacitive touch screen
CN103049193A (en) Method and device for implementing webpage turning by keys
CN107562261A (en) Display device control method and device
US11455071B2 (en) Layout method, device and equipment for window control bars
CN103838381A (en) Extension keyboard, electronic device and keyboard extension system
CN104536683A (en) Display terminal and displaying method for screen of display terminal
CN102253690B (en) Computer integration device, system and method
CN103558922A (en) Key processing method, device and system
CN102707896A (en) Display terminal operation control method and display terminal thereof
CN102799373A (en) Electronic device, method for generating input areas, and terminal device
CN110515507B (en) Icon display method and terminal
CN103024494B (en) Intelligent television and method of channel entry based on touch-control remote controller thereof
CN104615957A (en) Power mode switching method and device
CN205644068U (en) Intelligent watch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121024