CN112952933A - Interface expansion device, electronic device and interface expansion method - Google Patents

Interface expansion device, electronic device and interface expansion method Download PDF

Info

Publication number
CN112952933A
CN112952933A CN202110146638.6A CN202110146638A CN112952933A CN 112952933 A CN112952933 A CN 112952933A CN 202110146638 A CN202110146638 A CN 202110146638A CN 112952933 A CN112952933 A CN 112952933A
Authority
CN
China
Prior art keywords
conductive structure
change
switch
interface
over switch
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
CN202110146638.6A
Other languages
Chinese (zh)
Other versions
CN112952933B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202110146638.6A priority Critical patent/CN112952933B/en
Publication of CN112952933A publication Critical patent/CN112952933A/en
Application granted granted Critical
Publication of CN112952933B publication Critical patent/CN112952933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/08Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The application relates to an interface expansion device, an electronic device and an interface expansion method. The interface extension comprises a first extension module and a second extension module; the first expansion module comprises a first change-over switch, an ADC sampling unit and a conductive structure embedded on a frame of the terminal; the first end and the second end of the conductive structure are both connected with the input end of the first selector switch; the ADC sampling unit comprises an ADC sampling circuit and a first equipment identification element, the sampling end of the first selector switch is respectively connected with one end of the ADC sampling circuit and one end of the first equipment identification element, and the output end of the first selector switch is used for being connected with each communication module of the terminal; the other end of the first equipment identification element is used for being connected with a power supply; the second expansion module comprises a second equipment identification element and a second switch; the input end of the second change-over switch is used for connecting external equipment, the output end of the second change-over switch is respectively connected with the first end of the conductive structure and the second end of the conductive structure, and the identification end of the second change-over switch is connected with the identification element of the second equipment.

Description

