Disclosure of Invention
The object of the present application includes, for example, providing an authentication device, an adapter device and an adapter, which can support a fast charging mode of a lightning interface, and at the same time, have a small volume, a low cost and a good versatility, and are beneficial to improving the user experience.
The embodiment of the application can be realized as follows:
in a first aspect, the present application provides an authentication apparatus comprising: the coprocessor and a charging interface;
the charging interface is connected with one end of the coprocessor, and the other end of the coprocessor is used for being connected with a lightning interface of an external switching device;
the charging interface is used for connecting a charging line to acquire parameter information of the charging line and sending the parameter information to the coprocessor;
the coprocessor is used for authenticating the parameter information, generating authentication passing information after the parameter information passes the authentication, and sending the authentication passing information to the lightning interface.
Optionally, in a specific embodiment, the coprocessor comprises: coprocessing chip and first resistance, coprocessing chip includes: a first pin, a second pin, a third pin and a fourth pin;
the first pin and the second pin are respectively connected with the charging interface, the third pin is grounded, and the fourth pin is used for being connected with the lightning interface;
the second pin is also connected with the lightning interface through the first resistor.
Optionally, in a specific embodiment, the charging interface is further used for connecting with the lightning interface; the interface that charges includes: the module of charging, the module of charging includes: a fifth pin, a sixth pin, a seventh pin, and an eighth pin;
the fifth pin is grounded, the sixth pin and the eighth pin are respectively connected with one end of the coprocessor, and the seventh pin is used for being connected with the lightning interface.
In a second aspect, the present application provides a switching device, comprising: the device comprises an audio interface, a lightning interface and an audio processing module;
the audio processing module is respectively connected with the audio interface and the lightning interface;
the audio interface is used for transmitting audio signals; the lightning interface is used for transmitting audio signals and/or charging current, and starting a first charging mode when receiving an authentication passing message sent by the authentication device;
the audio processing module is used for acquiring digital audio signals through the lightning interface, processing the digital audio signals to obtain analog audio signals and transmitting the analog audio signals to the audio interface.
Optionally, in a specific embodiment, the switching device further includes an audio verification module;
the audio verification module is connected with the lightning interface;
the audio verification module is used for acquiring equipment information of equipment connected with the audio interface through the lightning interface.
Optionally, in a specific embodiment, the audio processing module includes a power management sub-module and a conversion sub-module;
the power supply management submodule is respectively connected with the lightning interface and the conversion submodule;
the conversion sub-module is also connected with the lightning interface and the audio interface respectively;
the power supply management submodule is used for acquiring power supply current through the lightning interface and supplying power to the conversion submodule according to the power supply current;
the conversion submodule is used for acquiring a digital audio signal through the lightning interface, processing the digital audio signal to obtain an analog audio signal and transmitting the analog audio signal to the audio interface.
Optionally, in a specific embodiment, the conversion submodule includes a first conversion interface, a first conversion chip, and a second conversion chip;
the first conversion interface is respectively connected with the first conversion chip and the lightning interface;
the first conversion chip is also respectively connected with the second conversion chip and the power management submodule;
the second conversion chip is also respectively connected with the power management submodule and the audio interface;
the first conversion interface is used for acquiring a digital audio signal through the lightning interface, performing level conversion on the digital audio signal and transmitting the converted digital audio signal to the first conversion chip;
the first conversion chip is used for receiving the converted digital audio signal and transmitting the converted digital audio signal to the second conversion chip by a first transmission protocol;
the second conversion chip is used for receiving the converted digital audio signal, performing digital-to-analog conversion on the converted digital audio signal to obtain an analog audio signal, and transmitting the analog audio signal to the audio interface.
Optionally, in a specific embodiment, the audio processing module is further configured to acquire an analog audio signal through the audio interface, process the analog audio signal to obtain a digital audio signal, and transmit the digital audio signal to the audio interface;
correspondingly, the second conversion chip is also used for acquiring an analog audio signal through the audio interface, performing analog-to-digital conversion on the analog audio signal to obtain a digital audio signal, and transmitting the digital audio signal to the first conversion chip;
the first conversion chip is also used for receiving the digital audio signal and transmitting the digital audio signal to the first conversion interface according to a first transmission protocol;
the first conversion interface is also used for receiving the digital audio signal, performing level conversion on the digital audio signal and transmitting the converted digital audio signal to the lightning interface.
Optionally, in a specific embodiment, the audio processing module is further configured to receive a control signal through the audio interface, and adjust the analog audio signal according to the control signal;
correspondingly, the first conversion chip is also connected with the audio interface, and the first conversion chip is also used for receiving the control signal through the audio interface and transmitting the control signal to the second conversion chip by using a second transmission protocol;
the second conversion chip is also used for adjusting the analog audio signal according to the control signal.
Optionally, in a specific embodiment, the power management sub-module comprises a low dropout linear regulator;
the low-dropout linear voltage regulator is respectively connected with the lightning interface and the conversion sub-module;
the low dropout regulator is used for acquiring a power supply current through the lightning interface, regulating the voltage of the power supply current and transmitting the regulated power supply current to the conversion submodule to supply power to the conversion submodule.
In a third aspect, the present application provides an adaptor, comprising: a relay device as in the first aspect and an authentication device as in the second aspect.
The beneficial effects of the embodiment of the application include, for example: on the one hand, the quick charging mode of the lightning interface can be supported, on the other hand, the size is small, the cost is low, the universality is good, and the use experience of a user is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which the present invention product is usually put into use, it is only for convenience of describing the present application and simplifying the description, but it is not intended to indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and be operated, and thus, should not be construed as limiting the present application.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
Before explaining the present application in detail, an application scenario of the present application will be described.
With the development of technology, audio playing devices are becoming more and more popular. In view of reducing the external interface, some existing audio playing devices usually only provide a Lightning (Lightning) interface, through which both the charging function and the audio signal transmission function to the earphone are realized.
When a user needs to charge an audio playing device such as a mobile phone and transmit an audio signal of the audio playing device to an earphone, the audio playing device is usually connected to the earphone through an adapter. The adapter includes a lightning interface, an interface and an earphone interface charge, and the lightning interface of adapter and audio playback equipment's lightning interface connection during the use, the interface that charges passes through the charging wire and is connected with the power, and the earphone interface is connected with the earphone to the realization is on one side charged audio playback equipment and is on the other side with audio playback equipment's audio signal transmission to earphone.
However, on the one hand, the lightning interface generally supports two charging modes, a normal charging mode in which the rated power is 5V, the rated current is 1A, and the rated power is 5W, and a fast charging mode in which the rated voltage is 9V, the rated current is 2A, and the rated power is 18W. The quick charge mode of lightning interface need carry out the authentication to the charging wire, can open after the authentication passes through, and current adapter can't realize the authentication to the charging wire, consequently only supports the ordinary charge mode of lightning interface, and charge speed is slower. On the other hand, the Audio processing scheme of the conventional adapter usually adopts a dedicated integrated chip or a Lighting Audio Module (LAM) Module, the dedicated integrated chip has a relatively weak universality, the performance is single and cannot be replaced, the LAM Module has a relatively large volume and a relatively high cost, and the user experience of the adapter is relatively poor.
In order to solve this problem, the present application provides an authentication device, a transfer device, and a switch, the switch including the authentication device and the transfer device, the authentication device including: the coprocessor and a charging interface; the charging interface is connected with one end of the coprocessor, and the other end of the coprocessor is used for being connected with a lightning interface of an external switching device; the charging interface is used for connecting a charging line to acquire parameter information of the charging line and sending the parameter information to the coprocessor; the coprocessor is used for authenticating the parameter information, generating authentication passing information after the parameter information passes the authentication, and sending the authentication passing information to the lightning interface. The switching device includes: the device comprises an audio interface, a lightning interface and an audio processing module; the audio processing module is respectively connected with the audio interface and the lightning interface; the audio interface is used for transmitting audio signals; the lightning interface is used for transmitting audio signals and/or charging current, and starting a first charging mode when receiving an authentication passing message sent by the authentication device; the audio processing module is used for acquiring digital audio signals through the lightning interface, processing the digital audio signals to obtain analog audio signals and transmitting the analog audio signals to the audio interface. The application provides an adapter on the one hand is through setting up authentication module and carrying out the authentication to the charging wire to support the quick charge mode of lightning interface, on the other hand volume is less, and the cost is lower, and the commonality is better, is favorable to improving user's use and experiences.
Referring to fig. 1, the present application provides an authentication apparatus 10, where the authentication apparatus 10 includes: a coprocessor 101 and a charging interface 102; the charging interface 102 is connected with one end of the coprocessor 101, and the other end of the coprocessor 101 is used for being connected with a lightning interface of the external adapter 20; the charging interface 102 is used for connecting a charging line to acquire parameter information of the charging line and sending the parameter information to the coprocessor 101; the coprocessor 101 is configured to authenticate the parameter information, generate authentication passing information after the parameter information passes the authentication, and send the authentication passing information to the lightning interface.
Optionally, the charging interface 102 may be a USB (Universal Serial Bus) interface, such as a Micro USB interface and a USB Type C interface, and the charging interface 102 may also be a Lightning interface, which is not limited in this application.
Optionally, the parameter information of the charging line may be information indicating whether the charging line is authenticated, if the parameter information of the charging line indicates that the charging line is authenticated, the coprocessor 101 authenticates and generates authentication passing information, and sends the authentication passing information to the lightning interface, so that the lightning interface starts a first charging mode, where the first charging mode is a fast charging mode, and optionally, the fast charging mode may be a charging mode with a rated voltage of 9V, a rated current of 2A, and a rated power of 18W.
Optionally, the parameter information of the charging line may also be material information and structure information of the charging line, and the coprocessor 101 authenticates the material information and the structure information of the charging line, that is, determines whether the material information and the structure information of the charging line meet a preset standard, if so, the authentication is passed and authentication passing information is generated, and the authentication passing information is sent to the lightning interface, so that the lightning interface starts the first charging mode. It should be noted that the preset standard may be a charging cable standard established by a manufacturer of the flash interface.
In the embodiment of the application, after the charging interface 102 is connected with the charging line, parameter information of the charging line is acquired, and the parameter information is sent to the coprocessor 101; the coprocessor 101 authenticates the parameter information, generates authentication passing information after the authentication passes, and sends the authentication passing information to the lightning interface, and the lightning interface can start the first charging mode, namely the quick charging mode, after receiving the authentication passing information, so as to quickly charge the equipment connected with the lightning interface.
Referring to fig. 2, optionally, in one embodiment, the coprocessor 101 includes: coprocessing chip 111 and first resistance 121, coprocessing chip 111 includes: a first pin, a second pin, a third pin and a fourth pin; the first pin and the second pin are respectively connected with the charging interface 102, the third pin is grounded, and the fourth pin is used for being connected with a lightning interface; the second pin is also connected to the lightning interface via a first resistor 121.
It should be noted that, for the sake of simplicity, the pins and their connection relationships that are irrelevant to the present application in each chip are not shown in fig. 2 and subsequent drawings.
Optionally, in a specific embodiment, charging interface 102 is also used for connecting with a lightning interface; charging interface 102 includes: a charging module 112, the charging module 112 comprising: a fifth pin, a sixth pin, a seventh pin, and an eighth pin; the fifth pin is grounded, the sixth pin and the eighth pin are respectively connected with one end of the coprocessor 101, and the seventh pin is used for being connected with a lightning interface.
Specifically, the first pin of the co-processing chip 111 may be connected to the eighth pin of the charging module 112, the second pin of the co-processing chip 111 may be directly connected to the sixth pin of the charging module 112 and connected to the lightning interface through the first resistor 121, the third pin of the co-processing chip 111 may be grounded, the fourth pin of the co-processing chip 111 may be connected to the lightning interface, the fifth pin of the charging module 112 may be grounded, and the seventh pin of the charging module 112 may be connected to the lightning interface.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a connection relationship between the co-processing chip 111, the charging interface 102 and the lightning interface corresponding to fig. 2, wherein different pins having the same input signal or output signal indicate that the different pins have the connection relationship therebetween, for example, in fig. 3, the input signal or output signal of the first pin is USB _ CC, and the input signal or output signal of the eighth pin is also USB _ CC, which indicates that the first pin and the eighth pin have the connection relationship therebetween. The connection relationships in the subsequent drawings related to the chip pins are similar, and the description thereof is omitted.
Referring to fig. 4, the present application provides an adapter 20, where the adapter 20 includes: an audio interface 201, a lightning interface 202 and an audio processing module 203; the audio processing module 203 is respectively connected with the audio interface 201 and the lightning interface 202; the audio interface 201 is used for transmitting audio signals; the lightning interface 202 is configured to transmit an audio signal and/or a charging current, and, upon receiving an authentication pass message sent by the authentication apparatus 10, start a first charging mode; the audio processing module 203 is configured to obtain a digital audio signal through the lightning interface 202, process the digital audio signal to obtain an analog audio signal, and transmit the analog audio signal to the audio interface 201.
In the embodiment of the application, the audio interface 201 can be a 3.5mm earphone interface, so that the universality is better, and the use experience of a user is favorably improved. Of course, this is merely an exemplary illustration, and the earphone interface may also be a 2.5mm earphone interface, a 6.3mm earphone interface, and the like, which is not specifically limited in this application.
It should be noted that the audio interface 201 is used for transmitting audio signals, that is: when one end of the audio interface 201 receives an audio signal, the audio signal is output from the other end. The lightning interface 202 is used to transmit audio signals and/or charging currents, namely: when receiving the audio signal and/or the charging current, one end of the lightning interface 202 outputs the audio signal and/or the charging current from the other end. In addition, the lightning interface 202 is further configured to start the first charging mode when receiving the authentication passing message sent by the authentication apparatus 10, where the first charging mode is the aforementioned fast charging mode, and details are not described here.
In addition, because the earphone has a small volume and generally does not have analog-to-digital conversion and digital-to-analog conversion functions, and the lightning interface 202 only has a function of transmitting digital audio signals, the digital audio signals output by the equipment connected with the lightning interface 202 through the lightning interface 202 need to be subjected to digital-to-analog conversion, converted into analog audio signals and then transmitted to the earphone through the audio interface 201, and the earphone can normally play. The audio processing module 203 in this embodiment of the application is configured to obtain a digital audio signal through the lightning interface 202, process the digital audio signal to obtain an analog audio signal, and transmit the analog audio signal to the audio interface 201, so that an earphone connected to the audio interface 201 can normally play an audio corresponding to the digital audio interface 201.
It should be noted that, the audio signal in the embodiment of the present application refers to a frequency and amplitude variation information carrier with regular sound waves of voice, music and sound effects; the analog audio signal in the embodiment of the application refers to a signal which expresses the strength of sound by the amplitude of analog voltage; the digital audio signal in the embodiment of the present application is a data sequence, and is a signal formed by converting an analog audio signal into a plurality of binary numbers 1 and 0 through sampling and quantization.
In the switching device 20 provided by the embodiment of the application, the audio processing module 203 allows the use of universal chip development, so that the switching device 20 has a small volume, low cost and good universality, and is beneficial to improving the use experience of a user.
Referring to fig. 5, optionally, in a specific embodiment, the adaptor device 20 further includes an audio verification module 204; the audio verification module 204 is connected with the lightning interface 202; the audio verification module 204 is configured to obtain device information of a device connected to the audio interface 201 through the lightning interface 202.
Specifically, the device connected to the audio interface 201 may be a headset, or the like, and taking the headset as an example, when the audio interface 201 is connected to the headset, the audio verification module 204 acquires device information of the headset through the lightning interface 202, and the device information of the headset may include information of a type of the headset, a production date, and the like.
Optionally, after the audio verification module 204 acquires the device information of the headset, the headset may be authenticated based on the device information, so that the headset can work normally in cooperation with the lightning interface 202.
Referring to fig. 6, optionally, in one embodiment, the audio processing module 203 includes a power management sub-module 213 and a conversion sub-module 223; the power management submodule 213 is respectively connected with the lightning interface 202 and the conversion submodule 223; the conversion sub-module 223 is further connected to the lightning interface 202 and the audio interface 201, respectively; the power management submodule 213 is configured to obtain a power supply current through the lightning interface 202, and supply power to the conversion submodule 223 according to the power supply current; the conversion sub-module 223 is configured to obtain a digital audio signal through the lightning interface 202, process the digital audio signal to obtain an analog audio signal, and transmit the analog audio signal to the audio interface 201.
In particular, the supply current may be provided by an external device, such as a cell phone, to which the lightning interface 202 is connected. The power management submodule 213 acquires the supply current through the lightning interface 202, the supply current is usually higher in voltage and cannot be directly supplied to the conversion submodule 223 for use, and the power supply submodule in the embodiment of the present application outputs the supply current to the conversion submodule 223 after voltage reduction and voltage stabilization processing is performed on the supply current so as to supply power to the conversion submodule 223, so that the safety of power supply is improved, and the stability of the adapter 20 is improved.
It should be noted that the function of the conversion sub-module 223 includes, but is not limited to, digital-to-analog conversion, and the following describes the function of the conversion sub-module 223 in detail.
Referring to fig. 7, optionally, in a specific embodiment, the converting submodule 223 includes a first converting interface 2203, a first converting chip 2213 and a second converting chip 2223; the first conversion interface 2203 is connected with the first conversion chip 2213 and the lightning interface 202 respectively; the first conversion chip 2213 is further connected to the second conversion chip 2223 and the power management submodule 213; the second conversion chip 2223 is further connected to the first conversion chip 2213, the power management submodule 213 and the audio interface 201, respectively; the first conversion interface 2203 is configured to obtain a digital audio signal through the lightning interface 202, perform level conversion on the digital audio signal, and transmit the converted digital audio signal to the first conversion chip 2213; the first conversion chip 2213 is configured to receive the converted digital audio signal and transmit the converted digital audio signal to the second conversion chip 2223 according to the first transmission protocol; the second conversion chip 2223 is configured to receive the converted digital audio signal, perform digital-to-analog conversion on the converted digital audio signal to obtain an analog audio signal, and transmit the analog audio signal to the audio interface 201.
Specifically, the levels of signals output or input by the lightning interface 202 and the first conversion chip 2213 are generally no longer in the same range, and thus the lightning interface 202 and the first conversion chip 2213 are generally not directly communicatively interactive. In this embodiment, the first conversion interface 2203 acquires the digital audio signal through the lightning interface 202, performs level conversion on the digital audio signal, and transmits the converted digital audio signal to the first conversion chip 2213, thereby implementing communication interaction between the lightning interface 202 and the first conversion chip 2213. It should be noted that, the first conversion interface 2203 may be an LVDS (Low Voltage Differential Signaling) interface, that is, an RS-644 bus interface, which is favorable for achieving Low noise, Low power consumption, Low error rate, Low crosstalk and Low radiation, and a transmission medium of the first conversion interface 2203 may be a copper PCB (Printed Circuit Board) connection line or a balanced cable, which is not limited in this application.
Additionally, the lightning interface 202 typically can only receive or output signals transmitted in a proprietary protocol set by the manufacturer that produced the lightning interface 202, and cannot receive or output signals transmitted in other protocols. In this embodiment, after receiving the digital audio signal converted by the first conversion interface 2203, the first conversion chip 2213 performs protocol conversion on the converted digital audio signal, that is, the converted digital audio signal is transmitted to the second conversion chip 2223 according to the first transmission protocol, so as to implement communication between the lightning interface 202 and the audio interface 201. It should be noted that the first conversion chip 2213 herein may be a main control chip, and the first transmission protocol may be an I2S (Inter-IC Sound, audio built in an integrated circuit) protocol, a USB audio (Universal Serial Bus audio) protocol, an SPI (Serial Peripheral Interface) protocol, and the like, which is not limited in this application.
Alternatively, the second conversion chip 2223 may be a Codec (COder-DECoder).
Optionally, the power management sub-module 213 is specifically configured to obtain a supply current through the lightning interface 202, and supply power to the first conversion chip 2213 and the second conversion chip 2223 of the conversion sub-module 223 according to the supply current.
Optionally, in a specific embodiment, the audio processing module 203 is further configured to obtain an analog audio signal through the audio interface 201, process the analog audio signal to obtain a digital audio signal, and transmit the digital audio signal to the audio interface 201; correspondingly, the second conversion chip 2223 is further configured to obtain an analog audio signal through the audio interface 201, perform analog-to-digital conversion on the analog audio signal to obtain a digital audio signal, and transmit the digital audio signal to the first conversion chip 2213; the first conversion chip 2213 is further configured to receive a digital audio signal and transmit the digital audio signal to the first conversion interface 2203 according to the first transmission protocol; the first conversion interface 2203 is further configured to receive the digital audio signal, perform level conversion on the digital audio signal, and transmit the converted digital audio signal to the lightning interface 202.
Specifically, the adaptor device 20 according to the embodiment of the present application not only can convert a digital audio signal output by a device connected to the lightning interface 202 into an analog audio signal and transmit the analog audio signal to the audio interface 201 for playing by an earphone, but also can receive the analog audio signal input by an earphone microphone through the audio interface 201, convert the analog audio signal into a digital audio signal and output the digital audio signal through the lightning interface 202. The specific process is similar to the process of converting the digital audio signal output by the device connected to the lightning interface 202 into the analog audio signal and transmitting the analog audio signal to the audio interface 201, and is not described herein again.
Optionally, in a specific embodiment, the audio processing module 203 is further configured to receive a control signal through the audio interface 201, and adjust the analog audio signal according to the control signal; correspondingly, the first conversion chip 2213 is further connected to the audio interface 201, and the first conversion chip 2213 is further configured to receive the control signal through the audio interface 201 and transmit the control signal to the second conversion chip 2223 according to the second transmission protocol; the second conversion chip 2223 is also configured to adjust the analog audio signal according to the control signal.
The existing earphones are generally provided with a control module, and the functions of controlling volume, pausing playing, starting playing, next playing and the like can be realized through the control module. In this embodiment, after the user sends a control signal through the control module of the earphone, the first conversion chip 2213 receives the control signal through the audio interface 201, and transmits the control signal to the second conversion chip 2223 according to a second transmission protocol, where the second transmission protocol may be an I2C (Inter-Integrated Circuit, two-wire serial bus) protocol, which is not limited in this application, and the second conversion chip 2223 adjusts a parameter of the analog audio signal according to the control signal, so as to control the output analog audio signal.
Optionally, in a specific embodiment, the power management sub-module 213 comprises a low dropout linear regulator; the low dropout linear regulator is respectively connected with the lightning interface 202 and the conversion submodule 223; the low dropout regulator is configured to obtain a supply current through the lightning interface 202, adjust a voltage of the supply current, and transmit the adjusted supply current to the conversion sub-module 223 to supply power to the conversion sub-module 223.
In particular, the supply current may be provided by an external device, such as a cell phone, to which the lightning interface 202 is connected. The power management submodule 213 acquires the supply current through the lightning interface 202, the supply current is usually higher in voltage and cannot be directly supplied to the conversion submodule 223 for use, and the power supply submodule in the embodiment of the present application outputs the supply current to the conversion submodule 223 to supply power to the conversion submodule 223 after performing voltage reduction and voltage stabilization processing on the supply current through the low dropout linear voltage regulator, so that the safety of power supply is improved, and the stability of the adapter 20 is improved.
Referring to fig. 8, the present application provides an adapter 30, where the adapter 30 includes: the adapting device 20 and the authentication device 10 as described in the previous embodiments. The structure and principle of the adaptor device 20 and the authentication device 10 can refer to the foregoing embodiments, and are not described herein again.
Optionally, in the adaptor 30 described above, the lightning interface 202 in the transfer apparatus 20 is connected to the co-processor 101 in the authentication apparatus 10.
The pins and connection relations of the interfaces and the modules provided in the embodiments of the present application are illustrated in the following drawings, and it should be noted that, for the sake of simplicity of the drawings, the following drawings do not show the pins and connection relations of the pins in each chip that are irrelevant to the present application, and in addition, as described above, different pins having the same input signal or output signal indicate that the different pins have connection relations, and the following description describes the connection relations of the pins.
Referring to fig. 9-19, fig. 9 is a schematic diagram illustrating pins of a lightning interface 202 according to an embodiment of the present application; fig. 10 is a schematic diagram of a pin of an audio verification module 204 according to an embodiment of the present disclosure; fig. 11 is a schematic diagram of pins of a power management submodule 213 according to an embodiment of the present application; fig. 12 is a schematic diagram of a first conversion interface 2203 according to an embodiment of the present disclosure; fig. 13 is a schematic diagram of 18 pins of a first conversion chip 2213 according to an embodiment of the present application; fig. 14 is a schematic diagram of another 18 pins of the first conversion chip 2213 provided in the embodiment of the present application; fig. 15 is a schematic diagram of another 18 pins of the first conversion chip 2213 according to an embodiment of the present application; fig. 16 is a schematic diagram of another 18 pins of the first conversion chip 2213 according to an embodiment of the present application; fig. 17 is a schematic connection diagram of a portion of pins of a first conversion chip 2213 according to an embodiment of the present application; fig. 18 is a schematic pin diagram of a second conversion chip 2223 according to an embodiment of the present disclosure; fig. 19 is a schematic diagram of an audio interface 201 according to an embodiment of the present application.
The connection relationship between the pins will be described in detail below with reference to fig. 9 to 19.
Pin 1 of the lightning interface 202 and pin 9 of the lightning interface 202 are connected with an EN pin and an IN pin of each chip IN the power management submodule 213, and are also connected with a second pin of the coprocessor 101 through a first resistor 121; pin 2 of the lightning interface 202 is connected to pin 10; pin 3 of the lightning interface 202 is connected to pin 11; pin 4 and pin 12 of the lightning interface 202 are connected with the seventh pin of the charging interface 102; pin 5 and pin 13 of the lightning interface 202 are connected to pin SDQ of the audio verification module 204, connected to pin F6 of the first conversion chip 2213 through a resistor, and connected to a fourth pin of the coprocessor 101; pin 6 and pin 14 of the lightning interface 202 are connected to the output D-of the diode in the first conversion interface 2203 and also to pin G8 of the first conversion chip 2213; pin 7 and pin 15 of the lightning interface 202 are connected to the input D + of the diode in the first conversion interface 2203 and also connected to pin G9 of the first conversion chip 2213; pin 8 of the lightning interface 202 is grounded; pin 16 of the lightning interface 202 is connected to ground.
The pin VDD of the audio verification module 204 is grounded via a capacitor, the pin GND of the audio verification module 204 is grounded, and the pin CS of the audio verification module 204 is connected to the pin B6 of the first conversion chip 2213.
The power management submodule 213 includes three power management chips, which are a first power management chip, a second power management chip and a third power management chip in sequence. The pin OUT of the first power management chip is connected to a 2.5V supply voltage (i.e., VCC2.5, hereinafter referred to as VCC 2.5V supply voltage), and is also grounded through a capacitor; a pin GND of the first power management chip is grounded; a pin IN of the first power management chip is grounded through a capacitor; a pin OUT of the second power management chip is connected to a 1.2V supply voltage (i.e., VCC1.2, hereinafter VCC1.2 is referred to as 1.2V supply voltage), and is also grounded through a capacitor; a pin GND of the second power management chip is grounded; a pin IN of the second power management chip is grounded through a capacitor; a pin OUT of the third power management chip is connected to a 1.8V supply voltage (i.e., VCC1.8, hereinafter VCC1.8 is referred to as 1.8V supply voltage), and is also grounded through a capacitor; a pin GND of the third power management chip is grounded; pin IN of the third power management chip is connected to ground through a capacitor.
The first conversion interface 2203 comprises two capacitors, four resistors and a diode, wherein an input end D + of the diode is grounded through one capacitor, is connected with a pin H6 of the first conversion chip 2213 through one resistor, is connected with a pin H7 of the first conversion chip 2213 through another resistor, and is connected with a pin G9 of the first conversion chip 2213; the output D-of the diode is connected to ground via another capacitor, to pin H3 of the first switching chip 2213 via a resistor, to pin H4 of the first switching chip 2213 via another resistor, and to pin G8 of the first switching chip 2213.
Pin a1 of the first conversion chip 2213 is grounded and is also connected to VCC1.2 through a capacitor; pin a2 of the first conversion chip 2213 is connected to VCC 1.2; pin a3 of the first conversion chip 2213 is connected to pin MCLK of the second conversion chip 2223; pin a4 of the first conversion chip 2213 is connected to pin SCLK of the second conversion chip 2223; pin a5 of the first conversion chip 2213 is connected to VCC2.5 and is also grounded through a capacitor; pin a6 of the first conversion chip 2213 is connected with a DSIN pin of the second conversion chip 2223; pin a7 and pin A8 of the first conversion chip 2213 are connected to VCC 1.2; pin a9 of the first conversion chip 2213 is grounded and is also connected to VCC1.2 through a capacitor; pin B1 of the first conversion chip 2213 is connected to pin CCLK of the second conversion chip 2223; pin B2 of the first conversion chip 2213 is grounded through a capacitor; pin B8 of the first conversion chip 2213 is connected to pin ADSOUT of the second conversion chip 2223; pin C1 of first conversion chip 2213 is connected to pin CDATA of second conversion chip 2223; pin C5 of the first conversion chip 2213 is connected to pin LRCK of the second conversion chip 2223; pin D9 of the first conversion chip 2213 is grounded; pin E1 of the first conversion chip 2213 is grounded; after being connected, the pin E4, the pin F4, and the pin G1 of the first conversion chip 2213 are connected to an audio input/output interface of the audio interface 201; pin E5 of the first conversion chip 2213 is connected to VCC2.5 through two resistors and to ground through the other two resistors; pin E9 of the first conversion chip 2213 is connected to VCC2.5, and is also grounded through a capacitor; pin F3 of the first conversion chip 2213 is connected to ground through one resistor and is also connected to VCC2.5 through the other three resistors; the pin G2 of the first conversion chip 2213 is connected to VCC2.5 through one resistor and is also grounded through the other three resistors; pin H1 of the first conversion chip 2213 is grounded; pin H2 of the first conversion chip 2213 is connected to VCC2.5, and is also grounded through one capacitor, and is also connected to pin H5 of the first conversion chip 2213 through two capacitors; pin H5 of the first conversion chip 2213 is connected to VCC2.5, and is also grounded through a capacitor; pin H8 of the first conversion chip 2213 is connected to VCC1.2 and is also grounded through a capacitor; pin H9 of the first conversion chip 2213 is grounded.
Pin CE0 of second conversion chip 2223 is grounded via a resistor; pin PVDD of the second conversion chip 2223 is connected to VCC2.5, and is also connected to pin DGND and pin PGND of the second conversion chip 2223 through a capacitor; a pin DVDD of the second conversion chip 2223 is connected to VCC2.5, and is also connected to a pin DGND and a pin PGND of the second conversion chip 2223 through a capacitor; the pin DGND and the pin PGND of the second conversion chip 2223 are grounded after being connected; pin CPN and pin CPP of second conversion chip 2223 are connected via a capacitor; the pin cpvsssp of the second switching chip 2223 is grounded through a capacitor; pin DACVREF of second conversion chip 2223 is grounded through a capacitor; pin ADCVREF of second conversion chip 2223 is grounded via a capacitor; pin VMID of second conversion chip 2223 is grounded through a capacitor; pin RIN2 of second conversion chip 2223 is grounded via a capacitor; pin LIN2 of the second conversion chip 2223 is grounded through two capacitors, is also connected to the MIC interface of the audio interface through one capacitor, is also connected to pin MICBIAS of the second conversion chip 2223 through one capacitor and two resistors, and is also grounded through one capacitor, one resistor and one capacitor; the MICBIAS pin of the second conversion chip 2223 is grounded after being connected to the GNDA pin and the CPGND pin of the second conversion chip 2223 through a capacitor; the pin VDDA of the second conversion chip 2223 is connected to VCC2.5 through a resistor and also grounded through a capacitor; a pin CPVDD of the second conversion chip 2223 is connected to VCC1.8, and is also grounded through a capacitor; pin CPGNDREF of second conversion chip 2223 is grounded; a pin HPL of the second conversion chip 2223 is connected to the left channel interface of the audio interface 201 through a resistor; the pin HPR of the second conversion chip 2223 is connected to the right channel interface of the audio interface 201 through a resistor.
The audio interface 201 comprises an audio input/output interface, a left channel interface, a right channel interface and an MIC interface; the audio input/output interface of the audio interface 201 is connected to the MIC interface through a resistor.
The beneficial effects of the embodiment of the application include, for example: on the one hand, the quick charging mode of the lightning interface 202 can be supported, and on the other hand, the size is small, the cost is low, the universality is good, and the use experience of a user is improved.
In summary, the present application provides an authentication device 10, an adaptor device 20 and an adaptor 30, wherein the adaptor includes the authentication device 10 and the adaptor device 20, and the authentication device 10 includes: a coprocessor 101 and a charging interface 102; the charging interface 102 is connected with one end of the coprocessor 101, and the other end of the coprocessor 101 is used for being connected with a lightning interface 202 of the external adapter 20; the charging interface 102 is used for connecting a charging line to acquire parameter information of the charging line and sending the parameter information to the coprocessor 101; the coprocessor 101 is configured to authenticate the parameter information, generate authentication passing information after the parameter information passes the authentication, and send the authentication passing information to the lightning interface 202. The adapter device 20 includes: an audio interface 201, a lightning interface 202 and an audio processing module 203; the audio processing module 203 is respectively connected with the audio interface 201 and the lightning interface 202; the audio interface 201 is used for transmitting audio signals; the lightning interface 202 is configured to transmit an audio signal and/or a charging current, and, upon receiving an authentication pass message sent by the authentication apparatus 10, start a first charging mode; the audio processing module 203 is configured to obtain a digital audio signal through the lightning interface 202, process the digital audio signal to obtain an analog audio signal, and transmit the analog audio signal to the audio interface 201. The application provides an adapter 30 on the one hand is through setting up authentication module to authenticate the charging wire to support the quick charge mode of lightning interface 202, on the other hand volume is less, and the cost is lower, and the commonality is better, is favorable to improving user's use and experiences.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.