CN110262985A - A kind of processing method and electronic equipment - Google Patents

A kind of processing method and electronic equipment Download PDF

Info

Publication number
CN110262985A
CN110262985A CN201910561713.8A CN201910561713A CN110262985A CN 110262985 A CN110262985 A CN 110262985A CN 201910561713 A CN201910561713 A CN 201910561713A CN 110262985 A CN110262985 A CN 110262985A
Authority
CN
China
Prior art keywords
electronic equipment
input unit
interface
instruction
processor
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
CN201910561713.8A
Other languages
Chinese (zh)
Other versions
CN110262985B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910561713.8A priority Critical patent/CN110262985B/en
Publication of CN110262985A publication Critical patent/CN110262985A/en
Application granted granted Critical
Publication of CN110262985B publication Critical patent/CN110262985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Abstract

This application provides a kind of processing method and electronic equipments, after receiving the first instruction, at least based on the first instruction, the input unit of first electronic equipment and second electronic equipment are electrically connected by the interface, so that the input unit received signal of the first electronic equipment is transmitted to the second electronic equipment, wherein, the first instruction includes the information for characterizing the second electronic equipment with being connected in first electronic equipment for connecting the interface of external equipment.To realize the purpose that the input unit based on the first electronic equipment directly operates the second electronic equipment, with at present only by the second electronic equipment as hard disk compared with, increase the data interactive mode between the second electronic equipment and the input unit of the first electronic equipment.

Description