Interface expansion device, electronic device and interface expansion method
Technical Field
The present disclosure relates to the field of interface expansion technologies, and in particular, to an interface expansion device, an electronic device, and an interface expansion method.
Background
With the development of electronic technology, various electronic devices are increasingly popularized, and interface expansion has been widely applied to electronic devices. Generally, if an electronic device is to use an external device (e.g., a camera, a microphone, a sensor, etc.), the electronic device needs to be connected to the electronic device through a specific interface (e.g., a USB interface, a UART interface, an I2C interface).
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: the conventional interface extension has a problem of narrow applicability.
Disclosure of Invention
In view of the above, it is desirable to provide an interface expansion device, an electronic device, and an interface expansion method that are highly applicable to the above-described technical problem.
In order to achieve the above object, in one aspect, an embodiment of the present invention provides an interface expansion device, including a first expansion module and a second expansion module; the first expansion module comprises a first change-over switch, an ADC sampling unit and a conductive structure embedded on a frame of the terminal; the first end and the second end of the conductive structure are both connected with the input end of the first selector switch; the ADC sampling unit comprises an ADC sampling circuit and a first equipment identification element, the sampling end of the first selector switch is respectively connected with one end of the ADC sampling circuit and one end of the first equipment identification element, and the output end of the first selector switch is used for being connected with each communication module of the terminal; the other end of the ADC sampling circuit is used for connecting a processor of the terminal; the other end of the first equipment identification element is used for being connected with a power supply;
the second expansion module comprises a second equipment identification element and a second switch; the input end of the second change-over switch is used for connecting external equipment, the output end of the second change-over switch is respectively connected with the first end of the conductive structure and the second end of the conductive structure, and the identification end of the second change-over switch is connected with the identification element of the second equipment.
In one embodiment, the second expansion module further comprises a connector;
the output end of the second change-over switch is connected with the first end of the conductive structure through the first end of the connecting piece, and is connected with the second end of the conductive structure through the second end of the connecting piece.
In one embodiment, the third end of the conductive structure is used for connecting a system power supply and is connected with a power interface of an external device through the third end of the connecting piece;
and the fourth end of the conductive structure is used for grounding and is connected with a power interface of external equipment through the fourth end of the connecting piece.
In one embodiment, the first expansion module further comprises a first short-circuit protection circuit; the first end of the conductive structure is connected with the input end of the first selector switch through the first short-circuit protection circuit; the second end of the conductive structure is connected with the input end of the first change-over switch through the first short-circuit protection circuit; the third end of the conductive structure is connected with a system power supply through a first short-circuit protection circuit; and the fourth end of the conductive structure is connected with a system power supply through a first short-circuit protection circuit.
In one embodiment, the second expansion module further comprises a second short-circuit protection circuit;
the first end of the connecting piece is connected with the output end of the second selector switch through a second short-circuit protection circuit; the second end of the connecting piece is connected with the output end of the second change-over switch through a second short-circuit protection circuit; the third end of the connecting piece is connected with a power interface of the external equipment through a second short-circuit protection circuit; and the fourth end of the connecting piece is connected with a power supply interface of the external equipment through a second short-circuit protection circuit.
In one embodiment, the connector comprises a base, a spring probe and a fixing piece for fixing the base to a frame of the terminal; the spring probe penetrates through the base;
the spring probes comprise a first spring probe, a second spring probe, a third spring probe and a fourth spring probe; one end of the first spring probe is electrically connected with the first end of the conductive structure, and the other end of the first spring probe is electrically connected with the output end of the second change-over switch; one end of the second spring probe is electrically connected with the second end of the conductive structure, and the other end of the second spring probe is electrically connected with the output end of the second change-over switch; one end of the third spring probe is electrically connected with the third end of the conductive structure, and the other end of the third spring probe is electrically connected with a power interface of the external equipment; one end of the fourth spring probe is electrically connected with the fourth end of the conductive structure, and the other end of the fourth spring probe is electrically connected with a power interface of the external equipment.
In one embodiment, the second expansion module further comprises a communication module;
the second change-over switch is connected with the external equipment through the communication module.
In one aspect, an embodiment of the present invention further provides an electronic device, including any one of the interface expansion devices described above.
On the other hand, an embodiment of the present invention further provides an interface extension method, which is applied to any one of the interface extension apparatuses described above, and the method includes the steps of:
detecting that the output end of the second selector switch is communicated with the identification end, and acquiring an electric signal transmitted by the ADC sampling unit;
determining the type of the external equipment and a communication module corresponding to the type according to the electric signal;
and the connection between the output end of the second change-over switch and the input end of the second change-over switch is conducted, and the connection between the input end of the first change-over switch and the corresponding communication module is conducted.
In one embodiment, before the step of turning on the connection between the output terminal of the second switch and the input terminal of the second switch, the method further includes the steps of:
and indicating the system power supply to be switched to a power supply state.
One of the above technical solutions has the following advantages and beneficial effects:
the interface expansion device identifies the type of the external device through the first device identification element of the first expansion module and the second device identification element of the second expansion module. The first change-over switch is used for switching the communication between the input end and the sampling end and the communication between the input end and the output end, the second change-over switch is used for switching the communication between the input end and the recognition end and the communication between the input end and the output end, and therefore the external equipment can be successfully accessed into the corresponding communication module located in the terminal after the type of the external equipment is confirmed. The conductive structure in the first expansion module is embedded in the frame, so that the communication interface arranged in the terminal is convenient to utilize, and the applicability of the interface expansion of the terminal equipment is improved.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular description of preferred embodiments of the application, as illustrated in the accompanying drawings. Like reference numerals refer to like parts throughout the drawings, and the drawings are not intended to be drawn to scale in actual dimensions, emphasis instead being placed upon illustrating the subject matter of the present application.
FIG. 1 is a first schematic block diagram of an interface expansion apparatus in one embodiment;
FIG. 2 is a first schematic block diagram of a second expansion module in one embodiment;
FIG. 3 is a second schematic block diagram of an interface expansion apparatus in one embodiment;
FIG. 4 is a block diagram of a first expansion module in one embodiment;
FIG. 5 is a second schematic block diagram of a second expansion module in one embodiment;
FIG. 6 is a top view of a connector in one embodiment;
FIG. 7 is a side view of a connector in one embodiment;
FIG. 8 is a third schematic block diagram of a second expansion module in one embodiment;
FIG. 9 is a flow diagram of a method for interface expansion in one embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. The first resistance and the second resistance are both resistances, but they are not the same resistance.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.
In one embodiment, as shown in fig. 1, there is provided an interface expansion apparatus including a first expansion module 10 and a second expansion module 20; the first expansion module 10 includes a first switch 110, an ADC sampling unit 120 (not shown in fig. 1), and a conductive structure 130 embedded on the frame of the terminal; the first end and the second end of the conductive structure 130 are both connected to the input end of the first switch 110; the ADC sampling unit 120 includes an ADC sampling circuit 121 and a first device identification element 123, a sampling end of the first switch 110 is connected to one end of the ADC sampling circuit 121 and one end of the first device identification element 123, respectively, and an output end is used for connecting each communication module of the terminal; the other end of the ADC sampling circuit 121 is used for connecting a processor of a terminal; the other end of the first device identification element 123 is used for connecting a power supply;
the second expansion module 20 includes a second device identification element 210 and a second changeover switch 220; the input end of the second switch 220 is used for connecting to an external device, the output end is respectively connected to the first end of the conductive structure 130 and the second end of the conductive structure 130, and the identification end is connected to the second device identification element 210.
The first expansion module is used for accessing a communication module of the terminal, and the second expansion module is used for accessing an external device. The terminal can be any form of terminal in the field, such as a flat panel display device, a computer, a server, etc. The first changeover switch and the second changeover switch are any switches capable of switching a plurality of circuits in the art. The ADC sampling unit is used for acquiring the electrical signal, and may be any device capable of acquiring the electrical signal in the field. The conductive structure is any device with a conductive function in the field, and can be a metal sheet and the like. The first device identification element and the second device identification element are used for identifying the external device, and may be any element having impedance in the art.
In particular, the conductive structure may include a first end and a second end. When the sampling end and the input end of the first change-over switch are conducted and the identification end and the output end of the second change-over switch are conducted, the first equipment identification element is connected with the second identification element through the first end and the second end of the conductive structure, the first equipment identification element is arranged in the first expansion module, the impedance value of the first equipment identification element can be a fixed value, the second equipment identification element is arranged in the second expansion module, and the impedance value of the second equipment identification element can be adjusted according to different external equipment. The ADC sampling circuit can acquire the voltage division signals of the first equipment identification element and the second equipment identification element, and the ADC sampling circuit can transmit the voltage division signals to a processor of the terminal. The processor can judge the type of the external equipment according to the partial pressure signal and further obtain the communication module corresponding to the type of the external equipment. The processor conducts the connection between the output end of the second change-over switch and the input end of the second change-over switch, and conducts the connection between the input end of the first change-over switch and the corresponding communication module. Therefore, the external equipment is accessed to the terminal through the corresponding communication module.
It should be noted that the input end of the first switch includes a first input end and a second input end, and the sampling end includes a first sampling end and a second sampling end; the first input end of the first change-over switch is connected with the first end of the conductive structure, and the second input end of the first change-over switch is connected with the second end of the conductive structure. When the input end is communicated with the sampling end, the first input end of the first change-over switch is connected with the first sampling end, the second input end of the first change-over switch is connected with the second sampling end, the first sampling end is further respectively connected with the ADC sampling circuit and one end of the first equipment identification element, the other end of the first equipment identification element is connected with the power supply, and the second sampling end is grounded. The second device identification element is connected between the first end and the second end of the conductive structure through a second switch. The power supply may be any device capable of supplying power in the field, and may be a power supply of the terminal.
The output end of the first change-over switch is used for connecting each communication module of the terminal. The communication module may include a USB communication module, a serial communication module, an I2C communication module, etc., which may be integrated inside the terminal. The output end of the first switch may include a plurality of output ends, and each output end is connected to each communication module in a one-to-one correspondence manner. In one particular example, the output of the first switch includes a first output, a second output, and a third output. The first output end is used for connecting the USB communication module, the second output end is used for connecting the serial port communication module, and the third output end is used for connecting the I2C communication module. After the type of the external equipment is confirmed, the communication module which needs to be communicated with the external equipment can be determined. By indicating the first switch to switch on the input end and the corresponding output end, the external device can be successfully accessed to the interface inside the terminal and the extended connection can be successfully realized.
The conductive structure may be embedded in the rim of the terminal by any means known in the art. In one particular example, the conductive structure may include a plurality of metal strips, wherein any one metal strip is a first end of the conductive structure and another metal strip is a second end of the conductive structure. Each metal strip is all inlayed in the frame at terminal. It should be noted that the frame embedded in the metal strip may be any frame of the terminal.
The interface expansion device identifies the type of the external device through the first device identification element of the first expansion module and the second device identification element of the second expansion module. The first change-over switch is used for switching the communication between the input end and the sampling end and the communication between the input end and the output end, the second change-over switch is used for switching the communication between the input end and the recognition end and the communication between the input end and the output end, and therefore the external equipment can be successfully accessed into the corresponding communication module located in the terminal after the type of the external equipment is confirmed. The conductive structure in the first expansion module is embedded in the frame, so that the communication interface arranged in the terminal is convenient to utilize, and the applicability of the interface expansion of the terminal equipment is improved.
In one embodiment, as shown in FIG. 2, the second expansion module further comprises a connector 230;
the output terminal of the second switch 220 is connected to the first terminal of the conductive structure 130 through the first terminal of the connection member 230, and is connected to the second terminal of the conductive structure 130 through the second terminal of the connection member 230.
The connecting member may be any one of the devices in the art having a communication capability with the conductive structure. The signal of the first expansion module can be transmitted to the terminal through the second expansion module by the connecting piece.
Specifically, the connector includes a first end and a second end. The output terminal of the second switch may be connected to the first terminal of the conductive structure via the first terminal of the connector in any manner, and may be connected to the second terminal of the conductive structure via the second terminal of the connector in any manner. It should be noted that the first end of the connector and the second end of the connector are two relatively independent ports, and the two ports are insulated in the connector.
It should be noted that the output end of the second switch may include a first output end and a second output end; the first output end of the second change-over switch is connected with the first end of the conductive structure through the first end of the connecting piece, and the second output end of the second change-over switch is connected with the second end of the conductive structure through the second end of the connecting piece.
In one embodiment, as shown in fig. 3, the third terminal of the conductive structure 120 is used for connecting to a system power source, and is connected to a power interface of an external device through the third terminal of the connecting member 230;
the fourth terminal of the conductive structure 120 is used for grounding, and is connected to a power interface of an external device through the fourth terminal of the connecting member 230.
Specifically, the conductive structure further comprises a third end and a fourth end, and the system power supply is used for supplying power to the external equipment through the third end and the fourth end of the conductive structure. The system power supply and the power supply may be the same power supply or different power supplies.
Furthermore, the connecting piece also comprises a third end and a fourth end; the third end of the conductive structure is connected with the power interface of the external equipment through the third end of the connecting piece, and the fourth end of the conductive structure is connected with the power interface of the external equipment through the fourth end of the connecting piece.
In one embodiment, as shown in fig. 4, the first expansion module further includes a first short-circuit protection circuit 140; a first end of the conductive structure 130 is connected to an input end of the first switch 110 through the first short-circuit protection circuit 140; a second end of the conductive structure 130 is connected to the input end of the first switch 110 through the first short-circuit protection circuit 140; the third end of the conductive structure 130 is connected to a system power supply through the first short-circuit protection circuit 140; the fourth end of the conductive structure 130 is connected to a system power supply via a first short protection circuit 140.
The first short-circuit protection circuit may be any circuit used for short-circuit protection in the art.
Specifically, since the conductive structure is partially exposed, in order to prevent the circuit, it is necessary to protect the terminals and the devices of the first expansion module of the present application with a short-circuit protection circuit.
In one embodiment, as shown in fig. 5, the second expansion module further includes a second short-circuit protection circuit 240;
a first end of the connection member 230 is connected to the output end of the second switch 220 through a second short-circuit protection circuit 240; a second end of the connection member 230 is connected to the output end of the second switch 220 through a second short-circuit protection circuit 240; the third end of the connecting member 230 is connected to the power interface of the external device through the second short-circuit protection circuit 240; the fourth terminal of the connection member 230 is connected to the power interface of the external device through the second short-circuit protection circuit 240.
The second short-circuit protection circuit may be any circuit used for short-circuit protection in the art.
Specifically, since the conductive structure is partially exposed, in order to prevent the circuit, it is necessary to protect the terminals and the devices of the second expansion module of the present application with a short-circuit protection circuit.
In one embodiment, as shown in fig. 6 and 7, the connection member 230 includes a base 231, a spring probe 233 (not shown in fig. 6), and a fixing member 234 for fixing the base to a frame of the terminal; the spring probe 233 penetrates the base 231;
the spring probes 233 include a first spring probe a, a second spring probe b, a third spring probe c, and a fourth spring probe d; one end of the first spring probe is electrically connected with the first end of the conductive structure, and the other end of the first spring probe is electrically connected with the output end of the second change-over switch; one end of the second spring probe is electrically connected with the second end of the conductive structure, and the other end of the second spring probe is electrically connected with the output end of the second change-over switch; one end of the third spring probe is electrically connected with the third end of the conductive structure, and the other end of the third spring probe is electrically connected with a power interface of the external equipment; one end of the fourth spring probe is electrically connected with the fourth end of the conductive structure, and the other end of the fourth spring probe is electrically connected with a power interface of the external equipment.
The spring probe is used for electrically connecting the first expansion module and the second expansion module. The base may be any means known in the art for holding the spring probes. The fixing member may be any type of fixing mechanism in the art, and may be a magnet or the like, which is used to fix the base to the frame of the terminal.
The spring probe penetrates through the base, namely the mechanical structure of the spring probe is provided with two top ends, and the two top ends are exposed in the air. The spring probes include a first spring probe, a second spring probe, a third spring probe, and a fourth spring probe. That is, the first spring probe is the first end of the connector, the second spring probe is the second end of the connector, the third spring probe is the third end of the connector, and the fourth spring probe is the fourth end of the connector. In one particular example, each spring probe includes a needle shaft for connecting to a corresponding end of the conductive structure, a needle tube for connecting to an output of the second switch, and a spring. For example, the needle shaft of the first spring probe is connected to the first end of the conductive structure, and the needle tube is connected to the output end of the second switch.
In one embodiment, as shown in fig. 8, the second expansion module further comprises a communication module 250;
the second switch is connected to the external device through the communication module 250.
The communication module may include a USB communication module, an I2C communication module, and a serial communication module. The input terminals of the second switch may include a first input terminal, a second input terminal, and a third input terminal; the first input end is used for connecting a USB communication module, the second input end is used for connecting an I2C communication module, and the third input end is used for connecting a serial port communication module. Because the communication module of the second expansion module is not arranged in the terminal, the external equipment can be manually accessed into the communication module and is finally connected with the communication module of the terminal.
In one embodiment, an electronic device is provided, comprising an interface expansion device as in any one of the above.
In particular, the electronic device may be a flat panel display device.
In one embodiment, an interface extension method is provided, as shown in fig. 9, and is applied to any one of the interface extension apparatuses described above, and the method includes the steps of:
s910, detecting that the output end of the second selector switch is communicated with the identification end, and acquiring an electric signal transmitted by the ADC sampling unit;
specifically, whether the output end of the second switch is connected to the identification end may be detected by any means in the art. In an initial state, the sampling end and the input end of the first change-over switch are communicated, and when the output end and the identification end of the second change-over switch are conducted, the ADC sampling unit can acquire the electric signals divided by the first equipment identification element and the second equipment identification element.
S920, determining the type of the external equipment and a communication module corresponding to the type according to the electric signal;
specifically, different impedances of the second device identification element correspond to different types of external devices, and different electrical signals obtained through voltage division can correspond to different types of external devices.
S930, turning on the connection between the output terminal of the second switch and the input terminal of the second switch, and turning on the connection between the input terminal of the first switch and the corresponding communication module.
Specifically, the second switch and the first switch may be turned on by sending a switching command to the second switch and the first switch.
In one embodiment, before the step of turning on the connection between the output terminal of the second switch and the input terminal of the second switch, the method further includes the steps of:
and indicating the system power supply to be switched to a power supply state.
Specifically, the working state is switched to the power supply state through the system power supply, so that power is supplied to the external equipment conveniently.
It should be understood that, although the steps in the flowcharts of fig. 9 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, there is provided an interface expansion apparatus, for use in any one of the interface expansion devices described above, the apparatus comprising:
the electric signal acquisition module is used for detecting that the output end of the second selector switch is communicated with the identification end and acquiring the electric signal transmitted by the ADC sampling unit;
the type confirmation module is used for determining the type of the external equipment and the communication module corresponding to the type according to the electric signal;
and the conduction module is used for conducting the connection between the output end of the second change-over switch and the input end of the second change-over switch, and conducting the connection between the input end of the first change-over switch and the corresponding communication module.
For specific definition of the interface extension device, reference may be made to the definition of the interface extension method above, and details are not described here. The modules in the interface expansion device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
detecting that the output end of the second selector switch is communicated with the identification end, and acquiring an electric signal transmitted by the ADC sampling unit;
determining the type of the external equipment and a communication module corresponding to the type according to the electric signal;
and the connection between the output end of the second change-over switch and the input end of the second change-over switch is conducted, and the connection between the input end of the first change-over switch and the corresponding communication module is conducted.
In an embodiment, the computer program when being executed by the processor further realizes the steps of, before the step of turning on the connection of the output of the second changeover switch and the input of the second changeover switch:
and indicating the system power supply to be switched to a power supply state.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus DRAM (RDRAM), and interface DRAM (DRDRAM).
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An interface expansion device is characterized by comprising a first expansion module and a second expansion module; the first expansion module comprises a first change-over switch, an ADC sampling unit and a conductive structure embedded on a frame of the terminal; the first end and the second end of the conductive structure are both connected with the input end of the first selector switch; the ADC sampling unit comprises an ADC sampling circuit and a first equipment identification element, the sampling end of the first selector switch is respectively connected with one end of the ADC sampling circuit and one end of the first equipment identification element, and the output end of the first selector switch is used for being connected with each communication module of the terminal; the other end of the ADC sampling circuit is connected with a processor of the terminal; the other end of the first equipment identification element is used for being connected with a power supply;
the second expansion module comprises a second equipment identification element and a second switch; the input end of the second change-over switch is used for connecting external equipment, the output end of the second change-over switch is respectively connected with the first end of the conductive structure and the second end of the conductive structure, and the identification end of the second change-over switch is connected with the identification element of the second equipment.
2. The interface expansion device of claim 1, wherein the second expansion module further comprises a connector;
the output end of the second change-over switch is connected with the first end of the conductive structure through the first end of the connecting piece, and is connected with the second end of the conductive structure through the second end of the connecting piece.
3. The interface expansion device of claim 2, wherein the third terminal of the conductive structure is configured to connect to a system power source and to connect to the power interface of the external device through the third terminal of the connector;
and the fourth end of the conductive structure is used for grounding and is connected with a power interface of the external equipment through the fourth end of the connecting piece.
4. The interface expansion device of claim 3, wherein the first expansion module further comprises a first short protection circuit;
the first end of the conductive structure is connected with the input end of the first selector switch through the first short-circuit protection circuit; the second end of the conductive structure is connected with the input end of the first selector switch through the first short-circuit protection circuit; the third end of the conductive structure is connected with the system power supply through the first short-circuit protection circuit; and the fourth end of the conductive structure is connected with the system power supply through the first short-circuit protection circuit.
5. The interface expansion device of claim 3, wherein the second expansion module further comprises a second short-circuit protection circuit;
the first end of the connecting piece is connected with the output end of the second change-over switch through the second short-circuit protection circuit; the second end of the connecting piece is connected with the output end of the second change-over switch through the second short-circuit protection circuit; the third end of the connecting piece is connected with a power interface of the external equipment through the second short-circuit protection circuit; and the fourth end of the connecting piece is connected with a power interface of the external equipment through the second short-circuit protection circuit.
6. The interface expansion apparatus of claim 2, wherein the connector comprises a base, a spring probe, and a fastener for securing the base to a bezel of the terminal; the spring probe penetrates through the base;
the spring probes comprise a first spring probe, a second spring probe, a third spring probe and a fourth spring probe; one end of the first spring probe is electrically connected with the first end of the conductive structure, and the other end of the first spring probe is electrically connected with the output end of the second change-over switch; one end of the second spring probe is electrically connected with the second end of the conductive structure, and the other end of the second spring probe is electrically connected with the output end of the second change-over switch; one end of the third spring probe is electrically connected with the third end of the conductive structure, and the other end of the third spring probe is electrically connected with a power interface of the external equipment; one end of the fourth spring probe is electrically connected with the fourth end of the conductive structure, and the other end of the fourth spring probe is electrically connected with a power interface of the external equipment.
7. The interface expansion device of claim 1, wherein the second expansion module further comprises a communication module;
the second change-over switch is connected with the external equipment through the communication module.
8. An electronic device, characterized in that it comprises an interface expansion device according to any one of claims 1 to 7.
9. An interface expansion method applied to the interface expansion device according to any one of claims 1 to 7, the method comprising the steps of:
detecting that the output end of the second selector switch is communicated with the identification end, and acquiring an electric signal transmitted by the ADC sampling unit;
determining the type of the external equipment and a communication module corresponding to the type according to the electric signal;
and connecting the output end of the second change-over switch with the input end of the second change-over switch, and connecting the input end of the first change-over switch with the corresponding communication module.
10. The interface expansion method according to claim 9, wherein the step of turning on the connection between the output terminal of the second switch and the input terminal of the second switch is preceded by the step of:
and indicating the system power supply to be switched to a power supply state.
CN202110146638.6A 2021-02-03 2021-02-03 Interface expansion device, electronic device and interface expansion method Active CN112952933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110146638.6A CN112952933B (en) 2021-02-03 2021-02-03 Interface expansion device, electronic device and interface expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110146638.6A CN112952933B (en) 2021-02-03 2021-02-03 Interface expansion device, electronic device and interface expansion method

