CN104714634B - A kind of remote input method and system - Google Patents

A kind of remote input method and system Download PDF

Info

Publication number
CN104714634B
CN104714634B CN201310685325.3A CN201310685325A CN104714634B CN 104714634 B CN104714634 B CN 104714634B CN 201310685325 A CN201310685325 A CN 201310685325A CN 104714634 B CN104714634 B CN 104714634B
Authority
CN
China
Prior art keywords
input
android system
handheld device
control
remote
Prior art date
Application number
CN201310685325.3A
Other languages
Chinese (zh)
Other versions
CN104714634A (en
Inventor
邵起明
马历波
Original Assignee
奇点新源国际技术开发(北京)有限公司
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 奇点新源国际技术开发(北京)有限公司 filed Critical 奇点新源国际技术开发(北京)有限公司
Priority to CN201310685325.3A priority Critical patent/CN104714634B/en
Publication of CN104714634A publication Critical patent/CN104714634A/en
Application granted granted Critical
Publication of CN104714634B publication Critical patent/CN104714634B/en

Links

Abstract

The present invention provides a kind of remote input method and system, and for the remote input of the on-handheld device based on Android system, methods described includes:Step 101)After the control of the on-handheld device based on Android system obtains input request command, the on-handheld device is sent to client by request command is inputted;Step 102)Enter row information by client to input, the information of input is sent to the on-handheld device based on Android system;Step 103)The input information received is filled to the remote input for the input frame of the control, completing the on-handheld device based on Android system based on the on-handheld device of Android system.In a word, all remote inputs of on-handheld device can be solved the problems, such as using remote input method provided by the invention, particularly can not obtains control input frame in application(Such as WebView)And when needing to carry out remote input.

Description

A kind of remote input method and system

Technical field

It is android application fields the present invention relates to field, and in particular to a kind of remote input method and system.

Background technology

In mobile communication and built-in field, the share occupied by android is increasingly heavier, android application programs It is more and more.Rather than hand-held android equipment(Such as our car-mounted terminal product, television set etc.)Also it is more and more, increasingly It is popular.In the remote control of on-handheld device, character input is almost the problem do not walked around.And have for each The control of input demand, which enters line code, to be set or submits automatically the remote input content of user then very cumbersome and be not easy to concentrate Management.

For example in android application developments, WebView is more commonly used control.Android is provided WebView controls are provided with webpage demand and the application developer of multimedia show is called.At present almost more than percent 90 Android web are applied(Such as microblogging, wechat)Webview controls will be used.But due to encapsulation and security needs, Webview controls are the input frames that can not obtain WebView, when that can not obtain input frame:For possessing touch input work( Can handheld device enter row information input and be that by, and for on-handheld device, driven because no user touches, this Shi Zidong sets or submitted the remote input content of user can not just realize.

The content of the invention

It is an object of the present invention to overcome above mentioned problem, the present invention provides a kind of remote input method and system.

To achieve these goals, the invention provides a kind of remote input method, methods described to include:

Step 101)After the control of the on-handheld device based on Android system obtains input request command, the non-hand Holding equipment is sent to client by request command is inputted;

Step 102)Enter row information by client to input, the information of input is sent to based on the non-of Android system Handheld device;

Step 103)The input information received is filled to the control based on the on-handheld device of Android system Input frame, complete the remote input of the on-handheld device based on Android system.

Optionally, above-mentioned control is webview controls;The client is handheld device.

Above-mentioned steps 102)Comprising:Step 102-1)Client receives input information by user interface;Step 102-2) Input information is entered into edlin, then the content after editor is submitted to the backstage socket socket communication units of client;Step Rapid 102-3)Backstage socket communication units are sent information is inputted to the on-handheld device based on Android system.

The control of the above-mentioned on-handheld device based on Android system also includes after receiving input solicited message:Obtain one Input channel is related to the input frame of the control;The input channel is led to for the input frame of input method and the control The passage of letter;It is described the input information received is filled based on the on-handheld device of Android system it is defeated to the control Entering frame includes:Based on the on-handheld device of Android system by the input information received by the input channel fill to The input frame of the control.

The above-mentioned input channel of acquisition one is specially:From the android systems of the on-handheld device based on Android system An input channel is obtained in the multiple input channels carried of uniting.

In addition, present invention also offers a kind of remote input system, the system includes client and based on android system The on-handheld device of system;

The on-handheld device based on Android system includes:

Control, request command is inputted for obtaining;

Remote input method module, for sending the input request command of control acquisition, and the institute that will be received to client The input information for stating client transmission is filled and to the input frame of the control, completes the on-handheld device based on Android system Remote input;

