CN116526610A - Power supply method, chip, electronic device and storage medium - Google Patents

Power supply method, chip, electronic device and storage medium Download PDF

Info

Publication number
CN116526610A
CN116526610A CN202310408113.4A CN202310408113A CN116526610A CN 116526610 A CN116526610 A CN 116526610A CN 202310408113 A CN202310408113 A CN 202310408113A CN 116526610 A CN116526610 A CN 116526610A
Authority
CN
China
Prior art keywords
power supply
supply circuit
display device
terminal device
power
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.)
Pending
Application number
CN202310408113.4A
Other languages
Chinese (zh)
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.)
Chipsea Technologies Shenzhen Co Ltd
Original Assignee
Chipsea Technologies Shenzhen 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 Chipsea Technologies Shenzhen Co Ltd filed Critical Chipsea Technologies Shenzhen Co Ltd
Priority to CN202310408113.4A priority Critical patent/CN116526610A/en
Publication of CN116526610A publication Critical patent/CN116526610A/en
Pending legal-status Critical Current

Links

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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • 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
    • 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/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0083Converters characterised by their input or output configuration
    • H02M1/009Converters characterised by their input or output configuration having two or more independently controlled outputs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a power supply method, a chip, electronic equipment and a storage medium, wherein the method comprises the following steps: detecting whether the display device and the terminal device are successfully connected with the power supply circuit or not respectively; if the display equipment and the terminal equipment are successfully connected with the power supply circuit, controlling the corresponding signal transmission channels to be connected according to the type of the target signal sent by the terminal equipment, wherein two ends of the signal transmission channels are respectively used for connecting the display equipment and the terminal equipment; and controlling the power supply circuit to output the working voltage corresponding to the display equipment. According to the embodiment of the application, the weight of the display equipment body is not increased, the endurance of the display equipment can be prolonged, scenes such as games and sports can be performed by adapting to the display equipment, and the user experience is improved.

Description

Power supply method, chip, electronic device and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a power supply method, a chip, an electronic device, and a storage medium.
Background
VR (Virtual Reality) eyeglass technology is continuously developed, the maturity is higher and higher, and the VR (Virtual Reality) eyeglass technology is also used more and more frequently in daily life. VR glasses on the market at present generally do not include a battery unit in the VR glasses to reduce the price of the product, so that the VR glasses can only read signals from the data host and obtain power. For example, in the scene of utilizing VR glasses to watch mobile phone video, the VR glasses passes through the data line to be connected with the cell-phone, and the cell-phone is on one side for the VR glasses power supply through the data line, and simultaneously is for the VR glasses with video signal transmission through the data line, and under this kind of circumstances, the duration of VR glasses is limited by the mobile phone electric quantity, leads to VR glasses duration poor, has reduced user experience.
Disclosure of Invention
The application provides a power supply method, a chip, electronic equipment and a storage medium, and aims to improve the endurance of display equipment and effectively improve user experience under the condition of not increasing the weight of the display equipment.
In a first aspect, an embodiment of the present application provides a power supply method, where the power supply method is applied to a power supply circuit, and the power supply method includes:
detecting whether the display device and the terminal device are successfully connected with the power supply circuit or not respectively;
if the display equipment and the terminal equipment are successfully connected with the power supply circuit, controlling the corresponding signal transmission channels to be connected according to the type of the target signal sent by the terminal equipment, wherein two ends of the signal transmission channels are respectively used for connecting the display equipment and the terminal equipment;
and controlling the power supply circuit to output the working voltage corresponding to the display equipment.
Further, the signal transmission channel includes a first analog switch, and the controlling the corresponding signal transmission channel to be turned on according to the type of the target signal sent by the terminal device includes:
acquiring the type of the target signal;
and if the type of the target signal is a first preset type, controlling the first analog switch to be turned on so that the display equipment returns display parameters according to the target signal, and the terminal equipment sends a target signal of a second preset type according to the display parameters.
Further, the signal transmission channel further includes a second analog switch, and the controlling the corresponding signal transmission channel to be turned on according to the type of the target signal sent by the terminal device includes:
and if the type of the target signal is a second preset type, controlling the second analog switch to be switched on.
Further, the method further comprises:
according to the input power of the power supply circuit, corresponding power supply voltages are distributed to the display equipment and the terminal equipment according to a preset power distribution strategy;
and controlling the power supply circuit to output the working voltage corresponding to the terminal equipment according to the power supply voltage corresponding to the terminal equipment.
Further, the detecting whether the display device and the terminal device are successfully connected with the power supply circuit respectively includes:
if the display equipment is detected to be connected to the power supply circuit, a first forward and reverse connection state of the display equipment is obtained;
if the terminal equipment is detected to be connected to the power supply circuit, a second forward and reverse connection state of the terminal equipment is obtained;
when the first positive and negative connection state and the second positive and negative connection state are different, the first positive and negative connection state and the second positive and negative connection state are adjusted to be the same;
And under the condition that the first positive and negative connection state and the second positive and negative connection state are the same, judging that the display equipment and the terminal equipment are successfully connected with the power supply circuit.
Further, the Power supply method is based on a PD (Power Delivery) communication protocol.
Further, before the detecting whether the display device and the terminal device are successfully connected with the power supply circuit, respectively, the method further includes:
acquiring the input power of the power supply circuit;
and if the input power is greater than a preset power threshold, setting the power supply circuit to be in an uplink role.
Further, before controlling the corresponding signal transmission channel to be switched on according to the type of the target signal sent by the terminal device, the method further includes:
and setting the terminal equipment to the downlink role so that the terminal equipment sends a target signal to the display equipment.
Further, the method further comprises:
and if the input power is smaller than the preset power threshold, setting the terminal equipment as a downlink role.
In a second aspect, embodiments of the present application provide a chip for use in a power supply circuit, the chip configured to:
The detection module is used for respectively detecting whether the display equipment and the terminal equipment are successfully connected with the power supply circuit;
the communication module is used for controlling the corresponding signal transmission channel to be connected according to the type of the target signal sent by the terminal equipment if the display equipment and the terminal equipment are successfully connected with the power supply circuit, and two ends of the signal transmission channel are respectively used for connecting the display equipment and the terminal equipment;
and the power supply module is used for controlling the power supply circuit to output the working voltage corresponding to the display equipment.
In a third aspect, embodiments of the present application provide an electronic device, including a chip provided in the second aspect.
In a fourth aspect, embodiments of the present application provide a storage medium storing a computer program which, when executed by a processor, implements the steps of any one of the power supply methods provided in the first aspect.
The embodiment of the application provides a power supply method, a chip, electronic equipment and a storage medium, which are characterized in that firstly, whether a display device and a terminal device are successfully connected with a power supply circuit is detected respectively, if the display device, the terminal device and the power supply circuit are detected to be successfully connected, the type of a target signal sent to the display device by the terminal device is obtained, and a corresponding signal transmission channel is controlled to be connected according to the type of the target signal, so that the target signal is displayed on the display device after passing through the signal transmission channel; meanwhile, the power supply circuit is controlled to output the working voltage corresponding to the display equipment so as to supply power for the display equipment, so that the display equipment can work normally. In the embodiment, the power supply circuit provides the working voltage for the display device, so that the cruising ability of the display device is not limited by the electric quantity of the terminal device, and the cruising ability of the display device can be improved; in addition, the weight of the power supply circuit does not influence the weight of the display device, and the cruising ability of the display device can be further prolonged by increasing the weight of the power supply circuit; finally, the power supply circuit is added between the display equipment and the terminal equipment, so that a connecting wire between the display equipment and the terminal equipment can be prolonged, the display equipment is more suitable for games, sports and the like, and the user experience is improved. The embodiment can not only not increase the weight of the display equipment body, but also prolong the endurance of the display equipment, and can also adapt to the scenes such as games, sports and the like of the display equipment, thereby improving the user experience.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a power supply method according to an embodiment of the present application;
fig. 2 is a flowchart of a power supply method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a power supply circuit according to an embodiment of the present application;
fig. 4 is a flowchart of a method for controlling a signal transmission channel to be turned on according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a control module according to an embodiment of the present application;
fig. 6 is a flowchart of a method for detecting whether a terminal device and a display device are successfully connected in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a power supply circuit according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a power supply circuit according to another embodiment of the present disclosure;
FIG. 9 is a flowchart of a power supply method according to another embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a power supply circuit according to another embodiment of the present disclosure;
FIG. 11 is a flowchart of a power supply method according to another embodiment of the present application;
fig. 12 is a schematic structural diagram of a chip according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals:
a power supply circuit 100; a display device 200;
A terminal device 300; a charging module 110;
a first power module 120; a control module 130;
a second power module 140; a first interface, 131;
a second interface 132; a first Type-C interface 1310;
a second Type-C interface 1320; a first analog switch 133;
a control unit 134; a second analog switch 135;
a power supply adapting unit 111; a third interface, 150;
an energy storage unit 112; a first switch 160;
a second switch 170; a chip 400;
a detection module 410; a connection module 420;
a power supply module 430; an electronic device 500.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In order to better understand the solution of the present application, the following description will make clear and complete descriptions of the technical solution of the embodiment of the present application with reference to the accompanying drawings in the embodiment of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the embodiments of the present application, the terms "first," "second," "third," and the like are used for distinguishing between the descriptions and not necessarily for indicating or implying a relative importance, or alternatively, an order. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, the terms "comprising," "including," "having," and variations thereof herein mean "including but not limited to," unless expressly specified otherwise.
It should be noted that in the embodiments of the present application, "connected" is understood to mean electrically connected, and two electrical components may be connected directly or indirectly between two electrical components. For example, a may be directly connected to B, or indirectly connected to B via one or more other electrical components.
The application scenario of a power supply method provided in this embodiment of the present application is that the power supply method is applied to a power supply circuit 100, and an execution body of this embodiment of the present application is a controller, where the controller may be disposed inside the power supply circuit 100 or may be disposed outside the power supply circuit 100, and this embodiment is illustrated by taking the disposition inside the power supply circuit 100 as an example. As shown in fig. 1, when the display device 200 is required to be used, the display device 200 is connected to one end of the power supply circuit 100, the other end of the power supply circuit 100 is connected to the terminal device 300, the power supply circuit 100 supplies power to the display device 200, and a target signal transmitted by the terminal device 300 is transmitted to the display device 200 through the power supply circuit 100, and the display device 200 receives the target signal and displays the target signal.
In the implementation process of the method, if the display device 200 and the terminal device 300 are detected to be successfully connected with the power supply circuit 100, a target signal sent to the display device 200 by the terminal device 300 is acquired, and a corresponding transmission channel is controlled to be connected according to the type of the target signal, so that the target signal reaches the display device 200 through the signal transmission channel; meanwhile, the power supply circuit 100 is controlled to output the operating voltage corresponding to the display device 200 to supply power to the display device 200, so that the display device 200 can operate normally.
It should be noted that the target signal may be a video signal, an audio signal, an image signal, a pixel, a refresh rate, or the like, and may be specifically determined according to practical situations, which is not specifically limited in this embodiment.
It should be further noted that, the terminal device 300 may be a mobile phone, a tablet, a notebook, etc., the display device 200 may be VR glasses, AR (Augmented Reality ) glasses, etc., and may be specifically determined according to the actual situation, which is not specifically limited in this embodiment.
In this embodiment, after the display device 200 and the terminal device 300 are detected to be successfully connected with the power supply circuit 100, the power supply circuit 100 is controlled to provide the working voltage for the display device 200, so that the cruising ability of the display device 200 is not limited by the electric quantity of the terminal device 300, and the cruising ability of the display device 200 can be improved; in addition, since the weight of the power supply circuit 100 does not affect the weight of the display device 200, the cruising ability of the display device 200 can be further prolonged by increasing the weight of the power supply circuit 100; finally, the power supply circuit 100 is added between the display device 200 and the terminal device 300, so that a connecting wire between the display device 200 and the terminal device 300 can be prolonged, the display device 200 is more suitable for playing games, sports and the like, and the user experience is improved. The embodiment can not only not increase the weight of the body of the display device 200, but also prolong the endurance of the display device 200, and can also adapt to the scenes such as games, sports and the like of the display device 200, thereby improving the user experience.
The embodiment of the application provides a power supply method, as shown in fig. 2, including:
s210, detecting whether the display device 200 and the terminal device 300 are successfully connected with the power supply circuit 100 or not respectively;
when the display device 200 is required to be used, the display device 200 is connected to one end of the power supply circuit 100, the terminal device 300 is connected to the other end of the power supply circuit 100, and the display device 200 and the terminal device 300 are detected, respectively, to detect whether the display device 200 and the terminal device 300 are successfully connected to the power supply circuit 100.
For example, the display device 200 and the terminal device 300 are connected with the power supply circuit 100 through the interfaces, and when the interfaces detect that the devices are successfully connected, corresponding signals are sent to the power supply circuit 100, so that the power supply circuit 100 can know that the display device 200 and the terminal device 300 are successfully connected; alternatively, after the display device 200 and the terminal device 300 are connected, the pin level corresponding to the interface changes, and the power supply circuit 100 can know that the display device 200 and the terminal device 300 are successfully connected by sensing the change of the pin level.
The interface may be a USB interface or a Type-C interface, which may be specifically determined according to actual situations, which is not specifically limited in this embodiment.
S220, if the display device 200 and the terminal device 300 are successfully connected with the power supply circuit 100, controlling corresponding signal transmission channels to be connected according to the type of the target signal sent by the terminal device 300, wherein two ends of the signal transmission channels are respectively used for connecting the display device 200 and the terminal device 300;
if it is detected that the display device 200 and the terminal device 300 are successfully connected with the power supply circuit 100, a target signal sent by the terminal device 300 is acquired, the type of the target signal is judged, and a corresponding signal transmission channel is controlled to be connected according to the type of the target signal. Since both ends of the signal transmission channel are connected to the display device 200 and the terminal device 300, respectively, the target signal can reach the display device 200 through the signal transmission channel after the signal transmission channel is turned on.
It should be noted that the signal transmission channel may be any channel capable of transmitting a signal, and may be specifically determined according to practical situations, which is not specifically limited in this embodiment.
The signal transmission channel may be an analog switch, where the analog switch uses a MOS transistor to switch off or switch on a signal link, and two ends of the analog switch are respectively connected to the display device 200 and the terminal device 300, and in general, the analog switch is in an off state, and after the display device 200 and the terminal device 300 are detected to be successfully connected to the power supply circuit 100, and the type of the target signal matches the type of the signal transmitted by the analog switch, the analog switch is controlled to be turned on.
S230, controlling the power supply circuit 100 to output the operating voltage corresponding to the display device 200.
After detecting that the display device 200, the terminal device 300, and the power supply circuit 100 are successfully connected, the power supply circuit 100 also outputs an operating voltage corresponding to the display device 200 and supplies the operating voltage to the display device 200, so that the display device 200 can operate normally.
In this embodiment, after detecting that the display device 200 and the terminal device 300 are successfully connected with the power supply circuit 100, the power supply circuit 100 is controlled to provide the working voltage for the display device 200, so that the cruising ability of the display device 200 is not limited by the electric quantity of the terminal device 300, and the cruising ability of the display device 200 can be improved; in addition, since the weight of the power supply circuit 100 does not affect the weight of the display device 200, the cruising ability of the display device 200 can be further prolonged by increasing the weight of the power supply circuit 100; finally, the power supply circuit 100 is added between the display device 200 and the terminal device 300, so that a connecting wire between the display device 200 and the terminal device 300 can be prolonged, the display device 200 is more suitable for playing games, sports and the like, and the user experience is improved. The embodiment can not only not increase the weight of the body of the display device 200, but also prolong the endurance of the display device 200, and can also adapt to the scenes such as games, sports and the like of the display device 200, thereby improving the user experience.
As an example, as shown in fig. 3, the power supply circuit 100 includes a charging module 110, a first power module 120, and a control module 130, where the control module 130 may be regarded as a controller, i.e., the control module 130 is an execution subject, where:
a charging module 110 for outputting an initial voltage;
the input end of the first power module 120 is connected with the output end of the charging module 110, and the output end of the first power module 120 is used for being connected with the display device 200;
the control module 130, a first end of the control module 130 is used for connecting with the terminal device 300, a second end of the control module 130 is used for connecting with the display device 200, the control module 130 is used for detecting whether the terminal device 300 and the display device 200 are successfully connected, if the terminal device 300 and the display device 200 are detected to be successfully connected, a signal transmission channel between the terminal device 300 and the display device 200 is controlled to be connected, and the control module 130 is also used for controlling the first power module 120 to work so that the first power module 120 converts the initial voltage into a working voltage corresponding to the display device 200.
In the process of implementing the power supply method, the control module 130 detects whether the display device 200 and the terminal device 300 are successfully connected, and if the display device 200 and the terminal device 300 are detected to be successfully connected, the control module 110 is controlled to output an initial voltage; the first power module 120 converts the initial voltage into an operating voltage corresponding to the display device 200 to provide the operating voltage to the display device 200, so that the display device 200 can operate normally; meanwhile, in the process that the terminal device 300 transmits the target signal to the display device 200, the control module 130 determines the type of the target signal and controls the corresponding signal transmission channel to be turned on according to the type of the target signal, so that the signal transmission channel between the display device 200 and the terminal device 300 is turned on to facilitate signal transmission between the display device 200 and the terminal device 300.
It should be noted that the control module 130 may be a microprocessor, a microcontroller, a PD (Power Delivery) controller, or the like. Since communication is generally performed according to the PD protocol when the terminal device 300 and the display device 200 communicate, the control module 130 in this embodiment also generally conforms to the PD protocol, such as a PD chip.
In some embodiments, the signal transmission channel includes a first analog switch 133, and the method for controlling the signal transmission channel to be turned on according to the type of the target signal sent by the terminal device 300 in step S220 includes:
in this embodiment, the signal transmission channel includes a first analog switch 133, two ends of the first analog switch 133 are respectively connected to the display device 200 and the terminal device 300, and the first analog switch 133 can only transmit the target signal when the type of the target signal to be transmitted belongs to a first preset type, and the first analog switch 133 is turned on; when the type of the target signal to be transmitted does not belong to the first preset type, the first analog switch 133 cannot transmit the target signal, and the first analog switch 133 is turned off.
It should be noted that the first preset type is a type of signal that the first analog switch 133 can transmit, and is specifically related to the selected type of the first analog switch 133, which is not specifically limited in this embodiment.
S221, acquiring the type of the target signal;
for example, the type of the target signal may be obtained according to the flag bit carried in the target signal, all possible types of the target signal are obtained in advance, a flag bit is allocated to each type, and the correspondence between the type and the flag bit is set in advance. After the target signal is obtained, extracting a zone bit carried in the target signal, and determining the type of the target signal by referring to the corresponding relation.
And S222, if the type of the target signal is a first preset type, controlling the first analog switch 133 to be turned on so that the display device 200 returns a display parameter according to the target signal, and the terminal device 300 sends a target signal of a second preset type according to the display parameter.
In this embodiment, the types of the target signals include a first preset type and a second preset type, and before the terminal device 300 sends the signal to be displayed to the display device 200, relevant parameters of the display device 200, such as parameters of pixels, refresh rate, display screen size, etc., need to be obtained, where the relevant parameters generally belong to the first preset type; after the parameters are obtained, the setting parameters of the picture to be displayed are adjusted according to the parameters so as to prevent the picture to be displayed from being unable to be displayed in the display device 200, wherein the picture to be displayed is generally of the second preset type.
If the type of the target signal is determined to be the first preset type, the first analog switch 133 is controlled to be turned on, the display device 200 receives the target signal and returns a display parameter according to the target signal, and after the terminal device 300 receives the display parameter, the terminal device 300 configures a target signal of a second preset type according to the display parameter and resends the target signal of the second preset type to the display device 200.
In some embodiments, referring to fig. 4, the signal transmission channel further includes a second analog switch 135, and in step S220, the corresponding signal transmission channel is controlled to be turned on according to the type of the target signal sent by the terminal device 300, and the method further includes:
and S223, if the type of the target signal is a second preset type, controlling the second analog switch 135 to be turned on.
In this embodiment, the signal transmission channel further includes a second analog switch 135, two ends of the first analog switch 133 are respectively connected to the display device 200 and the terminal device 300, and the second analog switch 135 can only transmit the target signal when the type of the target signal to be transmitted belongs to a second preset type, and the second analog switch 135 is turned on; when the type of the target signal to be transmitted does not belong to the second preset type, the second analog switch 135 is turned off.
It should be noted that the second preset type is a type of signal that the second analog switch 135 can transmit, and is specifically related to the selected type of the second analog switch 135, which is not specifically limited in this embodiment.
After the terminal device 300 sends the target signal of the second preset type to the display device 200, the control module 130 determines that the type of the target signal belongs to the second preset type, and controls the second analog switch 135 to be turned on so that the picture to be displayed is transmitted to the display device 200, and the display device 200 displays the picture to be displayed.
Illustratively, on the basis of the power supply circuit 100 provided in fig. 3, as shown in fig. 5, the control module 130 in the power supply circuit 100 includes:
a first analog switch 133, wherein two ends of the first analog switch 133 are respectively used for being connected with the display device 200 and the terminal device 300;
a second analog switch 135, wherein two ends of the second analog switch 135 are respectively used for being connected with the display device 200 and the terminal device 300;
the control unit 134 is configured to connect the two ends of the control unit 134 to the display device 200 and the terminal device 300, where the control unit 134 is configured to detect a type of a target signal sent by the terminal device 300, and control the first analog switch 133 to be turned on if the target signal is of a first preset type, and control the second analog switch 135 to be turned on if the type of the target signal is of a second preset type.
The first analog switch 133 is a low-speed analog switch, which may be regarded as an analog switch transmitting low-speed signals including, but not limited to, AUX (Auxiliary) signals, microphone signals, etc., which support a transmission bandwidth of at least 1.5Mbps or more.
Accordingly, the first preset type includes parameter signals such as AUX signals, microphone signals, etc., and the parameter signals refer to signals including parameters related to the display device 200.
The second analog switch 135 is a high-speed analog switch, which may be regarded as an analog switch transmitting a high-speed signal, which has a high bandwidth and a high transmission speed, and the high-speed signal includes, but is not limited to, a DP signal, an HDMI (High DefinitionMultimedia Interface, high-definition multimedia interface) signal, and a lightning signal, and thus the high-speed analog switch 133 supports a transmission bandwidth of at least 5Gbps or more.
Accordingly, the second preset type includes DP signals, HDMI signals, lightning signals, and common video signals, audio signals, images, and the like all belong to the second preset type.
In the implementation process of the power supply method, the control unit 134 detects the target signal sent by the terminal device 300, analyzes the signal type of the target signal, if the target signal includes a parameter signal, etc., it indicates that the target signal is of a first preset type, controls the first analog switch 133 to be turned on, so that the target signal sent by the terminal device 300 passes through the first analog switch 133 and is transmitted to the display device 200, and the display device 200 returns corresponding parameters according to the target signal, thereby completing the communication between the terminal device 300 and the display device 200.
After receiving the parameter returned by the display device 200, the terminal device 300 completes the configuration of the video signal or the image signal according to the parameter, and sends the video signal or the image signal as a target signal of a second preset type to the display device 200. The control unit 134 detects a target signal sent by the terminal device 300, analyzes a signal type of the target signal, if the target signal includes a video signal, an audio signal, an image, and the like, indicates that the target signal is of a second preset type, controls the second analog switch 135 to be turned on so that the target signal sent by the terminal device 300 is transmitted to the display device 200 after passing through the second analog switch 135, and the display device 200 displays the target signal, thereby completing communication between the terminal device 300 and the display device 200.
Optionally, referring to fig. 5, the power supply circuit 100 further includes:
the input end of the second power module 140 is connected with the output end of the charging module 110, and the output end of the second power module 140 is used for being connected with the terminal device 300;
the control module 130 is further configured to control the second power module 140 to operate, so that the second power module 140 converts the initial voltage into a working voltage corresponding to the terminal device 300.
Since the operating voltages of the terminal device 300 and the display device 200 are generally different, in order to supply power to the terminal device 300 even when the terminal device 300 is powered off, or in order to use the terminal device 300 and the display device 200 even when some terminal devices 300 themselves have no power source and an external power source is required. The power supply circuit 100 in this embodiment further includes a second power module 140, where the second power module 140 converts the initial voltage output by the charging module 110 into the operating voltage corresponding to the terminal device 300, so that the terminal device 300 can normally operate even if the power of the terminal device is insufficient.
In a specific use process, after the control module 130 detects that the terminal device 300 and the display device 200 are successfully connected, the second power module 140 is controlled to start working according to the received instruction, and the second power module 140 converts the initial voltage into the working voltage corresponding to the terminal device 300 in the working process, so as to supply power or charge the terminal device 300.
In this embodiment, the second power module 140 is controlled to supply power to the terminal device 300, so that the situation that the display device 200 cannot be used due to the fact that the power consumption of the terminal device 300 is completed in the use process is avoided, and the embodiment can also be applied to the situation of the terminal device 300 without the power supply, so that the use scene of the power supply circuit 100 is enlarged, and the user experience of the display device 200 can be improved.
In some embodiments, the method further comprises:
according to the input power of the power supply circuit 100, corresponding power supply voltages are distributed to the display device 200 and the terminal device 300 according to a preset power distribution strategy;
and controlling the power supply circuit 100 to output the working voltage corresponding to the terminal equipment 300 according to the power supply voltage corresponding to the terminal equipment 300.
In this embodiment, the controller supplies power to the display device 200 and the terminal device 300 according to a preset power distribution policy according to the input power of the power supply circuit 100, where the power distribution refers to dividing the input signal energy into two or more signal energy outputs, one of which is supplied to the display device 200 and the other of which is supplied to the terminal device 300.
It should be noted that, the preset power allocation policy may be a power average allocation policy or a display module priority allocation policy.
For example, in the case where neither the display device 200 nor the terminal device 300 has a built-in power source, the power average distribution policy may be used to supply power to both the display device 200 and the terminal device 300, for example, the total power of the charging module 110 is 95KW, and then the power supply power to both the terminal device 300 and the display device 200 is 45KW.
For example, in the case where the terminal device 300 is sufficiently charged and the display device 200 has no built-in power source, the priority principle of the display device 200 may be adopted, the power supply of the display device 200 is set to 60KW, and the power supply of the terminal device 300 is set to 35KW.
In this embodiment, the power distribution principle is adopted to supply power to the display device 200 and the terminal device 300, so that a suitable preset power distribution policy can be selected according to an actual application scenario, and the coping situation of the power supply circuit 100 in different use scenarios is further optimized, so as to improve the user experience.
As shown in fig. 5, in the power supply circuit 100, when the power supply method is applied to the power supply circuit 100, the control module 130 distributes corresponding power supply voltages to the terminal device 300 and the display device 200 according to a preset power distribution policy according to the total power of the charging module 110, the first power module 120 outputs the operating voltage of the display device 200 according to the power supply voltage of the display device 200, and the second power module 140 outputs the operating voltage of the terminal device 300 according to the power supply voltage of the terminal device 300.
In some embodiments, the present application provides a method for detecting whether the terminal device 300 and the display device 200 are successfully connected, as shown in fig. 6, in step S210, the detecting whether the display device 200 and the terminal device 300 are successfully connected to the power supply circuit 100 includes:
S211, if the display device 200 is detected to be connected to the power supply circuit 100, acquiring a first forward and reverse connection state of the display device 200;
s212, if the terminal equipment 300 is detected to be connected to the power supply circuit 100, acquiring a second forward and reverse connection state of the terminal equipment 300;
s213, when the first positive and negative connection state and the second positive and negative connection state are different, the first positive and negative connection state and the second positive and negative connection state are adjusted to be the same;
s214, judging that the display device 200 and the terminal device 300 are successfully connected with the power supply circuit 100 under the condition that the first positive and negative connection state and the second positive and negative connection state are the same.
In this embodiment, the display device 200 is connected to the power supply circuit 100 through the first interface 131, the terminal device 300 is connected to the power supply circuit 100 through the second interface 132, and the first interface 131 and the second interface 132 are both Type-C female interfaces. The controller acquires a first forward-reverse state of the display device 200 through the first interface 131 if it is detected that the display device 200 is connected to the power supply circuit 100, and acquires a second forward-reverse state of the terminal device 300 through the second interface 132 if it is detected that the terminal device 300 is connected to the power supply circuit 100.
If the first and second forward and reverse states are different, the first and second forward and reverse states are adjusted to be the same, and if the first and second forward and reverse states are the same, it is determined that the display device 200 and the terminal device 300 are successfully connected to the power supply circuit 100.
Illustratively, as shown in FIG. 7, the control module 130 further includes:
a first interface 131, an output end of the first power module 120 is connected to a first pin of the first interface 131, one end of the first analog switch 133 is connected to a second pin of the first interface 131, a first end of the control unit 134 is connected to a third pin of the first interface 131, one end of the second analog switch 135 is connected to a fourth pin of the first interface 131, and the first interface 131 is further used for connecting the display device 200;
the output end of the second power module 140 is connected to a first pin of the second interface 132, the other end of the first analog switch 133 is connected to a second pin of the second interface 132, the second end of the control unit 134 is connected to a third pin of the second interface 132, the other end of the second analog switch 135 is connected to a fourth pin of the second interface 132, and the second interface 132 is further used for connecting the terminal device 300;
The control unit 134 is configured to control on or off of the first analog switch 133 and the second analog switch 135 through the first interface 131 and the second interface 132.
In this embodiment, the first interface 131 is a first Type-C interface 1310, the second interface 132 is a second Type-C interface 1320, and both interfaces are female interfaces. The first pin represents a VBUS pin, the second pin represents a TXRX pin, the third pin represents a CC pin, and the fourth pin is an SBU pin.
It should be noted that Type-C is a USB interface appearance standard, has a smaller volume than both Type-A and Type-B, and can be applied to both host devices and external devices, and has 4 pairs of TXRX pins, 2 pairs of USBD+/D-pins, a pair of SBU pins, 2 CC pins, 4 VBUS pins and 4 ground wire pins.
In the implementation process of the power supply method, the control unit 134 obtains the first forward and reverse connection state of the display device 200 through the CC pin of the first Type-C interface 1310, obtains the second forward and reverse connection state of the terminal device 300 through the CC pin of the second Type-C interface 1320, and if the first forward and reverse connection state and the second forward and reverse connection state are different, for example, the second forward and reverse connection state is forward connection, the second forward and reverse connection state is reverse connection, which indicates that the physical channel between the terminal device 300 and the display device 200 is not connected, and the control module 130 may adjust the first Type-C interface 1310 or adjust the second Type-C interface 1320 so that the forward and reverse connection of the first Type-C interface 1310 and the forward and reverse connection of the second Type-C interface 1320 are the same.
Optionally, referring to fig. 7, the power supply circuit 100 further includes a first switch 160 and a second switch 170, the control unit 134 may control the first power module 120 to be inactive or active by controlling the opening or closing of the first switch 160, and the control unit 134 may control the second power module 140 to be inactive or active by controlling the opening or closing of the second switch 170.
In some embodiments, the Power supply method is based on a PD (Power Delivery) communication protocol.
The PD protocol is a fast charging specification formulated by the USBIF organization, and is one of the current mainstream fast charging protocols. The PD fast charge protocol is output by a Type-C interface, and has the advantages of increasing power transmission through a USB cable and a connector and expanding cable bus power supply capacity in USB application.
In some embodiments, before the detecting whether the display device 200 and the terminal device 300 are successfully connected to the power supply circuit 100, respectively, the method further comprises:
acquiring the input power of the power supply circuit 100;
and if the input power is greater than a preset power threshold, setting the power supply circuit 100 to an uplink role.
Specifically, the control unit 134 further detects the input power of the power supply circuit 100, and if the input power is greater than the preset power threshold, it indicates that the power supply circuit 100 has enough power to supply power to the display device 200, and at this time, the power supply circuit 100 is a discharge end, and the first interface 131 and the second interface 132 are power receiving ends, so in the initialization process of the power supply circuit 100, the power supply circuit 100 is set to an uplink role, and the first interface 131 and the second interface 132 are set to a downlink role.
As an embodiment, before controlling the corresponding signal transmission channel to be turned on according to the type of the target signal transmitted by the terminal device 300, the method further includes:
the terminal device 300 is set to the downlink role so that the terminal device 300 transmits a target signal to the display device 200.
Before the terminal device 300 and the display device 200 communicate for the first time, since in the PD communication protocol, the initiator of the communication can only be in a downstream role, the control unit 134 performs DR-SWAP (data role exchange) with the terminal device 300, and changes the downstream role to the terminal device 300, so that the terminal device 300 can transmit a target signal to the display device 200, thereby expanding the communication.
In some embodiments, the method further comprises:
and if the input power is smaller than the preset power threshold, setting the terminal device 300 to be in a downlink role.
If the input power is smaller than the preset power threshold, it indicates that the power supply circuit 100 does not have enough power to supply power to the display device 200, and at this time, the display device 200 needs to be supplied with power through the terminal device 300, where the terminal device 300 is a discharge end and the first interface 131 and the second interface 132 are power receiving ends, so that during the initialization process of the power supply circuit 100, both the first interface 131 and the second interface 132 are set to an uplink role, and the terminal device 300 is set to a downlink role. Since the terminal device 300 has already been in the downstream role during the initialization, there is no need to set up again before the terminal device 300 communicates with the display device 200.
It should be noted that, the specific value of the preset power threshold may be determined according to the actual situation, which is not specifically limited in this embodiment.
Optionally, an embodiment of the present application provides a power supply circuit 100, as shown in fig. 8, on the basis of the power supply circuit 100 shown in fig. 7, the charging module 110 includes a power adapting unit 111, where:
the power supply adaptation unit 111 is configured to convert an ac voltage into the initial voltage.
In this embodiment, when the charging module 110 is the power adapting unit 111, the control module 130 further detects the magnitude of the initial voltage output by the charging module 110, and if the magnitude of the initial voltage is detected to be 0, it indicates that the charging module 110 is not powered on or the charging module 110 fails, in this case, in order to ensure that the display device 200 can be used normally, the control module 130 controls the terminal device 300 to discharge, and the voltage discharged by the terminal device 300 is provided to the display device 200 after passing through the first power module 120 and the second power module 140, so as to charge the display device 200, so that the display device 200 can display normally.
In this embodiment, the charging module 110 is implemented through the power adapter unit 111, and when the charging module needs to be used, the mains voltage can be converted into the initial voltage through the power adapter unit 111, so that the display device 200 is powered.
As shown in fig. 9, in the power supply method applied to the power supply circuit 100 shown in fig. 8, in this embodiment, the power adapter is a power adapter unit 111, the first interface 131, the second interface 132, and the third interface 150 are all Type-C interfaces, the first interface 131 and the second interface 132 are female interfaces, and the control module 130 is an execution body, and specific workflow thereof is as follows:
firstly, after the power supply module is powered on, it is determined whether the power adapter is connected to the power supply (i.e. whether the initial voltage is 0) through the CC pin of the third interface 150.
First, for the case that the power adapter is connected with the power supply
1. If the power adapter is already connected to the power source, the first power module 120 charges the display device 200 through the CC pin of the first interface 131, the second power module 140 charges the terminal device 300 through the CC pin of the second interface 132, and the first interface 131 and the second interface 132 both belong to discharge terminals, so that the first interface 131 and the second interface 132 are configured to have DFP (DownstreamFacing Port, downstream port) roles.
2. The display device 200 and the terminal device 300 are then set for communication between the subsequent display device 200 and the terminal device 300, wherein the setting between the display device 200 and the terminal device 300 may be performed simultaneously, and the following description sequence does not represent the unique execution sequence of the power supply method.
(1) Then, whether the display device 200 is accessed is detected through the CC pin of the first interface 131.
(2) If it is detected that the display apparatus 200 is connected, the forward and reverse connection states of the display apparatus 200 are recorded.
(3) According to the total power of the power adapter, the charging power of the display device 200 is determined according to a preset power distribution strategy, and the display device 200 is charged according to the charging power.
(4) Communicates with the display device 200 and sets the display device 200 to ALT-MODE (alternate MODE).
(5) It is detected whether or not there is an access of the terminal device 300.
(6) If the access of the terminal device 300 is detected, the forward and reverse connections of the terminal device 300 are recorded, whether the terminal device 300 is communicated with the display device 200 is judged, and if one side is connected reversely, the corresponding interface is adjusted.
(7) And determining the charging power of the terminal equipment 300 according to the total power of the adapter and a preset power distribution strategy, and charging the terminal equipment 300 according to the charging power.
(8) Since the control module 130 is in the DFP role and the communication initiator can only be in the DFP role as specified by the DP protocol, DR-SWAP is performed with the terminal device 300, and the terminal device 300 is set to the DFP role for communication between the terminal device 300 and the display device 200.
(9) Communicates with terminal device 300 and sets terminal device 300 to ALT-MODE.
It should be noted here that, the ALT-MODE represents an alternative MODE, and different interfaces, such as a Type-a port, a Type-B port, and a Type-C port, are generally provided in the display device 200 and the terminal device 300, and different ports are used in the display device 200 and the terminal device 300 in different MODEs, where the Type-a port and the Type-B port are generally used when the display device 200 and the terminal device 300 are in the original state, and the Type-C port is generally used when the display device 200 and the terminal device 300 are in the ALT-MODE.
3. The opening or closing of the first analog switch 133 and the second analog switch 135 is controlled according to a target signal transmitted between the terminal device 300 and the display device 200 such that the target signal transmitted by the terminal device 300 is transmitted to the display device 200.
(II) for the case where the power adapter is not connected to the power supply
(1) If the power adapter is not connected to the power supply, since the entire power supply circuit 100 is not powered, the terminal device 300 needs to be discharged, in which case the terminal device 300 is a discharge terminal, and belongs to the DFP role, and no additional setting is required. It is thus directly detected whether or not the display device 200 is connected to it, which is then detected through the CC pin of the first interface 131.
(2) If it is detected that the display apparatus 200 is connected, the forward and reverse connection states of the display apparatus 200 are recorded.
(3) According to the total power of the adapter, the charging power of the display device 200 is determined according to a preset power distribution strategy, and the display device 200 is charged according to the charging power.
(4) Communicates with display device 200 and sets display device 200 to ALT-MODE.
(5) It is detected whether or not there is an access of the terminal device 300.
(6) If the access of the terminal device 300 is detected, the forward and reverse connections of the terminal device 300 are recorded, whether the terminal device 300 is communicated with the display device 200 is judged, and if one side is connected reversely, the corresponding interface is adjusted.
(7) And determining the charging power of the terminal equipment 300 according to the total power of the adapter and a preset power distribution strategy, and charging the terminal equipment 300 according to the charging power.
(8) Communicates with terminal device 300 and sets terminal device 300 to ALT-MODE.
(9) The opening or closing of the first analog switch 133 and the second analog switch 135 is controlled according to a target signal transmitted between the terminal device 300 and the display device 200 such that the target signal transmitted by the terminal device 300 is transmitted to the display device 200.
Optionally, as shown in fig. 10, in the power supply circuit 100 according to another embodiment of the present application, on the basis of the power supply circuit 100 shown in fig. 7, the charging module 110 is an energy storage unit 112, where:
and an energy storage unit 112 for outputting the initial voltage.
Specifically, the charging module 110 is an energy storage unit 112, and the energy storage unit 112 is used for storing electric energy, and when the electric energy needs to be used, the initial voltage is output by the energy storage unit 112. The energy storage unit 112 may be directly connected with the first power module 120 and the second power module 140 without passing through a Type-C interface.
The embodiment of the present application provides a power supply method applied to the power supply circuit 100 shown in fig. 10, as shown in fig. 11, in this embodiment, the energy storage unit 112 is a charging module 110, the first interface 131 and the second interface 132 are both Type-C interfaces, the first interface 131 and the second interface 132 are female interfaces, and the control module 130 is an execution body, and the specific workflow thereof is as follows:
1. the first power module 120 charges the display device 200 through the CC pin of the first interface 131, the second power module 140 charges the terminal device 300 through the CC pin of the second interface 132, and the first interface 131 and the second interface 132 belong to a discharging role, so that the first interface 131 and the second interface 132 are configured to have DFP (Downstream Facing Port, downlink role) roles.
2. The display device 200 and the terminal device 300 are then set for communication between the subsequent display device 200 and the terminal device 300, wherein the setting between the display device 200 and the terminal device 300 may be performed simultaneously, and the following description sequence does not represent the unique execution sequence of the power supply method.
(1) Then, whether the display device 200 is accessed is detected through the CC pin of the first interface 131.
(2) If it is detected that the display apparatus 200 is connected, the forward and reverse connection states of the display apparatus 200 are recorded.
(3) The charging power of the display device 200 is determined according to the preset power distribution policy according to the total power of the adapter, and the display device 200 is charged according to the power.
(4) Communicates with display device 200, and sets display device 200 to ALT-MODE.
(5) Detecting whether there is a terminal device 300 to access.
(6) If the access of the terminal device 300 is detected, the forward and reverse connections of the terminal device 300 are recorded, whether the terminal device 300 is communicated with the display device 200 is judged, and if one side is connected reversely, the corresponding interface is adjusted.
(7) And determining the charging power of the terminal equipment 300 according to the total power of the adapter and a preset power distribution strategy, and charging the terminal equipment 300 according to the charging power.
(8) Since the control module 130 is in the DFP role and the communication initiator can only be in the DFP role as specified by the DP protocol, DR-SWAP is performed with the terminal device 300, and the terminal device 300 is set to the DFP role for communication between the terminal device 300 and the display device 200.
(9) Communicate with terminal device 300, and set terminal device 300 to ALT-MODE.
3. The opening or closing of the first analog switch 133 and the second analog switch 135 is controlled according to a target signal transmitted between the terminal device 300 and the display device 200 such that the target signal transmitted by the terminal device 300 is transmitted to the display device 200.
As shown in fig. 12, a chip 400 provided in an embodiment of the present application is applied to a power supply circuit 100, where the chip 400 is configured to:
a detection module 410, configured to detect whether the display device 200 and the terminal device 300 are successfully connected to the power supply circuit 100;
a connection module 420, configured to control, if the display device 200 and the terminal device 300 are successfully connected to the power supply circuit 100, to connect a corresponding signal transmission channel according to a type of a target signal sent by the terminal device 300, where two ends of the signal transmission channel are respectively used to connect the display device 200 and the terminal device 300;
And a power supply module 430, configured to control the power supply circuit 100 to output an operating voltage corresponding to the display device 200.
The specific implementation process of the chip corresponds to the method embodiment, and the detailed description of the system embodiment is omitted herein with reference to the method embodiment.
As shown in fig. 13, an electronic device 500 according to an embodiment of the present application includes a device main body and a chip 400 as described above disposed in a device theme. The electronic device 500 may be, but is not limited to, a weight scale, a body fat scale, a nutritional scale, an infrared electronic thermometer, a pulse oximeter, a body composition analyzer, a mobile power supply, a wireless charger, a fast charger, a car charger, an adapter, a display, a USB (Universal Serial Bus ) docking station, a stylus, a real wireless headset, a car center control screen, a car, a smart wearable device, a mobile terminal, a smart home device. Smart wearable devices include, but are not limited to, smart watches, smart bracelets, cervical massagers, TWS (True Wireless Stereo, true wireless smart) headsets. Mobile terminals include, but are not limited to, smartphones, notebook computers, tablet computers, POS (point ofsales terminal, point of sale terminal) machines. The intelligent household equipment comprises, but is not limited to, an intelligent socket, an intelligent electric cooker, an intelligent sweeper and an intelligent lamp.
The embodiment of the invention also provides a computer readable storage medium, and the storage medium is stored with a readable computer program; wherein the computer program may be stored in the form of a software product on the above-mentioned storage medium, comprising instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a magnetic or optical disk, a ROM (Read-Only Memory), a RAM (RandomAccess Memory), or a terminal device such as a computer, a server, a mobile phone, or a tablet.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (12)

1. A power supply method, characterized by being applied to a power supply circuit, the power supply method comprising:
detecting whether the display device and the terminal device are successfully connected with the power supply circuit or not respectively;
if the display equipment and the terminal equipment are successfully connected with the power supply circuit, controlling the corresponding signal transmission channels to be connected according to the type of the target signal sent by the terminal equipment, wherein two ends of the signal transmission channels are respectively used for connecting the display equipment and the terminal equipment;
and controlling the power supply circuit to output the working voltage corresponding to the display equipment.
2. The power supply method according to claim 1, wherein the signal transmission channels include a first analog switch, and the controlling the respective signal transmission channels to be turned on according to the type of the target signal transmitted by the terminal device includes:
Acquiring the type of the target signal;
and if the type of the target signal is a first preset type, controlling the first analog switch to be turned on so that the display equipment returns display parameters according to the target signal, and the terminal equipment sends a target signal of a second preset type according to the display parameters.
3. The power supply method according to claim 2, wherein the signal transmission channels further include a second analog switch, and the controlling the respective signal transmission channels to be turned on according to the type of the target signal transmitted by the terminal device includes:
and if the type of the target signal is a second preset type, controlling the second analog switch to be switched on.
4. The power supply method according to claim 1, characterized in that the method further comprises:
according to the input power of the power supply circuit, corresponding power supply voltages are distributed to the display equipment and the terminal equipment according to a preset power distribution strategy;
and controlling the power supply circuit to output the working voltage corresponding to the terminal equipment according to the power supply voltage corresponding to the terminal equipment.
5. The power supply method according to any one of claims 1 to 4, wherein the detecting whether the display device and the terminal device are successfully connected to the power supply circuit, respectively, includes:
If the display equipment is detected to be connected to the power supply circuit, a first forward and reverse connection state of the display equipment is obtained;
if the terminal equipment is detected to be connected to the power supply circuit, a second forward and reverse connection state of the terminal equipment is obtained;
when the first positive and negative connection state and the second positive and negative connection state are different, the first positive and negative connection state and the second positive and negative connection state are adjusted to be the same;
and under the condition that the first positive and negative connection state and the second positive and negative connection state are the same, judging that the display equipment and the terminal equipment are successfully connected with the power supply circuit.
6. The power supply method according to claim 1, wherein the power supply method is based on a PD (power delivery) communication protocol.
7. The power supply method according to claim 6, wherein before the detecting whether the display device and the terminal device are successfully connected with the power supply circuit, respectively, the method further comprises:
acquiring the input power of the power supply circuit;
and if the input power is greater than a preset power threshold, setting the power supply circuit to be in an uplink role.
8. The power supply method according to claim 7, wherein before controlling the respective signal transmission channels to be turned on according to the type of the target signal transmitted by the terminal device, the method further comprises:
And setting the terminal equipment to the downlink role so that the terminal equipment sends a target signal to the display equipment.
9. The power supply method according to claim 7, characterized in that the method further comprises:
and if the input power is smaller than the preset power threshold, setting the terminal equipment as a downlink role.
10. A chip for use in a power supply circuit, the chip configured to:
the detection module is used for respectively detecting whether the display equipment and the terminal equipment are successfully connected with the power supply circuit;
the connection module is used for controlling the corresponding signal transmission channel to be connected according to the type of the target signal sent by the terminal equipment if the display equipment and the terminal equipment are successfully connected with the power supply circuit, and two ends of the signal transmission channel are respectively used for connecting the display equipment and the terminal equipment;
and the power supply module is used for controlling the power supply circuit to output the working voltage corresponding to the display equipment.
11. An electronic device comprising the chip of claim 10.
12. A storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the power supply method according to any one of claims 1 to 9.
CN202310408113.4A 2023-04-17 2023-04-17 Power supply method, chip, electronic device and storage medium Pending CN116526610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310408113.4A CN116526610A (en) 2023-04-17 2023-04-17 Power supply method, chip, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310408113.4A CN116526610A (en) 2023-04-17 2023-04-17 Power supply method, chip, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN116526610A true CN116526610A (en) 2023-08-01

Family

ID=87393301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310408113.4A Pending CN116526610A (en) 2023-04-17 2023-04-17 Power supply method, chip, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN116526610A (en)

Similar Documents

Publication Publication Date Title
EP3657778B1 (en) Terminal device and control method therefor
US10671135B2 (en) Intelligent mobile power supply and method for USB data communication therewith
US11232057B2 (en) Terminal device and control method thereof
EP3525312B1 (en) Charging method, terminal and charging adapter
JP6875547B2 (en) Adapters, terminals, and adapter systems
CN107544934B (en) Two-way signal conditioning chip and USBType-C cable of USBType-C cable
US9996130B2 (en) Method and apparatus for controlling a connection interface
US10241935B2 (en) Portable device, cable assembly, and USB system
WO2021114875A1 (en) Mobile power supply and method of supplying power to peripheral device
JP2015212930A (en) Method and apparatus for determining direction of power delivery
US20170117735A1 (en) Charging Control Method and Mobile Terminal
CN106464163B (en) System for implementing modular mobile electronic devices
CN111031371B (en) Single-line screen projection system and method
US20230261477A1 (en) Charging cable-based data transmission method and electronic device
WO2023077919A1 (en) Impedance detection method for charging cable, electronic device and power supply device
CN107124012B (en) Charging method, device, charger, terminal and system
CN115912567A (en) Data transmission method based on charging cable and electronic equipment
CN218825507U (en) Dual-interface device and projection equipment
CN116526610A (en) Power supply method, chip, electronic device and storage medium
CN111586514A (en) TWS earphone control method, TWS earphone and related equipment
WO2022253207A1 (en) Connector and power supply control method applied to connector
CN210691253U (en) Mobile power supply and communication system
CN215268511U (en) Novel interface supporting 100W charging
CN116742739A (en) Power supply circuit, power supply device and electronic equipment
CN209344483U (en) Connecting line, equipment to be powered and electronic equipment

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