Publications (2)

Publication Number Publication Date
CN112952933A true CN112952933A (en) 2021-06-11
CN112952933B CN112952933B (en) 2024-06-18

Family

ID=76241915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110146638.6A Active CN112952933B (en) 2021-02-03 2021-02-03 Interface expansion device, electronic device and interface expansion method

Country Status (1)

Country Link
CN (1) CN112952933B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124146A (en) * 2022-01-28 2022-03-01 深圳市鼎阳科技股份有限公司 External port expansion device for network analyzer and radio frequency switch control method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020022738A (en) * 2002-01-15 2002-03-27 정아람 Expansion pack for personal digital assistant
CN201796602U (en) * 2010-09-21 2011-04-13 深圳市江波龙电子有限公司 USB storage equipment and extension device thereof
CN103441393A (en) * 2013-08-23 2013-12-11 深圳一电科技有限公司 Electronic device and multifunctional interface and communication system thereof
US20140201399A1 (en) * 2012-03-30 2014-07-17 Charles L. Brabenac Usb hub with automatic communication mode switching
CN104062946A (en) * 2013-03-21 2014-09-24 鸿富锦精密工业(深圳)有限公司 Interface expansion circuit and electronic device
CN104267781A (en) * 2014-08-07 2015-01-07 惠州Tcl移动通信有限公司 Dock multiplex mobile terminal and dock multiplexing method
CN105373509A (en) * 2015-11-09 2016-03-02 合肥宝龙达光电技术有限公司 Tablet computer USB port expanding structure
CN106970888A (en) * 2017-03-29 2017-07-21 联想(北京)有限公司 Interface equipment and its recognition methods, device and system
KR20170098493A (en) * 2016-02-22 2017-08-30 이종건 Interface device for function expansion of terminals
CN109117400A (en) * 2018-08-09 2019-01-01 深圳市宏电技术股份有限公司 A kind of interface automatic switching control equipment and method
CN210091164U (en) * 2019-07-18 2020-02-18 深圳市立顺电通科技有限公司 Switching circuit and device
CN112088472A (en) * 2020-06-22 2020-12-15 广东高普达集团股份有限公司 Double-interface switching circuit and Type-C concentrator

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020022738A (en) * 2002-01-15 2002-03-27 정아람 Expansion pack for personal digital assistant
CN201796602U (en) * 2010-09-21 2011-04-13 深圳市江波龙电子有限公司 USB storage equipment and extension device thereof
US20140201399A1 (en) * 2012-03-30 2014-07-17 Charles L. Brabenac Usb hub with automatic communication mode switching
CN104062946A (en) * 2013-03-21 2014-09-24 鸿富锦精密工业(深圳)有限公司 Interface expansion circuit and electronic device
CN103441393A (en) * 2013-08-23 2013-12-11 深圳一电科技有限公司 Electronic device and multifunctional interface and communication system thereof
CN104267781A (en) * 2014-08-07 2015-01-07 惠州Tcl移动通信有限公司 Dock multiplex mobile terminal and dock multiplexing method
CN105373509A (en) * 2015-11-09 2016-03-02 合肥宝龙达光电技术有限公司 Tablet computer USB port expanding structure
KR20170098493A (en) * 2016-02-22 2017-08-30 이종건 Interface device for function expansion of terminals
CN106970888A (en) * 2017-03-29 2017-07-21 联想(北京)有限公司 Interface equipment and its recognition methods, device and system
CN109117400A (en) * 2018-08-09 2019-01-01 深圳市宏电技术股份有限公司 A kind of interface automatic switching control equipment and method
CN210091164U (en) * 2019-07-18 2020-02-18 深圳市立顺电通科技有限公司 Switching circuit and device
CN112088472A (en) * 2020-06-22 2020-12-15 广东高普达集团股份有限公司 Double-interface switching circuit and Type-C concentrator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124146A (en) * 2022-01-28 2022-03-01 深圳市鼎阳科技股份有限公司 External port expansion device for network analyzer and radio frequency switch control method