A kind of processing method and electronic equipment
Technical field
This application involves field of electronic devices, and more specifically, it relates to a kind of processing method and electronic equipments.
Background technique
Electronic equipment can be connected with external equipment, for example, notebook can be connected with mobile phone or plate;In external equipment After being connected with electronic equipment, external equipment can be used as the hard disk of electronic equipment, and electronic equipment can be checked in external equipment and be deposited The data of storage.
Data interaction between external equipment and electronic equipment is more single.
Summary of the invention
In view of this, this application provides a kind of processing method and electronic equipments.
To achieve the above object, the application provides the following technical solutions:
In a first aspect, a kind of processing method, is applied to the first electronic equipment, the treating method comprises:
The first instruction is received, first instruction includes being used in the second electronic equipment of characterization and first electronic equipment Connect the connected information of the interface of external equipment;
At least based on the first instruction, the input unit of first electronic equipment and second electronic equipment are passed through into institute Interface electrical connection is stated, so that the input unit received signal of first electronic equipment is transmitted to second electronic equipment.
Second aspect, a kind of first electronic equipment, comprising:
Interface, for connecting external equipment;
Input unit, for receiving signal;
Processor is used for:
The first instruction is received, first instruction includes being used in the second electronic equipment of characterization and first electronic equipment Connect the connected information of the interface of external equipment;
At least based on the first instruction, the input unit of first electronic equipment and second electronic equipment are passed through into institute Interface electrical connection is stated, so that the input unit received signal of first electronic equipment is transmitted to second electronic equipment.
It can be seen via above technical scheme that being connect this application provides the processing method for being applied to the first electronic equipment After receiving the first instruction, at least based on the first instruction, the input unit of first electronic equipment and second electronics are set It is standby to be electrically connected by the interface, so that the input unit received signal of the first electronic equipment is transmitted to the second electronic equipment, Wherein, the first instruction includes characterizing the second electronic equipment and being used to connect the interface phase of external equipment in first electronic equipment Information even.To realize the mesh that the input unit based on the first electronic equipment directly operates the second electronic equipment , at present only by the second electronic equipment as hard disk compared with, increase the defeated of the second electronic equipment and the first electronic equipment Enter the data interactive mode between device.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other Attached drawing.
Fig. 1, which is that the interface that shows of display screen of smart phone is identical with the interface that the display screen of laptop is shown, to be shown It is intended to;
Fig. 2 is processing method flow chart provided by the embodiments of the present application;
The interface that the display screen of Fig. 3 a-3b smart phone is shown is asynchronous with the interface that the display screen of laptop is shown Schematic diagram;
Fig. 4 a-4c user misoperation leads to the process schematic of the display screen display shopping interface of smart phone;
Fig. 5 a-5b is a kind of electrical block diagram of the first electronic equipment;
Fig. 6 is the hardware block diagram of the first electronic equipment provided by the embodiments of the present application;
Fig. 7 is another electrical block diagram of the first electronic equipment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Electronic equipment, such as PC (personalcomputer, personal computer), notebook, desktop computer have connection outer The interface of portion's equipment.Electronic equipment can be connected by interface with external equipment, such as notebook can be with smart phone or flat Plate is connected.
After the portion's equipment that is out at present is connected with electronic equipment, if it is desired to be set by the way that the input unit control of electronic equipment is external It is standby, then mainly including two ways: the first, external equipment can be used as the hard disk of electronic equipment, even external equipment with Electronic equipment is connected, and the display that electronic equipment includes can show the data of external equipment storage, can pass through electronic equipment Input unit control the electronic equipment itself, with realize the number stored in external equipment is checked by the display screen of electronic equipment According to purpose;Second, the operation interface that the display screen of itself is shown can be thrown the display of screen to electronic equipment by external equipment Screen can control the operation interface of the external equipment of the display screen displaying of the electronic equipment by the input unit of electronic equipment, For example, electronic equipment can obtain input unit for the clicking operation of the display screen of electronic equipment, electronic equipment can be based on The clicking operation obtains the instruction that the corresponding characterization user of the clicking operation is intended to, and the instruction is sent to external equipment, outside Portion's equipment responds the instruction, shows corresponding operation interface, and will be sent to electricity with the information at the instruction corresponding operation interface The display screen of sub- equipment, electronic equipment is shown and the instruction corresponding operation interface, passes through electronic device to realize The purpose of external equipment, if external equipment has display screen in this case, then the display screen and electronic equipment of external equipment Display screen be synchronous.Be by external equipment for smart phone, electronic equipment are laptops, may refer to Fig. 1, if Smart phone throws screen to laptop, then the display screen display at interface and smart phone that the display screen of laptop is shown The interface shown is identical.
To sum up, above two mode is all to be operated by input unit to electronic equipment itself, to realize and outside The purpose that equipment interacts directly operates external equipment not by input unit.
To sum up, external equipment is directly transferred to grasp to external equipment currently without by input unit received signal The technology of work, so that the data interactive mode between external equipment and electronic equipment is more single.
This application provides a kind of processing method and the first electronic equipments, to solve the above problems.Below to the application The processing method that embodiment provides is illustrated.
It is shown in Figure 2, be processing method flow chart provided by the embodiments of the present application, this method can specifically include:
Step S100, the first instruction is received, first instruction includes the second electronic equipment of characterization and first electronics For connecting the connected information of the interface of external equipment in equipment.
In an alternative embodiment, above-mentioned first electronic equipment can be such as desktop computer, mobile terminal (such as intelligent hand Machine), the electronic equipments such as ipad.
In an alternative embodiment, the second electronic equipment can be such as desktop computer, mobile terminal (such as smart phone), The electronic equipments such as ipad.
In an alternative embodiment, above-mentioned interface can be Type C interface, or, USB interface, the embodiment of the present application is not The type of interface is defined.
In an alternative embodiment, if the second electronic equipment is connected with the interface of the first electronic equipment, then available Characterize the first instruction of the information that the second electronic equipment is connected with interface.
In an alternative embodiment, if the first electronic equipment includes multiple interfaces, then can be obtained by the first instruction Which interface the interface being connected with the second electronic equipment is specifically.
For example, if the second electronic equipment is smart phone, the first electronic equipment is laptop, if smart phone and pen Remember that the Type C interface of this computer is connected, then the Type C of smart phone and laptop can be obtained by the first instruction The connected information of interface.
In an alternative embodiment, an interface can be individually set up in the embodiment of the present application in the first electronic equipment, I.e. the interface is only used for being connected with the second electronic equipment for needing the input unit of the first electronic equipment to directly control, i.e., the second electricity After sub- equipment is connected by interface with the first electronic equipment, that is, think, the second electronic equipment is needed by the defeated of the first electronic equipment Enter device directly to be controlled.
Step S110, at least based on the first instruction, by the input unit of first electronic equipment and second electronics Equipment is electrically connected by the interface, so that the input unit received signal of first electronic equipment is transmitted to described second Electronic equipment.
In an alternative embodiment, if the input unit of the first electronic equipment is electrically connected with the second electronic equipment by interface It connects, if user operates input unit, such as clicking operation, then if input unit is based on the available phase of clicking operation The click signal answered, for example, " K " key in user's point beating keyboard, the available signal corresponding with " K " key of keyboard, it can It is transmitted to the second electronic equipment with obtained click signal, to realize control of the input unit to the second electronic equipment.
In an alternative embodiment, above-mentioned input unit includes but is not limited to following at least one: keyboard, Trackpad and Mouse.
In an alternative embodiment, the second electronic equipment itself may include display screen, or, the second electronic equipment can be with Externally connected with display screen can grasp the second electronic equipment by the input unit of the first electronic equipment in the embodiment of the present application Make, the second electronic equipment can respond corresponding signal, user can by the self-contained display screen of the second electronic equipment or Externally connected with display screen checks the operating result for the second electronic equipment.
Using the first electronic equipment as laptop, the second electronic equipment be smart phone for, if smart phone and pen Remember that the interface of this computer is connected, then the keyboard of laptop can be electrically connected with smart phone by interface, such as Fig. 3 a- In 3b, keyboard and the smart phone of laptop are connected directly;If user wants to check the amplification in the picture library of smart phone Photo, then the correspondence key in the keyboard of laptop can be clicked, the operation that user is touched key by keyboard is corresponding Signal A is sent to smart phone;To which smart phone can be responded based on signal A, to execute corresponding operation.Such as scheme Shown in 3b, in response to signal A, first photo that June 25 in picture library is shot amplifies smart phone.
The interface that the display screen at the display screen of smart phone is shown in above process interface and laptop is shown There is no any association.
For another example user may browse on webpage if the second electronic equipment is the smart phone comprising touch screen Image, if occurring an advertisement on webpage suddenly, such as " you can click to enter purchase " shown in Fig. 4 a;If user is not desired to buy, The "×" that the advertisement upper right corner can so be clicked closes advertisement, referring to fig. 4 b;Since "×" is smaller, and user's finger generally compared with Greatly, then user is during clicking "×", in fact it could happen that the phenomenon that there is deviation and enters by mistake through purchase page in click, such as User clicks "×" in Fig. 4 b, but user interface is made to jump to shopping page shown in Fig. 4 c as maloperation.The above process User experience is poor.
The present embodiment is used, if receive the information that characterization smart phone is connected with the keyboard of laptop first refers to It enables, smart phone can be electrically connected with the keyboard of laptop, so that user can be filled by the input of laptop It sets and directly smart phone is operated, such as user can click input unit for example, " backspace " key on keyboard Advertisement is closed, then, so that the case where maloperation may not occur in user, user experience is more since the key in keyboard is larger It is good;Also, it since user directly can operate smart phone by keyboard, also increases between smart phone and keyboard Data interactive mode.
In an alternative embodiment, if input unit is Trackpad, it is to be understood that the letter that Trackpad can receive Number comprise at least one of the following: click signal (for example, click signal or double-click signal), slip signals are (for example, upward sliding is believed Number, or, slide downward signal, or, slip signals to the left, or, slip signals to the right, or, setting track slip signals etc.) and Touching is by signal (for example, touching pressing force is greater than or equal to the signal of first threshold, or, touching is temporally greater than or equal to second threshold Signal etc.).
If the signal received is transmitted to the second electronic equipment by Trackpad, the second electronic equipment can be in itself display The current position of cursor in screen, responds the signal, for example, Trackpad obtains double if user carries out double click operation in Trackpad Signal is hit, then executing double click operation in the current position of the cursor of the display screen of the second electronic equipment accordingly;If user Carry out shift left operation in Trackpad, Trackpad obtains slip signals to the left, then correspondingly, the second electronic equipment display screen Cursor current position execute shift left operation.
In an alternative embodiment, it is electrically connected with the input unit of the first electronic equipment by interface in the second electronic equipment In the case where, input unit can control the second electronic equipment, but cannot control the first electronic equipment.I.e. in input unit control In the period for making the second electronic equipment, input unit cannot control the first electronic equipment.For example, referring also to Fig. 3 a-3b, In the case that smart phone is electrically connected with the keyboard of laptop, user operates on keyboard, then keyboard can only be controlled Smart phone enlarged drawing processed, but in this process, laptop can't be controlled.
In an alternative embodiment, the first electronic equipment has at least four states, which is respectively S0 (work State) state, S3 (standby) state, S4 (sleep) state, S5 (shutdown) state.So in an alternative embodiment, no matter Which kind of state one electronic equipment is in, and processing method provided by the embodiments of the present application can be applicable in.
To sum up, this application provides the processing methods for being applied to the first electronic equipment, after receiving the first instruction, at least Based on the first instruction, the input unit of first electronic equipment and second electronic equipment are electrically connected by the interface It connects, so that the input unit received signal of the first electronic equipment is transmitted to the second electronic equipment, wherein the first instruction includes table The information levying the second electronic equipment and being connected in first electronic equipment for connecting the interface of external equipment.To realize The purpose that input unit based on the first electronic equipment directly operates the second electronic equipment, at present only by second electricity Sub- equipment is compared as hard disk, increases the data interaction side between the second electronic equipment and the input unit of the first electronic equipment Formula.
In an alternative embodiment, the type of the second electronic equipment can be divided into two types, defeated one is being able to respond Enter the signal that device is transferred to oneself, one is the signals that can not be responded input unit and be transferred to oneself.
For example, the second electronic equipment is the storage equipment that hard disk etc. is only used for storing data, if desired the first electronic equipment Above-mentioned storage equipment is controlled, is needed in such a way that input unit controls the first electronic equipment, to above-mentioned Storage equipment is controlled, even if directly the input unit of the first electronic equipment is connected with above-mentioned storage equipment, can not also be led to It crosses input unit directly to operate above-mentioned storage equipment, i.e. the second electronic equipment can not respond input unit and be transferred to certainly Oneself signal.
Based on this, in an alternative embodiment, above-mentioned steps S110 in processing method provided by the embodiments of the present application, at least Based on the first instruction, the input unit of the first electronic equipment and the second electronic equipment are had by the process that the interface is electrically connected Body may include:
If A1, receiving first instruction, the facility information of second electronic equipment, institute are obtained by the interface It states facility information and characterizes whether second electronic equipment is able to respond the signal that the input unit receives.
In an alternative embodiment, if interface is Type C interface, the CC2/CC1 pin in Type C interface can be passed through Obtain the facility information of the second electronic equipment.
If A2, the facility information characterize second electronic equipment and are able to respond the letter that the input unit receives Number, the input unit of first electronic equipment and second electronic equipment are electrically connected by the interface.
Optionally, the intention of user can be further obtained by facility information, for example, if facility information characterization described the Two electronic equipments can not respond the signal that the input unit receives, then, the second electronic equipment is passed through interface by user It is connected with the first electronic equipment, user may not need to directly control the second electricity using the input unit of the first electronic equipment yet Sub- equipment provides electric energy for example, it may be possible to which it is only necessary to the first electronic equipments for the second electronic equipment.
To sum up, the embodiment of the present application can determine whether the second electronic equipment is able to respond input unit based on facility information The signal received, and then to the second electronic equipment that cannot respond the signal that input unit receives, not by itself and the first electricity The interface of sub- equipment is electrically connected, and improves user experience.
In an alternative embodiment, above-mentioned interface is that the first electronic equipment is arranged individual interface, i.e., the interface be only capable of with The second electronic equipment for needing the input unit of the first electronic equipment directly to be controlled is connected, but the function of the interface only limits In this, and it cannot be used for other, then interface is caused to waste.
In an alternative embodiment, above-mentioned interface may be for existing interface to have interface in the first electronic equipment Multiplexing functions, i.e. the second electronic equipment is connected by the interface with the first electronic equipment, it does not necessarily imply that user desired first The input unit of electronic equipment directly controls the second electronic equipment.For example, if the second electronic equipment is smart phone, the first electronics Equipment is laptop, it would be possible that smart phone is electrically connected with the keyboard of laptop by interface by user, it is to use Charge in smart phone, then just smart phone is electrically connected with keyboard if receiving the first instruction, then user without Method passes through keyboard again and operates to laptop, and user experience is poor.
Based on this, in an alternative embodiment, the second instruction can also be received, which may include utilizing first The information for the second electronic equipment that the input unit control of electronic equipment is connected with interface, then if receiving the second instruction, table Requisition family may wish to control the second electronic equipment by input unit, then the second electronic equipment and the first electronics can be set Standby input unit electrical connection.Namely above-mentioned steps S110, at least based on the first instruction, by the input unit and described second Electronic equipment can specifically include by the process that the interface is electrically connected:
At least based on first instruction and second instruction, by the input unit and second electronic equipment It is electrically connected by the interface.
In an alternative embodiment, obtain there are many modes of the second instruction, the embodiment of the present application provide but be not limited to Under it is several.
The first: detecting that programmable button is touched by determination obtains the second instruction.
Programmable button can be virtual key and be also possible to physical button.
Second: detecting default touching by track, determination obtains the second instruction.
Default touching includes: default touch by duration, default touching by least one of number, default sliding trace by track.
The third: detecting default voice, and determination obtains the second instruction.
4th kind: detecting default gesture, determination obtains the second instruction.
To sum up, the embodiment of the present application is due to further increasing the second instruction, so that above-mentioned on the basis of the first instruction The process that input unit is electrically connected with the second electronic equipment more meets user's intention, and user experience is more preferable.
Referring to introducing in previous embodiment, in an alternative embodiment, the type of the second electronic equipment can be divided into two kinds Type, one is the signal for being able to respond input unit and being transferred to oneself, one is can not respond input unit be transferred to from Oneself signal.
It is above-mentioned at least based on first instruction and second instruction in an alternative embodiment based on this, by institute State input unit and second electronic equipment can specifically include by the process that the interface is electrically connected:
If B1, receiving first instruction and second instruction, second electronics is obtained by the interface The facility information of equipment, whether the facility information characterization second electronic equipment, which is able to respond the input unit, receives Signal.
In an alternative embodiment, if interface is Type C interface, the CC2/CC1 pin in Type C interface can be passed through Obtain the facility information of the second electronic equipment.
If B2, the facility information characterize second electronic equipment and are able to respond the letter that the input unit receives Number, the input unit of first electronic equipment and second electronic equipment are electrically connected by the interface.
This step is corresponding with A2 in above-described embodiment, can refer to foregoing description in detail, and which is not described herein again.
The intention of user is further judged by facility information, for example, if facility information characterizes the second electronic equipment not It is able to respond the signal that the input unit receives, then, user sets the second electronic equipment by interface and the first electronics It is standby to be connected, it is intended that should not directly control the second electronic equipment using the input unit of the first electronic equipment.
To sum up, the embodiment of the present application can determine whether the second electronic equipment is able to respond input unit based on facility information The signal received, and then to the second electronic equipment that cannot respond the signal that input unit receives, not by itself and the first electricity The interface of sub- equipment is electrically connected, and improves user experience.
In an alternative embodiment, the embodiment of the present application also provides but is not limited to following several situations.
The first situation controls first processor in input unit and the first electronic equipment if not receiving the second instruction Electrical connection, so that input unit received signal is transmitted to first electronic equipment.
Previous embodiment it has been described that second instruction may include using the first electronic equipment input unit control with The information of the second connected electronic equipment of interface;If receiving the second instruction, characterization user be may wish to through input unit control Make the second electronic equipment.Similarly, if not receiving the second instruction, even if receiving the first instruction, it would be possible that user is also not desired to The second electronic equipment is controlled by input unit, i.e. user may wish to control the first electronic equipment by input unit.
Second, if receiving third instruction, first processor electrical connection in input unit and the first electronic equipment is controlled, So that input unit received signal is transmitted to the first electronic equipment;
Wherein, third instruction includes the information that the second electronic equipment of characterization and the interface disconnect.
In an alternative embodiment, first processor can be CPU (CentralProcessing Unit, central processing Device).
In an alternative embodiment, input unit control the second electronic equipment in the case where, if the second electronic equipment with Interface disconnects, then characterization user has not needed to control the second electronic equipment by input unit, then can connect It after receiving third instruction, is instructed based on the third, controls first processor electrical connection in input unit and the first electronic equipment, with Input unit received signal is allowed to be transmitted to the first electronic equipment, it is received that first processor can respond input unit Signal executes corresponding operation.
The third is controlled if facility information characterizes the second electronic equipment and can not respond the signal that input unit receives First processor is electrically connected in input unit and the first electronic equipment, so that input unit received signal is transmitted to the first electronics Equipment.
It is aforementioned it has been described that if the second electronic equipment cannot respond to the signal that input unit receives, i.e. facility information The signal that input unit receives cannot be responded by characterizing the second electronic equipment, even when directly by the input of the first electronic equipment Device is connected with storage equipment, also can not directly be operated to storage equipment by input unit.In such a case it is possible to will Input unit is electrically connected with first processor in the first electronic equipment.
In an alternative embodiment, even if receiving the first instruction and/or the second instruction, if facility information characterization described the Two electronic equipments can not respond the signal that the input unit receives, then can also control the input unit and described first First processor is electrically connected in electronic equipment.
" input unit of first electronic equipment and second electronic equipment are led to in the embodiment of the present application below Cross interface electrical connection " detailed process be illustrated.
In an alternative embodiment, the first electronic equipment can also include that first choice switch and the second selection switch, Wherein the first transmission end of first choice switch is connected with interface, and the second transmission end of first choice switch is switched with the second selection The second transmission end be connected, first choice switch third transmission end connect with first of the first processor in the first electronic equipment Mouth is connected;First transmission end of the second selection switch is connected with input unit, the third transmission end and first of the second selection switch The second interface of processor is connected.
In an alternative embodiment, it can be realized based on first choice switch and the second selection switch by the first electronics The purpose of the input unit of equipment and the electrical connection of the second electronic equipment, i.e. above-mentioned steps S110 (or above-mentioned A1 or above-mentioned B1) will The process that the input unit of first electronic equipment and second electronic equipment are electrically connected by the interface at least can be with Include:
The first transmission end for controlling the first choice switch is connected with the second transmission end that the first choice switchs, with And the first transmission end of control the second selection switch is connected with the second transmission end of the second selection switch.
It is a kind of electrical block diagram of the first electronic equipment referring to shown in Fig. 5 a.In Fig. 5 a, first processor 111 In include at least first interface 1 and second interface 2;First choice switch 15 is transmitted including at least the first transmission end 151, second End 152 and third transmission end 153;Similarly, the second selection switch 16 includes at least the first transmission end 161, the second transmission end 162 And third transmission end 163.If the first transmission end 151 of so first choice switch 15 is passed with the second of first choice switch 15 Defeated end 152 is connected, and the second transmission end 162 of the first transmission end 161 of the second selection switch 16 and the second selection switch 16 It is connected, then interface 12 can be electrically connected with input unit 13, then if the second electronic equipment is electrically connected with the interface 12, It may be implemented the input unit 13 of the first electronic equipment and second electronic equipment passing through the purpose that interface 12 is electrically connected.
" first processor electricity in the input unit and first electronic equipment is controlled in the embodiment of the present application below The detailed process of connection " is illustrated.
In an alternative embodiment, it can be realized based on first choice switch and the second selection switch by input unit The purpose being electrically connected with first processor in the first electronic equipment, i.e., the above-mentioned control input unit and first electronics are set The process of standby middle first processor electrical connection at least may include:
The first transmission end for controlling the first choice switch is connected with the third transmission end that the first choice switchs, with And the first transmission end of control the second selection switch is connected with the third transmission end of the second selection switch.
Referring to shown in Fig. 5 b, if the third biography of the first transmission end 151 of first choice switch 15 and first choice switch 15 Defeated end 153 is connected, and the third transmission end 163 of the first transmission end 161 of the second selection switch 16 and the second selection switch 16 It is connected, i.e., interface 12 is connected with the first interface of first processor 111, by the of input unit 13 and first processor 111 Two interfaces 2 are connected, and are also electrically connected interface 12, input unit 13 and first processor 111, fill input to realize Set 13 and first processor 111 pass through the purpose that is electrically connected of interface 12.
Based on above-mentioned processing method, the embodiment of the present application also provides a kind of first electronic equipment, first electronic equipments With the interface for connecting external equipment.
Optionally, Fig. 6 shows the hardware block diagram of the first electronic equipment, referring to Fig. 6, the hardware of the first electronic equipment Structure may include: at least one processor 11, at least one interface 12, at least one input unit 13 and communication bus 14.
In the embodiment of the present application, processor 11, interface 12, input unit 13, communication bus 14 quantity be at least one It is a, and processor 11, interface 12, input unit 13 complete mutual communication by communication bus 14.
Processor 11 includes central processing unit (Central Processing Unit, CPU), embedded controller In (Embedded Controller, EC) and charge transport processor (Power Delivering Controller, PD) At least one.
The input unit that interface 12 can be used for the first electronic equipment is connected with the second electronic equipment, so that the first electronics The input unit of equipment at least can carry out data interaction by interface 12 and the second electronic equipment.
In an alternative embodiment, processor 11 can be used for:
The first instruction is received, first instruction includes being used in the second electronic equipment of characterization and first electronic equipment Connect the connected information of the interface of external equipment;
At least based on the first instruction, the input unit of first electronic equipment and second electronic equipment are passed through into institute Interface electrical connection is stated, so that the input unit received signal of first electronic equipment is transmitted to second electronic equipment.
Optionally, the refinement function of the processor 11 and extension function can refer to the description of processing method above.
In an alternative embodiment, above-mentioned processor 11 may include first processor 111, second processor 112 and At least one in third processor 113, referring specifically to Fig. 7.
In an alternative embodiment, first processor 111 has the first power consumption;Second processor 112, which has, is lower than first Second power consumption of power consumption;Third processor has the third power consumption lower than the first power consumption.
In an alternative embodiment, first processor can be switched to working condition from off working state by second processor, Such as if second processor is EC, first processor is CPU, then CPU can be switched to working condition from off working state by EC.
In an alternative embodiment, third processor is PD.
In an alternative embodiment, interface 12 may include multiple pins, for example, at least include: the first pin 121, second Pin 122.
Optionally, the first pin 121 can be electrically connected with third processor 113, and optionally, third processor 113 can be with The first pin 121 based on interface 12 obtains the facility information of the second electronic equipment.
Optionally, the first pin 121 can be electrically connected (Fig. 7 is not shown) with second processor 112, then second processor 112 can obtain the facility information of the second electronic equipment based on the first pin 121 of interface 12.
Second pin 122 can be electrically connected with the first transmission end 151 of first choice switch 15, to be opened by first choice Closing 15 is electrically connected interface 12 with input unit 13, or, making interface 12 and first processor by first choice switch 15 111 electrical connections.
In an alternative embodiment, if interface is Type C interface, then the first pin can be CC2/CC1 pin, the Two pins are USB2N/P_B/T pin.
It is shown in Figure 7 in an alternative embodiment, if the first pin 121 of interface 12 is electrically connected with third processor 113 It connects, then third processor 113 can detecte whether the second electronic equipment is electrically connected with interface 12, the first finger can be received It enables.In an alternative embodiment, the first instruction can be sent to second processor 112 by third processor 113.
In an alternative embodiment, if the first pin 121 of interface 12 is electrically connected with second processor 112, (Fig. 7 does not show Out), then second processor 112 can receive the first instruction, the first instruction can also be sent to third by second processor 112 Processor 113.
Based on above-mentioned introduction, in an alternative embodiment, the specific implementation based on processor 11 can be following several It is any in kind situation.
The first situation, processor 11 can be first processor 111, such as CPU.
In an alternative embodiment, if second processor 112 receives the first instruction, then the first instruction can be sent To first processor 111, so that first processor 111 is at least instructed based on first received, by first electronic equipment Input unit 13 and second electronic equipment by the interface 12 be electrically connected so that the input of first electronic equipment 13 received signal of device is transmitted to second electronic equipment.For example, first processor 111 control first choice switch and Second selection switch, so that input unit 13 and second electronic equipment are electrically connected by the interface 12.
In an alternative embodiment, if third processor 113 receives the first instruction, then the first instruction can be sent To first processor 111, so that first processor 111 is at least instructed based on first received, by first electronic equipment Input unit 13 and second electronic equipment by the interface 12 be electrically connected so that the input of first electronic equipment 13 received signal of device is transmitted to second electronic equipment.For example, first processor 111 control first choice switch and Second selection switch, so that input unit 13 and second electronic equipment are electrically connected by the interface 12.
Second situation, processor 11 can be second processor 112, such as EC.
In an alternative embodiment, if second processor 112 receives the first instruction, then can at least be based on receiving The first instruction, the input unit 13 of first electronic equipment and second electronic equipment are electrically connected by the interface 12 It connects, so that 13 received signal of input unit of first electronic equipment is transmitted to second electronic equipment.For example, second Processor 112 controls first choice switch and the second selection switch, so that input unit 13 and second electronic equipment It is electrically connected by the interface 12.
In an alternative embodiment, if third processor 113 receives the first instruction, then the first instruction can be sent To second processor 112, so that second processor 112 is at least instructed based on first received, by first electronic equipment Input unit 13 and second electronic equipment by the interface 12 be electrically connected so that the input of first electronic equipment 13 received signal of device is transmitted to second electronic equipment.For example, second processor 112 control first choice switch and Second selection switch, so that input unit 13 and second electronic equipment are electrically connected by the interface 12.
The third situation, processor 11 can be third processor 113, such as PD.
In an alternative embodiment, if second processor 112 receives the first instruction, then the first instruction can be sent To third processor 113, so that third processor 113 is at least instructed based on first received, by first electronic equipment Input unit 13 and second electronic equipment by the interface 12 be electrically connected so that the input of first electronic equipment 13 received signal of device is transmitted to second electronic equipment.For example, third processor 113 control first choice switch and Second selection switch, so that input unit 13 and second electronic equipment are electrically connected by the interface 12.
In an alternative embodiment, if third processor 113 receives the first instruction, then can at least be based on receiving The first instruction, the input unit 13 of first electronic equipment and second electronic equipment are electrically connected by the interface 12 It connects, so that 13 received signal of input unit of first electronic equipment is transmitted to second electronic equipment.For example, third Processor 113 controls first choice switch and the second selection switch, so that input unit 13 and second electronic equipment It is electrically connected by the interface 12.
It is shown in Figure 7 in an alternative embodiment, if can by the programmable button that is connected with second processor 112, The second instruction is obtained, then, second processor 112 can receive the second instruction, and second processor 112 can also be by the second instruction It is sent to third processor 113.
In an alternative embodiment, if the second finger can be obtained by the programmable button being connected with third processor 113 It enables, then, third processor 113 can receive the second instruction, and the second instruction can also be sent to second by third processor 113 Processor 112.
Based on above-mentioned introduction, in an alternative embodiment, the specific implementation based on processor 11 can also be following It is any in several situations.
4th kind of situation, processor 11 can be first processor 111, such as CPU.
In an alternative embodiment, if second processor 112 receives the first instruction, then the first instruction can be sent To first processor 111;If third processor 113 receives the first instruction, then the first instruction can be sent at first Manage device 111.
In an alternative embodiment, if second processor 112 receives the second instruction, then the second instruction can be sent To first processor 111;If third processor 113 receives the second instruction, then the second instruction can be sent at first Manage device 111.
So first processor 111 can be at least based on the first instruction and the second instruction received, by described first The input unit 13 of electronic equipment and second electronic equipment are electrically connected by the interface 12, so that first electronics is set Standby 13 received signal of input unit is transmitted to second electronic equipment.
It is shown in Figure 7 in an alternative embodiment, if third processor 113 and the first pin 121 of interface 12 are electrically connected It connects, then third processor 113 can obtain the facility information of the second electronic equipment, third processor 113 can also be by second The facility information of electronic equipment is sent to first processor 111, if then first processor 111 receives the first instruction and Two instructions set the first electronics if facility information characterizes the second electronic equipment and is able to respond the signal that input unit 13 receives Standby input unit 13 and the second electronic equipment is electrically connected by interface 12.
5th kind of situation, processor 11 can be second processor 112, such as EC.
In an alternative embodiment, second processor 112 itself can receive the first instruction;In an alternative embodiment, If third processor 113 receives the first instruction, then the first instruction can be sent to second processor 112.
In an alternative embodiment, second processor 112 itself can receive the second instruction;In an alternative embodiment, If third processor 113 receives the second instruction, then the second instruction can be sent to second processor 112.
So second processor 112 can be at least based on the first instruction and the second instruction received, by described first The input unit 13 of electronic equipment and second electronic equipment are electrically connected by the interface 12, so that first electronics is set Standby 13 received signal of input unit is transmitted to second electronic equipment.
It is shown in Figure 7 in an alternative embodiment, if third processor 113 and the first pin 121 of interface 12 are electrically connected It connects, then third processor 113 can obtain the facility information of the second electronic equipment, third processor 113 can also be by second The facility information of electronic equipment is sent to second processor 112, if then second processor 112 receives the first instruction and Two instructions set the first electronics if facility information characterizes the second electronic equipment and is able to respond the signal that input unit 13 receives Standby input unit 13 and the second electronic equipment is electrically connected by interface 12.
6th kind of situation, processor 11 can be third processor 113, such as PD.
In an alternative embodiment, if second processor 112 receives the first instruction, then the first instruction can be sent To third processor 113;In an alternative embodiment, third processor 113 itself can receive the first instruction.
In an alternative embodiment, if second processor 112 receives the second instruction, then the second instruction can be sent To third processor 113;In an alternative embodiment, third processor 113 itself can receive the second instruction.
So third processor 113 can be at least based on the first instruction and the second instruction received, by described first The input unit 13 of electronic equipment and second electronic equipment are electrically connected by the interface 12, so that first electronics is set Standby 13 received signal of input unit is transmitted to second electronic equipment.
It is shown in Figure 7 in an alternative embodiment, if third processor 113 and the first pin 121 of interface 12 are electrically connected It connects, then third processor 113 itself can obtain the facility information of the second electronic equipment, if then third processor 113 connects The first instruction and the second instruction are received, if facility information characterizes the second electronic equipment and is able to respond what input unit 13 received The input unit 13 of first electronic equipment and the second electronic equipment are electrically connected by signal by interface 12.
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, the computer journey When sequence is executed by processor, such as above-mentioned processing method is realized.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device or system class embodiment, since it is basically similar to the method embodiment, so be described relatively simple, it is related Place illustrates referring to the part of embodiment of the method.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of processing method is applied to the first electronic equipment, the treating method comprises:
The first instruction of reception, first instruction include characterizing the second electronic equipment and being used to connect in first electronic equipment The connected information of the interface of external equipment;
At least based on the first instruction, the input unit of first electronic equipment and second electronic equipment are connect by described Mouth electrical connection, so that the input unit received signal of first electronic equipment is transmitted to second electronic equipment.
2. processing method according to claim 1, further includes:
The second instruction is received, second instruction is connected using input unit control with the interface described including characterization The information of second electronic equipment;
It is described at least to be instructed based on first, the input unit and second electronic equipment are passed through into interface electrical connection packet It includes:
At least based on first instruction and second instruction, the input unit and second electronic equipment are passed through The interface electrical connection.
3. processing method according to claim 2 further includes following any:
If not receiving second instruction, controls first processor in the input unit and first electronic equipment and be electrically connected It connects, so that the input unit received signal is transmitted to first electronic equipment;
If receiving third instruction, controls first processor in the input unit and first electronic equipment and be electrically connected, with The input unit received signal is set to be transmitted to first electronic equipment;
The third instruction includes the information that the second electronic equipment of characterization and the interface disconnect.
4. processing method according to claim 2, described at least based on first instruction and second instruction, by institute Input unit and second electronic equipment, which are stated, by interface electrical connection includes:
If receiving first instruction and second instruction, setting for second electronic equipment is obtained by the interface Standby information, the facility information characterize whether second electronic equipment is able to respond the signal that the input unit receives;
It, will be described if the facility information characterizes second electronic equipment and is able to respond the signal that the input unit receives The input unit of first electronic equipment and second electronic equipment are electrically connected by the interface.
5. processing method according to claim 1, described at least based on the first instruction, by the input unit of the first electronic equipment Include: by interface electrical connection with the second electronic equipment
If receiving first instruction, the facility information of second electronic equipment, the equipment are obtained by the interface Whether the second electronic equipment described in information representation is able to respond the signal that the input unit receives;
It, will be described if the facility information characterizes second electronic equipment and is able to respond the signal that the input unit receives The input unit of first electronic equipment and second electronic equipment are electrically connected by the interface.
6. processing method according to claim 4 or 5, further includes:
If the facility information, which characterizes second electronic equipment, can not respond the signal that the input unit receives, control First processor is electrically connected in the input unit and first electronic equipment, so that the input unit received signal passes Transport to first electronic equipment.
7. according to claim 1 to 5 any processing methods, first electronic equipment further include:
First transmission end of first choice switch, the first choice switch is connected with the interface, the first choice switch The second transmission end be connected with the second transmission end of the second selection switch, the third transmission end that the first choice switchs with it is described The first interface of first processor in first electronic equipment is connected;
First transmission end of the second selection switch, the second selection switch is connected with the input unit, and described second The third transmission end of selection switch is connected with the second interface of the first processor;
It is described to include: by interface electrical connection by the input unit of first electronic equipment and second electronic equipment
The first transmission end for controlling the first choice switch is connected with the second transmission end that the first choice switchs, and control The first transmission end for making the second selection switch is connected with the second transmission end of the second selection switch.
8. processing method according to claim 3, first electronic equipment further include:
First transmission end of first choice switch, the first choice switch is connected with the interface, the first choice switch The second transmission end be connected with the second transmission end of the second selection switch, the third transmission end that the first choice switchs with it is described The first interface of first processor in first electronic equipment is connected;
First transmission end of the second selection switch, the second selection switch is connected with the input unit, and described second The third transmission end of selection switch is connected with the second interface of the first processor;
First processor, which is electrically connected, in the control input unit and first electronic equipment includes:
The first transmission end for controlling the first choice switch is connected with the third transmission end that the first choice switchs, and control The first transmission end for making the second selection switch is connected with the third transmission end of the second selection switch.
9. a kind of first electronic equipment, comprising:
Interface, for connecting external equipment;
Input unit, for receiving signal;
Processor is used for:
The first instruction of reception, first instruction include characterizing the second electronic equipment and being used to connect in first electronic equipment The connected information of the interface of external equipment;
At least based on the first instruction, the input unit of first electronic equipment and second electronic equipment are connect by described Mouth electrical connection, so that the input unit received signal of first electronic equipment is transmitted to second electronic equipment.
10. the first electronic equipment according to claim 9, including following any:
The processor is first processor, has the first power consumption;
The processor is second processor, has the second power consumption lower than first power consumption;The second processor can incite somebody to action The first processor switches to working condition from off working state;
The processor is third processor, has the third power consumption lower than first power consumption.
CN201910561713.8A 2019-06-26 2019-06-26 Processing method and electronic equipment Active CN110262985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910561713.8A CN110262985B (en) 2019-06-26 2019-06-26 Processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910561713.8A CN110262985B (en) 2019-06-26 2019-06-26 Processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110262985A true CN110262985A (en) 2019-09-20
CN110262985B CN110262985B (en) 2021-09-14

Family

ID=67921906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910561713.8A Active CN110262985B (en) 2019-06-26 2019-06-26 Processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110262985B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800890A (en) * 2020-06-30 2020-10-20 联想(北京)有限公司 Processing method and input device
WO2021057830A1 (en) * 2019-09-26 2021-04-01 华为技术有限公司 Information processing method and electronic device
CN113918256A (en) * 2021-09-30 2022-01-11 联想(北京)有限公司 Control method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073250A (en) * 2000-08-31 2002-03-12 Kazuhiko Akiho Cover with character
CN1967510A (en) * 2005-11-18 2007-05-23 鸿富锦精密工业(深圳)有限公司 System and method to control computer by input device of external device
CN102622157A (en) * 2011-01-27 2012-08-01 西安龙飞软件有限公司 Method for achieving handwriting input of computer equipment by using mobile phone touch screen
CN204721395U (en) * 2015-05-21 2015-10-21 朱德全 Polymorphic mobile phone system
CN105045548A (en) * 2015-06-16 2015-11-11 广州视睿电子科技有限公司 Wireless screen transmission method, extension device and wireless screen transmission system
CN207586864U (en) * 2017-12-14 2018-07-06 西安航空学院 A kind of Novel Communication device
CN108780337A (en) * 2016-01-26 2018-11-09 劳欧·帕瑞堤 The personal digital assistant of image can be captured including the smart mobile phone, keyboard and the tablet computer that are all assembled together
CN109669659A (en) * 2019-01-15 2019-04-23 盛子望 The electronic equipment of data processing is carried out for connecting mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073250A (en) * 2000-08-31 2002-03-12 Kazuhiko Akiho Cover with character
CN1967510A (en) * 2005-11-18 2007-05-23 鸿富锦精密工业(深圳)有限公司 System and method to control computer by input device of external device
CN102622157A (en) * 2011-01-27 2012-08-01 西安龙飞软件有限公司 Method for achieving handwriting input of computer equipment by using mobile phone touch screen
CN204721395U (en) * 2015-05-21 2015-10-21 朱德全 Polymorphic mobile phone system
CN105045548A (en) * 2015-06-16 2015-11-11 广州视睿电子科技有限公司 Wireless screen transmission method, extension device and wireless screen transmission system
CN108780337A (en) * 2016-01-26 2018-11-09 劳欧·帕瑞堤 The personal digital assistant of image can be captured including the smart mobile phone, keyboard and the tablet computer that are all assembled together
CN207586864U (en) * 2017-12-14 2018-07-06 西安航空学院 A kind of Novel Communication device
CN109669659A (en) * 2019-01-15 2019-04-23 盛子望 The electronic equipment of data processing is carried out for connecting mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057830A1 (en) * 2019-09-26 2021-04-01 华为技术有限公司 Information processing method and electronic device
CN111800890A (en) * 2020-06-30 2020-10-20 联想(北京)有限公司 Processing method and input device
CN111800890B (en) * 2020-06-30 2023-09-19 联想(北京)有限公司 Processing method and input device
CN113918256A (en) * 2021-09-30 2022-01-11 联想(北京)有限公司 Control method and device and electronic equipment

