CN104461272A - Virtual keyboard processing method and device - Google Patents

Virtual keyboard processing method and device Download PDF

Info

Publication number
CN104461272A
CN104461272A CN201310430828.6A CN201310430828A CN104461272A CN 104461272 A CN104461272 A CN 104461272A CN 201310430828 A CN201310430828 A CN 201310430828A CN 104461272 A CN104461272 A CN 104461272A
Authority
CN
China
Prior art keywords
symbol status
client
symbol
status information
query request
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
CN201310430828.6A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310430828.6A priority Critical patent/CN104461272A/en
Publication of CN104461272A publication Critical patent/CN104461272A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a virtual keyboard processing method and device. The method comprises the steps that a client-side sends an insert operator state query request to a server-side, so that the server-side obtains insert operator state information according to the insert operator state query request and then returns the insert operator state information to the client-side; the client-side pops or puts away a virtual keyboard according to the insert operator state information; the client-side adjusts a client-side view according to the insert operator state information and the state changes of the virtual keyboard. By means of the virtual keyboard processing method and device, a user to-be-edited area is not shielded by the virtual keyboard, user operation is facilitated, and therefore complexity of user operation is reduced, and user experience is improved.

Description

Virtual keyboard processing method and device
Technical field
The embodiment of the present invention relates to communication technical field, particularly relates to a kind of virtual keyboard processing method and device.
Background technology
In remote desktop access, remote application (applying virtual) or similar techniques, user can by different client devices, as PC, panel computer, mobile phone etc., long-range be linked into other equipment or remote application (service end) in.In this course, client receives the operation (as mouse action, keyboard operation, touch screen gesture operation etc.) of user, and sending it to service end, service end feeds back to client in the mode of image or video flowing after dealing with to the Action Events received.Therefore, just some images and drawing for order information that client receives from service end, and the input state of remote desktop or remote application, window focus state, user can the information such as editing area be known nothing.For the client on mobile device, when user wishes to input remote access desktop or application, the operation carried out generally is needed to have: 1) to click the position of oneself wishing input editing; 2) by operations such as button screens, exhalation dummy keyboard; 3) manual rolling remote session view, makes view be in appropriate position, with make position to be edited not block by dummy keyboard.Compared with user is when using this locality on mobile device to apply, if user wishes input editing, only need click the position of wanting to edit, if this position allows input, then dummy keyboard meeting automatic spring, and application view can be automatically scrolling to appropriate position, make position to be edited not block by dummy keyboard.Therefore can find out, in last situation, the operation of user is quite loaded down with trivial details, cannot reach the Consumer's Experience consistent with local application.
For solving the problem, a kind of method of the prior art is by adding far-end input method hook or keyboard hook or the mode that both combine, and the inediting obtaining remote access desktop or application inserts the position of symbol.
But said method, causing the ejection of the mistake of dummy keyboard in some cases or packing up, affects performance.
Summary of the invention
The embodiment of the present invention provides a kind of virtual keyboard processing method and device, the editor of Obtaining Accurate user can input editor's input position of intention and user, thus reduce the complexity of user operation, lifting Consumer's Experience.
First aspect, the embodiment of the present invention provides a kind of virtual keyboard processing method, comprising:
Client sends inserts symbol status query request to service end, after inserting symbol status information, described insertion symbol status information is returned to described client to make described service end according to the acquisition of described insertion symbol status query request;
Described client ejects according to described insertion symbol status information or packs up dummy keyboard;
Described client is according to the described state change adjustment client view inserting symbol status information and described dummy keyboard.
In the first possible embodiment of first aspect, described symbol status information of inserting comprises: insert the current edit pattern of symbol and/or the concrete coordinate of described insertion symbol.
In conjunction with the first possible embodiment of first aspect, in the embodiment that the second of first aspect is possible, described client also comprises before sending and inserting symbol status query request to service end:
Described client receives user operation instruction.
In conjunction with the first possible embodiment of first aspect, in the third possible embodiment of first aspect, described client also comprises before sending and inserting symbol status query request to service end:
Described client receives the trigger command that user triggers the pre-ejection state of opening dummy keyboard;
Described dummy keyboard is set to eject state in advance according to described trigger command by described client;
Described client receives the operational order of user.
The third possible embodiment of the embodiment possible in conjunction with the second of first aspect or first aspect, in the third possible embodiment of first aspect, described client sends inserts symbol status query request to service end, comprising:
Described client sends the keyboard state control module in Keyboard Control request to described client according to described user operation instruction;
After described keyboard state control module receives described Keyboard Control request, send to the insertion symbol state acquisition module in client and insert symbol status query request;
Described insertion symbol status query request is sent to service end by described insertion symbol state acquisition module, after obtaining insertion symbol status information, described insertion symbol status information is returned to described insertion symbol state acquisition module to make described service end according to described insertion symbol status query request.
Second aspect, the embodiment of the present invention provides a kind of virtual keyboard processing method, comprising:
Service end receives the insertion symbol status query request that client sends;
Described service end obtains according to described insertion symbol status query request and inserts symbol status information;
Described insertion symbol status information is returned to described client by described service end, to make described client eject according to described insertion symbol status information or pack up dummy keyboard, and according to the described state change adjustment client view inserting symbol status information and described dummy keyboard.
In the first possible embodiment of second aspect, described symbol status information of inserting comprises: insert the current edit pattern of symbol and/or the concrete coordinate of described insertion symbol.
In conjunction with the first possible embodiment of second aspect or second aspect, in the third possible embodiment of second aspect, described service end obtains according to described insertion symbol status query request and inserts symbol status information, comprising:
Described service end inserts the current focus window inserting symbol of symbol status query request inquiry according to described;
Obtain the thread identification ID that described focus window is corresponding;
Obtain the thread information that described Thread Id is corresponding;
Inquire about the Caret attribute of described thread information, obtain the described concrete coordinate inserting current edit pattern and/or the described insertion symbol accorded with.
The third aspect, the embodiment of the present invention provides a kind of dummy keyboard treating apparatus, comprising: acquisition module, keyboard state control module and view rolling control module;
Described acquisition module, inserts symbol status query request to service end for sending, and after obtaining insertion symbol status information, described insertion symbol status information is returned to described acquisition module to make described service end according to described insertion symbol status query request;
Described keyboard state control module, for ejecting according to described insertion symbol status information or pack up dummy keyboard;
Described view rolling control module, for adjusting client view according to described state change of inserting symbol status information and described dummy keyboard.
In the first possible embodiment of the third aspect, described symbol status information of inserting comprises: insert the current edit pattern of symbol and the concrete coordinate of described insertion symbol.
In conjunction with the first possible embodiment of the third aspect, in the embodiment that the second of the third aspect is possible, also comprise:
First views module, for send insertion symbol status query request to service end at described acquisition module before, receives user operation instruction.
In conjunction with the first possible embodiment of the third aspect, in the third possible embodiment of the third aspect, also comprise:
Second views module, for send insertion symbol status query request to service end at described acquisition module before, receives the trigger command that user triggers the pre-ejection state of opening dummy keyboard;
Described second views module is also for being set to eject state in advance by described dummy keyboard according to described trigger command;
Described second views module is also for receiving the operational order of user.
The third possible embodiment of the embodiment possible in conjunction with the second of the third aspect or the third aspect, in the 4th kind of possible embodiment of the third aspect, described acquisition module comprises: keyboard state control module and insertion symbol state acquisition module;
Described first views module or the second views module are also for sending Keyboard Control request to described keyboard state control module according to described user operation instruction;
Described keyboard state control module, after receiving described Keyboard Control request, sends to described insertion symbol state acquisition module and inserts symbol status query request;
Described insertion symbol state acquisition module, for described insertion symbol status query request is sent to service end, after obtaining insertion symbol status information to make described service end according to described insertion symbol status query request, described insertion symbol status information is returned to described insertion symbol state acquisition module.
Fourth aspect, the embodiment of the present invention provides a kind of dummy keyboard treating apparatus, comprising:
Receiver module, for receiving the insertion symbol status query request that client sends;
Acquisition module, inserts symbol status information for obtaining according to described insertion symbol status query request;
Sending module, for described insertion symbol status information is returned to described client, to make described client eject according to described insertion symbol status information or pack up dummy keyboard, and according to the described state change adjustment client view inserting symbol status information and described dummy keyboard.
In the first possible embodiment of fourth aspect, described symbol status information of inserting comprises: insert the current edit pattern of symbol and/or the concrete coordinate of described insertion symbol.
In conjunction with the first possible embodiment of fourth aspect or fourth aspect, in the embodiment that the second of fourth aspect is possible, described acquisition module specifically for:
The current focus window inserting symbol of symbol status query request inquiry is inserted according to described;
Obtain the thread identification ID that described focus window is corresponding;
Obtain the thread information that described Thread Id is corresponding;
Inquire about the Caret attribute of described thread information, obtain the described concrete coordinate inserting current edit pattern and/or the described insertion symbol accorded with.
The virtual keyboard processing method that the embodiment of the present invention provides and device, sent by client and insert symbol status query request to service end, after obtaining insertion symbol status information to make service end according to insertion symbol status query request, insertion symbol status information is returned to client, therefore the input intention of current edit pattern and Accurate Prediction user can accurately be judged, thus client accords with status information automatic spring according to insertion or packs up dummy keyboard, then according to the state change adjustment client view inserting symbol status information and dummy keyboard, user region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of virtual keyboard processing method embodiment one of the present invention;
Fig. 2 is the process flow diagram of virtual keyboard processing method embodiment two of the present invention;
Fig. 3 is the process flow diagram of virtual keyboard processing method embodiment three of the present invention;
Fig. 4 is the module composition schematic diagram of client and service end in virtual keyboard processing method embodiment three of the present invention;
Fig. 5 is the process flow diagram of virtual keyboard processing method embodiment four of the present invention;
Fig. 6 is the structural representation of dummy keyboard treating apparatus embodiment one of the present invention;
Fig. 7 is the structural representation of dummy keyboard treating apparatus embodiment two of the present invention;
Fig. 8 is the structural representation of dummy keyboard treating apparatus embodiment three of the present invention;
Fig. 9 is the structural representation of dummy keyboard treating apparatus embodiment three of the present invention;
Figure 10 is the structural representation of dummy keyboard treating apparatus embodiment four of the present invention;
Figure 11 is the structural representation of dummy keyboard treating apparatus embodiment five of the present invention;
Figure 12 is the structural representation of dummy keyboard treating apparatus embodiment six of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The virtual keyboard processing method that the embodiment of the present invention provides, be mainly used in and mobile terminal device access remote desktop or remote application is opened in applying virtual field, accurately can know that the editor of user inputs intention, and appropriately automatically eject for user exactly or pack up dummy keyboard, also can accurately obtain user and edit input position, automatically carry out view roll adjustment, make region to be edited not block by dummy keyboard, be in the best input position of screen.
Fig. 1 is the process flow diagram of virtual keyboard processing method embodiment one of the present invention, and the present embodiment is described for client as executive agent, and as shown in Figure 1, the method for the present embodiment can comprise:
S101, client send insertion symbol status query request to service end, after obtaining insertion symbol status information, insertion symbol status information are returned to client to make service end according to insertion symbol status query request.
Wherein, insert symbol status information to comprise: insert the current edit pattern of symbol and/or insert the concrete coordinate of symbol.
Particularly, after service end receives and inserts symbol status query request, obtain insert symbol status information according to specific policy lookup, such as, for Windows remote application, obtaining the method inserting symbol status information can be:
1, service end is according to inserting the current focus window inserting symbol of symbol status query request inquiry.
2, thread identification (ID) corresponding to focus window is obtained.
3, the thread information that this Thread Id is corresponding is obtained.
4, inquire about insertion symbol (Caret) attribute of thread information, obtain the current edit pattern inserting symbol and/or the concrete coordinate inserting symbol.
If service end cannot obtain the concrete coordinate inserting symbol by aforesaid operations, then show that current focus window is not in editing mode, or current editor position is in a reading mode.
S102, client eject according to insertion symbol status information or pack up dummy keyboard.
Particularly, after client receives and inserts symbol status information, can accurately judge current edit pattern, such as can edit, read-onlyly maybe can not to edit, judge whether eject or pack up dummy keyboard according to specific strategy, specific strategy is customizable, such as inserts in symbol status information to insert symbol width and be greater than certain value and then do not eject dummy keyboard, or insert symbol status information for not ejecting dummy keyboard time empty, or dummy keyboard be in ejection state under then pack up dummy keyboard.
S103, client are according to the state change adjustment client view inserting symbol status information and dummy keyboard.
Particularly, client is according to the state change of inserting symbol status information and dummy keyboard, and roll adjustment view, makes view be in suitable position, facilitate user to edit, such as, adjust view and input position is in the middle of Mobile device visual region.
In the embodiment of the present invention, as the enforceable mode of one, before client sends insertion symbol status query request to service end, also comprise:
S104, client receive user operation instruction.
Wherein, the operational order of user such as user clicks the position of wishing input editing.
In embodiments of the present invention, as the enforceable mode of another kind, state can be ejected in advance for dummy keyboard increases by one, namely be exactly that non-fully ejects state, below screen, such as expose the limit of a keyboard, user's current virtual keyboard is pointed out to be in pre-ejection state, the insertion symbol status information that therefore need not be inquired by clicking operation information and the service end of user predicts the input intention of user, but opened the pre-ejection state of dummy keyboard by gesture switch triggering by user, more directly accurately can know the input intention of user thus, and too much can not stop user can opereating specification.Under present embodiment before client sends insertion symbol status query request to service end, also comprise:
S105, client receive the trigger command that user triggers the pre-ejection state of opening dummy keyboard.
The pre-ejection state of this trigger command can be such as user by gesture switch triggering open dummy keyboard, gesture switch can be such as user from screen lower along upward sliding once, the present invention is not limited thereto.
Dummy keyboard is set to eject state in advance according to trigger command by S106, client.
S107, client receive the operational order of user.
Particularly, after dummy keyboard is in pre-ejection state, the back to back left button of user clicks gesture operation will trigger the status poll of insertion symbol, and namely client can send inserts symbol status query request to service end.
Wherein, S101 specifically comprises:
S101a, client send Keyboard Control request to the keyboard state control module in client according to user operation instruction.
Particularly, client, according to the operational order of user, judges the operation of user, analyzes whether send Keyboard Control request, if such as this operation user left button clicks gesture operation, then sends Keyboard Control request; If click gesture operation or keyboard operation etc. by right key, then do not send Keyboard Control request.Also can carry out the transmission frequency restriction of Keyboard Control request simultaneously, such as within the time of specifying, at most only send a request, reduce the system and communication load that are caused by intensive action.
After S101b, keyboard state control module receive Keyboard Control request, send to the insertion symbol state acquisition module in client and insert symbol status query request.
Insertion symbol status query request is sent to service end by S101c, insertion symbol state acquisition module, insertion symbol status information is returned to insert to accord with state acquisition module to make service end according to the acquisition of insertion symbol status query request after inserting symbol status information.
The virtual keyboard processing method that the present embodiment provides, sent by client and insert symbol status query request to service end, after obtaining insertion symbol status information to make service end according to insertion symbol status query request, insertion symbol status information is returned to client, therefore the input intention of current edit pattern and Accurate Prediction user can accurately be judged, thus client accords with status information automatic spring according to insertion or packs up dummy keyboard, then according to the state change adjustment client view inserting symbol status information and dummy keyboard, user region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
Fig. 2 is the process flow diagram of virtual keyboard processing method embodiment two of the present invention, and the present embodiment is described for service end as executive agent, and as shown in Figure 2, the method for the present embodiment can comprise:
S201, service end receive the insertion symbol status query request that client sends.
S202, service end obtain according to insertion symbol status query request and insert symbol status information.
Wherein, insert symbol status information to comprise: insert the current edit pattern of symbol and/or insert the concrete coordinate of symbol.
Particularly, after service end receives and inserts symbol status query request, obtain insert symbol status information according to specific policy lookup, such as, for Windows remote application, obtaining the method inserting symbol status information can be:
1, service end is according to inserting the current focus window inserting symbol of symbol status query request inquiry.
2, thread identification (ID) corresponding to focus window is obtained.
3, the thread information that this Thread Id is corresponding is obtained.
4, inquire about insertion symbol (Caret) attribute of thread information, obtain the current edit pattern inserting symbol and/or the concrete coordinate inserting symbol.
If service end cannot obtain the concrete coordinate inserting symbol by aforesaid operations, then show that current focus window is not in editing mode, or current editor position is in a reading mode.
Insertion symbol status information is returned to client by S203, service end, to make client eject according to insertion symbol status information or pack up dummy keyboard, and according to inserting the state change adjustment client view of symbol status information and dummy keyboard.
Particularly, insertion symbol status information is returned to client by service end, namely client ejects according to insertion symbol status information or packs up dummy keyboard, then client is according to the state change of inserting symbol status information and dummy keyboard, roll adjustment view, make view be in suitable position, facilitate user to edit, such as, adjust view and input position is in the middle of Mobile device visual region.
The virtual keyboard processing method that the present embodiment provides, obtain after according with status query request by service end according to the insertion that the client received sends and insert symbol status information, then insertion symbol status information is returned to client, therefore the input intention of current edit pattern and Accurate Prediction user can accurately be judged, thus client accords with status information automatic spring according to insertion or packs up dummy keyboard, then according to the state change adjustment client view inserting symbol status information and dummy keyboard, user region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
Adopt two specific embodiments below, the technical scheme of embodiment of the method shown in Fig. 1 and Fig. 2 is described in detail.
Fig. 3 is the process flow diagram of virtual keyboard processing method embodiment three of the present invention, the present embodiment is for being described alternately between client and service end, Fig. 4 is the module composition schematic diagram of client and service end in virtual keyboard processing method embodiment three of the present invention, as shown in Figure 4, client comprises client view, view rolling control module, keyboard state control module, insert symbol state acquisition module and user operation identification module, service end comprises remote application and inserts symbol information monitoring module, client and service end carry out data interaction by data channel.As shown in Figure 3, the method for the present embodiment can comprise:
S301, client view receive the operational order of user.Particularly, user carries out basic operation in client, and such as user clicks the position of wishing input editing, and operational order is received by client view.
S302, user operation identification module are according to the operational order of user, the operation of user is judged, analyze and whether send Keyboard Control request to keyboard state control module, if such as this operation user left button clicks gesture operation, then send Keyboard Control request; If click gesture operation or keyboard operation etc. by right key, then do not send request.Also can carry out the transmission frequency restriction of Keyboard Control request simultaneously, such as within the time of specifying, at most only send a request, reduce the system and communication load that are caused by intensive action.
After S303, keyboard state control module receive Keyboard Control request, send to the insertion symbol state acquisition module in client and insert symbol status query request.
Insertion symbol status query request is sent to the insertion symbol information monitoring module in service end by S304, insertion symbol state acquisition module.
S305, insertion symbol information monitoring module obtain insertion symbol status information according to insertion symbol status query request.Can be specifically, after insertion symbol information monitoring module receives insertion symbol status query request, obtain insertion symbol status information according to specific policy lookup.
Insertion symbol status information returns to by S306, insertion symbol information monitoring module inserts symbol state acquisition module.
Insertion symbol status information is transmitted to keyboard state control module by S307, insertion symbol state acquisition module.
S308, keyboard state control module eject according to insertion symbol status information or pack up dummy keyboard.
Particularly, after keyboard state control module receives and inserts symbol status information, can accurately judge current edit pattern, such as can edit, read-onlyly maybe can not to edit, judge whether eject or pack up dummy keyboard according to specific strategy, specific strategy is customizable, such as insert in symbol status information and insert symbol width and be greater than certain value and then do not eject dummy keyboard, or insert symbol status information for not ejecting dummy keyboard time empty, or dummy keyboard be in ejection state under then pack up dummy keyboard.
S309, view rolling control module are according to the state change of inserting symbol status information and dummy keyboard, roll adjustment view, make view be in suitable position, facilitate user to edit, such as, adjust view and input position is in the middle of Mobile device visual region.
Fig. 5 is the process flow diagram of virtual keyboard processing method embodiment four of the present invention, and the present embodiment is for being described alternately between client and service end, and as shown in Figure 5, the method for the present embodiment can comprise:
S501, client receive the trigger command that user triggers the pre-ejection state of opening dummy keyboard.
The pre-ejection state of this trigger command can be such as user by gesture switch triggering open dummy keyboard, gesture switch can be such as user from screen lower along upward sliding once, the present invention is not limited thereto.
Dummy keyboard is set to eject state in advance according to trigger command by S502, client.
S503, client receive the operational order of user.
Particularly, after dummy keyboard is in pre-ejection state, the back to back left button of user clicks gesture operation will trigger the status poll of insertion symbol.
S504, client send inserts symbol status query request to service end.
S505, service end obtain according to insertion symbol status query request and insert symbol status information and return to client.
S506, client eject according to insertion symbol status information or pack up dummy keyboard.
S507, client are according to the state change of inserting symbol status information and dummy keyboard, and roll adjustment view, makes view be in suitable position, facilitate user to edit, such as, adjust view and input position is in the middle of Mobile device visual region.
Fig. 6 is the structural representation of dummy keyboard treating apparatus embodiment one of the present invention, as shown in Figure 6, the device of the present embodiment can comprise: acquisition module 11, keyboard state control module 12 and view rolling control module 13, wherein, acquisition module 11 inserts symbol status query request to service end for sending, and after inserting symbol status information, insertion symbol status information is returned to acquisition module to make service end according to the acquisition of insertion symbol status query request.Keyboard state control module 12 is for ejecting according to insertion symbol status information or pack up dummy keyboard.View rolling control module 13 is for adjusting client view according to the state change of inserting symbol status information and dummy keyboard.
Wherein, insert symbol status information to comprise: insert the current edit pattern of symbol and insert the concrete coordinate of symbol.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it is similar that it realizes principle, repeats no more herein.
The dummy keyboard treating apparatus that the present embodiment provides, sent by acquisition module and insert symbol status query request to service end, after obtaining insertion symbol status information to make service end according to insertion symbol status query request, insertion symbol status information is returned to acquisition module, keyboard state control module ejects according to insertion symbol status information or packs up dummy keyboard, and view rolling control module is according to the state change adjustment client view inserting symbol status information and dummy keyboard.User region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
Fig. 7 is the structural representation of dummy keyboard treating apparatus embodiment two of the present invention, as shown in Figure 7, the device of the present embodiment is on the basis of Fig. 6 shown device structure, further, can also comprise: the first views module 14, this first views module 14, for before acquisition module 11 transmission insertion symbol status query request to service end, receives user operation instruction.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it realizes principle and technique effect is similar, repeats no more herein.
Fig. 8 is the structural representation of dummy keyboard treating apparatus embodiment three of the present invention, as shown in Figure 8, the device of the present embodiment is on the basis of Fig. 6 shown device structure, further, can also comprise: the second views module 15, this second views module 15, for before acquisition module transmission insertion symbol status query request to service end, receives the trigger command that user triggers the pre-ejection state of opening dummy keyboard.
Second views module 15 is also for being set to eject state in advance by dummy keyboard according to trigger command, and the second views module is also for receiving the operational order of user.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it realizes principle and technique effect is similar, repeats no more herein.
Fig. 9 is the structural representation of dummy keyboard treating apparatus embodiment three of the present invention, as shown in Figure 9, the device of the present embodiment is on the basis of Fig. 6 and Fig. 7 shown device structure, further, acquisition module 11 comprises: keyboard state control module 110 and insertion symbol state acquisition module 111, wherein, the first views module 14 or the second views module 15 are also for sending Keyboard Control request to keyboard state control module 12 according to user operation instruction.Keyboard state control module 12, for after receiving Keyboard Control request, sends to insertion symbol state acquisition module 111 and inserts symbol status query request.Insert and accord with state acquisition module 111 for insertion symbol status query request is sent to service end, after obtaining insertion symbol status information to make service end according to insertion symbol status query request, insertion symbol status information is returned to and insert symbol state acquisition module 111.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it realizes principle and technique effect is similar, repeats no more herein.
Figure 10 is the structural representation of dummy keyboard treating apparatus embodiment four of the present invention, as shown in Figure 10, the device of the present embodiment can comprise: receiver module 20, acquisition module 21 and sending module 22, wherein, and the insertion symbol status query request that receiver module 20 sends for receiving client.Acquisition module 21 inserts symbol status information for obtaining according to insertion symbol status query request.Sending module 22, for insertion symbol status information is returned to client, accords with status information to make client according to insertion and ejects or pack up dummy keyboard, and adjusts client view according to the state change of inserting symbol status information and dummy keyboard.
Wherein, insert symbol status information to comprise: insert the current edit pattern of symbol and/or insert the concrete coordinate of symbol.
Acquisition module 21 specifically for: according to insert symbol status query request inquiry current insert symbol focus window; Obtain the thread identification ID that focus window is corresponding; Obtain the thread information that Thread Id is corresponding; The Caret attribute of inquiry thread information, obtains the current edit pattern inserting symbol and/or the concrete coordinate inserting symbol.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 2, it is similar that it realizes principle, repeats no more herein.
The dummy keyboard treating apparatus that the present embodiment provides, the insertion symbol status query request sent according to the client that receiver module receives by acquisition module obtains insertion symbol status information, then insertion symbol status information is returned to client by sending module, therefore the input intention of current edit pattern and Accurate Prediction user can accurately be judged, thus client accords with status information automatic spring according to insertion or packs up dummy keyboard, then according to the state change adjustment client view inserting symbol status information and dummy keyboard, user region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
Figure 11 is the structural representation of dummy keyboard treating apparatus embodiment five of the present invention, as shown in figure 11, the device of the present embodiment can comprise: transmitter 31, receiver 32 and processor 33, wherein, transmitter 31 inserts symbol status query request to service end for sending, and after inserting symbol status information, insertion symbol status information is returned to receiver 32 to make service end according to the acquisition of insertion symbol status query request.Processor 33 is for ejecting according to insertion symbol status information or pack up dummy keyboard.Processor 33 is also for adjusting client view according to the state change of inserting symbol status information and dummy keyboard.
Wherein, insert symbol status information to comprise: insert the current edit pattern of symbol and insert the concrete coordinate of symbol.
Further, receiver 32 also for before transmitter 31 transmission insertion symbol status query request to service end, receives user operation instruction.
Further, receiver 32 also for before transmitter 31 transmission insertion symbol status query request to service end, receives the trigger command that user triggers the pre-ejection state of opening dummy keyboard.Processor 33 is also for being set to eject state in advance by dummy keyboard according to trigger command, and receiver 32 is also for receiving the operational order of user.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it is similar that it realizes principle, repeats no more herein.
The dummy keyboard treating apparatus that the present embodiment provides, sent by transmitter and insert symbol status query request to service end, after obtaining insertion symbol status information to make service end according to insertion symbol status query request, insertion symbol status information is returned to receiver, processor ejects according to insertion symbol status information or packs up dummy keyboard, according to the state change adjustment client view inserting symbol status information and dummy keyboard.User region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
Figure 12 is the structural representation of dummy keyboard treating apparatus embodiment six of the present invention, as shown in figure 12, the device of the present embodiment can comprise: receiver 41, processor 42 and transmitter 43, wherein, and the insertion symbol status query request that receiver 41 sends for receiving client.Processor 42 inserts symbol status information for obtaining according to insertion symbol status query request.Transmitter 43, for insertion symbol status information is returned to client, accords with status information to make client according to insertion and ejects or pack up dummy keyboard, and adjusts client view according to the state change of inserting symbol status information and dummy keyboard.
Wherein, insert symbol status information to comprise: insert the current edit pattern of symbol and/or insert the concrete coordinate of symbol.
Processor 42 specifically for: according to insert symbol status query request inquiry current insert symbol focus window; Obtain the thread identification ID that focus window is corresponding; Obtain the thread information that Thread Id is corresponding; The Caret attribute of inquiry thread information, obtains the current edit pattern inserting symbol and/or the concrete coordinate inserting symbol.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 2, it is similar that it realizes principle, repeats no more herein.
The dummy keyboard treating apparatus that the present embodiment provides, the insertion symbol status query request sent according to the client that receiver module receives by acquisition module obtains insertion symbol status information, then insertion symbol status information is returned to client by sending module, therefore the input intention of current edit pattern and Accurate Prediction user can accurately be judged, thus client accords with status information automatic spring according to insertion or packs up dummy keyboard, then according to the state change adjustment client view inserting symbol status information and dummy keyboard, user region to be edited is not blocked by dummy keyboard, user-friendly, thus reduce the complexity of user operation, promote Consumer's Experience.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various can be program code stored medium.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (16)

