CN110620602B - Reverse charging and data transmission sharing system, multiplexing data line and electronic device - Google Patents

Reverse charging and data transmission sharing system, multiplexing data line and electronic device Download PDF

Info

Publication number
CN110620602B
CN110620602B CN201810627565.0A CN201810627565A CN110620602B CN 110620602 B CN110620602 B CN 110620602B CN 201810627565 A CN201810627565 A CN 201810627565A CN 110620602 B CN110620602 B CN 110620602B
Authority
CN
China
Prior art keywords
pin
data
connector
interface
port
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
CN201810627565.0A
Other languages
Chinese (zh)
Other versions
CN110620602A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810627565.0A priority Critical patent/CN110620602B/en
Publication of CN110620602A publication Critical patent/CN110620602A/en
Application granted granted Critical
Publication of CN110620602B publication Critical patent/CN110620602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application discloses a reverse charging and data transmission sharing system, a multiplexing data line and an electronic device, wherein the system comprises first equipment, second equipment, third equipment and a multiplexing data line, the first equipment comprises a first interface, a controller and a charging module, the second equipment comprises a second interface, the third equipment comprises a third interface, the multiplexing data line comprises a first joint, a second joint, a third joint and a switching chip, the first joint is connected with the first interface, the second joint is connected with the second interface, and the third joint is connected with the third interface; when the switching chip controls the data pin of the first connector to be communicated with the data pin of the second connector, the first device charges the second device; when the switching chip controls the data pin of the first connector to be communicated with the data pin of the third connector, the first device and the third device perform data transmission. The embodiment of the application can perform reverse charging and data transmission with two external devices at the same time respectively.

Description

