CN104714634A - Remote input method and system - Google Patents

Remote input method and system Download PDF

Info

Publication number
CN104714634A
CN104714634A CN201310685325.3A CN201310685325A CN104714634A CN 104714634 A CN104714634 A CN 104714634A CN 201310685325 A CN201310685325 A CN 201310685325A CN 104714634 A CN104714634 A CN 104714634A
Authority
CN
China
Prior art keywords
input
handheld device
android system
device based
client
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.)
Granted
Application number
CN201310685325.3A
Other languages
Chinese (zh)
Other versions
CN104714634B (en
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.)
ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd
Original Assignee
ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) 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 ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd filed Critical ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a remote input method and system and used for remote input of a non-handheld device based on an android system. The remote input method includes the steps that, step 101, when a control of a non-handheld device based on the android system obtains an input request order, the non-handheld device sends the input request order to a client side; step 102, information input is performed through the client side, and the input information is sent to the non-handheld device based on the android system; step 103, the non-handheld device based on the android system fills the received input information in an input box of the control, and the remote input of the non-handheld device based on the android system is completed. The remote input method can solve all the remote input problems of the non-handheld device, especially, when the application can not obtain the input box of the control (such as WebView and so on) while the remote input needs to be performed.

Description

A kind of remote input method and system
Technical field
The field of the present invention relates to is android application, is specifically related to a kind of remote input method and system.
Background technology
In mobile communication and built-in field, the share occupied by android is more and more heavier, and android application program also gets more and more.But not hand-held android equipment (as our car-mounted terminal product, televisor etc.) also gets more and more, and becomes more and more popular.In the Long-distance Control of on-handheld device, character input is almost the problem do not walked around.And have the control of input demand to carry out code Lookup protocol for each or submit to the remote input content of user then very loaded down with trivial details and not easily manage concentratedly.
Such as, in android application development, WebView is the control relatively commonly used.The application developer that Android provides WebView control to be provided with webpage demand and multimedia show is called.Android web at present almost more than percent 90 applies (as microblogging, micro-letter etc.) and can use webview control.But due to encapsulation and security needs, webview control is the input frame that cannot obtain WebView, when input frame cannot be obtained: carrying out information input for the handheld device having touch-input function can realize, and for on-handheld device, owing to not having user to touch driving, now the remote input content of Lookup protocol or submission user just cannot achieve.
Summary of the invention
The object of the invention is to, for overcoming the problems referred to above, the invention provides a kind of remote input method and system.
To achieve these goals, the invention provides a kind of remote input method, described method comprises:
Step 101) after the control of the on-handheld device based on Android system obtains input request order, input request order is sent to client by this on-handheld device;
Step 102) carry out information input by client, the information of input is sent to the on-handheld device based on Android system;
Step 103) based on the on-handheld device of Android system, the input information received is filled to the input frame of described control, complete the remote input of the on-handheld device based on Android system.
Optionally, above-mentioned control is webview control; Described client is handheld device.
Above-mentioned steps 102) comprise: step 102-1) client receives input information by user interface; Step 102-2) input information is edited, then the content after editor is submitted to the backstage socket socket communication unit of client; Step 102-3) input information is sent to on-handheld device based on Android system by backstage socket communication unit.
Also comprise after the control of the above-mentioned on-handheld device based on Android system receives input request information: obtain an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates; The input frame that the input information received is filled to described control comprises by the described on-handheld device based on Android system: the input frame based on the on-handheld device of Android system, the input information received being filled to described control by described input channel.
Above-mentioned acquisition one input channel is specially: from multiple input channels that the Android system of the described on-handheld device based on Android system carries, obtain an input channel.
In addition, present invention also offers a kind of remote input system, described system comprises client and the on-handheld device based on Android system;
The described on-handheld device based on Android system comprises:
Control, for obtaining input request order;
Remote input method module, for sending the input request order that control obtains to client, and is filled to the input frame of described control, completes the remote input of the on-handheld device based on Android system by the input information that the described client received sends;
Described client, for receiving input request order and carrying out information input, then is sent to the on-handheld device based on Android system by the information of input.
Optionally, above-mentioned control is webview control; Described client is handheld device.
Above-mentioned client comprises: load module, for receiving input information by user interface; Editor module, for input information being edited, then submits to the backstage socket socket communication unit of client by the content after editor; Sending module, the information for editor module output is sent to the on-handheld device based on Android system.
The above-mentioned on-handheld device based on Android system also comprises: passage acquisition module, for obtaining an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates;
Described remote input method module, specifically for sending the input request order that control obtains to client, and the input information received is filled to the input frame of described control by described input channel, complete the remote input of the on-handheld device based on Android system.
Passage acquisition module described above specifically for, from multiple input channels that the Android system of the described on-handheld device based on Android system carries, obtain an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates.
Compared with prior art, technical advantage of the present invention is:
Use remote input method provided by the invention can solve the problem of all remote inputs of on-handheld device, particularly cannot obtain control input frame (as WebView etc.) and when needing to carry out remote input in application.
Accompanying drawing explanation
Fig. 1-a is the realization flow figure of the remote input method of non-hand-held android terminal provided by the invention
Fig. 1-b is the specific implementation process flow diagram of the remote input method of non-hand-held android terminal provided by the invention;
Fig. 2-a is the composition frame chart of the remote input system of non-hand-held android terminal provided by the invention;
Fig. 2-b is the composition frame chart 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 be the remote input method system that provides of the embodiment of the present invention realize schematic diagram.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention will be described in detail.
The embodiment of the present invention provides a kind of remote input method, and specific implementation step, as shown in Fig. 1-a, comprising:
Step 101) after the control of the on-handheld device based on Android system obtains input request order, input request order is sent to client by this on-handheld device;
Step 102) carry out information input by client, the information of input is sent to the on-handheld device based on Android system;
Step 103) based on the on-handheld device of Android system, the input information received is filled to the input frame of described control, complete the remote input of the on-handheld device based on Android system.Also comprise after the control of the above-mentioned on-handheld device based on Android system receives input request order:
Obtain an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates;
The input frame that the input information received is filled to described control comprises by the described on-handheld device based on Android system: the input frame based on the on-handheld device of Android system, the input information received being filled to described control by described input channel.
Optional: above steps realizes details as shown in Fig. 1-b:
Above-mentioned steps 101) be specially: when the on-handheld device based on Android system captures the input request order of user, obtain input channel, and send input request order to client.
Above-mentioned steps 102) be specially: after client receives input request order, by the content of the inputting interface input information of this client; Then edit input content, and submit to the backstage socket soket communication unit of client; Input information after editor is encoded, transfers to the on-handheld device based on Android system.
Above-mentioned steps 103) be specially: the input frame by the input channel opened, input information being issued control based on the on-handheld device of Android system, completes remote input.
In addition, present invention also offers a kind of remote input system, as shown in Fig. 2-a, 2-b, described system is used for the remote input based on the on-handheld device of Android system.Described system comprises: client and the on-handheld device based on Android system.
The described on-handheld device based on Android system comprises:
Control, for obtaining input request order;
Remote input method module, for sending the input request order that control obtains to client, and is filled to the input frame of described control, completes the remote input of the on-handheld device based on Android system by the input information that the described client received sends.
Described client, for receiving input request order and carrying out information input, then is sent to the on-handheld device based on Android system by the information of input.
Described control is preferably webview control; Described client is preferably handheld device.
Described client comprises:
Load module, for receiving input information by user interface;
Editor module, for input information being edited, then submits to the backstage socket socket communication unit of client by the content after editor;
Sending module, the information for editor module output is sent to the on-handheld device based on Android system.
The described on-handheld device based on Android system also comprises:
Passage acquisition module is for obtaining an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates.
Accordingly, described remote input method module, specifically for sending the input request order that control obtains to client, and the input information received is filled to the input frame of described control by described input channel, completes the remote input of the on-handheld device based on Android system.
Described passage acquisition module specifically for, from multiple input channels that the Android system of the described on-handheld device based on Android system carries, obtain an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates.
As shown in Fig. 2-b, above-mentioned client comprises: load module, for receiving input information by user interface; Editor module, for input information being edited, then submits to the backstage socket socket communication unit of client by the content after editor; Sending module, the information for editor module output is sent to the on-handheld device based on Android system.
The above-mentioned on-handheld device based on Android system also comprises: passage acquisition module, for obtaining an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates; Packing module, for being filled to the input frame of described control by the input received information.
In a word, the embodiment of the present invention provides a kind of remote input method, and specific implementation flow process is:
The present embodiment, according to Android system input method framework, realizes a special android input method (information namely without input panel inputs);
1, there is input demand in target device (that is, based on Android system on-handheld device), and such as user clicks the input frame of target device.
2, the information that user inputs is edited, thus the input content receiving client is realized in input service, wherein said client end as shown in figure 3, wherein any the android mobile phone of user's inputting interface module and background communication module has been installed after can become the client of Fig. 3.
The known the present invention of composition graphs 3 is by achieving remote input based on the on-handheld device of Android system being installed remote input method application program, successfully overcome: the WebView control of prior art does not provide the method obtaining input frame based on reasons such as safety, cause realizing remote input and must revise Android system and but application cannot be distributed to the technological deficiencies such as numerous android user.
3, realize the submission of client remote input content, after the input information editing by handheld device input, be sent to non-hand-held android equipment; And achieve remote input by the server end being positioned at non-hand-held android equipment;
Wherein, described client refers to the client containing user's inputting interface module and background communication module be positioned on control end, described service end refers to be positioned at the server containing background communication module and input method service module on non-hand-held android equipment, and namely described input method service module adopts the input channel that non-hand-held android equipment is opened to realize the remote input of user's input information.
4, the content that client inputs is write in the input channel provided to input method by the Android system on non-hand-held android equipment by input method service, the passage other end is then the destination (input frame etc.) needing input, the content of such user's input can submit to any control, even if this control directly cannot obtain input frame by code.
User will be inputted input information on non-hand-held android equipment through control end process by the present invention, thus achieves remote input.Namely user (this client can be positioned on hand-held android equipment and realize by client, described client comprises: user's inputting interface and background communication module, as shown in Figure 4) submit input content to, and input content is sent to any control on non-hand-held android equipment by running on the service end containing input method service module and background communication module on non-hand-held android equipment, finally realize remote input.
The present invention based on the principle of each concrete realization and content as follows:
The user interface input being positioned at client realizes:
(1) Customize User Interface, at least add user's input frame, " determination " button, " cancellation " button;
(2) user input content is obtained from input frame;
(3) user input content is given backstage soket to transmit.
Be positioned at being embodied as of the communication system on control end and non-hand-held android equipment:
(1) client soket realizes message transmission and reception;
(2) server end serversocket realizes message sink and transmission;
(3) definition communication frame 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
Each territory of frame illustrates:
Byte adopts large endian to transmit.
(4) passage realizing connecting is safeguarded (as heartbeat message etc.)
The remote input method being positioned at the Android system on non-hand-held android equipment realizes as shown in Figure 4, is specially: (1) extracts the user input content receiving and pass from serversocket; (2) system input channel inputconnection is obtained; (3) content is submitted in object input frame by passage.
Above-mentioned input method part is not the input method on common meaning, input method of the present invention just achieves input method system framework, but do not have user to input and the input method major parts such as dictionary, therefore remote input method of the present invention is used as traditional input method by the on-handheld device based on Android system thus input channel is submitted to it.
The above-mentioned program source code involved by remote input method is as follows:
In a word, although the present invention is based on Android system equipment WebView encapsulate and display web page and externally do not provide acquisition input frame interface, but but provide the passage to input frame input content to the acquiescence input method based on the equipment of Android system, therefore the simplest input method (as Fig. 1) is set to the acquiescence input method of android by the present invention, when the input frame of the webView control of the equipment based on Android system has input demand time, equipment based on Android system will call input method of the present invention and give input method by input channel, by the input channel opened, realize remote input and Lookup protocol and submission input content to any webpage.The remote input method that the present invention realizes can tackle nearly all input demand of non-hand-held android equipment (as car-mounted terminal).
It should be noted last that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted.Although with reference to embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, modify to technical scheme of the present invention or equivalent replacement, do not depart from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (10)

1. a remote input method, is characterized in that, described method comprises:
Step 101) after the control of the on-handheld device based on Android system obtains input request order, input request order is sent to client by this on-handheld device;
Step 102) carry out information input by client, the information of input is sent to the on-handheld device based on Android system;
Step 103) based on the on-handheld device of Android system, the input information received is filled to the input frame of described control, complete the remote input of the on-handheld device based on Android system.
2. remote input method according to claim 1, is characterized in that, described control is webview control; Described client is handheld device.
3. remote input method according to claim 1, is characterized in that, described step 102) comprise:
Step 102-1) client receives input information by user interface;
Step 102-2) input information is edited, then the content after editor is submitted to the backstage socket socket communication unit of client;
Step 102-3) input information is sent to on-handheld device based on Android system by backstage socket communication unit.
4. remote input method according to claim 1, is characterized in that, also comprises after the control of the described on-handheld device based on Android system receives input request order:
Obtain an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates;
The input frame that the input information received is filled to described control comprises by the described on-handheld device based on Android system: the input frame based on the on-handheld device of Android system, the input information received being filled to described control by described input channel.
5. remote input method according to claim 4, is characterized in that, described acquisition one input channel is specially:
An input channel is obtained from multiple input channels that the Android system of the described on-handheld device based on Android system carries.
6. a remote input system, is characterized in that, described system comprises client and the on-handheld device based on Android system;
The described on-handheld device based on Android system comprises:
Control, for obtaining input request order;
Remote input method module, for sending the input request order that control obtains to client, and is filled to the input frame of described control, completes the remote input of the on-handheld device based on Android system by the input information that the described client received sends;
Described client, for receiving input request order and carrying out information input, then is sent to the on-handheld device based on Android system by the information of input.
7. remote input system according to claim 6, is characterized in that, described control is webview control; Described client is handheld device.
8. remote input system according to claim 6, is characterized in that, described client comprises:
Load module, for receiving input information by user interface;
Editor module, for input information being edited, then submits to the backstage socket socket communication unit of client by the content after editor;
Sending module, the information for editor module output is sent to the on-handheld device based on Android system.
9. remote input system according to claim 6, is characterized in that, the described on-handheld device based on Android system also comprises:
Passage acquisition module is for obtaining an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates;
Described remote input method module, specifically for sending the input request order that control obtains to client, and the input information received is filled to the input frame of described control by described input channel, complete the remote input of the on-handheld device based on Android system.
10. remote input system according to claim 9, it is characterized in that, described passage acquisition module specifically for, from multiple input channels that the Android system of the described on-handheld device based on Android system carries, obtain an input channel, relevant to the input frame of described control; The described input channel passage that to be input method carry out with the input frame of described control communicates.
CN201310685325.3A 2013-12-13 2013-12-13 A kind of remote input method and system Active 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 true CN104714634A (en) 2015-06-17
CN104714634B CN104714634B (en) 2017-12-26

