CN106034273A - Control method and device and electronic equipment - Google Patents

Control method and device and electronic equipment Download PDF

Info

Publication number
CN106034273A
CN106034273A CN201510122567.0A CN201510122567A CN106034273A CN 106034273 A CN106034273 A CN 106034273A CN 201510122567 A CN201510122567 A CN 201510122567A CN 106034273 A CN106034273 A CN 106034273A
Authority
CN
China
Prior art keywords
electronic equipment
communication interface
module
radio receiver
receiver module
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
CN201510122567.0A
Other languages
Chinese (zh)
Other versions
CN106034273B (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 CN201510122567.0A priority Critical patent/CN106034273B/en
Publication of CN106034273A publication Critical patent/CN106034273A/en
Application granted granted Critical
Publication of CN106034273B publication Critical patent/CN106034273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a control method and device and electronic equipment. A first communication interface of the electronic equipment comprises pins, the first end of the first pin is connected with a demodulator in a radio set module, the second end of the first pin is connected with the input end of a high-frequency signal filter, the output end of the high-frequency signal filter is grounded, and a controllable switch is connected with the high-frequency signal filter in parallel. When it is detected that second electronic equipment is connected to first electronic equipment via a second communication interface which matches the first communication interface, whether the radio set module is started is determined if the second electronic equipment is connected with the first electronic equipment via a cable including the second communication interface; and when it is determined to start the radio set module, the controllable switch is disconnected. The limitation caused by that present electronic equipment cannot listen to the radio without an earphone is overcome.

Description

Control method, device and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly, it relates to a kind of control method, device and electricity Subset.
Background technology
At present, increasing electronic equipment has radio function, and user is using radio function Time, need to coordinate earphone to use, i.e. when user wants to listen to radio, need that earphone is inserted in electronics and set Radio just can be listened to after in standby earpiece holes.If user does not has earphone, then can not listen to radio.
Visible, current electronic equipment just can only can listen to radio by earphone, has certain limitation Property.
Summary of the invention
It is an object of the invention to provide a kind of control method, device and electronic equipment, to solve current electricity Subset just can only can listen to radio by earphone, has certain circumscribed problem.
For achieving the above object, the technical scheme is that
A kind of control device, is applied to the first electronic equipment, and described device includes:
Judge module, for when detecting that the second electronic equipment is by first with described first electronic equipment When second communication interface of communication interface coupling accesses described first electronic equipment, if described second electronics sets The standby electronics for being connected with described first electronic equipment by having the cable of described second communication interface sets Standby, then judge whether the radio receiver module of described first electronic equipment is opened;
First control module, for when described judge module judges that described radio receiver module is opened, controls The gate-controlled switch making described first electronic equipment disconnects;
Wherein, described first communication interface includes some pins, the first pin in described some pins First end is connected with the demodulator in described radio receiver module, the second end of described first pin and high frequency The input of traffic filter is connected, the output head grounding of described high-frequency signal wave filter, described controlled Switch is connected in parallel with described high-frequency signal wave filter.
Said apparatus, it is preferred that described judge module includes:
First judging unit, for when detect the second electronic equipment by with described first electronic equipment When second communication interface of the first communication interface coupling accesses described first electronic equipment, if described second electricity Subset is by having the electronics that the cable of described second communication interface is connected with described first electronic equipment Equipment, then judge the charging module that is connected with described first communication interface in described first electronic equipment whether Open;
Second judging unit, for judging with described first communication interface even when described first judging unit When the charging module connect is not opened, it is judged that whether the radio receiver module of described first electronic equipment is opened.
Said apparatus, it is preferred that also include:
Second control module, for when judging that described radio receiver module is closed, controls described controlled open Close Guan Bi.
Said apparatus, it is preferred that also include:
3rd control module, for disconnecting with described second communication interface when described first communication interface Time, control described gate-controlled switch Guan Bi.
A kind of control method, is applied to the first electronic equipment, and described method includes:
When detecting that the second electronic equipment is by mating with the first communication interface of described first electronic equipment When second communication interface accesses described first electronic equipment, if described second electronic equipment is for by having State the electronic equipment that the cable of the second communication interface is connected with described first electronic equipment, then judge described Whether the radio receiver module of one electronic equipment is opened;
When judging that described radio receiver module is opened, control described gate-controlled switch and disconnect;
Wherein, described first communication interface includes some pins, the first pin in described some pins First end is connected with the demodulator in described radio receiver module, the second end of described first pin and high frequency The input of traffic filter is connected, the output head grounding of described high-frequency signal wave filter, described controlled Switch is connected in parallel with described high-frequency signal wave filter.
Said method, it is preferred that described when detecting that the second electronic equipment is by setting with described first electronics When second communication interface of standby first communication interface coupling accesses described first electronic equipment, if described the Two electronic equipments are to be connected with described first electronic equipment by having the cable of described second communication interface Electronic equipment, then judge whether the radio receiver module of described first electronic equipment is opened and include:
When detecting that the second electronic equipment is by mating with the first communication interface of described first electronic equipment When second communication interface accesses described first electronic equipment, if described second electronic equipment is for by having State the electronic equipment that the cable of the second communication interface is connected with described first electronic equipment, then judge described Whether the charging module being connected with described first communication interface in one electronic equipment is opened;
When judging that the charging module being connected with described first communication interface is not opened, it is judged that described first Whether the radio receiver module of electronic equipment is opened.
Said method, it is preferred that also include:
When judging that described radio receiver module is closed, control described gate-controlled switch Guan Bi.
Said method, it is preferred that also include:
When described first communication interface and described second communication interface disconnect, control described controlled open Close Guan Bi.
A kind of first electronic equipment, is provided with radio receiver module in described first electronic equipment, the first communication Interface, gate-controlled switch, high-frequency signal wave filter and control device, wherein, described first communication interface bag Include some pins, the first end of the first pin in described some pins and the solution in described radio receiver module Tune device is connected, and the second end of described first pin is connected with the input of described high-frequency signal wave filter, The output head grounding of described high-frequency signal wave filter, described gate-controlled switch is with described high-frequency signal wave filter also Connection connects;Described control device is connected with described gate-controlled switch;
Described control device is for when detecting that the second electronic equipment is by mating with described first communication interface The second communication interface when accessing described first electronic equipment, if described second electronic equipment is for by having The electronic equipment that the cable of described second communication interface is connected with described first electronic equipment, then judge described Whether radio receiver module is opened;When judging that described radio receiver module is opened, control described gate-controlled switch Disconnect.
Above-mentioned electronic equipment, it is preferred that described control device is specifically for when the second electronic equipment being detected Described first is accessed by the second communication interface mated with the first communication interface of described first electronic equipment During electronic equipment, if described second electronic equipment is by having the cable of described second communication interface and institute State the electronic equipment that the first electronic equipment connects, then judge described first electronic equipment leads to described first Whether the charging module that letter interface connects is opened;When judging the charging that is connected with described first communication interface When module is not opened, it is judged that whether the radio receiver module of described first electronic equipment is opened.
Above-mentioned electronic equipment, it is preferred that described control device is additionally operable to when judging described radio receiver module During closedown, control described gate-controlled switch Guan Bi.
Above-mentioned electronic equipment, it is preferred that described control device is additionally operable to when described first communication interface and institute State the second communication interface when disconnecting, control described gate-controlled switch Guan Bi.
Above-mentioned electronic equipment, it is preferred that described high-frequency signal wave filter is inducer.
Above-mentioned electronic equipment, it is preferred that described first communication interface is usb bus interface, described first Pin is the grounding pin in described usb bus interface.
By above scheme, a kind of control method, device and the electronic equipment that the application provides, electricity Subset has radio receiver module, the first communication interface, gate-controlled switch and high-frequency signal wave filter, its In, described first communication interface includes some pins, the first end of the first pin in described some pins Being connected with the demodulator in radio receiver module, the second end of described first pin is filtered with described high-frequency signal The input of ripple device is connected, the output head grounding of described high-frequency signal wave filter, described gate-controlled switch with Described high-frequency signal wave filter is connected in parallel, when detecting that the second electronic equipment is by communicating with described first When second communication interface of Interface Matching accesses described first electronic equipment, if described second electronic equipment is By there is the electronic equipment that the cable of described second communication interface is connected with described first electronic equipment, then Judge whether described radio receiver module is opened;When judging that described radio receiver module is opened, control described Gate-controlled switch disconnects.Realize by have the second communication interface mated with the first communication interface cable (as The data wires such as usb bus) receive the purpose of radio receiver signal, and the frequency ratio that people use data wire makes Higher by the frequency of earphone, therefore, control method, device and the electronics provided by the embodiment of the present invention Equipment, solves current electronic equipment and just can only can listen to radio by earphone, have certain office Sex-limited problem.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of structural representation controlling device that Fig. 1 provides for the embodiment of the present application;
A kind of structural representation controlling device that Fig. 2 provides for the embodiment of the present application;
A kind of structural representation of the judge module that Fig. 3 provides for the embodiment of the present application;
The another kind of structural representation controlling device that Fig. 4 provides for the embodiment of the present application;
Another structural representation controlling device that Fig. 5 provides for the embodiment of the present application;
A kind of flowchart of the control method that Fig. 6 provides for the embodiment of the present application;
The structural representation of the first electronic equipment that Fig. 7 provides for the embodiment of the present application.
Term " first " in specification and claims and above-mentioned accompanying drawing, " second ", " the 3rd " (if present) such as " the 4 " is for distinguishing similar part, the most suitable without being used for describing Sequence or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to here The embodiments herein described can be implemented with the order in addition to here illustrating.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
The control device and method that the embodiment of the present invention provides is applied in the first electronic equipment, and described first Electronic equipment can be mobile phone, it is also possible to be panel computer, or can also be notebook computer etc..Should First electronic equipment is provided with radio receiver module, the first communication interface, gate-controlled switch and high-frequency signal filter Ripple device;Wherein,
A kind of connection of radio receiver module, the first communication interface, gate-controlled switch and high-frequency signal wave filter Relation schematic diagram is as it is shown in figure 1, described first communication interface includes some pins, in described some pins The first end of the first pin be connected with the demodulator in described radio receiver module, described first pin Second end is connected with the input of high-frequency signal wave filter, the output termination of described high-frequency signal wave filter Ground, described gate-controlled switch is connected in parallel with described high-frequency signal wave filter.
Refer to a kind of structural representation controlling device that Fig. 2, Fig. 2 provide for the embodiment of the present invention;Can To include:
Judge module 21 and the first control module 22;Wherein,
Judge module 21 is for when detecting that the second electronic equipment is by first with described first electronic equipment When second communication interface of communication interface coupling accesses described first electronic equipment, if described second electronics sets The standby electronics for being connected with described first electronic equipment by having the cable of described second communication interface sets Standby, then judge whether the radio receiver module of described first electronic equipment is opened;
In the embodiment of the present invention, the second electronic equipment can be the cable with the second communication interface, this tool The cable having the second communication interface can connect the first electronic equipment and the 3rd electronic equipment so that the first electricity Subset and the second electronic equipment are communicated by the second electronic equipment.Such as, the second electronic equipment can With data wire.Second electronic equipment can also be an electronic equipment of the tool communications cable, this communication cable one End is the second communication interface, and the other end is the main body of the second electronic equipment, such as mouse, keyboard etc..
When detecting that the first communication interface has the second electronic equipment to access, it is judged that this second electronic equipment is No is by having the cable of the second communication interface and the foundation connection of the first electronic equipment.
Concrete, different types of first electronic equipment, it is judged that whether the second electronic equipment is by having The cable of the second communication interface and the first electronic equipment are set up the mode connected and are likely to different.Such as, if First electronic equipment is mobile phone, usual mobile phone only one of which communication interface (generally USB interface), and This communication interface is typically only possible by data wire and is connected with miscellaneous equipment, therefore, when the communication on mobile phone When interface connects upper data wire, it may be determined that the second electronic equipment is through having described second communication and connects The electronic equipment that the cable of mouth is connected with described first electronic equipment, data wire inherently the second electronics sets Standby.
If the first electronic equipment is notebook computer or panel computer etc., generally this class of electronic devices is also provided with Communication interface, is the most also USB interface, but, the communication interface of this kind of first electronic equipment is except can Have outside the peripheral hardware of cable connecing data wire, mouse, keyboard etc., it is also possible to connecing flash disk etc. does not has cable Peripheral hardware, therefore, when the communication interface of this class of electronic devices accesses the second electronic equipment, can be according to The identification marking of two electronic equipments judges whether the second electronic equipment is by having described second communication interface The electronic equipment that is connected with described first electronic equipment of cable.Such as, if by the second electronic equipment Identification marking judge that the second electronic equipment is mouse or keyboard, then the second electronic equipment is for by having The electronic equipment that the cable of described second communication interface is connected with described first electronic equipment;If by second At the identification marking judgement of electronic equipment, the second electronic equipment is mouse, then the second electronic equipment not by There is the electronic equipment that the cable of described second communication interface is connected with described first electronic equipment;Need Bright, when the second electronic equipment that the first electronic equipment accesses is data wire, the first electronic equipment is not The identification marking of the second electronic equipment can be detected, therefore, when the first electronic equipment is not detected by the second electricity During the identification marking of subset, it is also determined that the second electronic equipment is by having described second communication interface The electronic equipment that cable is connected with described first electronic equipment.
First control module 22 is used for when described judge module 21 judges that described radio receiver module is opened, The gate-controlled switch controlling described first electronic equipment disconnects;
When described gate-controlled switch disconnects, the cable with the second communication interface can receive radio receiver signal. Radio receiver signal is usually FM (Frequency Modulation) signal, i.e. fm broadcast signal.FM Signal is high-frequency signal, and high-frequency signal wave filter prevents FM signal ground.
The control device that the embodiment of the present invention provides, is applied to the first electronic equipment, this first electronic equipment There is radio receiver module, the first communication interface, gate-controlled switch and high-frequency signal wave filter, wherein, described First communication interface includes some pins, the first end of the first pin in described some pins and radio Demodulator in module is connected, and the second end of described first pin is defeated with described high-frequency signal wave filter Enter end to be connected, the output head grounding of described high-frequency signal wave filter, described gate-controlled switch and described high frequency Traffic filter is connected in parallel.Judge module detect the second electronic equipment by with the first electronic equipment First communication interface coupling second communication interface access described first electronic equipment time, if described second Electronic equipment is by having the electricity that the cable of described second communication interface is connected with described first electronic equipment Subset, then judge whether the radio receiver module of described first electronic equipment is opened, and the first control module exists Described judge module is judged when described radio receiver module is opened, and controls the controlled of described first electronic equipment Switch off so that the cable with the second communication interface can receive radio receiver signal, it is achieved by number Listen to radio according to line, and people use the frequency ratio of data wire to use the frequency of earphone higher, therefore, The control device provided by the embodiment of the present invention, solving current electronic equipment can only by earphone Radio can be listened to, there is certain circumscribed problem.
Optionally, it is judged that a kind of structural representation of module 21 is as it is shown on figure 3, may include that
First judging unit 31 and the second judging unit 32;Wherein,
First judging unit 31 for when detect the second electronic equipment by with described first electronic equipment When second communication interface of the first communication interface coupling accesses described first electronic equipment, if described second electricity Subset is by having the electronics that the cable of described second communication interface is connected with described first electronic equipment Equipment, then judge the charging module that is connected with described first communication interface in described first electronic equipment whether Open;
Second judging unit 32 is for judging with described first communication interface even when described first judging unit When the charging module connect is not opened, it is judged that whether the radio receiver module of described first electronic equipment is opened.
The charging module being connected with the first communication interface is not opened, and illustrates that the first electronic equipment is not charged.
In view of electronic equipments such as mobile phones after being connected with power supply or computer by data wire, can be charged, Therefore, cause the first electronic equipment not charge for avoiding listening to radio, in the embodiment of the present invention, only Have when the first electronic equipment is not charged, just can listen to radio.
Optionally, on the basis of embodiment illustrated in fig. 2, what the embodiment of the present invention provided controls device Another kind of structural representation is as shown in Figure 4, it is also possible to including:
Second control module 41, for when judging that described radio receiver module is closed, controls described controlled Switch Guan Bi.
In the embodiment of the present invention, the normality of gate-controlled switch is closure state.
It should be noted that in the embodiment of the present invention, the second control module 41 is readily adaptable for use in Fig. 3 institute Show in embodiment.
Optionally, on the basis of embodiment illustrated in fig. 2, what the embodiment of the present invention provided controls device Another structural representation is as shown in Figure 5, it is also possible to including:
3rd control module 51, for disconnecting even with described second communication interface when described first communication interface When connecing, control described gate-controlled switch Guan Bi.
In the embodiment of the present invention, the normality of gate-controlled switch is closure state.
It should be noted that in the embodiment of the present invention, the 3rd control module 51 be readily adaptable for use in Fig. 3 or In embodiment illustrated in fig. 4.
It addition, in the embodiment of the present invention, the first control module 22, the second control module 41 and the 3rd controls Module 51 can be same control module, the i.e. first control module 22, the second control module 41 and The function of three control modules 51 is integrated in same functional module, same functional module complete.
Corresponding with device embodiment, the embodiment of the present invention also provides for a kind of control method, and the present invention implements A kind of flowchart of the control method that example provides as shown in Figure 6, may include that
Step S61: when detecting that the second electronic equipment connects by communicating with the first of described first electronic equipment When second communication interface of mouth coupling accesses described first electronic equipment, if described second electronic equipment is logical Cross the electronic equipment that the cable with described second communication interface is connected with described first electronic equipment, then sentence Whether the radio receiver module of disconnected described first electronic equipment is opened;
In the embodiment of the present invention, the second electronic equipment can be the cable with the second communication interface, this tool The cable having the second communication interface can connect the first electronic equipment and the 3rd electronic equipment so that the first electricity Subset and the second electronic equipment are communicated by the second electronic equipment.Such as, the second electronic equipment can With data wire.Second electronic equipment can also be an electronic equipment of the tool communications cable, this communication cable one End is the second communication interface, and the other end is the main body of the second electronic equipment, such as mouse, keyboard etc..
When detecting that the first communication interface has the second electronic equipment to access, it is judged that this second electronic equipment is No is by having the cable of the second communication interface and the foundation connection of the first electronic equipment.
Concrete, different types of first electronic equipment, it is judged that whether the second electronic equipment is by having The cable of the second communication interface and the first electronic equipment are set up the mode connected and are likely to different.Such as, if First electronic equipment is mobile phone, usual mobile phone only one of which communication interface (generally USB interface), and This communication interface is typically only possible by data wire and is connected with miscellaneous equipment, therefore, when the communication on mobile phone When interface connects upper data wire, it may be determined that the second electronic equipment is through having described second communication and connects The electronic equipment that the cable of mouth is connected with described first electronic equipment, data wire inherently the second electronics sets Standby.
If the first electronic equipment is notebook computer or panel computer etc., generally this class of electronic devices is also provided with Communication interface, is the most also USB interface, but, the communication interface of this kind of first electronic equipment is except can Have outside the peripheral hardware of cable connecing data wire, mouse, keyboard etc., it is also possible to connecing flash disk etc. does not has cable Peripheral hardware, therefore, when the communication interface of this class of electronic devices accesses the second electronic equipment, can be according to The identification marking of two electronic equipments judges whether the second electronic equipment is by having described second communication interface The electronic equipment that is connected with described first electronic equipment of cable.Such as, if by the second electronic equipment Identification marking judge that the second electronic equipment is mouse or keyboard, then the second electronic equipment is for by having The electronic equipment that the cable of described second communication interface is connected with described first electronic equipment;If by second At the identification marking judgement of electronic equipment, the second electronic equipment is mouse, then the second electronic equipment not by There is the electronic equipment that the cable of described second communication interface is connected with described first electronic equipment;Need Bright, when the second electronic equipment that the first electronic equipment accesses is data wire, the first electronic equipment is not The identification marking of the second electronic equipment can be detected, therefore, when the first electronic equipment is not detected by the second electricity During the identification marking of subset, it is also determined that the second electronic equipment is by having described second communication interface The electronic equipment that cable is connected with described first electronic equipment.
Step S62: when judging that described radio receiver module is opened, controls described gate-controlled switch and disconnects;
When described gate-controlled switch disconnects, the cable with the second communication interface can receive radio receiver signal. Radio receiver signal is usually FM (Frequency Modulation) signal, i.e. fm broadcast signal.FM Signal is high-frequency signal, and high-frequency signal wave filter prevents FM signal ground.
If radio receiver module is not opened, gate-controlled switch can be controlled and be in closure state, be i.e. gate-controlled switch Normality is closure state.
The control method that the embodiment of the present invention provides, is applied to the first electronic equipment, this first electronic equipment There is radio receiver module, the first communication interface, gate-controlled switch and high-frequency signal wave filter, wherein, described First communication interface includes some pins, the first end of the first pin in described some pins and radio Demodulator in module is connected, and the second end of described first pin is defeated with described high-frequency signal wave filter Enter end to be connected, the output head grounding of described high-frequency signal wave filter, described gate-controlled switch and described high frequency Traffic filter is connected in parallel.Detecting that the second electronic equipment is by leading to the first of the first electronic equipment When second communication interface of letter Interface Matching accesses described first electronic equipment, if described second electronic equipment For by having the electronic equipment that the cable of described second communication interface is connected with described first electronic equipment, Then judge whether the radio receiver module of described first electronic equipment is opened, judging described radio receiver module During unlatching, the gate-controlled switch controlling described first electronic equipment disconnects so that have the second communication interface Cable can receive radio receiver signal, it is achieved listen to radio by data wire, and people use data wire Frequency ratio use earphone frequency higher, therefore, the control method provided by the embodiment of the present invention, Solve current electronic equipment and just can only can listen to radio by earphone, have certain circumscribed Problem.
Optionally, described when detecting that the second electronic equipment is by leading to the first of described first electronic equipment When second communication interface of letter Interface Matching accesses described first electronic equipment, if described second electronic equipment For by having the electronic equipment that the cable of described second communication interface is connected with described first electronic equipment, Then judge whether the radio receiver module of described first electronic equipment is opened may include that
When detecting that the second electronic equipment is by mating with the first communication interface of described first electronic equipment When second communication interface accesses described first electronic equipment, if described second electronic equipment is for by having State the electronic equipment that the cable of the second communication interface is connected with described first electronic equipment, then judge described Whether the charging module being connected with described first communication interface in one electronic equipment is opened;
When judging that the charging module being connected with described first communication interface is not opened, it is judged that described first Whether the radio receiver module of electronic equipment is opened.
The charging module being connected with the first communication interface is not opened, and illustrates that the first electronic equipment is not charged.
In view of electronic equipments such as mobile phones after being connected with power supply or computer by data wire, can be charged, Therefore, cause the first electronic equipment not charge for avoiding listening to radio, in the embodiment of the present invention, only Have when the first electronic equipment is not charged, just can listen to radio.
Optionally, the control method that the embodiment of the present invention provides can also include:
When judging that described radio receiver module is closed, control described gate-controlled switch Guan Bi.
In the embodiment of the present invention, the normality of gate-controlled switch is closure state.
Optionally, the control method that the embodiment of the present invention provides can also include:
When described first communication interface and described second communication interface disconnect, control described controlled open Close Guan Bi.
In the embodiment of the present invention, the normality of gate-controlled switch is closure state.
The embodiment of the present invention also provides for a kind of first electronic equipment, the first electronics that the embodiment of the present invention provides The structural representation of equipment is as it is shown in fig. 7, may include that
Radio receiver module 71, the first communication interface 72, gate-controlled switch 73, high-frequency signal wave filter 74 He Control device 75;Wherein,
Described first communication interface 72 includes some pins, first of the first pin in described some pins End is connected with the demodulator in described radio receiver module 71, the second end of described first pin and described height The input of frequency signal filter 74 is connected, the output head grounding of described high-frequency signal wave filter 74, Described gate-controlled switch 73 is connected in parallel with described high-frequency signal wave filter 74;Described control device 75 and institute State gate-controlled switch 73 to be connected;
Described control device 75 for when detect the second electronic equipment by with described first communication interface When the second communication interface joined accesses described first electronic equipment, if described second electronic equipment is by tool The electronic equipment having the cable of described second communication interface to be connected with described first electronic equipment, then judge institute State whether radio receiver module 71 is opened;When judging that described radio receiver module 71 is opened, control described Gate-controlled switch 73 disconnects.
Optionally, device 75 is controlled specifically for when detecting that the second electronic equipment is by electric with described first When second communication interface of the first communication interface coupling of subset accesses described first electronic equipment, if institute Stating the second electronic equipment is by having the cable of described second communication interface with described first electronic equipment even The electronic equipment connect, then judge the charging being connected in described first electronic equipment with described first communication interface Whether module opens;When judging that the charging module being connected with described first communication interface is not opened, sentence Whether the radio receiver module 71 of disconnected described first electronic equipment is opened.
Optionally, control device 75 and be additionally operable to when judging that described radio receiver module is closed, control described Gate-controlled switch closes.
Optionally, control device 75 to be additionally operable to when described first communication interface is broken with described second communication interface When opening connection, control described gate-controlled switch Guan Bi.
Optionally, high-frequency signal wave filter 74 is inducer.
Optionally, the first communication interface 72 is usb bus interface, and described first pin is described USB Grounding pin in EBI.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (14)

1. control a device, be applied to the first electronic equipment, it is characterised in that described device includes:
Judge module, for when detecting that the second electronic equipment is by first with described first electronic equipment When second communication interface of communication interface coupling accesses described first electronic equipment, if described second electronics sets The standby electronics for being connected with described first electronic equipment by having the cable of described second communication interface sets Standby, then judge whether the radio receiver module of described first electronic equipment is opened;
First control module, for when described judge module judges that described radio receiver module is opened, controls The gate-controlled switch making described first electronic equipment disconnects;
Wherein, described first communication interface includes some pins, the first pin in described some pins First end is connected with the demodulator in described radio receiver module, the second end of described first pin and high frequency The input of traffic filter is connected, the output head grounding of described high-frequency signal wave filter, described controlled Switch is connected in parallel with described high-frequency signal wave filter.
Device the most according to claim 1, it is characterised in that described judge module includes:
First judging unit, for when detect the second electronic equipment by with described first electronic equipment When second communication interface of the first communication interface coupling accesses described first electronic equipment, if described second electricity Subset is by having the electronics that the cable of described second communication interface is connected with described first electronic equipment Equipment, then judge the charging module that is connected with described first communication interface in described first electronic equipment whether Open;
Second judging unit, for judging with described first communication interface even when described first judging unit When the charging module connect is not opened, it is judged that whether the radio receiver module of described first electronic equipment is opened.
Device the most according to claim 1, it is characterised in that also include:
Second control module, for when judging that described radio receiver module is closed, controls described controlled open Close Guan Bi.
Device the most according to claim 1, it is characterised in that also include:
3rd control module, for disconnecting with described second communication interface when described first communication interface Time, control described gate-controlled switch Guan Bi.
5. a control method, is applied to the first electronic equipment, it is characterised in that described method includes:
When detecting that the second electronic equipment is by mating with the first communication interface of described first electronic equipment When second communication interface accesses described first electronic equipment, if described second electronic equipment is for by having State the electronic equipment that the cable of the second communication interface is connected with described first electronic equipment, then judge described Whether the radio receiver module of one electronic equipment is opened;
When judging that described radio receiver module is opened, control described gate-controlled switch and disconnect;
Wherein, described first communication interface includes some pins, the first pin in described some pins First end is connected with the demodulator in described radio receiver module, the second end of described first pin and high frequency The input of traffic filter is connected, the output head grounding of described high-frequency signal wave filter, described controlled Switch is connected in parallel with described high-frequency signal wave filter.
Method the most according to claim 5, it is characterised in that described when detecting that the second electronics sets Standby the second communication interface access by mate with the first communication interface of described first electronic equipment described the During one electronic equipment, if described second electronic equipment be by have the cable of described second communication interface with The electronic equipment that described first electronic equipment connects, then judge the radio receiver module of described first electronic equipment Whether unlatching includes:
When detecting that the second electronic equipment is by mating with the first communication interface of described first electronic equipment When second communication interface accesses described first electronic equipment, if described second electronic equipment is for by having State the electronic equipment that the cable of the second communication interface is connected with described first electronic equipment, then judge described Whether the charging module being connected with described first communication interface in one electronic equipment is opened;
When judging that the charging module being connected with described first communication interface is not opened, it is judged that described first Whether the radio receiver module of electronic equipment is opened.
Method the most according to claim 5, it is characterised in that also include:
When judging that described radio receiver module is closed, control described gate-controlled switch Guan Bi.
Method the most according to claim 5, it is characterised in that also include:
When described first communication interface and described second communication interface disconnect, control described controlled open Close Guan Bi.
9. an electronic equipment, it is characterised in that be provided with radio in described first electronic equipment Module, the first communication interface, gate-controlled switch, high-frequency signal wave filter and control device, wherein, described First communication interface includes some pins, the first end of the first pin in described some pins and described receipts Demodulator in sound machine module is connected, the second end of described first pin and described high-frequency signal wave filter Input be connected, the output head grounding of described high-frequency signal wave filter, described gate-controlled switch is with described High-frequency signal wave filter is connected in parallel;Described control device is connected with described gate-controlled switch;
Described control device is for when detecting that the second electronic equipment is by mating with described first communication interface The second communication interface when accessing described first electronic equipment, if described second electronic equipment is for by having The electronic equipment that the cable of described second communication interface is connected with described first electronic equipment, then judge described Whether radio receiver module is opened;When judging that described radio receiver module is opened, control described gate-controlled switch Disconnect.
Electronic equipment the most according to claim 9, it is characterised in that described control device is concrete For when detect that the second electronic equipment is by mating with the first communication interface of described first electronic equipment When second communication interface accesses described first electronic equipment, if described second electronic equipment is for by having State the electronic equipment that the cable of the second communication interface is connected with described first electronic equipment, then judge described Whether the charging module being connected with described first communication interface in one electronic equipment is opened;When judging and institute State charging module that the first communication interface connects when not opening, it is judged that the radio of described first electronic equipment Whether module opens.
11. electronic equipments according to claim 9, it is characterised in that described control device is also used In when judging that described radio receiver module is closed, control described gate-controlled switch Guan Bi.
12. electronic equipments according to claim 9, it is characterised in that described control device is also used In time disconnecting with described second communication interface when described first communication interface, control described gate-controlled switch Guan Bi.
13. electronic equipments according to claim 9, it is characterised in that described high-frequency signal filters Device is inducer.
14. electronic equipments according to claim 9, it is characterised in that described first communication interface For usb bus interface, described first pin is the grounding pin in described usb bus interface.
CN201510122567.0A 2015-03-19 2015-03-19 Control method, device and electronic equipment Active CN106034273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510122567.0A CN106034273B (en) 2015-03-19 2015-03-19 Control method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510122567.0A CN106034273B (en) 2015-03-19 2015-03-19 Control method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106034273A true CN106034273A (en) 2016-10-19
CN106034273B CN106034273B (en) 2019-06-25

Family

ID=57148866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510122567.0A Active CN106034273B (en) 2015-03-19 2015-03-19 Control method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106034273B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1536663A1 (en) * 2003-11-28 2005-06-01 Freescale Semiconductor, Inc. Headset interface circuit
US20060044120A1 (en) * 2004-08-30 2006-03-02 Partner Tech. Corporation Car audio system and method combining with MP3 player
CN101510914A (en) * 2009-03-09 2009-08-19 上海闻泰电子科技有限公司 Method for controlling mobile terminal FM module through pluggable earphone
CN202841218U (en) * 2012-05-23 2013-03-27 深圳凯虹移动通信有限公司 USB interface apparatus and mobile phone
CN104254027A (en) * 2013-08-05 2014-12-31 广东欧珀移动通信有限公司 Earphone using method and system compatible with circular interface and USB (universal serial bus) interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1536663A1 (en) * 2003-11-28 2005-06-01 Freescale Semiconductor, Inc. Headset interface circuit
US20060044120A1 (en) * 2004-08-30 2006-03-02 Partner Tech. Corporation Car audio system and method combining with MP3 player
CN101510914A (en) * 2009-03-09 2009-08-19 上海闻泰电子科技有限公司 Method for controlling mobile terminal FM module through pluggable earphone
CN202841218U (en) * 2012-05-23 2013-03-27 深圳凯虹移动通信有限公司 USB interface apparatus and mobile phone
CN104254027A (en) * 2013-08-05 2014-12-31 广东欧珀移动通信有限公司 Earphone using method and system compatible with circular interface and USB (universal serial bus) interface

Also Published As

Publication number Publication date
CN106034273B (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN201359725Y (en) USB interface circuit and portable hand-held device provided with the circuit
CA2470750C (en) Universal serial bus charger for a mobile device
CN103064489B (en) A kind of method and terminal of carrying out internal circuit selection according to USB interface state
CN101426038B (en) Portable electronic device and accessory identification method
CN108988431B (en) Multi-protocol charging device and multi-protocol charging method
WO2015181440A1 (en) Baseband pd communication over usb standard a connector
US9547573B2 (en) Serial communication over communication control pin
DE112009004659B4 (en) SYSTEMS AND METHODS FOR PROVIDING A PROTECTION CIRCUIT FOR SELECTIVE HANDLING OF MULTIPLE CABLE TYPES OVER THE SAME TERMINAL
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN201699689U (en) Radio-frequency circuit, radio-frequency test interface device and radio-frequency test system
CN103219988A (en) Method for automatically identifying pluggable audio devices and terminal
CN103078224A (en) Connecting line, control method, control circuit and electronic equipment
CN105334420A (en) Information processing method and electronic device
CN203377892U (en) Security authentication device
CN206181163U (en) Cell -phone with record is stolen to physics anti -eavesdrop
CN205921678U (en) Order wire with projection function
CN112166422B (en) Mobile terminal
CN103149983A (en) Matching method of expanding peripheral device and expanding peripheral device
CN106874154A (en) Mobile terminal device and UART debugging systems
CN106034273A (en) Control method and device and electronic equipment
CN105656092A (en) Charging method and apparatus
CN207234109U (en) Data cable with audio-frequency function
CN207069242U (en) Safe charging cable
CN106412245A (en) Waterproof method for USB interface and mobile terminal
CN105049998A (en) Audio communication device

Legal Events

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