The client, gone forward side by side row information input for receiving input request command, then the information of input sent to base In the on-handheld device of Android system.

Optionally, above-mentioned control is webview controls;The client is handheld device.

Above-mentioned client includes:Input module, for receiving input information by user interface;Editor module, for inciting somebody to action Input information enters edlin, then the content after editor is submitted to the backstage socket socket communication units of client;Send Module, the information for editor module output are sent to the on-handheld device based on Android system.

The above-mentioned on-handheld device based on Android system also includes:Passage acquisition module is logical for obtaining an input Road is related to the input frame of the control;The input channel is communicated logical for the input frame of input method and the control Road;

The remote input method module, specifically for sending the input request command of control acquisition to client, and it will connect The input information received is filled to the input frame of the control by the input channel, is completed based on the non-of Android system The remote input of handheld device.

Passage acquisition module described above is specifically used for, from the on-handheld device based on Android system An input channel is obtained in multiple input channels that Android system carries, it is related to the input frame of the control;The input The passage that passage is communicated for the input frame of input method and the control.

Compared with prior art, the technical advantages of the present invention are that:

Can solve the problems, such as all remote inputs of on-handheld device using remote input method provided by the invention, particularly Control input frame can not be obtained in application(Such as WebView)And when needing to carry out remote input.

Brief description of the drawings

Fig. 1-a are the implementation process figures of the remote input method of non-hand-held android terminal provided by the invention

Fig. 1-b are the specific implementation flow charts of the remote input method of non-hand-held android terminal provided by the invention;

Fig. 2-a are the composition frame charts of the remote input system of non-hand-held android terminal provided by the invention;

Fig. 2-b are the composition frame charts of client provided by the invention;

Fig. 3 is the schematic diagram of the remote input method of non-hand-held android terminal provided by the invention;

Fig. 4 is the realization principle figure of remote input method system provided in an embodiment of the present invention.

Embodiment

The present invention will be described in detail with specific embodiment below in conjunction with the accompanying drawings.

The embodiment of the present invention provides a kind of remote input method, implements step as shown in Fig. 1-a, including:

Step 101)After the control of the on-handheld device based on Android system obtains input request command, the non-hand Holding equipment is sent to client by request command is inputted;

Step 102)Enter row information by client to input, the information of input is sent to based on the non-of Android system Handheld device;

Step 103)The input information received is filled to the control based on the on-handheld device of Android system Input frame, complete the remote input of the on-handheld device based on Android system.It is above-mentioned non-hand-held based on Android system The control of equipment also includes after receiving input request command:

An input channel is obtained, it is related to the input frame of the control;The input channel is input method and the control The passage that is communicated of input frame;

It is described to be filled the input information received to the input of the control based on the on-handheld device of Android system Frame includes:The input information received is filled to institute by the input channel based on the on-handheld device of Android system State the input frame of control.

Optionally:Above steps realizes details as shown in Fig. 1-b:

Above-mentioned steps 101)Specially:When the on-handheld device based on Android system captures the input request of user During order, input channel is obtained, and input request command is sent to client.

Above-mentioned steps 102)Specially:It is defeated by the inputting interface of the client after client receives input request command Enter the content of information;Then input content is edited, and submits to the backstage socket soket communication units of client;Will editor Input information afterwards is encoded, and is transmitted to the on-handheld device based on Android system.

Above-mentioned steps 103)Specially:Will be defeated by the input channel of opening based on the on-handheld device of Android system Enter the input frame that information issues control, complete remote input.

In addition, present invention also offers a kind of remote input system, as shown in Fig. 2-a, 2-b, the system is used to be based on The remote input of the on-handheld device of Android system.The system includes:Client and the non-hand based on Android system Holding equipment.

The on-handheld device based on Android system includes:

Control, request command is inputted for obtaining;

Remote input method module, for sending the input request command of control acquisition, and the institute that will be received to client The input information for stating client transmission is filled and to the input frame of the control, completes the on-handheld device based on Android system Remote input.

The client, gone forward side by side row information input for receiving input request command, then the information of input sent to base In the on-handheld device of Android system.

The control is preferably webview controls;The client is preferably handheld device.

The client includes:

Input module, for receiving input information by user interface;

Editor module, for input information to be entered into edlin, then the content after editor is submitted to the backstage of client Socket socket communication units;

Sending module, the information for editor module output are sent to the on-handheld device based on Android system.

The on-handheld device based on Android system also includes:

Passage acquisition module is related to the input frame of the control for obtaining an input channel;The input channel is The passage that the input frame of input method and the control is communicated.

Accordingly, the remote input method module, the input request command specifically for sending control acquisition to client, And the input information received is filled to the input frame of the control, completion by the input channel and is based on android systems The remote input of the on-handheld device of system.

The passage acquisition module is specifically used for, from the android systems of the on-handheld device based on Android system An input channel is obtained in the multiple input channels carried of uniting, it is related to the input frame of the control;The input channel is defeated Enter the passage that the input frame of method and the control is communicated.

As shown in Fig. 2-b, above-mentioned client includes:Input module, for receiving input information by user interface;Editor Module, for input information to be entered into edlin, then the content after editor is submitted to the backstage socket sockets of client and led to Believe unit;Sending module, the information for editor module output are sent to the on-handheld device based on Android system.

The above-mentioned on-handheld device based on Android system also includes:Passage acquisition module is logical for obtaining an input Road is related to the input frame of the control;The input channel is communicated logical for the input frame of input method and the control Road;Module is filled, for the input received information to be filled to the input frame of the control.

In a word, the embodiment of the present invention provides a kind of remote input method, and specific implementation flow is:

The present embodiment realizes a special android input method according to Android system input method framework(I.e. without defeated Enter the information input of panel);

1st, target device(Namely based on Android system on-handheld device)There is input demand, such as user clicks on target The input frame of equipment.

2nd, the information that user inputs is entered into edlin, so as to realize the input content for receiving client in input service, As shown in figure 3, any of which is mounted with user input interface module and background communication module to wherein described client end Fig. 3 client can be turned into after android mobile phones.

Understand that the present invention should by installing remote input method on the on-handheld device based on Android system with reference to Fig. 3 Remote input is realized with program, is successfully overcome:The WebView controls of prior art, which are based on the reasons such as safety, does not have offer to obtain The method for taking input frame, cause remote input to be realized must change Android system but can not will apply be distributed to it is vast The technological deficiencies such as android user.

3rd, realize the submission of client remote input content, i.e., will send after the input information editing of handheld device input to Non- hand-held android equipment;And by realizing remote input positioned at the server end of non-hand-held android equipment;

Wherein, the client refers to contain user input interface module and background communication module in control terminal Client, the service end refers to contains background communication module and input method service in non-hand-held android equipment The server of module, and the input method service module is to be realized using the input channel opened in non-hand-held android equipment User inputs the remote input of information.

4th, input method service writes the content that client inputs by the Android system in non-hand-held android equipment In the input channel provided to input method, and the passage other end is then the destination for needing to input(Input frame etc.), such user The content of input can submit to any control, even if the control can not directly obtain input frame by code.

The present invention handles the input information that user will be inputted in non-hand-held android equipment by control terminal, so as to real Remote input is showed.I.e. user passes through client(The client, which can be located in hand-held android equipment, to be realized, the client End includes:User input interface and background communication module, as shown in Figure 4)Input content is submitted, and it is non-hand-held by running on In android equipment contain input method service module and the service end of background communication module sends input content to non-hand Any control in android equipment is held, finally realizes remote input.

The principle and content for each concrete implementation that the present invention is based on are as follows:

Input and realize positioned at the user interface of client:

(1)Customize User Interface, at least one user's input frame of addition, one " it is determined that " button, " cancellation " button;

(2)User's input content is obtained from input frame;

(3)User's input content is given to backstage soket to be transmitted.

Communication system in control terminal and non-hand-held android equipment is embodied as:

(1)Client soket realizes messaging and reception;

(2)Server end serversocket realizes message sink and transmission;

(3)The communication frame of definition between the two;Frame schematic diagram is as follows:

Frame_Length Version Message_Type Message_Length Message_Content Corresponding value Corresponding value Corresponding value Corresponding value Corresponding value

The each domain explanation of frame:

Byte is transmitted using large endian.

(4)Realize that the passage of connection is safeguarded(Such as heartbeat message)

The remote input method of Android system in non-hand-held android equipment is realized as shown in figure 4, being specially: (1)The user's input content for receiving and passing is extracted from serversocket;(2)Obtain system input channel inputconnection; (3)Content is submitted in purpose input frame by passage.

Above-mentioned input method part is not the input method on common meaning, and input method of the invention simply realizes input Method system framework, but without input method major parts such as user's input and dictionaries, therefore the remote input method of the present invention is by base In the on-handheld device of Android system as traditional input method so that input channel is submitted into it.

Program source code involved by above-mentioned remote input method is as follows:

In a word, although the present invention is encapsulated and shown with WebView webpage based on the equipment of Android system and without external The interface for obtaining input frame is provided, but provided to the acquiescence input method of the equipment based on Android system to input frame The passage of input content, thus it is of the invention by a simplest input method(Such as Fig. 1)It is arranged to android acquiescence input Method, when the input frame of the webView controls of the equipment based on Android system has input demand, based on android systems The equipment of system will call the input method of the present invention and give input channel to input method, by the input channel of opening, realize Remote input and automatic setting and submission input content give any webpage.The remote input method that the present invention realizes can tackle non-hand Hold android equipment(Such as car-mounted terminal)Nearly all input demand.

It should be noted last that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted.Although ginseng The present invention is described in detail according to embodiment, it will be understood by those within the art that, to the technical side of the present invention Case is modified or equivalent substitution, and without departure from the spirit and scope of technical solution of the present invention, it all should cover in the present invention Right among.

Claims (10)

  1. A kind of 1. remote input method, it is characterised in that methods described includes:
    It is logical to obtain input after the control of the on-handheld device based on Android system obtains input request command for step 101) Road, the on-handheld device are sent to client by request command is inputted;The input channel is the input frame of input method and control The passage to be communicated;
    Step 102) is entered row information by client and inputted, and the information of input is sent to non-hand-held based on Android system Equipment;
    Step 103) is filled the input information received to the input of the control based on the on-handheld device of Android system Frame, complete the remote input of the on-handheld device based on Android system;
    One input method is arranged to android acquiescence input method by the remote input method, when based on Android system When the input frame of the webView controls of equipment has input demand, the equipment based on Android system will call the present invention Input method and give input channel to input method, by the input channel of opening, realize remote input and it is automatic set and Input content is submitted to give any webpage.
  2. 2. remote input method according to claim 1, it is characterised in that the control is webview controls;The visitor Family end is handheld device.
  3. 3. remote input method according to claim 1, it is characterised in that the step 102) includes:
    Step 102-1) client pass through user interface receive input information;
    Step 102-2) input information entered into edlin, then the content after editor is submitted to the backstage socket of client and is socketed Word communication unit;
    Step 102-3) backstage socket communication units by input information send to the on-handheld device based on Android system.
  4. 4. remote input method according to claim 1, it is characterised in that described non-hand-held based on Android system The control of equipment also includes after receiving input request command:
    An input channel is obtained, it is related to the input frame of the control;The input channel is the defeated of input method and the control Enter the passage that frame is communicated;
    It is described to be filled the input information received to the input frame bag of the control based on the on-handheld device of Android system Include:The input information received is filled to the control by the input channel based on the on-handheld device of Android system The input frame of part.
  5. 5. remote input method according to claim 4, it is characterised in that it is described acquisition one input channel be specially:
    One is obtained in the multiple input channels carried from the Android system of the on-handheld device based on Android system Input channel.
  6. 6. a kind of remote input system, it is characterised in that the system is non-hand-held including client and based on Android system Equipment;
    The on-handheld device based on Android system includes:
    Control, request command is inputted for obtaining;
    Remote input method module, for sending the input request command of control acquisition, and the visitor that will be received to client The input information that family end is sent, which is filled, to the input frame of the control, completes the remote of the on-handheld device based on Android system Journey inputs;
    The client, gone forward side by side row information input for receiving input request command, then the information of input is sent to being based on The on-handheld device of Android system;
    One input method is arranged to android acquiescence input method by remote input method, when the equipment based on Android system The input frame of webView controls when have input demand, the equipment based on Android system will call that the present invention's is defeated Enter method and give input channel to input method, by the input channel of opening, realize remote input and automatic setting and submit Input content gives any webpage.
  7. 7. remote input system according to claim 6, it is characterised in that the control is webview controls;The visitor Family end is handheld device.
  8. 8. remote input system according to claim 6, it is characterised in that the client includes:
    Input module, for receiving input information by user interface;
    Editor module, for input information to be entered into edlin, then the content after editor is submitted to the backstage socket of client Socket communication unit;
    Sending module, the information for editor module output are sent to the on-handheld device based on Android system.
  9. 9. remote input system according to claim 6, it is characterised in that described non-hand-held based on Android system Equipment also includes:
    Passage acquisition module is related to the input frame of the control for obtaining an input channel;The input channel is input The passage that the input frame of method and the control is communicated;
    The remote input method module, specifically for sending the input request command of control acquisition to client, and it will receive Input information filled by the input channel to the input frame of the control, complete non-hand-held based on Android system The remote input of equipment.
  10. 10. remote input system according to claim 9, it is characterised in that the passage acquisition module is specifically used for, from It is logical that an input is obtained in multiple input channels that the Android system of the on-handheld device based on Android system carries Road is related to the input frame of the control;The input channel is communicated logical for the input frame of input method and the control Road.