Also Published As

Publication number Publication date
CN112952933B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
US20090108848A1 (en) Additional pins on a usb connector
US7987298B2 (en) System and method for detecting the status of a universal serial bus port of a mobile phone
CN106872881B (en) Circuit board testing device, method and system
CN112952933B (en) Interface expansion device, electronic device and interface expansion method
CN112367127A (en) Antenna detection circuit, electronic device, and antenna control method
CN111693819B (en) Detection method and device
CN113325335B (en) Circuit failure detection circuit and method and intelligent electronic equipment
CN216816834U (en) Capacitive touch line test system
US20090278560A1 (en) Circuit board test clamp
EP0670095A1 (en) Universal connection for cellular telephone interface
CN212674301U (en) Law enforcement appearance with infrared temperature measurement function
CN112214433B (en) Terminal device, control method thereof, auxiliary device, and storage medium
CN113572544A (en) Antenna communication device, antenna device connection detection method, terminal, and storage medium
CN218003680U (en) Testing device
CN107438124B (en) Test device, test card switching method and test system
CN101183137B (en) Fixation method of detecting probe type circuit board testing tool
CN215006620U (en) Vehicle-mounted computer tester
CN217213018U (en) Aging detection circuit and aging detection device for DTM board
CN220457415U (en) Compatible testing device and testing equipment
CN113324775A (en) Reversing function testing equipment, system and method for rearview system
CN219041951U (en) Data transmission switching device and electronic equipment
CN113360331B (en) OTG test switching equipment, method, device, equipment and storage medium
CN115441897A (en) Wireless communication circuit, ammeter and antenna switching method
JPH09243708A (en) Unit for inspecting characteristic of portable wireless machine
CN212965180U (en) Test fixture and test system

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