Reverse charging and data transmission sharing system, multiplexing data line and electronic device
Technical Field
The application relates to the technical field of terminals, in particular to a reverse charging and data transmission sharing system, a multiplexing data line and an electronic device.
Background
With the development of electronic devices such as smart phones, the hardware circuit design of the electronic devices is also more and more complex. Electronic devices are generally configured with a Universal Serial Bus (USB) interface, and the USB interface is used for connecting and communicating between the electronic device and external devices. The USB interface with (on-the-go, OTG) function can transmit data to an external device or charge the external device through an OTG data line. At present, the USB interface can only transmit data or charge with one external device at the same time.
Disclosure of Invention
The embodiment of the application provides a reverse charging and data transmission sharing system, a multiplexing data line and an electronic device, which can perform reverse charging and data transmission with two external devices respectively at the same time.
A first aspect of an embodiment of the present application provides a reverse charging and data transmission shared system, including a first device, a second device, a third device, and a multiplexing data line, where the first device includes a first interface, a controller, and a charging module, the second device includes a second interface, the third device includes a third interface, the multiplexing data line includes a first connector, a second connector, a third connector, and a switching chip, where:
the first joint is connected with the first interface, the second joint is connected with the second interface, and the third joint is connected with the third interface; the power pin of the first connector is connected with the power pin of the second connector and the power pin of the third connector;
when the switching chip controls the data pin of the first connector to be communicated with the data pin of the second connector, the controller is used for detecting whether the second device is a device to be charged and detecting the allowable charging current of the second device, and if the second device is the device to be charged and the allowable charging current of the second device is a first target charging current, the controller is used for controlling the charging module to charge the second device with the first target charging current;
when the switching chip controls the data pin of the first connector to be communicated with the data pin of the third connector, the controller is configured to detect whether the third device is a data transmission device, and if the third device is the data transmission device, the controller is configured to control the first interface to perform data transmission with the third device.
A second aspect of the embodiments of the present application provides a multiplexing data line, where the multiplexing data line is used to connect a first device and a second device, and is also used to connect the first device and a third device, the multiplexing data line includes a first connector, a second connector, a third connector, and a switching chip, and the first connector includes a first power pin, a first positive data pin, a first negative data pin, a first ground pin, and a first detection pin; the second connector comprises a second power supply pin, a second positive data pin, a second negative data pin and a second grounding pin; the third connector comprises a third power supply pin, a third positive data pin, a third negative data pin and a third ground pin; the switching chip comprises a first selection port, a second selection port, a first positive data port, a first negative data port, a second positive data port and a second negative data port;
the first power pin is connected with the second power pin and the third power pin, the first positive data pin is connected with the first selection port, the second positive data pin is connected with the second selection port, the first positive data port is connected with the second positive data pin, the first negative data port is connected with the second negative data pin, the second positive data port is connected with the third positive data pin, and the second negative data port is connected with the third negative data pin;
the first connector is inserted into the first device, the second connector is inserted into the second device, and the third connector is inserted into the third device;
the switching chip controls the first positive data pin to be connected with the first positive data port, when the first negative data pin is controlled to be connected with the first negative data port, the first device is used for detecting whether the second device is a device to be charged and detecting the charging current of the second device, and if the second device is the device to be charged and the charging current of the second device is a first target charging current, the first device is used for charging the second device with the first target charging current.
A third aspect of the embodiments of the present application provides an electronic device, including a first interface, a controller, and a charging module, wherein: a first connector of a multiplexing data line according to a second aspect of the embodiment of the present invention is inserted into the first interface, the multiplexing data line further includes a second connector and a third connector, the second connector is inserted into an interface of a device to be charged, and the third connector is inserted into an interface of a data transmission device;
the electronic device is used for charging the equipment to be charged connected with the multiplexing data line through the charging module and transmitting data to the data transmission equipment connected with the multiplexing data line.
The embodiment of the application has the following beneficial effects:
when the switching chip controls the data pin of the first connector to be communicated with the data pin of the second connector, the controller is used for detecting whether the second device is a device to be charged and detecting the allowable charging current of the second device, and if the second device is the device to be charged and the allowable charging current of the second device is a first target charging current, the controller is used for controlling the charging module to charge the second device by the first target charging current; when the switching chip controls the data pin of the first connector to be communicated with the data pin of the third connector, the controller is used for detecting whether the third device is a data transmission device, and if the third device is the data transmission device, the controller is used for controlling the first interface to carry out data transmission with the third device. The first device in the embodiment of the application can perform reverse charging to the second device and perform data transmission with the third device, the function multiplexing of the reverse charging and the data transmission of the first device is realized through the multiplexing data line, and the reverse charging and the data transmission can be performed with two external devices at the same time respectively.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a reverse charging and data transmission sharing system disclosed in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a first apparatus disclosed in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of another first apparatus disclosed in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a multiplexed data line disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, system, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In addition, the electronic device according to the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
In the present embodiment, the connection means electrical connection.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a reverse charging and data transmission shared system disclosed in an embodiment of the present application, and as shown in fig. 1, the system includes a first device 10, a second device 20, a third device 30, and a multiplexing data line 40, the first device 10 includes a first interface 11, a controller 12, and a charging module 13, the second device 20 includes a second interface 21, the third device 30 includes a third interface 31, the multiplexing data line 40 includes a first connector 41, a second connector 42, a third connector 43, and a switching chip 44, where:
the first connector 41 is connected with the first interface 11, the second connector 42 is connected with the second interface 21, and the third connector 43 is connected with the third interface 31; the power pin 411 of the first connector 41 is connected with the power pin 421 of the second connector 42 and the power pin 431 of the third connector 43;
when the switching chip 44 controls the data pin of the first connector 41 to communicate with the data pin of the second connector 42, the controller 12 is configured to detect whether the second device 20 is a device to be charged and detect an allowable charging current of the second device 20, and if the second device 20 is the device to be charged and the allowable charging current of the second device 20 is a first target charging current, control the charging module 13 to charge the second device 20 with the first target charging current;
when the switching chip 44 controls the data pin of the first connector 41 to communicate with the data pin of the third connector 43, the controller 12 is configured to detect whether the third device 30 is a data transmission device, and if the third device 30 is a data transmission device, control the first interface 11 to perform data transmission with the third device 30.
In the embodiment of the present application, the data pins of the first connector 41 include a positive data pin 412 and a negative data pin 413, the data pins of the second connector 42 include a positive data pin 422 and a negative data pin 423, and the data pins of the second connector 43 include a positive data pin 432 and a negative data pin 433. The first interface 11 includes a power supply pin 111, a positive data pin 112, a negative data pin 113, a ground pin 114, and a detection pin 115, the second interface 21 includes a power supply pin 211, a positive data pin 212, a negative data pin 213, and a ground pin 214, and the third interface 31 includes a power supply pin 311, a positive data pin 312, a negative data pin 313, and a ground pin 314.
When the first connector 41 is connected to the first interface 11, the positive data pin 412 and the negative data pin 413 of the first connector 41 are respectively connected to the positive data pin 112 and the negative data pin 113 of the first interface 11, the power pin 411 of the first connector 41 is connected to the power pin 111 of the first interface 11, the ground pin 414 of the first connector 41 is connected to the ground pin 114 of the first interface 11, and the detection pin 415 of the first connector 41 is connected to the detection pin 115 of the first interface 11.
When the second connector 42 is connected to the second interface 21, the positive data pin 422 and the negative data pin 423 of the second connector 42 are respectively connected to the positive data pin 212 and the negative data pin 213 of the second interface 21, the power pin 421 of the second connector 42 is connected to the power pin 211 of the second interface 21, and the ground pin 424 of the second connector 42 is connected to the ground pin 214 of the second interface 21.
When the third connector 43 is connected to the third interface 31, the positive data pin 432 and the negative data pin 433 of the third connector 43 are respectively connected to the positive data pin 312 and the negative data pin 313 of the third interface 31, the power pin 431 of the third connector 43 is connected to the power pin 311 of the third interface 31, and the ground pin 434 of the third connector 43 is connected to the ground pin 314 of the third interface 31.
The switching chip 44 may include a power supply terminal 447, wherein the switching chip 44 starts to operate when the power supply terminal 447 of the switching chip 44 detects the power supply voltage output by the first connector 411. Wherein, the supply voltage can be 5V.
The switching chip 44 may further include a memory in which program instructions are stored, which, when the power supply terminal 447 of the switching chip 44 detects a power supply voltage, trigger the switching chip 44 to execute the program instructions including the following steps.
(11) The switching chip 44 controls the data pin of the first connector 41 to communicate with the data pin of the second connector 42;
(12) the switching chip 44 controls the data pin of the first connector 41 to communicate with the data pin of the third connector 43.
The time interval between the step (11) and the step (12) is a preset time interval, and the preset time interval can be preset and stored in the memory of the switching chip. For example, the preset time interval may be set to 5 seconds.
When the switching chip 44 executes the step (11), the first interface 11 of the first device 10 is connected to the second interface 21 of the second device 20, at this time, the power pin 111 of the first interface 11 is connected to the power pin 211 of the second interface 21, the positive data pin 112 of the first interface 11 is connected to the positive data pin 212 of the second interface 21, the negative data pin 113 of the first interface 11 is connected to the negative data pin 213 of the second interface 21, and the ground pin 114 of the first interface 11 is connected to the ground pin 214 of the second interface 21. At this time, the controller 12 of the first device 10 may detect whether the second device 20 is a device to be charged and detect the allowable charging current of the second device 20 through the positive data pin 112 and the negative data pin 113 of the first interface 11, and if the second device 20 is the device to be charged and the allowable charging current of the second device 20 is the first target charging current, control the charging module 13 to charge the second device 20 with the first target charging current.
When the switching chip 44 executes the step (12), the first interface 11 of the first device 10 is connected to the third interface 31 of the third device 30, at this time, the power pin 111 of the first interface 11 is connected to the power pin 311 of the third interface 31, the positive data pin 112 of the first interface 11 is connected to the positive data pin 312 of the third interface 31, the negative data pin 113 of the first interface 11 is connected to the negative data pin 313 of the third interface 31, and the ground pin 114 of the first interface 11 is connected to the ground pin 314 of the third interface 31. At this time, the controller 12 of the first device 10 may detect whether the third device 30 is a data transmission device through the positive data pin 112 and the negative data pin 113 of the first interface 11, and if the third device 30 is a data transmission device, the controller is configured to control the first interface 11 and the third device 30 to perform data transmission. When the first device 10 and the third device 30 perform data transmission, the power pin 111 of the first interface 11 is still connected to the power pin 311 of the third interface 31, and at this time, the power pin 111 of the first interface 11 supplies power to the power pin 311 of the third interface 31, and is not charged to the power pin 311 of the third interface 31, that is, the current of the power pin 311 of the third interface 31 is small.
It should be noted that, when the switching chip 44 executes step (12), the power pin 111 of the first interface 11 is still connected to the power pin 211 of the second interface 21, and at this time, the first device 10 can still charge the second device 20.
In the embodiment of the application, the first device can perform reverse charging to the second device and perform data transmission with the third device, the function multiplexing of the reverse charging and the data transmission of the first device is realized through the multiplexing data line, and the reverse charging and the data transmission can be performed with two external devices at the same time respectively.
Optionally, as shown in fig. 1, when the first connector 41 is connected to the first interface 11, the detection pin 415 of the first connector 41 is connected to the detection pin 115 of the first interface 11, the power pin 411 of the first connector 41 is connected to the power pin 111 of the first interface 11, and the detection pin 415 of the first connector 41 is grounded;
the controller 12 is further configured to control the charging module 13 to output a power voltage to the power pin 111 of the first interface 11 when detecting that the detection pin 115 of the first interface 11 is grounded.
In the embodiment of the present application, the detection pin 115 of the first interface 11 may detect whether the detection pin 415 of the first connector 41 is grounded to determine whether the first device 10 is a master device or a slave device. If the detection pin 115 of the first interface 11 detects that the detection pin 415 of the first connector 41 is grounded, the first device 10 determines that the first device is a master device, and controls the charging module 13 to output a power voltage to the power pin 111 of the first interface 11 to supply power to slave devices (such as the second device 20 and the third device 30 shown in fig. 1), so that the first device 10 can reversely charge the second device 20 and the third device 30. If the detection pin 115 of the first interface 11 detects that the detection pin 415 of the first connector 41 is not grounded, the first device 10 determines that the first device is a slave device, and the power pin 111 of the first interface 11 may receive a voltage input by an external device, and may receive the voltage input by the external device to charge the external device.
Optionally, the manner for the controller 12 to detect whether the second device 20 is a device to be charged is specifically as follows:
the controller 12 detects whether the current of the data pin of the first connector 41 is in a first preset current interval.
In the embodiment of the present application, the data pins of the first connector 41 may include a positive data pin 412 and a negative data pin 413. If the second device 20 is a device to be charged, the positive data pin 212 or the negative data pin 213 of the second interface 21 of the second device 20 is grounded through a first specific resistance. Generally, the larger the allowable charging current of the device to be charged, the smaller the first specific resistance. For example, the first predetermined current interval may be between 0.5mA and 5 mA.
Optionally, the manner for the controller 12 to detect the allowable charging current of the second device 20 is specifically as follows:
the controller 12 determines a first target charging current corresponding to the current of the data pin of the first connector 41 according to the correspondence between the data pin current and the allowable current.
In the embodiment of the present application, the corresponding relationship between the data pin current and the allowable current may be pre-established and stored in the memory of the controller 12. Referring to table 1, table 1 is a table of correspondence between pin currents and allowable currents disclosed in the embodiments of the present application.
TABLE 1
Pin current (mA) Allowable Current (mA)
0.5-1 500
1-3 1000
3-5 2000
As shown in table 1, different pin current intervals correspond to different allowable currents. The allowed current is the maximum charging current allowed for the second device 20.
Optionally, the manner for the controller 12 to detect whether the third device 30 is a data transmission device specifically includes:
the controller 12 detects whether the current of the data pin of the first connector 41 is in a second preset current interval, where the first preset current interval and the first preset current interval do not intersect. If the third device 30 is a data transfer device, the positive data pin 312 or the negative data pin 313 of the third interface 31 of the third device 30 is in a floating state. The current of the data pin of the first connector 41 is very small, close to 0 mA.
The second preset circuit interval is smaller than the second preset current interval. For example, the second predetermined current interval may be between 0mA and 0.5 mA.
It should be noted that, when it is detected that the third device 30 is a data transmission device, the power pin 111 of the first interface 11 may supply power to the power pin 311 of the third interface 31. The supply current is small, for example, the supply current of the power pin 111 of the first interface 11 can supply 25mA to the power pin 311 of the third interface 31.
Optionally, please refer to fig. 2, and fig. 2 is a schematic structural diagram of a first device disclosed in the embodiment of the present application. As shown in fig. 2, the charging module 13 includes a battery 131 and a booster circuit 132;
the output port 1311 of the battery 131 is connected to the input port 1321 of the booster circuit 132, and the output port 1322 of the booster circuit 132 is connected to the power supply pin 111 of the first interface 11.
The boosting circuit 132 may boost the voltage (e.g., 4.35V) of the battery 131 to a voltage (e.g., 5V) of a charging standard, among others. The boost circuit 132 may also be referred to as a boost circuit.
Optionally, the controller 12 is further configured to decrease the charging current output by the charging module 13 to the second device 20 when the charge of the battery 131 is lower than a preset charge threshold.
In this embodiment, the first device 10 may adjust the charging current output by the charging module according to the electric quantity of its own battery. For example, the first device 10 may decrease the charging current output by the charging module 13 when the electric quantity of the battery of the first device is lower than the preset electric quantity threshold, so that the charging current output by the charging module 13 is smaller than the first target current. The preset charge threshold may be preset, for example, the preset charge threshold may be set to 40% of the total charge of the battery.
For example, if the maximum charging current allowed by the first device 10 is 1000mA when the first device 10 charges the second device 20, when the battery capacity of the first device 10 is detected to be lower than 40%, the charging current output by the charging module 13 of the first device 10 is reduced from 1000mA to 100mA to prevent the battery capacity of the first device 10 from being rapidly consumed.
Optionally, the controller 12 is further configured to decrease the charging current output by the charging module 13 to the second device 20 when the supply current of the battery 131 in the first device 10 exceeds a preset current threshold.
First equipment 10 can reduce the charging current that charging module 13 exported to second equipment 20 when the supply current of self is great, can guarantee the stability of battery work, avoids appearing the battery output total current too big condition that leads to first equipment 10 to generate heat.
Optionally, as shown in fig. 3, the first device 10 further includes a display device 14, where the display device 14 is configured to receive a charging current adjustment instruction input by a user, the charging current adjustment instruction is used to adjust a current that the first device 10 charges the second device 20 within a third preset current interval, and an upper limit of the third preset current interval is the first target charging current.
In the embodiment of the present application, for example, if the maximum charging current operated by the second device 20 is 1000mA, a charging current adjustment progress bar may be displayed on the display device 14. As shown in fig. 3, the user may adjust the current of the first device 10 to the second device 20 from 1000mA to 700mA by sliding a finger on the charging current adjustment progress bar. The embodiment of the application can actively and flexibly adjust the current of the first device 10 to charge the second device 20 by the user.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a multiplexing data line disclosed in an embodiment of the present application, as shown in fig. 4, the multiplexing data line 40 is used to connect the first device 10 and the second device 20, the multiplexing data line 40 is also used to connect the first device 10 and the third device 30, the multiplexing data line 40 includes a first connector 41, a second connector 42, a third connector 43 and a switching chip 44, the first connector 41 includes a first power pin 411, a first positive data pin 412, a first negative data pin 413, a first ground pin 414 and a first detection pin 415; the second connector 42 includes a second power supply pin 421, a second positive data pin 422, a second negative data pin 423, and a second ground pin 424; the third connector 43 includes a third power supply pin 431, a third positive data pin 432, a third negative data pin 433, and a third ground pin 434; the switching chip 44 includes a first selection port 441, a second selection port 442, a first positive data port 443, a first negative data port 444, a second positive data port 445, and a second negative data port 446;
the first power pin 411 is connected with the second power pin 421 and the third power pin 431, the first positive data pin 412 is connected with the first selection port 441, the first negative data pin 413 is connected with the second selection port 442, the first positive data port 443 is connected with the second positive data pin 422, the first negative data port 444 is connected with the second negative data pin 423, the second positive data port 445 is connected with the third positive data pin 432, and the second negative data port 446 is connected with the third negative data pin 433;
the first connector 41 is inserted into the first device 10, the second connector 42 is inserted into the second device 20, and the third connector 43 is inserted into the third device 30;
when the switching chip 44 controls the first selection port 441 to be connected to the first positive data port 443 and controls the second selection port 442 to be connected to the first negative data port 444, the first device 10 is configured to detect whether the second device 20 is a device to be charged and detect a charging current of the second device 20, and if the second device 20 is a device to be charged and the charging current of the second device 20 is the first target charging current, the first device 10 is configured to charge the second device 20 with the first target charging current.
Optionally, when the switching chip 44 controls the first selection port 441 to be connected to the second positive data port 445 and controls the second selection port 442 to be connected to the second negative data port 446, the first device 10 is configured to detect whether the third device 30 is a data transmission device, and if the third device 30 is a data transmission device, the first device 10 is configured to perform data transmission with the third device 30.
In the embodiment of the present application, the first connector 41 of the multiplexed data line 40 is connected to the first device 10, the second connector 42 is connected to the second device 20, and the third connector 43 is connected to the third device 30. The first device 10 is a master device, and the first device 10 may charge the second device 20 or may perform data transmission to the third device 30. By using the multiplexing data line shown in fig. 4, the function multiplexing of the reverse charging and the data transmission of the first device is realized, and the first device can simultaneously perform the reverse charging and the data transmission with two external devices respectively.
The embodiment of the application also discloses an electronic device. The electronic device may refer to the first apparatus shown in fig. 2 or fig. 3. The electronic device comprises a first interface, a controller and a charging module, wherein a first joint of a multiplexing data line is inserted into the first interface, the multiplexing data line also comprises a second joint and a third joint, the second joint is inserted into an interface of equipment to be charged, and the third joint is inserted into an interface of data transmission equipment;
the electronic device is used for charging the equipment to be charged connected with the multiplexing data line through the charging module and is used for carrying out data transmission with the data transmission equipment connected with the multiplexing data line.
An electronic device is also provided in the embodiments of the present application, as shown in fig. 5, for convenience of description, only the relevant portions of the embodiments of the present application are shown, and details of the technology are not disclosed. The electronic device may be any terminal equipment including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the electronic device as the mobile phone as an example:
referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and fig. 5 illustrates a mobile phone as an example. Referring to fig. 5, the handset includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932. Fingerprint identification module 931, can gather the fingerprint data of user above it. The input unit 930 may include other input devices 932 in addition to the fingerprint recognition module 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 940 may include a Display screen 941, and optionally, the Display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Although in fig. 5, the fingerprint recognition module 931 and the display screen 941 are shown as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint recognition module 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light, and the proximity sensor may turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 4 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces (e.g., a UART interface and a USB interface) and lines, performs various functions of the mobile phone and processes data by running or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby monitoring the mobile phone as a whole. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an Application Processor (AP), which mainly handles operating systems, user interfaces, application programs, etc., and a Modem processor (Modem), which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
The mobile phone may further include a camera 9100, and the camera 9100 is used for shooting images and videos and transmitting the shot images and videos to the processor 980 for processing.
The mobile phone can also be provided with a Bluetooth module and the like, which are not described herein again.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric 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.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the core concepts of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. The utility model provides a reverse charge and data transmission sharing system, characterized in that, includes first equipment, second equipment, third equipment and multiplexing data line, first equipment includes first interface, controller and charging module, the second equipment includes the second interface, the third equipment includes the third interface, multiplexing data line includes first joint, second joint, third joint and switches the chip, wherein:
the first joint is connected with the first interface, the second joint is connected with the second interface, and the third joint is connected with the third interface; the power pin of the first connector is connected with the power pin of the second connector and the power pin of the third connector;
when the switching chip controls the data pin of the first connector to be communicated with the data pin of the second connector, the controller is used for detecting whether the second device is a device to be charged and detecting the allowable charging current of the second device, and if the second device is the device to be charged and the allowable charging current of the second device is a first target charging current, the controller is used for controlling the charging module to charge the second device with the first target charging current;
when the switching chip controls the data pin of the first connector to be communicated with the data pin of the third connector, the controller is configured to detect whether the third device is a data transmission device, and if the third device is the data transmission device, the controller is configured to control the first interface to perform data transmission with the third device.
2. The system of claim 1, wherein when the first connector is connected to the first interface, the detection pin of the first connector is connected to the detection pin of the first interface, the power pin of the first connector is connected to the power pin of the first interface, and the detection pin of the first connector is grounded;
the controller is further configured to control the charging module to output a power supply voltage to the power supply pin of the first interface when it is detected that the detection pin of the first interface is grounded.
3. The system according to claim 1 or 2, wherein the controller detects whether the second device is a device to be charged specifically by:
the controller detects whether the current of the data pin of the first connector is in a first preset current interval.
4. The system of claim 3, wherein the controller detects the allowable charging current of the second device by:
and the controller determines a first target charging current corresponding to the current of the data pin of the first connector according to the corresponding relation between the current of the data pin and the allowable current.
5. The system according to claim 3, wherein the controller detects whether the third device is a data transmission device by:
the controller detects whether the current of the data pin of the first connector is in a second preset current interval, and the first preset current interval have no intersection.
6. The system according to claim 4, wherein the controller detects whether the third device is a data transmission device by:
the controller detects whether the current of the data pin of the first connector is in a second preset current interval, and the first preset current interval have no intersection.
7. The system according to any one of claims 2 and 4 to 6, wherein the charging module comprises a battery and a booster circuit;
the output port of the battery is connected with the input port of the booster circuit, and the output port of the booster circuit is connected with the power pin of the first interface.
8. The system of claim 3, wherein the charging module comprises a battery and a boost circuit;
the output port of the battery is connected with the input port of the booster circuit, and the output port of the booster circuit is connected with the power pin of the first interface.
9. The system of claim 7, wherein the controller is further configured to decrease the charging current output by the charging module when the charge level of the battery is lower than a preset charge level threshold.
10. The system of claim 8, wherein the controller is further configured to decrease the charging current output by the charging module when the charge level of the battery is below a preset charge level threshold.
11. The system of claim 7, wherein the first device further comprises a display device, and the display device is configured to receive a charging current adjustment instruction input by a user, the charging current adjustment instruction is configured to adjust a current for charging the second device by the first device within a third preset current interval, and an upper limit of the third preset current interval is the first target charging current.
12. The system of claim 8, wherein the first device further comprises a display device, and the display device is configured to receive a charging current adjustment instruction input by a user, the charging current adjustment instruction is configured to adjust a current for charging the second device by the first device within a third preset current interval, and an upper limit of the third preset current interval is the first target charging current.
13. A multiplexing data line is characterized in that the multiplexing data line is used for connecting a first device and a second device, the multiplexing data line is also used for connecting the first device and a third device, the multiplexing data line comprises a first joint, a second joint, a third joint and a switching chip, and the first joint comprises a first power supply pin, a first positive data pin, a first negative data pin, a first grounding pin and a first detection pin; the second connector comprises a second power supply pin, a second positive data pin, a second negative data pin and a second grounding pin; the third connector comprises a third power supply pin, a third positive data pin, a third negative data pin and a third ground pin; the switching chip comprises a first selection port, a second selection port, a first positive data port, a first negative data port, a second positive data port and a second negative data port;
the first power pin is connected with the second power pin and the third power pin, the first positive data pin is connected with the first selection port, the first negative data pin is connected with the second selection port, the first positive data port is connected with the second positive data pin, the first negative data port is connected with the second negative data pin, the second positive data port is connected with the third positive data pin, and the second negative data port is connected with the third negative data pin;
the first connector is inserted into the first device, the second connector is inserted into the second device, and the third connector is inserted into the third device;
the switching chip controls the first selection port to be connected with the first positive data port, controls the second selection port to be connected with the first negative data port, and when the first selection port is connected with the second negative data port, the first device is used for detecting whether the second device is a device to be charged and detecting the charging current of the second device;
the switching chip controls the first selection port to be connected with the second positive data port, and when the second selection port is controlled to be connected with the second negative data port, the first device is used for detecting whether the third device is a data transmission device, and if the third device is the data transmission device, the first device is used for carrying out data transmission with the third device.
14. An electronic device, comprising a first interface, a controller, and a charging module, wherein: the first connector of the multiplexed data line of claim 13 plugged into the first interface, the multiplexed data line further comprising a second connector plugged into an interface of a device to be charged and a third connector plugged into an interface of a data transmission device;
the electronic device is used for charging the equipment to be charged connected with the multiplexing data line through the charging module and transmitting data to the data transmission equipment connected with the multiplexing data line.
CN201810627565.0A 2018-06-19 2018-06-19 Reverse charging and data transmission sharing system, multiplexing data line and electronic device Active CN110620602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810627565.0A CN110620602B (en) 2018-06-19 2018-06-19 Reverse charging and data transmission sharing system, multiplexing data line and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810627565.0A CN110620602B (en) 2018-06-19 2018-06-19 Reverse charging and data transmission sharing system, multiplexing data line and electronic device