CN201310685325.3A 2013-12-13 2013-12-13 A kind of remote input method and system CN104714634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310685325.3A CN104714634B (en) 2013-12-13 2013-12-13 A kind of remote input method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310685325.3A CN104714634B (en) 2013-12-13 2013-12-13 A kind of remote input method and system

Publications (2)

Publication Number Publication Date
CN104714634A CN104714634A (en) 2015-06-17
CN104714634B true CN104714634B (en) 2017-12-26

Family

ID=53414046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310685325.3A CN104714634B (en) 2013-12-13 2013-12-13 A kind of remote input method and system

Country Status (1)

Country Link
CN (1) CN104714634B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045392A (en) * 2015-07-08 2015-11-11 武汉景山科技有限公司 Remote input method and remote input system of vehicular terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404637A (en) * 2011-11-09 2012-04-04 Ut斯达康通讯有限公司 System and method for controlling television remotely through intelligent mobile phone
CN102438029A (en) * 2010-09-29 2012-05-02 卓望数码技术(深圳)有限公司 Control method and system for realizing remote interaction of Android cell phones
CN102821321A (en) * 2012-08-31 2012-12-12 博视联(苏州)信息科技有限公司 Remote-control interaction system for digital television
CN103313140A (en) * 2012-03-07 2013-09-18 深圳市快播科技有限公司 Television receiving terminal, text information input method and system thereof and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9307009B2 (en) * 2012-02-15 2016-04-05 Mobilespan Inc. Presenting execution of a remote application in a mobile device native format

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438029A (en) * 2010-09-29 2012-05-02 卓望数码技术(深圳)有限公司 Control method and system for realizing remote interaction of Android cell phones
CN102404637A (en) * 2011-11-09 2012-04-04 Ut斯达康通讯有限公司 System and method for controlling television remotely through intelligent mobile phone
CN103313140A (en) * 2012-03-07 2013-09-18 深圳市快播科技有限公司 Television receiving terminal, text information input method and system thereof and mobile terminal
CN102821321A (en) * 2012-08-31 2012-12-12 博视联(苏州)信息科技有限公司 Remote-control interaction system for digital television

Also Published As

Publication number Publication date
CN104714634A (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN104506886B (en) A kind of fault handling method and cloud server
CN104661175A (en) Method and equipment for binding intelligent mobile terminal and intelligent wearable equipment
ES2548085T1 (en) 2CHK association activated by the company
WO2013176954A8 (en) Optimized link training and management mechanism
RU2014152277A (en) Method for composite display using multiple communication terminals, machine readable media and telecommunication terminal
CN101819755B (en) Monitor joined screen with function of displaying multi-channel video signals and realization method thereof
CN104184553B (en) Low-power consumption bluetooth data transmission method, device and equipment
CN103117960A (en) System and method of broadband user speeding up access bandwidth in self-service mode
WO2011105815A3 (en) A method and an apparatus for session routing in home network system
WO2001067695A1 (en) System and method for efficiently performing data transfer operations
RU2008125171A (en) Method for delivery notification of updating the software to devices in communication systems
BR112015004063A2 (en) system for wireless communication; portable wireless device for use in the system; host device for wireless communication for use in the system; wireless device for wireless communication for use in the system; wireless communication method in a wireless device system; and computer program product for wireless communication between wireless devices
CN103581598A (en) Interconnection and interworking and multi-screen interaction equipment, system and implementation method
CN104038803B (en) A kind of modularization intelligent TV and the exchange method applied to modularization intelligent TV
CN103428287B (en) Method and device for establishing connection
GB2447197A (en) System and method for remote data aquisition and distribution
WO2004028119A3 (en) Method and system for emulating an http server through a broadcast carousel
EP1469650A4 (en) Method and system for wireless data communication in data processing system
WO2010085308A3 (en) Shared television sessions
WO2011137303A3 (en) Transferring a conference session between client devices
BRPI0511463A (en) system and method for remote diagnostics for a video entertainment system
WO2010144120A3 (en) Method and system for payment through mobile devices
MXPA06001810A (en) Activation of communication sessions in a communication system.
EP2541512A4 (en) Intelligent electric meter centralized recharging terminal and control method thereof
CN205353936U (en) Data interaction system based on VR equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant