CN102707895A - Method and device for transforming physical key operation into touch screen operation - Google Patents

Method and device for transforming physical key operation into touch screen operation Download PDF

Info

Publication number
CN102707895A
CN102707895A CN2012101622756A CN201210162275A CN102707895A CN 102707895 A CN102707895 A CN 102707895A CN 2012101622756 A CN2012101622756 A CN 2012101622756A CN 201210162275 A CN201210162275 A CN 201210162275A CN 102707895 A CN102707895 A CN 102707895A
Authority
CN
China
Prior art keywords
physical bond
pressed
touch screen
module
instruction
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
CN2012101622756A
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.)
BEIJING WENHE SHIDAI TECHNOLOGY Co Ltd
Original Assignee
BEIJING WENHE SHIDAI 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 BEIJING WENHE SHIDAI TECHNOLOGY Co Ltd filed Critical BEIJING WENHE SHIDAI TECHNOLOGY Co Ltd
Priority to CN2012101622756A priority Critical patent/CN102707895A/en
Publication of CN102707895A publication Critical patent/CN102707895A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides a method and a device for transforming physical key operation into touch screen operation. The method includes the following steps: S1. setting and storing a mapping table; S2. monitoring the pressing conditions of the physical keys of a keyboard connected with a touch screen; judging whether a pressed physical key is stored in the mapping table under the condition that the physical key is pressed; if the judging result is yes, executing S4-S6; S4 receiving the command sent by the pressed physical key, wherein the command sent by the pressed physical key carries the ID of the pressed physical key; S5. searching the mapping table according to the ID of the pressed physical key and obtaining the specific touch screen operation command corresponding to the pressed physical key; and S6. executing the operation command of the specific touch screen operation command. Therefore, according to the device and the method provided by the invention, the function for transforming the physical key operation into touch screen operation is realized.

Description

