CN104881120A - Method and device for connecting external device - Google Patents

Method and device for connecting external device Download PDF

Info

Publication number
CN104881120A
CN104881120A CN201510280629.0A CN201510280629A CN104881120A CN 104881120 A CN104881120 A CN 104881120A CN 201510280629 A CN201510280629 A CN 201510280629A CN 104881120 A CN104881120 A CN 104881120A
Authority
CN
China
Prior art keywords
input
output port
external equipment
terminal
monitoring
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
CN201510280629.0A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510280629.0A priority Critical patent/CN104881120A/en
Publication of CN104881120A publication Critical patent/CN104881120A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention relates to a method and a device for connecting an external device. The method comprises the following steps: monitoring whether the input/output port of a terminal is connected with the external device or not; when the situation that the input/output port of the terminal is connected with the external device is monitored, acquiring input signals transmitted by the external device through the input/output port; executing operations corresponding to the input signals. By adopting the technical scheme, the connection between the terminal and the external device is established, a user can directly operate the external device to replace the input on the terminal, thereby the input experience of the user is improved, the problems of input mistakes, difficulty in key selection and the like due to a reason that the screen and keyboard of the terminal are too small are simultaneously solved, the working efficiency of the user is improved and convenience is provided for the user.

Description

Connect method and the device of external equipment
Technical field
The disclosure relates to communication technical field, particularly relates to a kind of method and the device that connect external equipment.
Background technology
Along with the fast development of internet, wireless connect technology (such as bluetooth, wifi etc.) is used the technology of devices interconnect to be entered into the fast-developing stage, especially interconnected between smart mobile phone and other equipment, to use between mobile phone and other equipment interconnected realizes various function for people, such as, mobile phone is connected with domestic intelligent electric appliance wireless with the operation controlling domestic intelligent electrical equipment, mobile phone and Intelligent bracelet wireless connections with mutual transmission of information, etc.Along with the function of smart mobile phone increases gradually, the kind of the external equipment that smart mobile phone can connect also gets more and more.In correlation technique, user uses mobile phone to send short messages, chats or during office (such as replied mail, Edit Document, making PPT etc.), need the input keyboard input character utilized on mobile phone screen on mobile phone.
Summary of the invention
Disclosure embodiment provides a kind of method and the device that connect external equipment.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of method connecting external equipment is provided, comprises:
Whether the input/output port of monitoring described terminal is connected with external equipment;
When the input/output port monitoring described terminal is connected with external equipment, obtained the input signal of described external equipment transmission by described input/output port;
Perform the operation that described input signal is corresponding.
In one embodiment, described input/output port comprises at least one in wired input/output port, wireless input/output port.
In one embodiment, when described input/output port comprises described wired input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
In one embodiment, described wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, when described input/output port comprises described wireless input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Monitor described terminal and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
In one embodiment, described external equipment comprises at least one equipment following: keyboard, mouse.
In one embodiment, when described external equipment comprises keyboard, the operation that the described input signal of described execution is corresponding, comprising:
The key assignments information keyed on said keyboard is obtained from the input signal that described keyboard sends;
Described key assignments information is sent in input method application program.
In one embodiment, when described external equipment comprises mouse, the operation that the described input signal of described execution is corresponding, comprising:
Obtain described terminal current screen upstream target locating information according to the input signal that described mouse sends;
Vernier described in the position display that described locating information is corresponding on described terminal current screen;
Or
The input signal sent according to described mouse obtain to vernier on described terminal current screen the operation information of screen elements through position;
Operation corresponding to described operation information is performed to described screen elements.
According to the second aspect of disclosure embodiment, a kind of device connecting external equipment is provided, comprises:
Whether monitoring modular, be connected with external equipment for the input/output port of monitoring described terminal;
Acquisition module, during for being connected with external equipment when the input/output port monitoring described terminal, obtains the input signal of described external equipment transmission by described input/output port;
Execution module, for performing operation corresponding to described input signal.
In one embodiment, described monitoring modular comprises:
First monitoring submodule, for when described input/output port comprises described wired input/output port, whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
In one embodiment, described monitoring modular comprises:
Second monitoring submodule, for comprising described wireless input/output port when described input/output port, when described wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, monitor described terminal and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
In one embodiment, described execution module comprises:
First obtains submodule, for when described external equipment comprises keyboard, obtains the key assignments information keyed on said keyboard from the input signal that described keyboard sends;
Send submodule, for described key assignments information being sent in input method application program.
In one embodiment, described execution module comprises:
Second obtains submodule, for when described external equipment comprises mouse, obtains described terminal current screen upstream target locating information according to the input signal that described mouse sends;
Display sub-module, for vernier described in the position display that described locating information on described terminal current screen is corresponding;
3rd obtains submodule, for when described external equipment comprises mouse, the input signal acquisition sent according to described mouse to vernier on described terminal current screen the operation information of screen elements through position;
Implementation sub-module, for performing operation corresponding to described operation information to described screen elements.
According to the third aspect of disclosure embodiment, a kind of device connecting external equipment is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Whether the input/output port of monitoring described terminal is connected with external equipment;
When the input/output port monitoring described terminal is connected with external equipment, obtained the input signal of described external equipment transmission by described input/output port;
Perform the operation that described input signal is corresponding.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
This technical scheme establishes the connection between terminal and external equipment, make user directly can replace the input in terminal by operation external equipment, thus the input improving user is experienced, solve simultaneously terminal screen keyboard too little and cause input error, selection key difficulty etc. problem, and then improve the work efficiency of user, for user brings convenience.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is a kind of process flow diagram connecting the method for external equipment according to an exemplary embodiment.
Fig. 2 is the process flow diagram that another kind according to an exemplary embodiment connects the method for external equipment.
Fig. 3 is the process flow diagram of method that another according to an exemplary embodiment connects external equipment.
Fig. 4 is the process flow diagram of method that another according to an exemplary embodiment connects external equipment.
Fig. 5 is a kind of block diagram connecting the device of external equipment according to an exemplary embodiment.
Fig. 6 is a kind of block diagram connecting monitoring modular in the device of external equipment according to an exemplary embodiment.
Fig. 7 is a kind of block diagram connecting execution module in the device of external equipment according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of device for connecting external equipment according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
In the technical scheme that disclosure embodiment provides, the terminal related to can be the terminal device that mobile phone, panel computer, personal computer etc. can connect external equipment.
Fig. 1 is a kind of process flow diagram connecting the method for external equipment according to an exemplary embodiment, and as shown in Figure 1, the method for this connection external equipment is used for, in terminal, comprising the following steps S11-S13.
In step s 11, whether the input/output port of monitoring terminal is connected with external equipment.
Wherein, external equipment can be keyboard, mouse, game paddle etc.; Input/output port comprises at least one in wired input/output port, wireless input/output port, and for different input/output port, the embodiment of this step is different.When input/output port comprises wired input/output port, this step S11 can perform as following steps A1: in steps A 1, and whether wired input/output port of monitoring terminal is connected with external equipment by connecting line, such as OTG connecting line; When input/output port comprises wireless input/output port, wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, then this step S11 can perform as following steps A2: in steps A 2, and whether monitoring terminal is connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
In step s 12, when the input/output port monitoring terminal is connected with external equipment, obtained the input signal of external equipment transmission by input/output port.
In step s 13, operation corresponding to input signal is performed.
Adopt the technical scheme that disclosure embodiment provides, establish the connection between terminal and external equipment, make user directly can replace the input in terminal by operation external equipment, thus the input improving user is experienced, solve simultaneously terminal screen keyboard too little and cause input error, selection key difficulty etc. problem, and then improve the work efficiency of user, for user brings convenience.
When external equipment comprises keyboard, as shown in Figure 2, said method may be embodied as following steps S21-S24.
In the step s 21, whether the input/output port of monitoring terminal is connected with keyboard.Keyboard can be connected in the input/output port of terminal by OTG connecting line or the wireless technology such as bluetooth, wifi, and concrete connected mode can be determined according to the type of input/output port.
In step S22, when the input/output port monitoring terminal is connected with keyboard, obtained the input signal of keyboard transmission by input/output port.Wherein, the input signal that keyboard sends can be the signal of any button on keyboard, comprises function key, character keys etc.
In step S23, from the input signal that keyboard sends, obtain the key assignments information keyed at keyboard.
In step s 24 which, key assignments information is sent in input method application program.
In the present embodiment, step S23-S24 is a kind of embodiment of step S13 in above-described embodiment.By being connected in terminal outside keyboard, user can directly be operated on external keyboard, thus replace the input on terminal keyboard, the input not only increasing user is experienced, also solve simultaneously terminal screen keyboard too little and cause input error, selection key difficulty etc. problem, and then improve the work efficiency of user, for user brings convenience.Such as, user wants on mobile phone, use word to handle official business, because the keyboard on mobile phone is too little, very inconvenient during user inputs character, be easy to input error, or easily select the button etc. near correct button, if by mobile phone external keyboard, so user just can use external keyboard to input, thus completes the office on mobile phone fast.In addition, the present embodiment is not limited to and improves user's efficiency of handling official business on mobile phone, also comprises the situation that other needs input on cell phone keyboard, such as on mobile phone replied mail, chat, send short messages.
When external equipment comprises mouse, said method may be embodied as the step S31-S44 shown in the step S31-S34 shown in Fig. 3 or Fig. 4.
In step S31, whether the input/output port of monitoring terminal is connected with mouse.Mouse can be connected in the input/output port of terminal by OTG connecting line or the wireless technology such as bluetooth, wifi, and concrete connected mode can be determined according to the type of input/output port.
In step s 32, when the input/output port monitoring terminal is connected with mouse, obtained the input signal of mouse transmission by input/output port.Wherein, the input signal that mouse sends can be the operating result signal of any operation on mouse, comprise click, double-click, the operation such as dragging.
After this step, the difference of the input signal that terminal sends according to mouse, performs different operations.When the locating information of bag vernier in the input signal that mouse sends, after executing above-mentioned steps S31-S32, continue to perform following steps S33-S34.When the input signal that mouse sends comprises the operation information to screen elements, after executing above-mentioned steps S31-S32, continue to perform following steps S43-S44.
In step S33, obtain terminal current screen upstream target locating information according to the input signal that mouse sends.
In step S34, the position display vernier that locating information is corresponding on terminal current screen.
In step S43, the input signal sent according to mouse obtain to vernier on terminal current screen the operation information of screen elements through position.Wherein, vernier on screen the position of process can realize choosing operation to screen elements, to vernier on terminal current screen the operation information of screen elements through position can comprise deletion action information, replicate run information etc. to chosen screen elements.
In step S44, the operation corresponding to screen elements executable operations information.
In the present embodiment, step S33-S34 and step S43-S44 is respectively two kinds of embodiments of step S13 in above-described embodiment.By being connected in terminal outside mouse, user can directly be operated on external mouse, thus replace the input on terminal keyboard, the input not only increasing user is experienced, also solve simultaneously terminal screen keyboard too little and cause input error, selection key difficulty etc. problem, and then improve the work efficiency of user, for user brings convenience.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.
Fig. 5 is a kind of device block diagram connecting external equipment according to an exemplary embodiment, and this device can realize becoming the some or all of of electronic equipment by software, hardware or both combinations.With reference to Fig. 5, this device comprises:
Whether the input/output port that monitoring modular 51 is configured to monitor described terminal is connected with external equipment.
Acquisition module 52 is configured to when the input/output port monitoring described terminal is connected with external equipment, is obtained the input signal of described external equipment transmission by input/output port.
Execution module 53 is configured to perform operation corresponding to described input signal.
In one embodiment, as shown in Figure 6, monitoring modular 51 comprises:
First monitoring submodule 511 is configured to when input/output port comprises wired input/output port, and whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
Second monitoring submodule 512 is configured to comprise wireless input/output port when input/output port, when wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, monitor described terminal device and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
In one embodiment, as shown in Figure 7, execution module 53 comprises:
Second obtains submodule 531 is configured to when described external equipment comprises mouse, obtains described terminal current screen upstream target locating information according to the input signal that described mouse sends.
Display sub-module 532 is configured to vernier described in described locating information is corresponding on described terminal current screen position display.
3rd obtains submodule 533 is configured to when described external equipment comprises mouse, the input signal acquisition sent according to described mouse to vernier on described terminal current screen the operation information of screen elements through position.
Implementation sub-module 534 is configured to perform operation corresponding to described operation information to described screen elements.
Adopt the device that disclosure embodiment provides, establish the connection between terminal and external equipment, make user directly can replace the input in terminal by operation external equipment, thus the input improving user is experienced, solve simultaneously terminal screen keyboard too little and cause input error, selection key difficulty etc. problem, and then improve the work efficiency of user, for user brings convenience.
In the exemplary embodiment, disclosure embodiment also provides a kind of device connecting external equipment, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Whether the input/output port of monitoring described terminal is connected with external equipment;
When the input/output port monitoring described terminal is connected with external equipment, obtained the input signal of described external equipment transmission by described input/output port;
Perform the operation that described input signal is corresponding.
Above-mentioned processor also can be configured to:
Described input/output port comprises at least one in wired input/output port, wireless input/output port.
Above-mentioned processor also can be configured to:
When described input/output port comprises described wired input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
Above-mentioned processor also can be configured to:
Described wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, when described input/output port comprises described wireless input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Monitor described terminal and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
Above-mentioned processor also can be configured to:
Described external equipment comprises at least one equipment following: keyboard, mouse.
Above-mentioned processor also can be configured to:
When described external equipment comprises keyboard, the operation that the described input signal of described execution is corresponding, comprising:
The key assignments information keyed on said keyboard is obtained from the input signal that described keyboard sends;
Described key assignments information is sent in input method application program.
Above-mentioned processor also can be configured to:
When described external equipment comprises mouse, the operation that the described input signal of described execution is corresponding, comprising:
Obtain described terminal current screen upstream target locating information according to the input signal that described mouse sends;
Vernier described in the position display that described locating information is corresponding on described terminal current screen;
Or
The input signal sent according to described mouse obtain to vernier on described terminal current screen the operation information of screen elements through position;
Operation corresponding to described operation information is performed to described screen elements.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 8 be according to an exemplary embodiment a kind of for connect external equipment the block diagram of device 800.Such as, device 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 8, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing element 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 800, make device 800 can perform a kind of method connecting external equipment, described method comprises:
Whether the input/output port of monitoring described terminal is connected with external equipment;
When the input/output port monitoring described terminal is connected with external equipment, obtained the input signal of described external equipment transmission by described input/output port;
Perform the operation that described input signal is corresponding.
Described input/output port comprises at least one in wired input/output port, wireless input/output port.
When described input/output port comprises described wired input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
Described wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, when described input/output port comprises described wireless input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Monitor described terminal and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
Described external equipment comprises at least one equipment following: keyboard, mouse.
When described external equipment comprises keyboard, the operation that the described input signal of described execution is corresponding, comprising:
The key assignments information keyed on said keyboard is obtained from the input signal that described keyboard sends;
Described key assignments information is sent in input method application program.
When described external equipment comprises mouse, the operation that the described input signal of described execution is corresponding, comprising:
Obtain described terminal current screen upstream target locating information according to the input signal that described mouse sends;
Vernier described in the position display that described locating information is corresponding on described terminal current screen;
Or
The input signal sent according to described mouse obtain to vernier on described terminal current screen the operation information of screen elements through position;
Operation corresponding to described operation information is performed to described screen elements.
Those skilled in the art, at consideration instructions and after putting into practice disclosure herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. connect a method for external equipment, it is characterized in that, be applied to terminal, described method comprises:
Whether the input/output port of monitoring described terminal is connected with external equipment;
When the input/output port monitoring described terminal is connected with external equipment, obtained the input signal of described external equipment transmission by described input/output port;
Perform the operation that described input signal is corresponding.
2. method according to claim 1, is characterized in that, described input/output port comprises at least one in wired input/output port, wireless input/output port.
3. method according to claim 2, is characterized in that, when described input/output port comprises described wired input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
4. method according to claim 2, it is characterized in that, described wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, when described input/output port comprises described wireless input/output port, whether the input/output port of the described terminal of described monitoring is connected with external equipment, comprising:
Monitor described terminal and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
5. method according to claim 1, is characterized in that,
Described external equipment comprises at least one equipment following: keyboard, mouse.
6. method according to claim 5, is characterized in that,
When described external equipment comprises keyboard, the operation that the described input signal of described execution is corresponding, comprising:
The key assignments information keyed on said keyboard is obtained from the input signal that described keyboard sends;
Described key assignments information is sent in input method application program.
7. method according to claim 5, is characterized in that,
When described external equipment comprises mouse, the operation that the described input signal of described execution is corresponding, comprising:
Obtain described terminal current screen upstream target locating information according to the input signal that described mouse sends;
Vernier described in the position display that described locating information is corresponding on described terminal current screen;
Or
The input signal sent according to described mouse obtain to vernier on described terminal current screen the operation information of screen elements through position;
Operation corresponding to described operation information is performed to described screen elements.
8. connect a device for external equipment, it is characterized in that, be applied to terminal, described device comprises:
Whether monitoring modular, be connected with external equipment for the input/output port of monitoring described terminal;
Acquisition module, during for being connected with external equipment when the input/output port monitoring described terminal, obtains the input signal of described external equipment transmission by described input/output port;
Execution module, for performing operation corresponding to described input signal.
9. device according to claim 8, it is characterized in that, described monitoring modular comprises: the first monitoring submodule, for when described input/output port comprises described wired input/output port, whether wired input/output port of monitoring described terminal is connected with external equipment by connecting line.
10. device according to claim 8, is characterized in that, described monitoring modular comprises:
Second monitoring submodule, for comprising described wireless input/output port when described input/output port, when described wireless input/output port comprises at least one in bluetooth input/output port, wifi input/output port, monitor described terminal and whether be connected with external equipment by least one in bluetooth input/output port, wifi input/output port.
11. devices according to claim 8, is characterized in that, described execution module comprises:
First obtains submodule, for when described external equipment comprises keyboard, obtains the key assignments information keyed on said keyboard from the input signal that described keyboard sends;
Send submodule, for described key assignments information being sent in input method application program.
12. devices according to claim 8, is characterized in that, described execution module comprises:
Second obtains submodule, for when described external equipment comprises mouse, obtains described terminal current screen upstream target locating information according to the input signal that described mouse sends;
Display sub-module, for vernier described in the position display that described locating information on described terminal current screen is corresponding;
3rd obtains submodule, for when described external equipment comprises mouse, the input signal acquisition sent according to described mouse to vernier on described terminal current screen the operation information of screen elements through position;
Implementation sub-module, for performing operation corresponding to described operation information to described screen elements.
13. 1 kinds of devices connecting external equipment, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Whether the input/output port of monitoring described terminal is connected with external equipment;
When the input/output port monitoring described terminal is connected with external equipment, obtained the input signal of described external equipment transmission by described input/output port;
Perform the operation that described input signal is corresponding.
CN201510280629.0A 2015-05-27 2015-05-27 Method and device for connecting external device Pending CN104881120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510280629.0A CN104881120A (en) 2015-05-27 2015-05-27 Method and device for connecting external device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510280629.0A CN104881120A (en) 2015-05-27 2015-05-27 Method and device for connecting external device