1. a virtual keyboard processing method, is characterized in that, comprising:
Client sends inserts symbol status query request to service end, after inserting symbol status information, described insertion symbol status information is returned to described client to make described service end according to the acquisition of described insertion symbol status query request;
Described client ejects according to described insertion symbol status information or packs up dummy keyboard;
Described client is according to the described state change adjustment client view inserting symbol status information and described dummy keyboard.
2. method according to claim 1, is characterized in that, described symbol status information of inserting comprises: insert the current edit pattern of symbol and/or the concrete coordinate of described insertion symbol.
3. method according to claim 2, is characterized in that, described client also comprises before sending and inserting symbol status query request to service end:
Described client receives user operation instruction.
4. method according to claim 2, is characterized in that, described client also comprises before sending and inserting symbol status query request to service end:
Described client receives the trigger command that user triggers the pre-ejection state of opening dummy keyboard;
Described dummy keyboard is set to eject state in advance according to described trigger command by described client;
Described client receives the operational order of user.
5. the method according to claim 3 or 4, is characterized in that, described client sends inserts symbol status query request to service end, comprising:
Described client sends the keyboard state control module in Keyboard Control request to described client according to described user operation instruction;
After described keyboard state control module receives described Keyboard Control request, send to the insertion symbol state acquisition module in client and insert symbol status query request;
Described insertion symbol status query request is sent to service end by described insertion symbol state acquisition module, after obtaining insertion symbol status information, described insertion symbol status information is returned to described insertion symbol state acquisition module to make described service end according to described insertion symbol status query request.
6. a virtual keyboard processing method, is characterized in that, comprising:
Service end receives the insertion symbol status query request that client sends;
Described service end obtains according to described insertion symbol status query request and inserts symbol status information;
Described insertion symbol status information is returned to described client by described service end, to make described client eject according to described insertion symbol status information or pack up dummy keyboard, and according to the described state change adjustment client view inserting symbol status information and described dummy keyboard.
7. method according to claim 6, is characterized in that, described symbol status information of inserting comprises: insert the current edit pattern of symbol and/or the concrete coordinate of described insertion symbol.
8. the method according to claim 6 or 7, is characterized in that, described service end obtains according to described insertion symbol status query request and inserts symbol status information, comprising:
Described service end inserts the current focus window inserting symbol of symbol status query request inquiry according to described;
Obtain the thread identification ID that described focus window is corresponding;
Obtain the thread information that described Thread Id is corresponding;
Inquire about the Caret attribute of described thread information, obtain the described concrete coordinate inserting current edit pattern and/or the described insertion symbol accorded with.
9. a dummy keyboard treating apparatus, is characterized in that, comprising: acquisition module, keyboard state control module and view rolling control module;
Described acquisition module, inserts symbol status query request to service end for sending, and after obtaining insertion symbol status information, described insertion symbol status information is returned to described acquisition module to make described service end according to described insertion symbol status query request;
Described keyboard state control module, for ejecting according to described insertion symbol status information or pack up dummy keyboard;
Described view rolling control module, for adjusting client view according to described state change of inserting symbol status information and described dummy keyboard.
10. device according to claim 9, is characterized in that, described symbol status information of inserting comprises: insert the current edit pattern of symbol and the concrete coordinate of described insertion symbol.
11. devices according to claim 10, is characterized in that, also comprise:
First views module, for send insertion symbol status query request to service end at described acquisition module before, receives user operation instruction.
12. devices according to claim 10, is characterized in that, also comprise:
Second views module, for send insertion symbol status query request to service end at described acquisition module before, receives the trigger command that user triggers the pre-ejection state of opening dummy keyboard;
Described second views module is also for being set to eject state in advance by described dummy keyboard according to described trigger command;
Described second views module is also for receiving the operational order of user.
13. devices according to claim 11 or 12, it is characterized in that, described acquisition module comprises: keyboard state control module and insert symbol state acquisition module;
Described first views module or the second views module are also for sending Keyboard Control request to described keyboard state control module according to described user operation instruction;
Described keyboard state control module, after receiving described Keyboard Control request, sends to described insertion symbol state acquisition module and inserts symbol status query request;
Described insertion symbol state acquisition module, for described insertion symbol status query request is sent to service end, after obtaining insertion symbol status information to make described service end according to described insertion symbol status query request, described insertion symbol status information is returned to described insertion symbol state acquisition module.
14. 1 kinds of dummy keyboard treating apparatus, is characterized in that, comprising:
Receiver module, for receiving the insertion symbol status query request that client sends;
Acquisition module, inserts symbol status information for obtaining according to described insertion symbol status query request;
Sending module, for described insertion symbol status information is returned to described client, to make described client eject according to described insertion symbol status information or pack up dummy keyboard, and according to the described state change adjustment client view inserting symbol status information and described dummy keyboard.
15. devices according to claim 14, is characterized in that, described symbol status information of inserting comprises: insert the current edit pattern of symbol and/or the concrete coordinate of described insertion symbol.
16. devices according to claims 14 or 15, is characterized in that, described acquisition module specifically for:
The current focus window inserting symbol of symbol status query request inquiry is inserted according to described;
Obtain the thread identification ID that described focus window is corresponding;
Obtain the thread information that described Thread Id is corresponding;
Inquire about the Caret attribute of described thread information, obtain the described concrete coordinate inserting current edit pattern and/or the described insertion symbol accorded with.
CN201310430828.6A 2013-09-18 2013-09-18 Virtual keyboard processing method and device Pending CN104461272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310430828.6A CN104461272A (en) 2013-09-18 2013-09-18 Virtual keyboard processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310430828.6A CN104461272A (en) 2013-09-18 2013-09-18 Virtual keyboard processing method and device