The secondary or physical bond operation is converted into the method and apparatus of touch screen operation
Technical field
The invention belongs to communication technical field, be specifically related to a kind of method and apparatus that the secondary or physical bond operation is converted into touch screen operation.
Background technology
Touch-screen is a kind of induction type liquid crystal indicator that receives input signal such as contact, because it has simple to operate and advantage easily, has been widely used in the terminal devices such as all kinds of mobile phones or computer.
At present, the developer develops a large amount of recreation of only supporting touch screen operation, for example: the tall and erect recreation of peace etc.So; When the game player need carry out the tall and erect recreation of these peaces, can only use touch screen operation, though have the function that the equipment such as mobile phone or panel computer of touch-screen are supported external connection keyboard at present; But the game player can't carry out the tall and erect recreation of these peaces through external connection keyboard.And play through touch-screen, need the frequent screen of pushing, on the one hand, cause touch screen to damage easily; On the other hand, the handling property of touch screen operation is poor, also can reduce player's game experiencing.
Summary of the invention
To the defective that prior art exists, the present invention provides a kind of the secondary or physical bond operation is converted into the method and apparatus of touch screen operation, thereby makes things convenient for the user to pass through some application programs that touch-screen is only supported in the secondary or physical bond operation.
The technical scheme that the present invention adopts is following:
The present invention provides a kind of secondary or physical bond is operated the method that is converted into touch screen operation, may further comprise the steps:
S1 is provided with and memory map assignments, and said mapping table records above mapping relations, and each said mapping relations records the ID of secondary or physical bond and the mapping relations between the touch screen operation instruction;
S2, monitor with keyboard that said touch-screen is connected in the pressed state of each secondary or physical bond, when any secondary or physical bond is pressed, judge whether the secondary or physical bond that is pressed has been stored in the said mapping table, if judged result is to deny, then only carry out S3; If judged result is for being then to carry out S4-S6;
S3 ignores the said instruction that secondary or physical bond sent that is pressed;
S4 receives the said instruction that secondary or physical bond sent that is pressed; Wherein, carry the ID of the said secondary or physical bond that is pressed in the said instruction that secondary or physical bond sent that is pressed;
S5 searches said mapping table according to the ID of the said secondary or physical bond that is pressed, and obtains the specific touch screen operational order corresponding with the ID of the said secondary or physical bond that is pressed;
S6 carries out said specific touch screen operational order.
Preferably, the ID of said secondary or physical bond is combination, the numeral or alphabetical of numeral and letter.
Preferably, the instruction of said touch screen operation comprises one or more in the following information: in the starting point coordinate value of said touch-screen, at the movement locus of said touch-screen with in the terminal point coordinate value of said touch-screen.
Preferably, after the S4, also comprise: store the said instruction that secondary or physical bond sent that is pressed.
Preferably, said touch-screen is connected through wired mode and/or wireless mode with said keyboard.
Preferably, said wireless mode connects and comprises that bluetooth connects and/or infrared connection.
The present invention also provides a kind of secondary or physical bond is operated the device that is converted into touch screen operation, comprising:
Module is set: be used to be provided with mapping table, said mapping table records above mapping relations, and each said mapping relations records the ID of secondary or physical bond and the mapping relations between the touch screen operation instruction;
First memory module: be used to store the said said mapping table that module is provided with that is provided with;
Monitor module: the pressed state that is used for monitoring each secondary or physical bond of keyboard that is connected with said touch-screen;
Judge module: be used for listening to any secondary or physical bond when being pressed, judge whether the secondary or physical bond that is pressed has been stored in the said mapping table of said first memory module storage when said monitoring module;
Ignore module: be used for when the judged result of said judge module for not the time, ignore the said instruction that secondary or physical bond sent that is pressed;
Receiver module: be used for when the judged result of said judge module when being, receive the said instruction that secondary or physical bond sent that is pressed; Wherein, carry the ID of the said secondary or physical bond that is pressed in the said instruction that secondary or physical bond sent that is pressed;
Search module: the ID of the said secondary or physical bond that is pressed that is used for receiving according to said receiver module searches the said mapping table of said first memory module storage, obtains the specific touch corresponding with the ID of the said secondary or physical bond that is pressed and shields operational order;
Execution module: be used to carry out the said said specific touch screen operational order that module searches arrives of searching.
Preferably, also comprise:
Second memory module: be used to store the instruction that secondary or physical bond sent that is pressed that said receiver module receives.
Beneficial effect of the present invention is following:
The present invention provides a kind of method and apparatus that the secondary or physical bond operation is converted into touch screen operation; Realized the secondary or physical bond operation is converted into the function of touch screen operation; On the one hand, make things convenient for the user to pass through some application programs that touch-screen is only supported in the secondary or physical bond operation, thereby improve user's experience; On the other hand, frequently send the application program of steering order for needs, for example: the tall and erect recreation of peace etc., through using secondary or physical bond, needing to avoid the frequent touch-screen of pushing, thereby prolonged the serviceable life of touch-screen.
Description of drawings
Fig. 1 is the schematic flow sheet that the secondary or physical bond operation is converted into the method for touch screen operation provided by the invention;
Fig. 2 is the structural representation that the secondary or physical bond operation is converted into the device of touch screen operation provided by the invention.
Embodiment
Below in conjunction with accompanying drawing the method and apparatus that secondary or physical bond operation is converted into touch screen operation provided by the invention is described in detail:
As shown in Figure 1, the present invention provides a kind of secondary or physical bond is operated the method that is converted into touch screen operation, may further comprise the steps:
S1 is provided with and memory map assignments, and said mapping table records above mapping relations, and each said mapping relations records the ID of secondary or physical bond and the mapping relations between the touch screen operation instruction.
Wherein, the ID of said secondary or physical bond is used for secondary or physical bond of unique identification, can be combination, the numeral or alphabetical of numeral with letter.Touch screen operation instruction comprises one or more in the following information: in the starting point coordinate value of said touch-screen, at the movement locus of said touch-screen with in the terminal point coordinate value of said touch-screen.
S2, monitor with keyboard that said touch-screen is connected in the pressed state of each secondary or physical bond, when any secondary or physical bond is pressed, judge whether the secondary or physical bond that is pressed has been stored in the said mapping table, if judged result is to deny, then only carry out S3; If judged result is for being then to carry out S4-S6;
Need to prove that among the present invention, the keyboard that is connected with touch-screen can be the external keyboard, also can be built-in keyboard, when adopting the external keyboard, the terminating machine that keyboard and touch-screen belong to can be connected for wired connection mode and/or wireless mode.When adopting the wireless connections mode, can adopt bluetooth connected mode and/or infrared connected mode.In addition, keyboard also can appear with the form of game paddle.
S3 ignores the said instruction that secondary or physical bond sent that is pressed;
S4 receives the said instruction that secondary or physical bond sent that is pressed; Wherein, carry the ID of the said secondary or physical bond that is pressed in the said instruction that secondary or physical bond sent that is pressed;
In practical application, for a tall and erect recreation of peace,, be respectively: go up secondary or physical bond, following secondary or physical bond, jump secondary or physical bond and attack secondary or physical bond if effective four secondary or physical bonds are set; Then when the game player plays, there is the situation of physics key combination use, for example: push simultaneously and jump secondary or physical bond and attack secondary or physical bond.So,, after receiving the instruction that secondary or physical bond sent that is pressed, need store the instruction that secondary or physical bond sent that is pressed for the function that realizes that the secondary or physical bond combination is used.
S5 searches said mapping table according to the ID of the said secondary or physical bond that is pressed, and obtains the specific touch screen operational order corresponding with the ID of the said secondary or physical bond that is pressed;
S6 carries out said specific touch screen operational order.
Concrete implementation can realize through the form of invoke script.
As shown in Figure 2, the present invention also provides a kind of secondary or physical bond is operated the device that is converted into touch screen operation, comprising:
Module 11 is set: be used to be provided with mapping table, said mapping table records above mapping relations, and each said mapping relations records the ID of secondary or physical bond and the mapping relations between the touch screen operation instruction;
First memory module 12: be used to store the said mapping table that module 11 settings are set;
Monitor module 13: the pressed state that is used for monitoring each secondary or physical bond of keyboard that is connected with said touch-screen;
Judge module 14: be used for listening to any secondary or physical bond when being pressed, judge whether the secondary or physical bond that is pressed has been stored in the said mapping table of first memory module, 12 storages when monitoring module 13;
Ignore module 15: be used for when the judged result of judge module 14 for not the time, ignore the said instruction that secondary or physical bond sent that is pressed;
Receiver module 16: be used for when the judged result of judge module 14 when being, receive the said instruction that secondary or physical bond sent that is pressed; Wherein, carry the ID of the said secondary or physical bond that is pressed in the said instruction that secondary or physical bond sent that is pressed;
Search module 17: the ID of the said secondary or physical bond that is pressed that is used for receiving according to receiver module 16 searches the said mapping table of first memory module, 12 storages, obtains the specific touch corresponding with the ID of the said secondary or physical bond that is pressed and shields operational order;
Execution module 18: be used to carry out and search the said specific touch screen operational order that module 17 finds.
Second memory module 19: be used to store the instruction that secondary or physical bond sent that is pressed that receiver module 16 receives.
In sum; The method and apparatus that the secondary or physical bond operation is converted into touch screen operation that the application of the invention provides; Realized the secondary or physical bond operation is converted into the function of touch screen operation; On the one hand, make things convenient for the user to pass through some application programs that touch-screen is only supported in the secondary or physical bond operation, thereby improve user's experience; On the other hand, frequently send the application program of steering order for needs, for example: the tall and erect recreation of peace etc., through using secondary or physical bond, needing to avoid the frequent touch-screen of pushing, thereby prolonged the serviceable life of touch-screen.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.