Publications (1)

Publication Number Publication Date
CN104881120A true CN104881120A (en) 2015-09-02

Family

ID=53948643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510280629.0A Pending CN104881120A (en) 2015-05-27 2015-05-27 Method and device for connecting external device

Country Status (1)

Country Link
CN (1) CN104881120A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607913A (en) * 2015-12-25 2016-05-25 百度在线网络技术(北京)有限公司 Operation processing method and device for interconnecting application
CN107272998A (en) * 2017-08-09 2017-10-20 上海青橙实业有限公司 The control method and device of projection terminal
CN107362533A (en) * 2017-07-12 2017-11-21 深圳市山弯科技有限公司 The game paddle system of mobile cursor function is realized using suspended window
CN108170275A (en) * 2017-12-29 2018-06-15 青岛小鸟看看科技有限公司 The processing method and processing device of the input information of virtual reality device external equipment
WO2018166196A1 (en) * 2017-03-14 2018-09-20 中兴通讯股份有限公司 Terminal control method and system, setting adaptation apparatus and mobile terminal
CN109144585A (en) * 2018-08-01 2019-01-04 长沙市极云网络科技有限公司 A kind of input method, input unit, readable medium and smart machine
CN109375786A (en) * 2018-10-09 2019-02-22 上海达龙信息科技有限公司 A kind of method and system manipulating long-range PC desktop based on physics key mouse equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201698272U (en) * 2010-06-30 2011-01-05 华为终端有限公司 Mobile terminal external equipment and mobile terminal processing system
WO2012022036A1 (en) * 2010-08-18 2012-02-23 华为终端有限公司 Terminal, and i/o extension apparatus, method and system
CN104076941A (en) * 2013-03-27 2014-10-01 新巨企业股份有限公司 Multi-target switching transmission method of external Bluetooth selection device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201698272U (en) * 2010-06-30 2011-01-05 华为终端有限公司 Mobile terminal external equipment and mobile terminal processing system
WO2012022036A1 (en) * 2010-08-18 2012-02-23 华为终端有限公司 Terminal, and i/o extension apparatus, method and system
CN104076941A (en) * 2013-03-27 2014-10-01 新巨企业股份有限公司 Multi-target switching transmission method of external Bluetooth selection device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607913A (en) * 2015-12-25 2016-05-25 百度在线网络技术(北京)有限公司 Operation processing method and device for interconnecting application
WO2017107429A1 (en) * 2015-12-25 2017-06-29 百度在线网络技术(北京)有限公司 Operation processing method, apparatus and device for interconnection application, and non-volatile computer storage medium
WO2018166196A1 (en) * 2017-03-14 2018-09-20 中兴通讯股份有限公司 Terminal control method and system, setting adaptation apparatus and mobile terminal
CN107362533A (en) * 2017-07-12 2017-11-21 深圳市山弯科技有限公司 The game paddle system of mobile cursor function is realized using suspended window
CN107272998A (en) * 2017-08-09 2017-10-20 上海青橙实业有限公司 The control method and device of projection terminal
CN108170275A (en) * 2017-12-29 2018-06-15 青岛小鸟看看科技有限公司 The processing method and processing device of the input information of virtual reality device external equipment
CN109144585A (en) * 2018-08-01 2019-01-04 长沙市极云网络科技有限公司 A kind of input method, input unit, readable medium and smart machine
CN109375786A (en) * 2018-10-09 2019-02-22 上海达龙信息科技有限公司 A kind of method and system manipulating long-range PC desktop based on physics key mouse equipment
CN109375786B (en) * 2018-10-09 2022-08-05 上海达龙信息科技有限公司 Method and system for controlling remote PC desktop based on physical keyboard and mouse equipment