Publications (1)

Publication Number Publication Date
CN104461272A true CN104461272A (en) 2015-03-25

Family

ID=52907418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310430828.6A Pending CN104461272A (en) 2013-09-18 2013-09-18 Virtual keyboard processing method and device

Country Status (1)

Country Link
CN (1) CN104461272A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484382A (en) * 2015-08-31 2017-03-08 阿里巴巴集团控股有限公司 The method and apparatus that a kind of bullet frame shows
CN107340886A (en) * 2017-08-04 2017-11-10 腾讯科技(深圳)有限公司 A kind of soft keyboard state determines method, apparatus, medium and terminal
CN109783165A (en) * 2017-11-14 2019-05-21 财团法人工业技术研究院 Based on the mobile communications device and its input method switching method for virtualizing mobile framework
CN113805718A (en) * 2020-06-16 2021-12-17 英业达科技有限公司 System and method for controlling read-write attribute to avoid popping up virtual keyboard

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102549A1 (en) * 2010-10-06 2012-04-26 Citrix Systems, Inc. Mediating resource access based on a physical location of a mobile device
US20120127206A1 (en) * 2010-08-30 2012-05-24 Vmware, Inc. Multi-touch interface gestures for keyboard and/or mouse inputs
CN102902471A (en) * 2011-07-29 2013-01-30 ***通信集团公司 Input interface switching method and input interface switching device
CN102918490A (en) * 2010-04-01 2013-02-06 思杰***有限公司 Interacting with remote applications displayed within a virtual desktop of a tablet computing device
CN103168325A (en) * 2010-10-05 2013-06-19 西里克斯***公司 Display management for native user experiences

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102918490A (en) * 2010-04-01 2013-02-06 思杰***有限公司 Interacting with remote applications displayed within a virtual desktop of a tablet computing device
US20120127206A1 (en) * 2010-08-30 2012-05-24 Vmware, Inc. Multi-touch interface gestures for keyboard and/or mouse inputs
CN103168325A (en) * 2010-10-05 2013-06-19 西里克斯***公司 Display management for native user experiences
US20120102549A1 (en) * 2010-10-06 2012-04-26 Citrix Systems, Inc. Mediating resource access based on a physical location of a mobile device
CN102902471A (en) * 2011-07-29 2013-01-30 ***通信集团公司 Input interface switching method and input interface switching device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484382A (en) * 2015-08-31 2017-03-08 阿里巴巴集团控股有限公司 The method and apparatus that a kind of bullet frame shows
CN106484382B (en) * 2015-08-31 2019-06-21 阿里巴巴集团控股有限公司 A kind of method and apparatus for playing frame and showing
CN107340886A (en) * 2017-08-04 2017-11-10 腾讯科技(深圳)有限公司 A kind of soft keyboard state determines method, apparatus, medium and terminal
CN109783165A (en) * 2017-11-14 2019-05-21 财团法人工业技术研究院 Based on the mobile communications device and its input method switching method for virtualizing mobile framework
CN109783165B (en) * 2017-11-14 2022-03-29 财团法人工业技术研究院 Mobile communication device based on virtual mobile architecture and input method switching method thereof
CN113805718A (en) * 2020-06-16 2021-12-17 英业达科技有限公司 System and method for controlling read-write attribute to avoid popping up virtual keyboard