Claims (8)

1. one kind is converted into the method for touch screen operation with secondary or physical bond operation, it is characterized in that, may further comprise the steps:
S1 is provided with and memory map assignments, and said mapping table records above mapping relations, and each said mapping relations records the ID of secondary or physical bond and the mapping relations between the touch screen operation instruction;
S2, monitor with keyboard that said touch-screen is connected in the pressed state of each secondary or physical bond, when any secondary or physical bond is pressed, judge whether the secondary or physical bond that is pressed has been stored in the said mapping table, if judged result is to deny, then only carry out S3; If judged result is for being then to carry out S4-S6;
S3 ignores the said instruction that secondary or physical bond sent that is pressed;
S4 receives the said instruction that secondary or physical bond sent that is pressed; Wherein, carry the ID of the said secondary or physical bond that is pressed in the said instruction that secondary or physical bond sent that is pressed;
S5 searches said mapping table according to the ID of the said secondary or physical bond that is pressed, and obtains the specific touch screen operational order corresponding with the ID of the said secondary or physical bond that is pressed;
S6 carries out said specific touch screen operational order.
2. according to claim 1 secondary or physical bond operation is converted into the method for touch screen operation, it is characterized in that the ID of said secondary or physical bond be numeral and alphabetical combination, numeral or alphabetical.
3. the method that the secondary or physical bond operation is converted into touch screen operation according to claim 1; It is characterized in that the instruction of said touch screen operation comprises one or more in the following information: in the starting point coordinate value of said touch-screen, at the movement locus of said touch-screen with in the terminal point coordinate value of said touch-screen.
4. according to claim 1 secondary or physical bond operation is converted into the method for touch screen operation, it is characterized in that, after the S4, also comprise: store the said instruction that secondary or physical bond sent that is pressed.
5. according to claim 1 secondary or physical bond operation is converted into the method for touch screen operation, it is characterized in that said touch-screen is connected through wired mode and/or wireless mode with said keyboard.
6. according to claim 5 secondary or physical bond operation is converted into the method for touch screen operation, it is characterized in that said wireless mode connects and comprises that bluetooth connects and/or infrared connection.
7. one kind is converted into the device of touch screen operation with secondary or physical bond operation, it is characterized in that, comprising:
Module is set: be used to be provided with mapping table, said mapping table records above mapping relations, and each said mapping relations records the ID of secondary or physical bond and the mapping relations between the touch screen operation instruction;
First memory module: be used to store the said said mapping table that module is provided with that is provided with;
Monitor module: the pressed state that is used for monitoring each secondary or physical bond of keyboard that is connected with said touch-screen;
Judge module: be used for listening to any secondary or physical bond when being pressed, judge whether the secondary or physical bond that is pressed has been stored in the said mapping table of said first memory module storage when said monitoring module;
Ignore module: be used for when the judged result of said judge module for not the time, ignore the said instruction that secondary or physical bond sent that is pressed;
Receiver module: be used for when the judged result of said judge module when being, receive the said instruction that secondary or physical bond sent that is pressed; Wherein, carry the ID of the said secondary or physical bond that is pressed in the said instruction that secondary or physical bond sent that is pressed;
Search module: the ID of the said secondary or physical bond that is pressed that is used for receiving according to said receiver module searches the said mapping table of said first memory module storage, obtains the specific touch corresponding with the ID of the said secondary or physical bond that is pressed and shields operational order;
Execution module: be used to carry out the said said specific touch screen operational order that module searches arrives of searching.
8. according to claim 7 secondary or physical bond operation is converted into the device of touch screen operation, it is characterized in that, also comprise:
Second memory module: be used to store the instruction that secondary or physical bond sent that is pressed that said receiver module receives.
CN2012101622756A 2012-05-23 2012-05-23 Method and device for transforming physical key operation into touch screen operation Pending CN102707895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101622756A CN102707895A (en) 2012-05-23 2012-05-23 Method and device for transforming physical key operation into touch screen operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101622756A CN102707895A (en) 2012-05-23 2012-05-23 Method and device for transforming physical key operation into touch screen operation