Similar Documents

Publication Publication Date Title
CN104881120A (en) Method and device for connecting external device
CN104219388A (en) Voice control method and device
CN104318741A (en) Bluetooth device control method and device
CN104898613A (en) Control method and device of smart home device
CN105426200A (en) Communication module firmware and plug-in generation method and apparatus
CN105159559A (en) Mobile terminal control method and mobile terminal
CN104468329A (en) Member adding method and device based on instant messaging
CN104461304A (en) Application control method and device
CN105204804A (en) Mode switching method, device and system
CN105159672A (en) Remote assistance method and client
CN105433904A (en) Sleep state detection method, device and system
CN103973900B (en) The method of transmission information and device
CN104834559A (en) Notification message display method and device
CN104536935A (en) Calculation displaying method, calculation editing method and device
CN104735670A (en) Network access method and device
CN105515948A (en) Instant messaging method and device
CN106792448A (en) Bluetooth connecting method and device, system
CN105337839A (en) Exchange group control method and device
CN103942047A (en) User instruction execution method and device
CN105530167A (en) Method and device for setting group name card
CN105427161A (en) Monetary exchange rate exchange method and device
CN105376144A (en) Information processing method and device
CN105554215A (en) Automatic selection dialing method and device, and mobile terminal
CN105487798A (en) Method and apparatus for operating communication application in touch screen terminal
CN104881342A (en) Terminal testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150902

RJ01 Rejection of invention patent application after publication