CN102413139A - Method and system for remotely inputting characters - Google Patents
Method and system for remotely inputting characters Download PDFInfo
- Publication number
- CN102413139A CN102413139A CN2011103804326A CN201110380432A CN102413139A CN 102413139 A CN102413139 A CN 102413139A CN 2011103804326 A CN2011103804326 A CN 2011103804326A CN 201110380432 A CN201110380432 A CN 201110380432A CN 102413139 A CN102413139 A CN 102413139A
- Authority
- CN
- China
- Prior art keywords
- client
- service end
- code information
- literal code
- input
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Input From Keyboards Or The Like (AREA)
- Document Processing Apparatus (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and system for remotely inputting characters. The method comprises the following steps that: a client converts characters input by a user into character encoded information and sends the character encoded information to a server; and the server receives the character encoded information and decodes and displays the corresponding characters. According to the method, the character input by the user on the client are converted into the character encoded information and the character encoded information is sent to the remote server for displaying the characters; therefore, a character input method of the client, such as a full-screen handwriting input method and the like, can be fully used to remotely input the characters; and the user experience is enhanced.
Description
Technical field
The present invention relates to the remote technology field, relate in particular to a kind of long-range method for inputting characters with great and system.
Background technology
Remote desktop (Remote Desktop) is to move the desktop of a main frame (Server) to long-range, on the screen of a client computer (Client), shows, utilizes Client to operate Server, reaches to follow to use the same effect and the user experience of Server in this locality.
The implementation method of remote desktop generally all is to carry out screenshotss at Server, suitably handles the picture that obtains; Such as cutting, compression; Utilize network that picture is passed to Client then, picture is carried out operations such as decompress(ion), splicing at Client, so that reduce whole desktop.Like this, the user is sitting in the Client front, just can use long-range Server machine by direct control, feels just the same as being sitting in Server machine front.
A kind of distortion of remote desktop is Visual Desktop, i.e. virtual desktop.Visual Desktop with the maximum differential of Remote Desktop is exactly; The desktop that Visual Desktop shows in client computer; Not being a real desktop, is a virtual desktop that is generated by program, and this desktop might be that the certain applications by several Server are spliced into; But client computer is not known this thing, and it just thinks that a real desktop shows; At present a lot of companies all have own remote desktop technological, and we know has RDP, SPICE, VNC.These technology are all similar, can both sum up in the point that on the above-mentioned implementation method at last.
At present, the work signal of personal computer (PC) Chinese words input is with reference to Fig. 1, and PC intercepts and captures the keyboard message of user's input, issues local input method to this message, and local input method becomes literal code information to the keyboard message conversion again, and issues application program; Application program just can show Chinese character like this.
In the remote desktop environment, when importing to the remote desktop of PC like PC, its work signal is with reference to Fig. 2; Realization to long-range Server input characters generally all is following method:
Client (PC1) intercepts and captures the keyboard message of oneself, issues Server (PC2) to this message;
Server receives this keyboard message, presses local (this locality refers to the Server end) keyboard Message Processing to it;
In fact local keyboard message issued local input method, and local input method becomes literal code information to the keyboard message conversion again;
Local input method is issued application program to literal code information; Application program just can show Chinese character like this.
This process is followed in local kbhit input and is had only a difference, is exactly that keyboard message is come automatic network, sends from Client.
This process also has characteristics, and what in fact input was used exactly is that Server holds local input method, the input method of the Client that is not to use end, and its input process, the input method with the Client end a bit concerns all do not have in fact.
In the remote desktop environment of PC, input is not a big problem, because Client also has complete keyboard at PC.But in the last few years, along with the appearance at various terminals with popularize, the terminal of a lot of non-PCs particularly, such as the appearance of equipment such as smart mobile phone, Tablet, the remote desktop client also spreads on these terminals; Yet the remote desktop on these terminals will be realized input, is not so easy just; A lot of mobile phones, Tablet do not have keyboard, perhaps do not have complete keyboard, on the contrary, equipment configurations such as a lot of smart mobile phones and Tablet the touch-screen of fairly good usefulness, input method has been installed very easily such as full frame hand-writing input method etc.; Touch panel device is illustrated with reference to Fig. 3 to the work of the remote desktop input method of PC at present; General all is the long-range input that realizes like this:
Access input method at touch panel device (client), switch to English input;
Use touch-screen, on screen, put English alphabet;
The touch panel device input method can convert these English alphabets to keyboard message;
The RDP client is intercepted and captured these keyboard message, issues PC (service end) to these message;
PC receives this message, presses local (this locality refers to the Server end) keyboard Message Processing to it;
In fact local keyboard message issued local input method, and local input method becomes literal code information to the keyboard message conversion again;
Local input method is issued application program to literal code information; Application program just can show Chinese character like this.
The characteristics of this method, what equally in fact use is the local input method of Server end, the input method of the Client that is not to use end; Its input process just has some relation with the input method of Client end, does not have these English input methods as if on this kind terminal, then fully cannot simulating keyboard;
This method has only been used the simplest function of client input method, uses English input method to come simulating keyboard; But in fact, a lot of useful input methods are arranged on this terminal, such as the full frame hand-writing input method of useful touch-screen, useful spelling input method or the like, these input methods can be imported Chinese character or English etc., but are not fully utilized.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of long-range method for inputting characters with great and system, and the character input method that can make full use of client is realized the input of remote characters.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of long-range method for inputting characters with great, said method comprises:
Client is a literal code information with the text conversion of user's input, and said literal code information is sent to service end;
After service end receives said literal code information, decode and show corresponding literal.
Further, said method also comprises:
Client and service end are interconnected.
Wherein, said client and service end be interconnected into:
Client utilizes RDP (RDP) to be interconnected through IP network and service end.
Wherein, said client and said literal code information is sent to service end be:
Client sends to service end through the extended channel Ime Channel of the RDP that sets up in advance with literal code information.
Wherein, after said service end receives said literal code information, decode and show that corresponding literal is:
Service end receives said literal code information through the Ime Channel of the RDP that sets up in advance, and said literal code information is decoded and shows through application program.
A kind of system of long-range input characters, said system comprises: client and service end; Wherein,
Said client, the text conversion that is used for user's input is a literal code information, and said literal code information is sent to service end;
Said service end is used to receive said literal code information, decodes and shows corresponding literal.
Wherein, said client and service end are interconnected.
Wherein, said client specifically is used to utilize RDP to be interconnected through IP network and said service end.
Wherein, said client specifically is used for through the Ime Channel of the RDP that sets up in advance literal code information being sent to service end.
Wherein, said service end specifically is used for receiving said literal code information through the Ime Channel of the RDP that sets up in advance, and said literal code information is decoded and shows through application program.
The present invention is a literal code information through the text conversion that the user is imported on client; Literal code information is sent to long-range service end; And then carry out literal and show; Can make full use of character input method such as full frame hand-writing input method of client etc.,, promote user experience to long-range input Chinese character.
Description of drawings
Fig. 1 is the work sketch map of existing P C input method;
Fig. 2 is the work sketch map of existing PC to the remote desktop input method of PC;
Fig. 3 is the work sketch map of existing touch panel device to the remote desktop input method of PC;
Fig. 4 is the realization flow sketch map of the long-range method for inputting characters with great of the present invention;
Fig. 5 is the structural representation of the system of the long-range input characters of the present invention;
Fig. 6 is the course of work sketch map of the specific embodiment of the long-range method for inputting characters with great of the present invention.
Embodiment
Basic thought of the present invention is: client is a literal code information with the text conversion of user's input, and said literal code information is sent to service end; After service end receives said literal code information, decode and show corresponding literal.
For making the object of the invention, technical scheme and advantage clearer, below lift embodiment and with reference to accompanying drawing, to further explain of the present invention.
Fig. 4 shows the realization flow of the long-range method for inputting characters with great of the present invention, and is as shown in Figure 4, and said method comprises the steps:
Particularly; Client utilizes RDP to be interconnected through IP network and service end; Here, said IP network can be for the wireless network data passage, like GPRS; Also can be WIFI, WLAN authentication and privacy infrastructure (Wireless LAN Authentication and Privacy Infrastructure, WAPI) etc.; Wherein, service end is set up the extended channel Ime Channel of RDP, and client terminal start-up RDP client is opened Ime Channel;
Client is intercepted and captured the keyboard message of user according to local input method input, and is converted into literal code information, specifically can be for Unicode represent, and the Ime Channel through said RDP sends to service end with literal code information then.
After step 402, service end receive said literal code information, decode and show corresponding literal.
Wherein, service end receives said literal code information through the Ime Channel of the RDP that sets up in advance, and said literal code information is decoded and shows through application program.
The present invention also provides a kind of system of long-range input characters, and the structure of the system of said long-range input characters is specifically as shown in Figure 5, comprising: client and service end; Wherein, said client specifically can be touch apparatus, and said service end specifically can be PC;
Said client, the text conversion that is used for user's input is a literal code information, and said literal code information is sent to service end;
Said service end is used to receive said literal code information, decodes and shows corresponding literal.
Further, said client and service end are interconnected.
Wherein, said client specifically is used to utilize RDP to be interconnected through IP network and said service end.
Further, said client specifically is used for through the Ime Channel of the RDP that sets up in advance literal code information being sent to service end.
Wherein, said service end specifically is used for receiving said literal code information through the Ime Channel of the RDP that sets up in advance, and said literal code information is decoded and shows through application program.
The course of work below in conjunction with the specific embodiment of scheming the long-range method for inputting characters with great of the present invention shown in Fig. 6 further is elaborated through a specific embodiment:
Step 1 is set up the RDP extended channel in service end, specifically can use the WTSVirtualChannelOpen function, and in the present embodiment, the definition of name of said extended channel is " IMECHNL ";
Wherein, said service end specifically can be for having the PC of Microsoft Windows XP system.
Step 2 is opened extended channel " IMECHNL " in client, specifically can use the VirtualChannelOpen function to realize;
Wherein, said client specifically can be for having the touch apparatus of Android system; After the step 2, promptly can use RDP Client program to connect RDP Server on the Android touch apparatus, on Android equipment, just can see the desktop of the PC with Microsoft Windows XP system, can carry out following operation.
Step 3, client connects (InputConnection) object through input, intercepts and captures the Chinese of input method according to the touch message input of user's input, and converts literal code information into;
Concrete grammar is: 1, and definition InputConnection class is inherited from the BaseInputConnection class, in this type, heavily loaded commitText function, the concrete realization as follows:
2, the onCreateInputConnection function of heavily loaded View returns the InputConnection object of above-mentioned definition at this function;
public?InputConnection?onCreateInputConnection(EditorInfo?outAttrs){
return?new?MyInputConnection(this);
}
Step 4, the RDP client of client is issued service end being converted to literal code information through RDP extended channel IMECHNL;
Concrete, above-mentioned heavy duty the commitText function, this function can be called by the Android system in input method input Chinese automatically; Utilize the WTSVirtualChannelWrite function during transmission information; The information of sending is literal code information, specifically can be the character string of Unicode coding;
Step 5, service end receives literal code information from the RDP extended channel; Can use the VirtualChannelRead function when particularly, receiving data;
Step 6, the RDP service end of service end is issued application program with the literal code information of receiving;
Concrete grammar is following: 1, obtain the current window handle: HWND hwnd=GetForegroundWindow ();
2, send out message to current window: SendMessage (hwnd, WM_IME_CHAR, 0x4e2d, 1);
Wherein, above-mentioned code has been demonstrated to current window and has been sent out a Unicode character, and coding is 0x4e2d, be " in " word; Like this, application program just can demonstrate the Chinese words of input;
Method and system of the present invention are example with the client for the Android flat-panel devices; Should be appreciated that method in fact of the present invention also can be used for other similar equipment.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.
Claims (10)
1. a long-range method for inputting characters with great is characterized in that, said method comprises:
Client is a literal code information with the text conversion of user's input, and said literal code information is sent to service end;
After service end receives said literal code information, decode and show corresponding literal.
2. method according to claim 1 is characterized in that, said method also comprises:
Client and service end are interconnected.
3. method according to claim 2 is characterized in that, said client and service end be interconnected into:
Client utilizes RDP RDP to be interconnected through IP network and service end.
4. method according to claim 1 is characterized in that, said client also sends to service end with said literal code information and is:
Client sends to service end through the extended channel Ime Channel of the RDP that sets up in advance with literal code information.
5. method according to claim 1 is characterized in that, after said service end receives said literal code information, decodes and shows that corresponding literal is:
Service end receives said literal code information through the Ime Channel of the RDP that sets up in advance, and said literal code information is decoded and shows through application program.
6. the system of a long-range input characters is characterized in that, said system comprises: client and service end; Wherein,
Said client, the text conversion that is used for user's input is a literal code information, and said literal code information is sent to service end;
Said service end is used to receive said literal code information, decodes and shows corresponding literal.
7. system according to claim 6 is characterized in that said client and service end are interconnected.
8. system according to claim 7 is characterized in that, said client specifically is used to utilize RDP to be interconnected through IP network and said service end.
9. system according to claim 6 is characterized in that, said client specifically is used for through the Ime Channel of the RDP that sets up in advance literal code information being sent to service end.
10. system according to claim 6 is characterized in that, said service end specifically is used for receiving said literal code information through the Ime Channel of the RDP that sets up in advance, and said literal code information is decoded and shows through application program.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103804326A CN102413139A (en) | 2011-11-25 | 2011-11-25 | Method and system for remotely inputting characters |
PCT/CN2012/076995 WO2013075477A1 (en) | 2011-11-25 | 2012-06-15 | Remote text inputting method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103804326A CN102413139A (en) | 2011-11-25 | 2011-11-25 | Method and system for remotely inputting characters |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102413139A true CN102413139A (en) | 2012-04-11 |
Family
ID=45914989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103804326A Pending CN102413139A (en) | 2011-11-25 | 2011-11-25 | Method and system for remotely inputting characters |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102413139A (en) |
WO (1) | WO2013075477A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067571A (en) * | 2012-12-12 | 2013-04-24 | 蓝盾信息安全技术股份有限公司 | Chinese input method of mobile terminal device to remote desktop |
WO2013075477A1 (en) * | 2011-11-25 | 2013-05-30 | 中兴通讯股份有限公司 | Remote text inputting method and system |
CN103902056A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Virtual keyboard input method, equipment and system |
CN105573518A (en) * | 2015-12-15 | 2016-05-11 | 上海贝锐信息科技有限公司 | Remote input method scheduling method and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838375B (en) * | 2014-02-28 | 2017-12-29 | 深信服科技股份有限公司 | Terminal input method and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1523865A (en) * | 2003-02-20 | 2004-08-25 | 英保达股份有限公司 | Remote information transmission method and system |
CN1980104A (en) * | 2005-12-09 | 2007-06-13 | 赵春良 | Wire-less character broadcasting system and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9716774B2 (en) * | 2008-07-10 | 2017-07-25 | Apple Inc. | System and method for syncing a user interface on a server device to a user interface on a client device |
CN102413139A (en) * | 2011-11-25 | 2012-04-11 | 中兴通讯股份有限公司 | Method and system for remotely inputting characters |
-
2011
- 2011-11-25 CN CN2011103804326A patent/CN102413139A/en active Pending
-
2012
- 2012-06-15 WO PCT/CN2012/076995 patent/WO2013075477A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1523865A (en) * | 2003-02-20 | 2004-08-25 | 英保达股份有限公司 | Remote information transmission method and system |
CN1980104A (en) * | 2005-12-09 | 2007-06-13 | 赵春良 | Wire-less character broadcasting system and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013075477A1 (en) * | 2011-11-25 | 2013-05-30 | 中兴通讯股份有限公司 | Remote text inputting method and system |
CN103067571A (en) * | 2012-12-12 | 2013-04-24 | 蓝盾信息安全技术股份有限公司 | Chinese input method of mobile terminal device to remote desktop |
WO2014089896A1 (en) * | 2012-12-12 | 2014-06-19 | 蓝盾信息安全技术股份有限公司 | Method for inputting chinese into remote desktop by mobile terminal device |
CN103902056A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Virtual keyboard input method, equipment and system |
CN103902056B (en) * | 2012-12-28 | 2018-02-23 | 华为技术有限公司 | Dummy keyboard input method, equipment and system |
CN105573518A (en) * | 2015-12-15 | 2016-05-11 | 上海贝锐信息科技有限公司 | Remote input method scheduling method and system |
Also Published As
Publication number | Publication date |
---|---|
WO2013075477A1 (en) | 2013-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103024503B (en) | System and method for achieving remote control through mobile communication equipment terminal | |
CN102395012B (en) | Using the method for the shared video screen RTV remote television of mobile phone, system and mobile phone | |
CN102968190B (en) | Based on local input method mapping device and the method for remote application | |
CN104683877A (en) | TV remote text input method | |
CN103313140B (en) | Television reception terminal and text information input method thereof and system, mobile terminal | |
CN102646031A (en) | Method for controlling large screen to display contents by mobile terminal | |
CN102413139A (en) | Method and system for remotely inputting characters | |
CN103841446B (en) | A kind of method and system operating TV valued added applications by mobile terminal | |
CN103838375B (en) | Terminal input method and terminal | |
CN101969470A (en) | Digital television receiving terminal text input method and digital television receiving terminal | |
CN103209203A (en) | Cross-platform application providing method and client | |
CN103281460A (en) | Method and system for remotely controlling displaying device by mobile terminal | |
CN101587373B (en) | Method, system and device for displaying input information | |
CN106354462A (en) | Method, equipment and system for synchronously displaying document in multiple equipment | |
CN104023057A (en) | Data sharing method and data sharing system | |
CN104166574A (en) | Interface display method and system | |
WO2021097892A1 (en) | Translation system, translation method, translation machine, and storage medium | |
CN112445346A (en) | Information input method, device, equipment and storage medium | |
WO2014089896A1 (en) | Method for inputting chinese into remote desktop by mobile terminal device | |
CN103200251A (en) | Method, system and device for picture transmission | |
CN107291834A (en) | A kind of data inputting method based on code-reading, equipment and terminal | |
CN106980553B (en) | Method and equipment for data transmission based on event | |
CN101546221A (en) | Method, device and system for data processing | |
CN104462220A (en) | Method and device for web page screen shot and code transmission | |
CN104703005A (en) | Set-top box control method, mobile device, and set-top box |
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: 20120411 |