Publications (1)

Publication Number Publication Date
CN102707895A true CN102707895A (en) 2012-10-03

Family

ID=46900740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101622756A Pending CN102707895A (en) 2012-05-23 2012-05-23 Method and device for transforming physical key operation into touch screen operation

Country Status (1)

Country Link
CN (1) CN102707895A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106104A (en) * 2013-02-07 2013-05-15 深圳杰科电器制造有限公司 Remote control method and system based on android
CN103207740A (en) * 2013-02-28 2013-07-17 深圳瑞高信息技术有限公司 Method, device and equipment for conversion of key operation on non-touch screen terminal equipment
CN103440402A (en) * 2013-08-01 2013-12-11 青岛海信传媒网络技术有限公司 Method and device for controlling electronic game basing on middleware
CN103885695A (en) * 2012-12-24 2014-06-25 深圳富泰宏精密工业有限公司 External key management method and external key management system of electronic equipment
CN103927099A (en) * 2014-04-23 2014-07-16 Tcl集团股份有限公司 Method and device for simulating touch sliding on intelligent display equipment through remote controller
CN103927053A (en) * 2014-04-14 2014-07-16 万众信息科技(亚太)有限公司 Matching method for mechanical key and touch screen terminal and mechanical key terminal
CN104166480A (en) * 2014-08-15 2014-11-26 小米科技有限责任公司 Method and device for operating terminal with physical keys
CN104238920A (en) * 2013-06-13 2014-12-24 深圳市同洲电子股份有限公司 Method and device for generating simulation configuration file information
CN105425936A (en) * 2014-09-19 2016-03-23 中兴通讯股份有限公司 Method, apparatus, and terminal for adapting terminal to external device
CN109062423A (en) * 2018-08-21 2018-12-21 珠海恒宇新科技有限公司 A kind of control method with keyboard substitution touch screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635767A (en) * 2008-07-22 2010-01-27 Lg电子株式会社 Menu display method of mobile terminal
CN102299991A (en) * 2010-06-22 2011-12-28 北京中星微电子有限公司 Mobile terminal and interface control method thereof
CN102436308A (en) * 2011-11-11 2012-05-02 陈文博 Materialized mapping method of touch screen virtual key and touch screen game mobile phone using same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635767A (en) * 2008-07-22 2010-01-27 Lg电子株式会社 Menu display method of mobile terminal
CN102299991A (en) * 2010-06-22 2011-12-28 北京中星微电子有限公司 Mobile terminal and interface control method thereof
CN102436308A (en) * 2011-11-11 2012-05-02 陈文博 Materialized mapping method of touch screen virtual key and touch screen game mobile phone using same

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885695A (en) * 2012-12-24 2014-06-25 深圳富泰宏精密工业有限公司 External key management method and external key management system of electronic equipment
CN103106104A (en) * 2013-02-07 2013-05-15 深圳杰科电器制造有限公司 Remote control method and system based on android
CN103207740A (en) * 2013-02-28 2013-07-17 深圳瑞高信息技术有限公司 Method, device and equipment for conversion of key operation on non-touch screen terminal equipment
CN104238920A (en) * 2013-06-13 2014-12-24 深圳市同洲电子股份有限公司 Method and device for generating simulation configuration file information
CN103440402A (en) * 2013-08-01 2013-12-11 青岛海信传媒网络技术有限公司 Method and device for controlling electronic game basing on middleware
CN103927053A (en) * 2014-04-14 2014-07-16 万众信息科技(亚太)有限公司 Matching method for mechanical key and touch screen terminal and mechanical key terminal
CN103927099A (en) * 2014-04-23 2014-07-16 Tcl集团股份有限公司 Method and device for simulating touch sliding on intelligent display equipment through remote controller
CN104166480A (en) * 2014-08-15 2014-11-26 小米科技有限责任公司 Method and device for operating terminal with physical keys
CN105425936A (en) * 2014-09-19 2016-03-23 中兴通讯股份有限公司 Method, apparatus, and terminal for adapting terminal to external device
CN105425936B (en) * 2014-09-19 2020-07-07 中兴通讯股份有限公司 Method and device for adapting terminal to external device and terminal
CN109062423A (en) * 2018-08-21 2018-12-21 珠海恒宇新科技有限公司 A kind of control method with keyboard substitution touch screen

