CN107291415B - Charging and audio data processing method and terminal - Google Patents

Charging and audio data processing method and terminal Download PDF

Info

Publication number
CN107291415B
CN107291415B CN201710399248.3A CN201710399248A CN107291415B CN 107291415 B CN107291415 B CN 107291415B CN 201710399248 A CN201710399248 A CN 201710399248A CN 107291415 B CN107291415 B CN 107291415B
Authority
CN
China
Prior art keywords
equipment
terminal
pin
charging
audio
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.)
Active
Application number
CN201710399248.3A
Other languages
Chinese (zh)
Other versions
CN107291415A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710399248.3A priority Critical patent/CN107291415B/en
Publication of CN107291415A publication Critical patent/CN107291415A/en
Application granted granted Critical
Publication of CN107291415B publication Critical patent/CN107291415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a charging and audio data processing method and a terminal, wherein the method comprises the following steps: detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal; when the type of the external equipment is detected to be audio external equipment, audio data are transmitted to the audio external equipment through a second pin of the double-sided pluggable interface, and whether charging equipment is plugged into the switching equipment or not is monitored through the first pin; when it is monitored that the charging equipment is inserted into the switching equipment, the transmission of audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; after the identity authentication is passed, the battery of the terminal is charged by the charging equipment through the third pin of the double-sided pluggable interface, and the audio data is transmitted to the audio play-out equipment continuously through the second pin. The scheme can support the function of listening to songs and charging the earphones at the same time, and solves the problem that the existing terminal cannot simultaneously charge and listen to songs by the earphones.

Description

Charging and audio data processing method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for charging and processing audio data.
Background
The function of audio analog signal transmission has been defined to two-sided pluggable Type-C interface, transmits audio signal through Type-C interface, can cancel 3.5mm earphone interface above the cell-phone like this. The multiplexing of this kind of interface can guarantee the wholeness of structure and reduce the probability of failure to a certain extent, consequently, the Type-C interface replaces 3.5mm earphone interface and becomes a trend.
However, since another main function of the Type-C interface is charging, when the user performs charging, it is impossible to listen to a song through the earphone through the Type-C interface. Therefore, support Type-C interface and cancel the terminal of 3.5mm earphone interface, can not charge simultaneously and the earphone listens to the song.
Disclosure of Invention
The invention aims to provide a charging and audio data processing method and a terminal, and solves the problem that in the prior art, a mobile terminal which supports a Type-C interface and cancels a 3.5mm earphone interface cannot simultaneously perform charging and an earphone can listen to songs.
In order to solve the above technical problem, an embodiment of the present invention provides a method for charging and processing audio data, which is applied to a terminal, and the method includes:
detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal;
when the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin;
when it is monitored that charging equipment is inserted into the switching equipment, the transmission of the audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment;
and after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through the second pin.
An embodiment of the present invention further provides a terminal, where the terminal includes:
the first detection module is used for detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal;
the first processing module is used for transmitting audio data to the audio external device through a second pin of the double-sided pluggable interface when the external device is detected to be the audio external device, and monitoring whether charging equipment is plugged into the switching device through the first pin;
the second processing module is used for suspending the transmission of the audio data and performing identity authentication on the charging equipment by using the second pin when the situation that the charging equipment is inserted into the switching equipment is monitored;
and the third processing module is used for charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface after the identity authentication is passed, and continuously transmitting audio data to the audio play-out equipment through the second pin.
An embodiment of the present invention further provides a terminal, including: the charging and audio data processing method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the charging and audio data processing method.
The embodiment of the present invention further provides a computer program, which is characterized in that when a processor executes the computer program, the method for charging and processing audio data is implemented.
The embodiment of the present invention further provides a computer-readable storage medium, which is characterized by comprising instructions, and when the instructions are executed on a computer, the instructions cause the computer to execute the charging and audio data processing method.
The technical scheme of the invention has the following beneficial effects:
in the scheme, the charging and audio data processing method detects the type of the external equipment connected with the terminal through the switching equipment through the first pin of the double-sided pluggable interface on the terminal; when the type of the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that the charging equipment is inserted into the switching equipment, the transmission of audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; after the identity authentication is passed, charging a battery of the terminal by using charging equipment through a third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through a second pin; can support to carry out earphone listening song and the function of charging simultaneously, fine solution support Type-C interface and cancel the mobile terminal of 3.5mm earphone interface among the prior art, can not charge simultaneously and the earphone listens the problem of song.
Drawings
FIG. 1 is a flowchart illustrating a method for charging and audio data processing according to an embodiment of the present invention;
FIG. 2 is a schematic circuit diagram illustrating a charging and audio data processing method according to an embodiment of the present invention;
fig. 3 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal structure according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The invention provides a charging and audio data processing method, which is applied to a terminal and aims at solving the problem that a mobile terminal supporting a Type-C interface and canceling a 3.5mm earphone interface in the prior art cannot simultaneously charge and listen to songs by an earphone, and as shown in figure 1, the method comprises the following steps:
step 11: and detecting the type of the external equipment connected with the terminal through the switching equipment through a first pin of the double-sided pluggable interface on the terminal.
The detection can be performed by inserting the detection pin CC1/2, which is not limited herein.
Step 12: when the external equipment is detected to be audio external equipment, audio data are transmitted to the audio external equipment through the second pin of the double-sided pluggable interface, and whether charging equipment is plugged into the switching equipment or not is monitored through the first pin.
Step 13: and when it is monitored that the switching equipment is inserted with the charging equipment, the transmission of the audio data is suspended, and the second pin is used for carrying out identity authentication on the charging equipment.
Step 14: and after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through the second pin.
The charging and audio data processing method provided by this embodiment detects the type of an external device connected to a terminal through a switching device through a first pin of a dual-sided pluggable interface on the terminal; when the type of the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that the charging equipment is inserted into the switching equipment, the transmission of audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; after the identity authentication is passed, charging a battery of the terminal by using charging equipment through a third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through a second pin; can support to carry out earphone listening song and the function of charging simultaneously, fine solution support Type-C interface and cancel the mobile terminal of 3.5mm earphone interface among the prior art, can not charge simultaneously and the earphone listens the problem of song.
Further, after the step of authenticating the identity of the charging device by using the second pin, the method further includes: and after the identity authentication fails, the operation of charging the battery of the terminal by using the charging equipment is not executed, and audio data is continuously transmitted to the audio play-out equipment through the second pin.
In this embodiment, the types of the external devices detected in this embodiment may also be an audio external device and a charging device, and correspondingly, after the step of detecting the types of the external devices connected to the terminal through the transfer device, the method further includes: when the external equipment is detected to be audio external equipment and charging equipment, the charging equipment is subjected to identity authentication through a second pin of the double-sided pluggable interface; and transmitting the audio data to be output to the audio play-out equipment through the second pin according to an authentication result.
Specifically, the step of transmitting the audio data to be output to the audio external device through the second pin according to the authentication result includes: when the authentication result indicates that the identity authentication passes, charging the battery of the terminal by using the charging equipment through a third pin of the double-sided pluggable interface, and transmitting audio data to the audio play-out equipment through the second pin; and when the authentication result indicates that the identity authentication fails, the operation of charging the battery of the terminal by using the charging equipment is not executed, and audio data is transmitted to the audio play-out equipment through the second pin.
In this embodiment, the type of the detected external device may also be a charging device, and correspondingly, after the step of detecting the type of the external device connected to the terminal through the transfer device, the method further includes: when the type of the external equipment is detected to be charging equipment, the charging equipment is subjected to identity authentication through a second pin of the double-sided pluggable interface; after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and monitoring whether audio play equipment is inserted into the switching equipment through the first pin of the double-sided pluggable interface; and when the audio playing device is monitored to be inserted into the switching device, transmitting audio data to the audio playing device through the second pin.
Preferably, the step of transmitting audio data to the audio playback device includes: transmitting audio data in the form of digital signals to the audio playback device; and the third pin of the double-sided pluggable interface is used for supplying power to the audio frequency external equipment.
Specifically, the step of supplying power to the audio playback device through the third pin of the dual-sided pluggable interface includes: before the charging equipment is connected with the terminal through the switching equipment, in the process of transmitting audio data to the audio play-out equipment, the battery of the terminal is utilized to supply power to the audio play-out equipment through the third pin of the double-sided pluggable interface; when the charging equipment is connected with the terminal through the switching equipment and can supply power to the battery of the terminal, the charging equipment is utilized to supply power to the audio frequency external playing equipment through the third pin of the double-sided pluggable interface.
Further, the method also comprises the following steps: when the power supply source of the audio external equipment is switched, the transmission of audio data is suspended; and after the switching is successful, resuming the transmission of the audio data.
Further, after the step of powering the audio playback device using the battery of the terminal, the method further includes: detecting whether the charging equipment is connected with the terminal through the switching equipment or not; when the charging equipment is detected to be connected with the terminal through the switching equipment and can supply power to a battery of the terminal, the transmission of audio data is suspended; and after the charging equipment is utilized to supply power to the audio play-out equipment, the transmission of audio data is recovered.
The charging and audio data processing method provided by the embodiment of the invention is further described below.
In view of the above technical problems, an embodiment of the present invention provides a scheme for simultaneously charging and playing music through a type-C interface, and simultaneously supports an earphone mic, so that a function of listening to songs or making a call of the earphone can be completed during charging. This scheme uses standard Type-C interface.
The implementation of the scheme of the embodiment of the invention can adopt the circuit shown in fig. 2, wherein, when only charging or only plugging in an audio peripheral (audio external device) to play music, the circuit is directly connected with the mobile phone; when the audio peripheral is needed to be charged and used, the adapter is needed.
High-speed physical serial bus USB-PHY: detecting the insertion of the pin CC; d +/D-completes the charge handshake function during charging; d +/D-completes digital transmission of audio signals when music is played;
audio codec: processing the mic input signal;
converter Adapter: when the audio peripheral is used while charging is needed, a converter is needed; the charging and audio signals are respectively switched to two sockets receptacle by inserting a Type-C plug into the terminal.
The scheme provided by the embodiment can be embodied as follows:
A. when the detect pin CC1/2 signal detects the insertion of an audio access, the following operations are performed:
a) when a user plays music, the OTG function of the host is started, and power is supplied to the audio peripheral through Vbus;
b) the audio digital signal is transmitted to the audio peripheral through the D +/D-of the USB PHY; d +/D-digital signals decoded by a digital-to-analog converter DAC in the audio peripheral are sent to an amplifier AMP to be amplified in an analog model, and then are output to an earphone;
c) when the state change of the CC1/2 is detected, whether a charger is inserted is judged according to the voltage state of the CC1/2, when the charger is judged to be inserted, music is paused (the music is paused to switch the power supply side), and the OTG is turned off; charging handshake is carried out through D +/D-, and charging is started after charging current and voltage are configured; meanwhile, music is resumed;
d) when the charger is detected to be pulled out, music is paused to be played, the OTG is started to supply power to the audio peripheral, and then the music is continuously played;
e) when detecting that the user pulls out the audio peripheral with the type-C interface, closing the OTG and stopping playing music;
B. when the CC1/2 is detected to be inserted into the charging equipment, charging handshake is carried out through D +/D-, and charging voltage and current are configured for charging after the handshake is successful;
simultaneously monitoring the voltage of the CC1/2, and transmitting a digital audio signal to an audio peripheral by D +/D-when a threshold triggering the simultaneous insertion state of the earphone and the charger is detected;
C. when the CC1/2 detects that the charger and the audio peripheral are inserted simultaneously, firstly, a charging D +/D-handshake is carried out, in the time period of finishing the handshake, if a user clicks to play music, the user is prompted, for example, "charging configuration is in progress, please later", after the charging current and voltage configuration is finished, an audio signal is transmitted to the audio peripheral by using the D +/D-handshake to play the music, and the power supply of the audio peripheral is provided by the charger in the state.
The audio peripheral may be a speaker or the like, and is not limited herein.
From the above, the scheme provided by the embodiment of the invention can support forward and reverse insertion; 3.5mm earphone interfaces are replaced; and the music playing and charging functions are simultaneously supported. The earphone mic is supported, and charging and calling can be carried out simultaneously; better tone quality can be obtained by comparing and transmitting analog audio signals; the user can choose to purchase the peripheral equipment according to the required tone quality level, and the freedom degree of the user selection is improved.
In order to solve the above technical problem, an embodiment of the present invention further provides a terminal, as shown in fig. 3, including:
the first detection module 31 is configured to detect the type of an external device connected to the terminal through the adapter device through a first pin of a dual-sided pluggable interface on the terminal;
the first processing module 32 is configured to transmit audio data to the audio external device through the second pin of the dual-sided pluggable interface when it is detected that the type of the external device is the audio external device, and monitor whether a charging device is plugged into the switching device through the first pin;
the second processing module 33 is configured to suspend transmission of the audio data when it is monitored that a charging device is inserted into the switching device, and perform identity authentication on the charging device by using the second pin;
and the third processing module 34 is configured to, after the identity authentication is passed, charge the battery of the terminal through the third pin of the dual-sided pluggable interface by using the charging device, and continue to transmit audio data to the audio playback device through the second pin.
The terminal provided by this embodiment detects the type of an external device connected to the terminal through a switching device through a first pin of a double-sided pluggable interface on the terminal; when the type of the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that the charging equipment is inserted into the switching equipment, the transmission of audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; after the identity authentication is passed, charging a battery of the terminal by using charging equipment through a third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through a second pin; can support to carry out earphone listening song and the function of charging simultaneously, fine solution support Type-C interface and cancel the mobile terminal of 3.5mm earphone interface among the prior art, can not charge simultaneously and the earphone listens the problem of song.
Further, the terminal further includes: and the fourth processing module is configured to, after the identity authentication is performed on the charging device by using the second pin and after the identity authentication fails, not perform an operation of charging the battery of the terminal by using the charging device, and continue to transmit audio data to the audio playback device through the second pin.
The type of the external device detected in this embodiment may also be an audio playing device and a charging device, and correspondingly, the terminal further includes: the first authentication module is used for performing identity authentication on the charging equipment through a second pin of the double-sided pluggable interface after detecting the type of the external equipment connected with the terminal through the switching equipment and when detecting that the type of the external equipment is audio frequency external equipment and the charging equipment; and the fifth processing module is used for transmitting the audio data to be output to the audio play-out equipment through the second pin according to the authentication result.
Specifically, the fifth processing module includes: the first processing submodule is used for charging a battery of the terminal through the charging equipment through a third pin of the double-sided pluggable interface when the authentication result indicates that the identity authentication passes, and transmitting audio data to the audio play-out equipment through the second pin; and the second processing submodule is used for not executing the operation of charging the battery of the terminal by using the charging equipment when the authentication result indicates that the identity authentication fails, and transmitting audio data to the audio play-out equipment through the second pin.
The type of the external device detected in this embodiment may also be a charging device, and correspondingly, the terminal further includes: the second authentication module is used for performing identity authentication on the charging equipment through a second pin of the double-sided pluggable interface after the type of the external equipment connected with the terminal through the switching equipment is detected and when the type of the external equipment is detected to be the charging equipment; the third processing submodule is used for charging a battery of the terminal by using the charging equipment through a third pin of the double-sided pluggable interface after the identity authentication is passed, and monitoring whether audio external equipment is inserted into the switching equipment or not through the first pin of the double-sided pluggable interface; and the first transmission submodule is used for transmitting audio data to the audio playing device through the second pin when the audio playing device is monitored to be inserted into the switching device.
Preferably, the operation of transmitting audio data to the audio playing device includes: transmitting audio data in the form of digital signals to the audio playback device; and the third pin of the double-sided pluggable interface is used for supplying power to the audio frequency external equipment.
Specifically, the operation of supplying power to the audio play device through the third pin of the dual-sided pluggable interface includes: when the charging equipment is connected with the terminal through the switching equipment and can supply power to the battery of the terminal, the charging equipment is utilized to supply power to the audio frequency external playing equipment through the third pin of the double-sided pluggable interface.
Further, the terminal further includes: the second detection module is used for detecting whether the charging equipment is connected with the terminal through the switching equipment after the battery of the terminal is used for supplying power to the audio frequency external equipment; the sixth processing module is used for suspending the transmission of audio data when the charging equipment is detected to be connected with the terminal through the switching equipment and can supply power to a battery of the terminal; and the seventh processing module is used for recovering the transmission of the audio data after the charging equipment is used for supplying power to the audio play-out equipment.
The implementation embodiments of the charging and audio data processing method are all applicable to the embodiment of the terminal, and the same technical effects can be achieved.
An embodiment of the present invention further provides a terminal, as shown in fig. 4, where the terminal 400 includes:
at least one processor 401, memory 402, at least one network interface 404, and a user interface 403. The various components in the terminal 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that memory 402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 402 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 402 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 4021 and application programs 4022.
The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application programs 4022 include various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
In this embodiment of the present invention, by calling a program or an instruction stored in the memory 402, specifically, a program or an instruction stored in the application 4022, the processor 401 is configured to: detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal; when the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that charging equipment is inserted into the switching equipment, the transmission of the audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; and after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through the second pin.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 401 is further configured to: after the step of authenticating the identity of the charging device by using the second pin, after the identity authentication fails, the operation of charging the battery of the terminal by using the charging device is not executed, and audio data is continuously transmitted to the audio play-out device through the second pin.
Optionally, the processor 401 is further configured to: after the step of detecting the type of the external equipment connected with the terminal through the switching equipment, when the type of the external equipment is detected to be audio frequency external equipment and charging equipment, identity authentication is carried out on the charging equipment through a second pin of the double-sided pluggable interface; and transmitting the audio data to be output to the audio play-out equipment through the second pin according to an authentication result.
Optionally, the processor 401 is specifically configured to: when the authentication result indicates that the identity authentication passes, charging the battery of the terminal by using the charging equipment through a third pin of the double-sided pluggable interface, and transmitting audio data to the audio play-out equipment through the second pin; and when the authentication result indicates that the identity authentication fails, the operation of charging the battery of the terminal by using the charging equipment is not executed, and audio data is transmitted to the audio play-out equipment through the second pin.
Optionally, the processor 401 is further configured to: after the step of detecting the type of the external equipment connected with the terminal through the switching equipment, when the type of the external equipment is detected to be charging equipment, performing identity authentication on the charging equipment through a second pin of the double-sided pluggable interface; after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and monitoring whether audio play equipment is inserted into the switching equipment through the first pin of the double-sided pluggable interface; and when the audio playing device is monitored to be inserted into the switching device, transmitting audio data to the audio playing device through the second pin.
Optionally, the processor 401 is specifically configured to: transmitting audio data in the form of digital signals to the audio playback device; and the third pin of the double-sided pluggable interface is used for supplying power to the audio frequency external equipment.
Optionally, the processor 401 is more specifically configured to: when the charging equipment is connected with the terminal through the switching equipment and can supply power to the battery of the terminal, the charging equipment is utilized to supply power to the audio frequency external playing equipment through the third pin of the double-sided pluggable interface.
Optionally, the processor 401 is further configured to: after the step of supplying power to the audio play-out device by using the battery of the terminal, detecting whether the charging device is connected with the terminal through the switching device; when the charging equipment is detected to be connected with the terminal through the switching equipment and can supply power to a battery of the terminal, the transmission of audio data is suspended; and after the charging equipment is utilized to supply power to the audio play-out equipment, the transmission of audio data is recovered.
The terminal 400 can implement the processes implemented by the terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
To sum up, the terminal provided in the embodiment of the present invention detects the type of the external device connected to the terminal through the adapter device through the first pin of the dual-sided pluggable interface on the terminal; when the type of the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that the charging equipment is inserted into the switching equipment, the transmission of audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; after the identity authentication is passed, charging a battery of the terminal by using charging equipment through a third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through a second pin; can support to carry out earphone listening song and the function of charging simultaneously, fine solution support Type-C interface and cancel the mobile terminal of 3.5mm earphone interface among the prior art, can not charge simultaneously and the earphone listens the problem of song.
Specifically, as shown in fig. 5, the terminal 500 in the embodiment of the present invention may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The terminal 500 in fig. 5 includes a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 560 is a control center of the terminal 500, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the terminal 500. Optionally, processor 560 may include one or more processing units.
In an embodiment of the present invention, the processor 560 is configured to, by calling a software program and/or module stored in the first memory 521 and/or data stored in the second memory 522: detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal; when the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that charging equipment is inserted into the switching equipment, the transmission of the audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; and after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through the second pin.
Optionally, the processor 560 is further configured to: after the step of authenticating the identity of the charging device by using the second pin, after the identity authentication fails, the operation of charging the battery of the terminal by using the charging device is not executed, and audio data is continuously transmitted to the audio play-out device through the second pin.
Optionally, the processor 560 is further configured to: after the step of detecting the type of the external equipment connected with the terminal through the switching equipment, when the type of the external equipment is detected to be audio frequency external equipment and charging equipment, identity authentication is carried out on the charging equipment through a second pin of the double-sided pluggable interface; and transmitting the audio data to be output to the audio play-out equipment through the second pin according to an authentication result.
Optionally, the processor 560 is specifically configured to: when the authentication result indicates that the identity authentication passes, charging the battery of the terminal by using the charging equipment through a third pin of the double-sided pluggable interface, and transmitting audio data to the audio play-out equipment through the second pin; and when the authentication result indicates that the identity authentication fails, the operation of charging the battery of the terminal by using the charging equipment is not executed, and audio data is transmitted to the audio play-out equipment through the second pin.
Optionally, the processor 560 is further configured to: after the step of detecting the type of the external equipment connected with the terminal through the switching equipment, when the type of the external equipment is detected to be charging equipment, performing identity authentication on the charging equipment through a second pin of the double-sided pluggable interface; after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and monitoring whether audio play equipment is inserted into the switching equipment through the first pin of the double-sided pluggable interface; and when the audio playing device is monitored to be inserted into the switching device, transmitting audio data to the audio playing device through the second pin.
Optionally, the processor 560 is specifically configured to: transmitting audio data in the form of digital signals to the audio playback device; and the third pin of the double-sided pluggable interface is used for supplying power to the audio frequency external equipment.
Optionally, the processor 560 is more specifically configured to: when the charging equipment is connected with the terminal through the switching equipment and can supply power to the battery of the terminal, the charging equipment is utilized to supply power to the audio frequency external playing equipment through the third pin of the double-sided pluggable interface.
Optionally, the processor 560 is further configured to: after the step of supplying power to the audio play-out device by using the battery of the terminal, detecting whether the charging device is connected with the terminal through the switching device; when the charging equipment is detected to be connected with the terminal through the switching equipment and can supply power to a battery of the terminal, the transmission of audio data is suspended; and after the charging equipment is utilized to supply power to the audio play-out equipment, the transmission of audio data is recovered.
Therefore, the terminal provided by the embodiment of the invention detects the type of the external equipment connected with the terminal through the switching equipment through the first pin of the double-sided pluggable interface on the terminal; when the type of the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin; when it is monitored that the charging equipment is inserted into the switching equipment, the transmission of audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment; after the identity authentication is passed, charging a battery of the terminal by using charging equipment through a third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through a second pin; can support to carry out earphone listening song and the function of charging simultaneously, fine solution support Type-C interface and cancel the mobile terminal of 3.5mm earphone interface among the prior art, can not charge simultaneously and the earphone listens the problem of song.
An embodiment of the present invention further provides a terminal, which is characterized by including: the charging and audio data processing method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the charging and audio data processing method.
The embodiment of the present invention further provides a computer program, which is characterized in that when a processor executes the computer program, the method for charging and processing audio data is implemented.
The embodiment of the present invention further provides a computer-readable storage medium, which is characterized by comprising instructions, and when the instructions are executed on a computer, the instructions cause the computer to execute the charging and audio data processing method.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (17)

1. A charging and audio data processing method is applied to a terminal, and is characterized by comprising the following steps:
detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal;
when the external equipment is detected to be audio external equipment, transmitting audio data to the audio external equipment through a second pin of the double-sided pluggable interface, and monitoring whether charging equipment is plugged into the switching equipment through the first pin;
when it is monitored that charging equipment is inserted into the switching equipment, the transmission of the audio data is suspended, and the second pin is used for authenticating the identity of the charging equipment;
and after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and continuously transmitting audio data to the audio play-out equipment through the second pin.
2. The method of claim 1, wherein after the step of authenticating the charging device with the second pin, the method further comprises:
and after the identity authentication fails, the operation of charging the battery of the terminal by using the charging equipment is not executed, and audio data is continuously transmitted to the audio play-out equipment through the second pin.
3. The method according to claim 1, wherein after the step of detecting the type of the external device connected to the terminal through the relay device, the method further comprises:
when the external equipment is detected to be audio external equipment and charging equipment, the charging equipment is subjected to identity authentication through a second pin of the double-sided pluggable interface;
determining whether the identity authentication of the charging equipment passes or not according to the authentication result; and transmitting the audio data to be output to the audio external device through the second pin.
4. The method according to claim 3, wherein the determining whether the identity authentication of the charging device is passed is performed according to an authentication result; and the step of transmitting the audio data to be output to the audio play-out device through the second pin comprises:
when the authentication result indicates that the identity authentication passes, charging the battery of the terminal by using the charging equipment through a third pin of the double-sided pluggable interface, and transmitting audio data to the audio play-out equipment through the second pin;
and when the authentication result indicates that the identity authentication fails, the operation of charging the battery of the terminal by using the charging equipment is not executed, and audio data is transmitted to the audio play-out equipment through the second pin.
5. The method according to claim 1, wherein after the step of detecting the type of the external device connected to the terminal through the relay device, the method further comprises:
when the type of the external equipment is detected to be charging equipment, the charging equipment is subjected to identity authentication through a second pin of the double-sided pluggable interface;
after the identity authentication is passed, charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface, and monitoring whether audio play equipment is inserted into the switching equipment through the first pin of the double-sided pluggable interface;
and when the audio playing device is monitored to be inserted into the switching device, transmitting audio data to the audio playing device through the second pin.
6. The method according to any one of claims 1 to 5, wherein the step of transmitting audio data to the audio playback device comprises:
transmitting audio data in the form of digital signals to the audio playback device; and the third pin of the double-sided pluggable interface is used for supplying power to the audio frequency external equipment.
7. The method of claim 6, wherein the step of powering the audio playback device through the third pin of the dual-sided socketable interface comprises:
when the charging equipment is connected with the terminal through the switching equipment and can supply power to the battery of the terminal, the charging equipment is utilized to supply power to the audio frequency external playing equipment through the third pin of the double-sided pluggable interface.
8. The method of claim 7, wherein after the step of powering the audio playback device with a battery of the terminal, the method further comprises:
detecting whether the charging equipment is connected with the terminal through the switching equipment or not;
when the charging equipment is detected to be connected with the terminal through the switching equipment and can supply power to a battery of the terminal, the transmission of audio data is suspended;
and after the charging equipment is utilized to supply power to the audio play-out equipment, the transmission of audio data is recovered.
9. A terminal, characterized in that the terminal comprises:
the first detection module is used for detecting the type of external equipment connected with the terminal through the switching equipment through a first pin of a double-sided pluggable interface on the terminal;
the first processing module is used for transmitting audio data to the audio external device through a second pin of the double-sided pluggable interface when the external device is detected to be the audio external device, and monitoring whether charging equipment is plugged into the switching device through the first pin;
the second processing module is used for suspending the transmission of the audio data and performing identity authentication on the charging equipment by using the second pin when the situation that the charging equipment is inserted into the switching equipment is monitored;
and the third processing module is used for charging the battery of the terminal by using the charging equipment through the third pin of the double-sided pluggable interface after the identity authentication is passed, and continuously transmitting audio data to the audio play-out equipment through the second pin.
10. The terminal of claim 9, wherein the terminal further comprises:
and the fourth processing module is configured to, after the identity authentication is performed on the charging device by using the second pin and after the identity authentication fails, not perform an operation of charging the battery of the terminal by using the charging device, and continue to transmit audio data to the audio playback device through the second pin.
11. The terminal of claim 9, wherein the terminal further comprises:
the first authentication module is used for performing identity authentication on the charging equipment through a second pin of the double-sided pluggable interface after detecting the type of the external equipment connected with the terminal through the switching equipment and when detecting that the type of the external equipment is audio frequency external equipment and the charging equipment;
the fifth processing module is used for determining whether the identity authentication of the charging equipment passes or not according to the authentication result; and transmitting the audio data to be output to the audio external device through the second pin.
12. The terminal of claim 11, wherein the fifth processing module comprises:
the first processing submodule is used for charging a battery of the terminal through the charging equipment through a third pin of the double-sided pluggable interface when the authentication result indicates that the identity authentication passes, and transmitting audio data to the audio play-out equipment through the second pin;
and the second processing submodule is used for not executing the operation of charging the battery of the terminal by using the charging equipment when the authentication result indicates that the identity authentication fails, and transmitting audio data to the audio play-out equipment through the second pin.
13. The terminal of claim 9, wherein the terminal further comprises:
the second authentication module is used for performing identity authentication on the charging equipment through a second pin of the double-sided pluggable interface after the type of the external equipment connected with the terminal through the switching equipment is detected and when the type of the external equipment is detected to be the charging equipment;
the third processing submodule is used for charging a battery of the terminal by using the charging equipment through a third pin of the double-sided pluggable interface after the identity authentication is passed, and monitoring whether audio external equipment is inserted into the switching equipment or not through the first pin of the double-sided pluggable interface;
and the first transmission submodule is used for transmitting audio data to the audio playing device through the second pin when the audio playing device is monitored to be inserted into the switching device.
14. The terminal according to any of claims 9 to 13, wherein the operation of transmitting audio data to the audio play-out device comprises:
transmitting audio data in the form of digital signals to the audio playback device; and the third pin of the double-sided pluggable interface is used for supplying power to the audio frequency external equipment.
15. The terminal of claim 14, wherein the operation of supplying power to the audio play-out device through the third pin of the dual-sided pluggable interface comprises:
when the charging equipment is connected with the terminal through the switching equipment and can supply power to the battery of the terminal, the charging equipment is utilized to supply power to the audio frequency external playing equipment through the third pin of the double-sided pluggable interface.
16. The terminal of claim 15, wherein the terminal further comprises:
the second detection module is used for detecting whether the charging equipment is connected with the terminal through the switching equipment after the battery of the terminal is used for supplying power to the audio frequency external equipment;
the sixth processing module is used for suspending the transmission of audio data when the charging equipment is detected to be connected with the terminal through the switching equipment and can supply power to a battery of the terminal;
and the seventh processing module is used for recovering the transmission of the audio data after the charging equipment is used for supplying power to the audio play-out equipment.
17. A terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps in the method of charging and audio data processing according to any of claims 1 to 8.
CN201710399248.3A 2017-05-31 2017-05-31 Charging and audio data processing method and terminal Active CN107291415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710399248.3A CN107291415B (en) 2017-05-31 2017-05-31 Charging and audio data processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710399248.3A CN107291415B (en) 2017-05-31 2017-05-31 Charging and audio data processing method and terminal

Publications (2)

Publication Number Publication Date
CN107291415A CN107291415A (en) 2017-10-24
CN107291415B true CN107291415B (en) 2020-03-03

Family

ID=60094829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710399248.3A Active CN107291415B (en) 2017-05-31 2017-05-31 Charging and audio data processing method and terminal

Country Status (1)

Country Link
CN (1) CN107291415B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109586111A (en) * 2019-01-23 2019-04-05 芯海科技(深圳)股份有限公司 A kind of TYPE-C interface one-to-two conversion circuit
CN110879792B (en) * 2019-11-13 2024-01-23 Oppo广东移动通信有限公司 Electronic equipment and interface control method thereof
CN113660373B (en) * 2021-10-19 2022-01-07 浙江地芯引力科技有限公司 Charging authentication method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106025742A (en) * 2016-07-29 2016-10-12 深圳市和昶科技有限公司 Adapter applied to Type-C interface intelligent terminal and adaption method
CN106207687A (en) * 2016-08-30 2016-12-07 硅谷数模半导体(北京)有限公司 The conversion method of data-interface and device
CN106532382A (en) * 2016-09-20 2017-03-22 立讯精密工业股份有限公司 USB Type-C adapter and implementation method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201075214Y (en) * 2007-09-13 2008-06-18 深圳华为通信技术有限公司 USB general-purpose data line
US8106836B2 (en) * 2008-04-11 2012-01-31 Apple Inc. Hybrid antennas for electronic devices
CN105120404B (en) * 2015-07-31 2018-11-30 华为技术有限公司 A kind of audio frequency apparatus, terminal device and electronic equipment
CN206147616U (en) * 2016-09-19 2017-05-03 深圳市科秀科技有限公司 Novel USB audio frequency and two transmission circuits that charge

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106025742A (en) * 2016-07-29 2016-10-12 深圳市和昶科技有限公司 Adapter applied to Type-C interface intelligent terminal and adaption method
CN106207687A (en) * 2016-08-30 2016-12-07 硅谷数模半导体(北京)有限公司 The conversion method of data-interface and device
CN106532382A (en) * 2016-09-20 2017-03-22 立讯精密工业股份有限公司 USB Type-C adapter and implementation method thereof

Also Published As

Publication number Publication date
CN107291415A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
KR102217641B1 (en) Electronic device and method for controlling audio input/output
US10949374B2 (en) Type-C interface controlling circuit, controlling method and mobile terminal
CN107145331B (en) Charging and audio data processing method and terminal
US20100056272A1 (en) Music player for video game consoles and electronic devices operable in sleep or power-saving modes
JP5934678B2 (en) Method and terminal device for performing file processing based on user interface
CN107291415B (en) Charging and audio data processing method and terminal
US9411399B2 (en) Portable electronic device and method of providing remaining amount of electric power of battery in portable electronic device
KR102110971B1 (en) Method and apparatus for power saving in access point network
CN106951143B (en) Method and device for hiding application icons
CN108271093B (en) Processing method of access equipment and mobile terminal
KR102121382B1 (en) Electronic apparatus
KR20140028546A (en) Apparatus for controlling key input and method for the same
EP2706451A2 (en) Method of processing touch input for mobile device
KR101876394B1 (en) Method and device for playing media data on a terminal
JP5026556B2 (en) Information processing apparatus, audio output setting method thereof, and computer-executable program
TW201516847A (en) Method and device for identifying to perform operation
CN108268397B (en) Processing method of access equipment and mobile terminal
CN108271092B (en) Processing method of access equipment and mobile terminal
CN107257406A (en) A kind of charging and the method and terminal of voice data processing
CN108268396B (en) Processing method of access equipment and mobile terminal
US11825275B2 (en) Electronic device charging via an audio jack
KR100879520B1 (en) Terminal and method for playing music thereof
CN108268407B (en) Processing method of access equipment and mobile terminal
CN108271094B (en) Processing method of access equipment and mobile terminal
CN106843903B (en) User behavior mode application method and device of intelligent mobile terminal

Legal Events

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