Publications (2)

Publication Number Publication Date
CN110620602A CN110620602A (en) 2019-12-27
CN110620602B true CN110620602B (en) 2021-07-06

Family

ID=68919961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810627565.0A Active CN110620602B (en) 2018-06-19 2018-06-19 Reverse charging and data transmission sharing system, multiplexing data line and electronic device

Country Status (1)

Country Link
CN (1) CN110620602B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245057B (en) * 2020-03-06 2022-01-18 维沃移动通信有限公司 Electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2750584Y (en) * 2004-12-02 2006-01-04 上海贝豪通讯电子有限公司 A three-in-one handset interface realizing functions of earphone, serial port, and charging
CN104035357A (en) * 2014-06-27 2014-09-10 广东欧珀移动通信有限公司 Headset, charging and OTG equipment circuit design based on USB socket
CN204030193U (en) * 2014-06-26 2014-12-17 深圳市非凡创新实业有限公司 Connecting line with OTG function
CN104638732A (en) * 2015-03-03 2015-05-20 上海创远仪器技术股份有限公司 System with external equipment accessing and battery charging management functions, and method thereof
CN106026247A (en) * 2016-06-17 2016-10-12 上海与德通讯技术有限公司 Charging equipment and charging method thereof
CN206116826U (en) * 2016-10-12 2017-04-19 重庆蓝岸通讯技术有限公司 USB data line of compatible OTG function
CN206878285U (en) * 2017-05-31 2018-01-12 深圳市深鑫科技有限公司 A kind of two-in-one patchcord of audio charging
CN107622031A (en) * 2017-08-09 2018-01-23 深圳市亿道数码技术有限公司 A kind of double type c interface arrangements based on intel kabylake platforms
CN207038872U (en) * 2017-06-07 2018-02-23 苏州优函信息科技有限公司 Multifunction intelligent mobile telephone data wire

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8907633B2 (en) * 2011-06-30 2014-12-09 Standard Microsystems Corporation Method and system for sampling multiple profiles in a charging port without host intervention

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2750584Y (en) * 2004-12-02 2006-01-04 上海贝豪通讯电子有限公司 A three-in-one handset interface realizing functions of earphone, serial port, and charging
CN204030193U (en) * 2014-06-26 2014-12-17 深圳市非凡创新实业有限公司 Connecting line with OTG function
CN104035357A (en) * 2014-06-27 2014-09-10 广东欧珀移动通信有限公司 Headset, charging and OTG equipment circuit design based on USB socket
CN104638732A (en) * 2015-03-03 2015-05-20 上海创远仪器技术股份有限公司 System with external equipment accessing and battery charging management functions, and method thereof
CN106026247A (en) * 2016-06-17 2016-10-12 上海与德通讯技术有限公司 Charging equipment and charging method thereof
CN206116826U (en) * 2016-10-12 2017-04-19 重庆蓝岸通讯技术有限公司 USB data line of compatible OTG function
CN206878285U (en) * 2017-05-31 2018-01-12 深圳市深鑫科技有限公司 A kind of two-in-one patchcord of audio charging
CN207038872U (en) * 2017-06-07 2018-02-23 苏州优函信息科技有限公司 Multifunction intelligent mobile telephone data wire
CN107622031A (en) * 2017-08-09 2018-01-23 深圳市亿道数码技术有限公司 A kind of double type c interface arrangements based on intel kabylake platforms

Also Published As

Publication number Publication date
CN110620602A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN108899952B (en) Multi-battery charging and discharging device and mobile terminal
CN110797925B (en) Battery control system and method and electronic equipment
CN106786962B (en) Charging control method and device and terminal
CN107947825B (en) Antenna selection circuit and mobile terminal
CN106549451B (en) A kind of wireless charging method and device
CN107896119B (en) Antenna sharing circuit and mobile terminal
CN107613126B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN107678989B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN106549465B (en) Charge control method, device, system and terminal
CN110138052B (en) Charging control method and related product
CN107910912B (en) Charging circuit and charging method
CN107516917A (en) Charge control method, terminal, intelligent charge equipment and computer-readable storage medium
CN110797924B (en) Battery control system and method and electronic equipment
EP3570404B1 (en) Power supply control method and apparatus, storage medium, and electronic device
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN108920390B (en) Insertion detection circuit, insertion detection method, and electronic device
CN110620602B (en) Reverse charging and data transmission sharing system, multiplexing data line and electronic device
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN106713648B (en) A kind of communication means and mobile terminal
CN107706999A (en) Startup formula battery, application apparatus and server
CN108411310B (en) Interface circuit and electronic device
CN207490556U (en) Startup formula battery, application apparatus and server
CN106849000B (en) Short-circuit protection circuit, power adapter and mobile terminal
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN111384754B (en) Charging method, charging device, storage medium and 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