Family

ID=53414046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310685325.3A Active 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)

Cited By (4)

* 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
CN109672646A (en) * 2017-10-13 2019-04-23 北京搜狗科技发展有限公司 The input method and device of striding equipment, the device inputted for striding equipment
CN115052195A (en) * 2022-06-24 2022-09-13 深圳创维-Rgb电子有限公司 Remote input method, device, equipment and storage medium
CN115052195B (en) * 2022-06-24 2024-05-14 深圳创维-Rgb电子有限公司 Remote input method, device, equipment and storage medium

Citations (5)

* 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
US20130212484A1 (en) * 2012-02-15 2013-08-15 Mobilespan Inc. Presenting execution of a remote application in a mobile device native format
CN103313140A (en) * 2012-03-07 2013-09-18 深圳市快播科技有限公司 Television receiving terminal, text information input method and system thereof and mobile terminal

Patent Citations (5)

* 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
US20130212484A1 (en) * 2012-02-15 2013-08-15 Mobilespan Inc. Presenting execution of a remote application in a mobile device native format
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

Cited By (5)

* 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
CN109672646A (en) * 2017-10-13 2019-04-23 北京搜狗科技发展有限公司 The input method and device of striding equipment, the device inputted for striding equipment
CN109672646B (en) * 2017-10-13 2021-11-30 北京搜狗科技发展有限公司 Cross-device input method and device and cross-device input device
CN115052195A (en) * 2022-06-24 2022-09-13 深圳创维-Rgb电子有限公司 Remote input method, device, equipment and storage medium
CN115052195B (en) * 2022-06-24 2024-05-14 深圳创维-Rgb电子有限公司 Remote input method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104714634B (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US20170193702A1 (en) Head-mounted display device and method for interaction between head-mounted display device and intelligent terminal
CN104363285B (en) A kind of network communication program generation method and device
WO2019134306A1 (en) Message processing method, device, terminal apparatus, and readable storage medium
CN107949064A (en) Collocation method, device, base station and the computer-readable recording medium of channel
CN104253856A (en) Scalable Web Real-Time Communications (WebRTC) media engines, and related method and system
US10635436B2 (en) Compatibility method based on hybrid, adapter, operation device, system and computer-readable storage medium
CN103179133B (en) Based on the client of entity class and the method for server communication
CN103650458A (en) Transmission method, device and system of media streams
US20160050128A1 (en) System and Method for Facilitating Communication with Network-Enabled Devices
CN104081742A (en) Method and apparatus for providing federated service accounts
CN106464510A (en) Efficiently mixing voip data
US20170099507A1 (en) Method and apparatus for transmitting data in intelligent terminal to television terminal
CN103092552A (en) Method and system for achieving multi-screen display
KR20210146850A (en) Control method and system of applet, server and terminal device
CN108965365B (en) Data processing method, terminal and computer storage medium
US9921798B2 (en) Universal Serial Bus-to-Bluetooth audio bridging devices
US9614900B1 (en) Multi-process architecture for a split browser
CN103138871B (en) The server data processing system of application program and method in mobile communcations system
CN104714634A (en) Remote input method and system
CN204090025U (en) Onboard wireless video system
CN108052401A (en) System property monitor method, terminal device and computer readable storage medium
CN104202432A (en) Remote web management system and method
CN106063190B (en) A kind of method, relevant apparatus and the system of file reparation
CN105553703A (en) Information processing method, electronic device and system
CN107332644A (en) Signal frame building method, device, system and computer-readable recording medium

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
CP02 Change in the address of a patent holder

Address after: Room 502-1, 5th floor, building 2, yard 10, KEGU 1st Street, Daxing District, Beijing 100081

Patentee after: Singularity Xinyuan International Technology Development (Beijing) Co.,Ltd.

Address before: 100081, Beijing, Haidian District sorghum Bridge oblique Street No. 34, building 212, room 19

Patentee before: Singularity Xinyuan International Technology Development (Beijing) Co.,Ltd.

CP02 Change in the address of a patent holder