CN102413139A - Method and system for remotely inputting characters - Google Patents

Method and system for remotely inputting characters Download PDF

Info

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
server
client
coding information
character coding
rdp
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
CN2011103804326A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011103804326A priority Critical patent/CN102413139A/en
Publication of CN102413139A publication Critical patent/CN102413139A/en
Priority to PCT/CN2012/076995 priority patent/WO2013075477A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use 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

Method and system for remotely inputting characters
Technical Field
The invention relates to the technical field of remote, in particular to a method and a system for remotely inputting characters.
Background
The Remote Desktop (Remote Desktop) is used for pulling the Desktop of a host (Server) to a Remote place, displaying the Desktop on the screen of a Client (Client), and operating the Server by using the Client to achieve the effect and user experience same as the local use of the Server.
The realization method of the remote desktop generally comprises the steps of performing screen capture at a Server, performing appropriate processing, such as cutting and compression, on an obtained picture, transmitting the picture to a Client by using a network, decompressing and splicing the picture at the Client, and the like so as to restore the whole desktop. Thus, a user sitting in front of the Client can directly operate and use the remote Server machine, and feel as if sitting in front of the Server machine.
A variation of the remote Desktop is called Visual Desktop, which is a virtual Desktop. The biggest difference between the Visual Desktop and the Remote Desktop is that the Desktop displayed by the Visual Desktop is not a real Desktop but a virtual Desktop generated by a program, and the Desktop is probably spliced by partial applications of several servers; but the client is unaware of this and it is only displayed as a real desktop; many companies today have their own remote desktop technology, and what we know is RDP, SPICE, VNC. These techniques are all very different and can be finally summarized in the above implementation methods.
At present, the working schematic of character input in a Personal Computer (PC) refers to fig. 1, the PC intercepts a keyboard message input by a user, and sends the message to a local input method, and the local input method converts the keyboard message into character coding information and sends the character coding information to an application program; thus, the application can display the Chinese characters.
In a remote desktop environment, such as a PC to PC remote desktop input, the working schematic thereof is with reference to FIG. 2; the implementation of inputting text to a remote Server is generally as follows:
client (PC1) intercepts own keyboard message and sends the message to Server (PC 2);
the Server receives the keyboard message and processes it according to the local (local refers to the Server end) keyboard message;
the local keyboard message is actually sent to a local input method, and the local input method converts the keyboard message into character coding information;
the local input method sends the character coding information to the application program; thus, the application can display the Chinese characters.
This process differs from the native keypad entry only in that the keypad message is from the network and is sent from the Client.
The process has the further characteristic that the input actually uses the local input method of the Server terminal, not the input method of the Client terminal, but the input process has no relationship with the input method of the Client terminal.
In a PC-to-PC remote desktop environment, input is not a big problem because the Client also has a full keyboard. However, in recent years, with the appearance and popularization of various terminals, especially many non-PC terminals, such as smart phones, tablets and other devices, remote desktop clients have also spread to these terminals; however, the remote desktops on these terminals are not so easy to implement for input; many mobile phones and tablets have no keyboard or have no complete keyboard, on the contrary, many smart phones, tablets and other devices are equipped with quite good touch screens, and very convenient input methods such as full-screen handwriting input methods are installed; the working schematic of the current remote desktop input method from the touch screen device to the PC is shown in FIG. 3; remote input is typically implemented as follows:
calling an input method at a touch screen device (client) and switching to English input;
using a touch screen, and dotting English letters on the screen;
the input method of the touch screen equipment can convert the English letters into keyboard messages;
the RDP client intercepts the keyboard messages and sends the keyboard messages to a PC (server);
the PC receives the message and processes the message according to the local (local Server end) keyboard message;
the local keyboard message is actually sent to a local input method, and the local input method converts the keyboard message into character coding information;
the local input method sends the character coding information to the application program; thus, the application can display the Chinese characters.
The method is characterized in that the local input method of the Server terminal is actually used, but not the input method of the Client terminal; only the input process has a little relationship with the input method of the Client terminal, if the terminal does not have the English input methods, the keyboard cannot be simulated completely;
the method only uses the simplest function of the client input method, and uses the English input method to simulate a keyboard; however, in the terminal, there are many well-used input methods, such as a well-used touch screen full-screen handwriting input method, a well-used pinyin input method, and the like, which can input chinese characters, english, and the like, but are not fully utilized.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method and a system for inputting characters remotely, which can make full use of the character input method of the client to realize the remote character input.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method of remotely inputting text, the method comprising:
the client converts characters input by a user into character coding information and sends the character coding information to the server;
and after receiving the character coding information, the server decodes and displays the corresponding characters.
Further, the method further comprises:
the client is communicated with the server.
Wherein, the mutual intercommunication of the client and the server is as follows:
the client communicates with the server over an IP network using Remote Desktop Protocol (RDP).
The client side and the server side send the character coding information to the server side are as follows:
and the client sends the text coding information to the server through an expansion Channel Ime Channel of the pre-established RDP.
After receiving the character coding information, the server decodes and displays corresponding characters as follows:
and the server receives the character coding information through an Ime Channel of the pre-established RDP, and decodes and displays the character coding information through an application program.
A system for remotely inputting text, the system comprising: a client and a server; wherein,
the client is used for converting characters input by a user into character coding information and sending the character coding information to the server;
and the server is used for receiving the character coding information, decoding and displaying corresponding characters.
Wherein, the client is communicated with the server.
The client is specifically configured to communicate with the server through an IP network by using RDP.
The client is specifically configured to send the text coding information to the server through an Ime Channel of a pre-established RDP.
The server is specifically configured to receive the text coding information through an Ime Channel of a pre-established RDP, and decode and display the text coding information through an application program.
The invention converts the characters input by the user on the client into the character coding information, sends the character coding information to the remote server, and further displays the characters, can fully utilize the character input method of the client, such as a full-screen handwriting input method, and the like, and inputs the Chinese characters to the remote server, thereby improving the user experience.
Drawings
FIG. 1 is a schematic diagram of a conventional PC input method;
FIG. 2 is a schematic diagram of a conventional PC-to-PC remote desktop input method;
FIG. 3 is a schematic diagram of a conventional remote desktop input method from a touch screen device to a PC;
FIG. 4 is a schematic flow chart illustrating an implementation of the method for inputting words remotely according to the present invention;
FIG. 5 is a schematic diagram of a system for remote text input according to the present invention;
fig. 6 is a schematic diagram of a working process of a method for inputting words remotely according to an embodiment of the present invention.
Detailed Description
The basic idea of the invention is as follows: the client converts characters input by a user into character coding information and sends the character coding information to the server; and after receiving the character coding information, the server decodes and displays the corresponding characters.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings by way of examples.
Fig. 4 shows a flow of implementing the method for inputting words remotely according to the present invention, and as shown in fig. 4, the method includes the following steps:
step 401, the client converts the characters input by the user into character coding information and sends the character coding information to the server;
specifically, the client communicates with the server via an IP network by using RDP, where the IP network may be a Wireless network data channel, such as GPRS, WIFI, Wireless local area network Authentication and Privacy Infrastructure (WAPI), and the like; the server establishes an extended Channel Ime Channel of the RDP, the client starts the RDP client and opens the Ime Channel;
the client side intercepts and captures keyboard messages input by a user according to a local input method, converts the keyboard messages into character coding information which can be specifically represented by Unicode, and then sends the character coding information to the server side through an Ime Channel of the RDP.
And 402, after receiving the character coding information, the server side decodes and displays corresponding characters.
And the server receives the character coding information through an Ime Channel of a pre-established RDP, and decodes and displays the character coding information through an application program.
The present invention further provides a system for remotely inputting characters, wherein the structure of the system for remotely inputting characters is specifically shown in fig. 5, and the system comprises: a client and a server; the client may specifically be a touch device, and the server may specifically be a PC;
the client is used for converting characters input by a user into character coding information and sending the character coding information to the server;
and the server is used for receiving the character coding information, decoding and displaying corresponding characters.
Further, the client side and the server side are communicated with each other.
The client is specifically configured to communicate with the server through an IP network by using RDP.
Further, the client is specifically configured to send the text coding information to the server through an Ime Channel of the pre-established RDP.
The server is specifically configured to receive the text coding information through an Ime Channel of a pre-established RDP, and decode and display the text coding information through an application program.
The following describes the working process of the embodiment of the method for inputting words remotely according to the present invention with reference to fig. 6 in further detail by using an embodiment:
step one, establishing an RDP extension channel at a server, specifically using a WTSVirtualChannelOpen function, in this embodiment, the name of the extension channel is defined as "IMECHNL";
the server may be a PC with a Microsoft Windows XP system.
Step two, opening an extended channel IMECHNL at the client, wherein the IMECHNL can be realized by using a VirtualChannelOpen function;
the client specifically can be a touch device with an Android system; and after the second step, the Android touch device can be connected with the RDP Server by using the RDP Client program, the desktop of the PC with the Microsoft Windows XP system can be seen on the Android device, and the following operations can be performed.
Step three, the client intercepts and captures Chinese input by an input method according to a touch message input by a user through an input connection object, and converts the Chinese input into character coding information;
the specific method comprises the following steps: 1, defining an InputConnection class, inheriting from a BaseInputConnection class, and overloading a commitText function in the class, wherein the concrete implementation is as follows:
Figure BDA0000112420660000061
Figure BDA0000112420660000071
2, reloading onCreateInputConnection function of View, and returning the defined InputConnection object in the function;
public InputConnection onCreateInputConnection(EditorInfo outAttrs){
return new MyInputConnection(this);
}
step four, the RDP client of the client sends the converted character coding information to the server through the RDP extended channel IMECHNL;
specifically, the commattext function is reloaded, and the function can be automatically called by an Android system when the input method inputs Chinese; utilizing a WTSVirttulChannelWrite function when sending information; the sent information is character coding information, and specifically can be a character string of Unicode coding;
step five, the server receives the character coding information from the RDP expansion channel; specifically, the VirtualChannelRead function may be used when receiving data;
step six, the RDP server side of the server side sends the received character coding information to the application program;
the specific method comprises the following steps: 1, obtaining a current window handle: HWND ═ getforegorund window ();
2, sending a message to the current window: SendMessage (hwnd, WM _ IME _ CHAR, 0x4e2d, 1);
wherein, the code demonstrates that a Unicode character is sent to the current window, and the code is 0x4e2d, namely the character is a 'middle' character; thus, the application program can display the input Chinese characters;
according to the method and the system, the client is taken as Android flat equipment as an example; it will be appreciated that in practice the method of the invention may be used with other similar apparatus.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A method for remotely inputting text, the method comprising:
the client converts characters input by a user into character coding information and sends the character coding information to the server;
and after receiving the character coding information, the server decodes and displays the corresponding characters.
2. The method of claim 1, further comprising:
the client is communicated with the server.
3. The method of claim 2, wherein the client and the server communicate with each other as follows:
the client side is communicated with the server side through an IP network by using a remote desktop protocol RDP.
4. The method of claim 1, wherein the client sending the text encoding information to the server is:
and the client sends the text coding information to the server through an expansion Channel Ime Channel of the pre-established RDP.
5. The method of claim 1, wherein after receiving the text encoding information, the server decodes and displays the corresponding text as:
and the server receives the character coding information through an Ime Channel of the pre-established RDP, and decodes and displays the character coding information through an application program.
6. A system for remotely inputting text, the system comprising: a client and a server; wherein,
the client is used for converting characters input by a user into character coding information and sending the character coding information to the server;
and the server is used for receiving the character coding information, decoding and displaying corresponding characters.
7. The system of claim 6, wherein the client and the server communicate with each other.
8. The system according to claim 7, characterized in that said client is specifically adapted to communicate with said server via an IP network using RDP.
9. The system of claim 6, wherein the client is specifically configured to send the text coding information to the server via an Ime Channel of a pre-established RDP.
10. The system of claim 6, wherein the server is specifically configured to receive the text encoded information through an Ime Channel of a pre-established RDP, and decode and display the text encoded information through an application program.
CN2011103804326A 2011-11-25 2011-11-25 Method and system for remotely inputting characters Pending CN102413139A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838375B (en) * 2014-02-28 2017-12-29 深信服科技股份有限公司 Terminal input method and terminal

Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
CN102395012B (en) Using the method for the shared video screen RTV remote television of mobile phone, system and mobile phone
CN1867012B (en) Method for remote controlling computer based on intelligent mobile phone platform
CN103024503B (en) System and method for achieving remote control through mobile communication equipment terminal
US11451619B2 (en) App remote control method and related devices
CN104978156B (en) Multi-screen display method and multi-screen display processing device
CN105493621B (en) Terminal, server and terminal control method
WO2018107717A1 (en) Method and system for mitigating feeling of lag of mouse cursor action in kvm system
CN1613045B (en) Personal computer system based on wireless man machine interacting device and its data transmitting method
KR101596505B1 (en) Apparatus and method of an user interface in a multimedia system
KR20120137396A (en) Method, apparatus and client device for displaying expression information
CN103838375B (en) Terminal input method and terminal
CN102413139A (en) Method and system for remotely inputting characters
CN102646031A (en) Method for controlling large screen to display contents by mobile terminal
CN112231017B (en) Virtual keyboard and mouse method and device compatible with Android running environment running on Linux
EP1902378A1 (en) A method and system of computer remote control that optimized for low bandwidth network and low level personal communication terminal device
CN103313140A (en) Television receiving terminal, text information input method and system thereof and mobile terminal
CN102968190A (en) Local input method mapping device and method based on remote application
CN103513858A (en) Remote assistance method and device
CN102932791A (en) Method for collaboratively processing information through WIFI wireless network between smart phone and computer
CN102905250B (en) The method, system and device of remote assistance between mobile terminal
CN105262880A (en) Mobile phone control demonstration system applied to WiFi network
CN113617020B (en) Game control method, game control device, storage medium, server and terminal
CN101587373B (en) Method, system and device for displaying input information
CN104023057A (en) Data sharing method and data sharing system
CN101296375A (en) Method, system and terminal for implementing remote desktop demonstration

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