Similar Documents

Publication Publication Date Title
CN102707895A (en) Method and device for transforming physical key operation into touch screen operation
US10372320B2 (en) Device and method for operating on touch screen, and storage medium
CN103942113B (en) The detection method of system reboot reason, device and terminal unit
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
CN104852885B (en) Method, device and system for verifying verification code
CN105302452B (en) Operation method and device based on gesture interaction
CN106484283A (en) A kind of display control method and mobile terminal
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN103455343A (en) Method and device for updating application programs
CN103389863A (en) Display control method and device
WO2013149530A1 (en) Information display method, mobile terminal and computer readable storage medium
WO2014000632A1 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN104461597A (en) Starting control method and device for application program
CN106371749A (en) Method and device for terminal control
WO2017096909A1 (en) Data connection establishing method and apparatus
WO2014173211A1 (en) Code coverage testing method, device and system
EP2979177A1 (en) Method for controlling process of application and computer system
CN106911848A (en) Export the method and terminal device of prompting message
CN103399657B (en) The control method of mouse pointer, device and terminal unit
US20150127278A1 (en) Method and device for ascertaining required charging time
CN106055237A (en) Swiping acceleration response method and equipment
CN103533411B (en) A kind of method and apparatus of control selections cursor movement
CN105320858B (en) Method and device for rapidly displaying application icons
CN107066860A (en) A kind of fingerprint identification method and mobile terminal
CN104169860A (en) Intelligent terminal and method used for displaying input operation interface

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: 20121003