Similar Documents

Publication Publication Date Title
CN106503584B (en) A kind of session content methods of exhibiting and system
CN102811184B (en) Sharing method, terminal, server and system for custom emoticons
CN105094628A (en) Screen capture method and electronic device
CN103186671B (en) For searching method, the search system and mobile terminal of mobile terminal
CN103488473A (en) Managing system and managing method for application program of mobile terminal
CN104461272A (en) Virtual keyboard processing method and device
CN104216905A (en) Application sharing method and device
CN106155675A (en) The page switching method of application program and device
CN105847367A (en) Service request processing method and apparatus
CN104380769A (en) Information reminding method, apparatus, and electronic terminal
CN113259222B (en) Message processing method and device and electronic equipment
CN104469717B (en) Note transmission method and device
CN110019058B (en) Sharing method and device for file operation
CN104834437A (en) Split screen operating method and terminal
CN104796487A (en) Social interaction method and related equipment
CN107301013A (en) Terminal screenshotss method and device
CN105635519A (en) Video processing method, device and system
CN105471935A (en) Information prompting method and information prompting device
CN105631970A (en) One-button type information sharing method and system based on automobile data recorder
CN102306084A (en) Method and device for managing application programs
CN104378406A (en) Information push method and device
CN105376401A (en) Information processing method and device and electronic device
CN104618364A (en) Information processing method, electronic device and server
CN104615531A (en) Statistical method for accumulated terminal using duration time and network system
CN105487769B (en) Media file display method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
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: 20150325