Also Published As

Publication number Publication date
CN110262985B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN104679436B (en) Suspension key and device based on touch screen
CN110262985A (en) A kind of processing method and electronic equipment
CN107395877A (en) A kind of terminal false-touch prevention method and terminal
EP2490116A1 (en) Method for providing background of locked screen, electronic device and computer program product using the same
CN108064368A (en) The control method and device of flexible display device
CN108549510A (en) Figure calibration method, equipment and storage medium for showing boarding application
CN103034427A (en) Touch screen page turning method and device and touch screen equipment
CN104571857A (en) Customizing method, responding method and mobile terminal of user-defined touch
CN103412716A (en) Method for previewing and treating unread prompt messages of application program
CN105068847B (en) A kind of application program launching method and intelligent watch
CN102023735A (en) Touch input equipment, electronic equipment and mobile phone
CN106648857B (en) A kind of open method and mobile terminal of the OTG function of mobile terminal
CN107181858A (en) A kind of method and terminal for showing notification message
CN104182161B (en) A kind of method and apparatus for opening screen function region
CN106488019B (en) A kind of starting-up method of mobile terminal and mobile terminal
CN107765555A (en) The smart home product human-computer interaction interface that icon in kind is shown
CN108572594A (en) Generation method, device and the terminal device of smart machine control instruction
CN105930156A (en) Terminal control method and terminal
CN106033355B (en) A kind of language setting method and mobile terminal
CN105549857B (en) A kind of control method and electric terminal of electric terminal
CN204650365U (en) Notebook computer
CN110908580B (en) Method and device for controlling application
CN108490824B (en) Intelligent electric appliance control method, device and mobile terminal
CN111831196B (en) Control method of folding screen, terminal device and storage medium
CN107092433A (en) The method of toch control and device of touch-control all-in-one machine

Legal Events

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