Summary of the invention
Embodiment of the present invention technical matters to be solved is, the system, terminal and the method that provide a kind of keyboard to realize touch function, to solve the technical matters that the keyboard of scattered single-point, mouse input data-switching cannot be become to multiple point touching data or one point data in prior art.
For solving the problems of the technologies described above, the invention provides a kind of keyboard and realize the terminal of touch function, to carry out data communication with a physical keyboard and be connected, this terminal comprises storage unit, this terminal also comprises:
Key associated interface provides unit, provides a key associated interface, and show that this key associated interface, this key associated interface comprise control regions and associated interface display region for responding the operation of associated key setting that user sends.
Control generation unit, for generating corresponding one or more touch operation item controls according to the corresponding display interface of the program of the current operation of this user terminal, wherein, this control regions is for showing the icon of the one or more touch operation item controls that generated by this control generation unit, and this association interface display region is for showing the corresponding display interface of program of the current operation of this user terminal.
Button setting unit, for the chosen control of one or more touch operation item control of determining that this control generation unit generates, record this chosen control to position that should associated display interface region, and the button being triggered with this physical keyboard mates setting, and this coupling configuration information is stored in this storage unit.And
Identification response unit, while being used for the button trigger pip of being sent by this physical keyboard being detected when again moving this program, determine the button being triggered, read the button coupling configuration information of storing in this storage unit to determine corresponding touch location and to touch operation item, and carry out by this terminal the function that this touch operation item is corresponding.
Further, the system that the present invention also provides a kind of keyboard to realize touch function, this system comprises user terminal and carries out with this user terminal the physical keyboard that data communication is connected, and this user terminal comprises storage unit, and this user terminal also comprises:
Key associated interface provides unit, provides a key associated interface, and show that this key associated interface, this key associated interface comprise control regions and associated interface display region for responding the operation of associated key setting that user sends.
Control generation unit, for generating corresponding one or more touch operation item controls according to the corresponding display interface of the program of the current operation of this user terminal, wherein, this control regions is for showing the icon of the one or more touch operation item controls that generated by this control generation unit, and this association interface display region is for showing the corresponding display interface of program of the current operation of this user terminal.
Button setting unit, for the chosen control of one or more touch operation item control of determining that this control generation unit generates, record this chosen control to position that should associated display interface region, and the button being triggered with this physical keyboard mates setting, and this coupling configuration information is stored in this storage unit.And
Identification response unit, while being used for the button trigger pip of being sent by this physical keyboard being detected when again moving this program, determine the button being triggered, read the button coupling configuration information of storing in this storage unit to determine corresponding touch location and to touch operation item, and carry out by this terminal the function that this touch operation item is corresponding.
Further, a kind of method that the present invention also provides keyboard to realize touch function, the method is applied in by user terminal and with this user terminal carries out the system that physical keyboard that data communication is connected forms, and the method comprises:
The operation of the associated key setting that response user sends provides a key associated interface, and shows this key associated interface, and wherein, this key associated interface comprises control regions and associated interface display region.
According to the corresponding display interface of the program of the current operation of this user terminal, generate corresponding one or more touch operation item controls, this control regions shows the icon of these one or more touch operation item controls, and this association interface display region shows the corresponding display interface of program of the current operation of this user terminal.
Determine chosen control in these one or more touch operation item controls, record this chosen control to position that should associated display interface region, and the button being triggered with this physical keyboard mates setting, and preserve this coupling configuration information.And
While the button trigger pip of being sent by this physical keyboard being detected when again moving this program, determine the button being triggered, read the button coupling configuration information of this storage to determine corresponding touch location and to touch operation item, and carry out by this user terminal the function that this touch operation item is corresponding.
A kind of keyboard provided by the invention is realized system, terminal and the method for touch function, by the key associated interface providing at user terminal, carry out determining of control selection and touch location, button selected on physical keyboard is mated to setting with touch location and touch operation item, realizing user uses physical keyboard can complete the technique effect of the clicking operation of touch screen, be user-friendly to, solve the technical matters that the keyboard of scattered single-point, mouse input data-switching cannot be become to multiple point touching data or one point data in prior art.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Refer to Fig. 1, keyboard in embodiment of the present invention is realized the hardware structure schematic diagram of the system of touch function, this system 10 comprises user terminal 20 and physical keyboard 30, this physical keyboard 30 is connected with this user terminal 20 by data line, this data line can be usb data transmission line, in other embodiments, this data line can also be the data line of other types.In the present embodiment, this user terminal 20 is the mobile device of built-in android operating system, and in other embodiments, this user terminal 20 can also be the equipment of the operating systems such as built-in windows, IOS.
Refer to Fig. 2, this user terminal 20 comprises that key associated interface provides unit 21, control generation unit 22, button setting unit 23, identification response unit 24 and storage unit 25.
When user need to use the touch control operation on physical keyboard 30 pseudo subscriber terminals 20, this key associated interface provides the operation of the associated key setting of unit 21 for responding user's transmission that one key associated interface is provided, and shows this key associated interface.In the present embodiment, the operation of this associated key setting is predefined as shortcut operation, by this user terminal 20, pre-defines and is stored in storage unit 25.This identification response unit 24 detects the definite button being triggered of the button trigger pip of being sent by physical keyboard 30, and judge when this button being triggered shortcut default with this is consistent and to determine and call key associated interface, and call this key associated interface and provide unit 21 to generate and show this key associated interface.
This control generation unit 23 is for generating corresponding one or more touch operation item controls according to the corresponding display interface of the program of these user terminal 20 current operations, for example, slide left and control such as slip such as slips to the right grade, the gravity sensing control such as rock from side to side and teetertotter, the operational controls such as amplify and dwindle.
The one or more touch operation item control chosen control of this button setting unit 24 for determining that this control generation unit 23 generates, record this chosen control to position that should associated display interface region 42, and the button being triggered with physical keyboard 30 mates setting, and this coupling configuration information is stored in storage unit 26.
Please refer to Fig. 3, it is the schematic diagram at this key associated interface in present embodiment.This key associated interface 40 comprises control regions 41 and associated interface display region 42, and this control regions 41 interface display associated with this region 42 is presented in current interfaces windows side by side.This control regions 41 is for showing the icon of the one or more touch operation item controls that generated by this control generation unit 23, and this association interface display region 42 is for showing the corresponding display interface of program of these user terminal 20 current operations.In the present embodiment, this button setting unit 24 also provides unit 21 can drag control icons in corresponding floating of associated display interface region 42 new display for controlling this key associated interface after definite chosen control, recording this floats and can drag control icons, behind 42 trailing positions, associated display interface region, this control is mated to setting with the button that this physical keyboard 30 is triggered, thereby the touch location on the corresponding display interface of the program of setting up current operation, touch the matching relationship of the physical button on operation item and physical keyboard 30.
In the present embodiment, this system 10 also comprises with this user terminal 20 carries out the mouse (not shown) that data communication is connected, and this button setting unit 24 is by detecting mouse the dragging and the center position of control that RR release record drags of corresponding cursor on associated display interface region 42.In other embodiments, this user terminal 20 arranges a touch display screen, and this button setting unit 24 can also be by detecting user's finger or the writing pencil position that drags the record control that drags on associated display interface region 42.
For example, when control left of the arrow sliding under column in the selected control regions 41 of user, float and can drag control icons A in associated interface display region 42 newly-increased, when after the trailing position B of definite icon A, user presses button shift on physical keyboard 30 simultaneously, has recorded the corresponding display interface position B of touch when user presses on physical keyboard 30 shift button sentence the operation that realization is slided left with this.
Complete as mentioned above after the arranging of whole controls, this cover button coupling configuration information is kept in storage unit 26, in the present embodiment, this user terminal 20 can record the current user profile logging in, and this user profile is carried out to associated preservation with this cover button coupling configuration information, thereby call corresponding button coupling configuration information according to the user's who logs in different user information.
When user again returns to this program and moves this program, this identification response unit 25 detects the definite button being triggered of the button trigger pip of being sent by physical keyboard 30, in reading cells 26, the button of storage coupling configuration information, to determine corresponding touch location and to touch operation item, realizes with this technique effect of realizing simulated touch operation by physical keyboard 30.
Refer to Fig. 4, for keyboard of the present invention, realize the method flow schematic diagram of touch function, the method comprises:
Step S50, when user need to use the touch control operation on physical keyboard 30 pseudo subscriber terminals 20, the operation that this key associated interface provides unit 21 to respond the associated key setting of user's transmission provides a key associated interface, and shows this key associated interface.
In the present embodiment, the operation of this associated key setting is predefined as shortcut operation, by this user terminal 20, pre-defines and is stored in storage unit 25.This identification response unit 24 detects the definite button being triggered of the button trigger pip of being sent by physical keyboard 30, and judge when this button being triggered shortcut default with this is consistent and to determine and call key associated interface, and call this key associated interface and provide unit 21 to generate and show this key associated interface.
This key associated interface 40 comprises control regions 41 and associated interface display region 42, and this control regions 41 interface display associated with this region 42 is presented in current interfaces windows side by side.
Step S51, this control generation unit 23 generates corresponding one or more touch operation item controls according to the corresponding display interface of the program of these user terminal 20 current operations, and this control regions 41 shows the icon of the one or more touch operation item controls that generated by this control generation unit 23, this association interface display region 42 shows the corresponding display interface of program of these user terminal 20 current operations.
Step S52, chosen control in one or more touch operation item controls that definite this control generation unit 23 of this button setting unit 24 generates, controlling this key associated interface provides one of new display in associated display interface region 42 corresponding floating in unit 21 can drag control icons, and records this and float and can drag control icons in 42 trailing positions, associated display interface region.
In the present embodiment, this button setting unit 24 is by detecting mouse the dragging and the center position of control that RR release record drags of corresponding cursor on associated display interface region 42.In other embodiments, this button setting unit 24 is by detecting user's finger or the writing pencil position that drags the record control that drags on associated display interface region 42.
Step S53, this button setting unit 24 is chosen control, the trailing position of this control, and the button that physical keyboard 30 is triggered mates setting, and this coupling configuration information is stored in storage unit 26.
In the present embodiment, this user terminal 20 also records the current user profile logging in, and this user profile is carried out to associated preservation with this cover button coupling configuration information, thereby call corresponding button coupling configuration information according to the user's who logs in different user information.
Step S54, when again moving this program, this identification response unit 25 detects the definite button being triggered of the button trigger pip of being sent by physical keyboard 30, in reading cells 26, the button of storage mates configuration information to determine corresponding touch location and to touch operation item, and carries out the function that this touch operation item is corresponding.
A kind of keyboard provided by the invention is realized system, terminal and the method for touch function, by the key associated interface providing at user terminal, carry out determining of control selection and touch location, button selected on physical keyboard is mated to setting with touch location and touch operation item, realizing user uses physical keyboard can complete the technique effect of the clicking operation of touch screen, be user-friendly to, solve the technical matters that the keyboard of scattered single-point, mouse input data-switching cannot be become to multiple point touching data or one point data in prior art.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.