CN114020675A - Power supply method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114020675A
CN114020675A CN202111272615.6A CN202111272615A CN114020675A CN 114020675 A CN114020675 A CN 114020675A CN 202111272615 A CN202111272615 A CN 202111272615A CN 114020675 A CN114020675 A CN 114020675A
Authority
CN
China
Prior art keywords
pin
voltage
receiving
interface
power supply
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
CN202111272615.6A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111272615.6A priority Critical patent/CN114020675A/en
Publication of CN114020675A publication Critical patent/CN114020675A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present disclosure relates to a power supply method, a device, an electronic device and a storage medium, wherein the method is applied to a receiving device, and the method comprises the following steps: controlling the receiving equipment to be powered on to work in response to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface; receiving a first voltage transmitted by the display device through the first interface in the process that the receiving device transmits screen projection data to the display device through the first interface; and controlling the receiving equipment to be switched to a power supply state according to the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the first interface.

Description

Power supply method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of screen projection equipment, in particular to a power supply method and device, electronic equipment and a storage medium.
Background
In many scenes in life and work, screen sharing is involved, and the screen sharing can facilitate information sharing and improve the working efficiency. When screen sharing is performed, terminal devices such as a mobile phone and a computer can be projected onto display devices such as a television, for example, the mobile phone and the television can be accessed to the same network, so that screen projection from the mobile phone to the television is realized. A special screen projection device, which is independent of a network, is also currently available, and includes a transmitting device and a receiving device, the transmitting device being connected to a terminal device, and the receiving device being connected to a display device, so that screen projection is achieved through communication between the transmitting device and the receiving device.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a power supply method, apparatus, electronic device and storage medium to solve the defects in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a power supply method applied to a receiving device, the method including:
controlling the receiving equipment to be powered on to work in response to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface;
receiving a first voltage transmitted by the display device through the first interface in the process that the receiving device transmits screen projection data to the display device through the first interface;
and controlling the receiving equipment to be switched to a power supply state according to the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the first interface.
In some embodiments, the first interface has a first pin;
the receiving, through the first interface, the first voltage transmitted by the display device includes:
and receiving a first voltage transmitted by the display equipment through the first pin.
In some embodiments, the first interface has a second pin, a third pin, and a fourth pin;
the controlling the receiving device to switch to a power supply state according to the first voltage so that the display device transmits a second voltage to the receiving device through the first interface includes:
controlling the second pin to be switched to a power supply state through the first voltage, so that the display device transmits a second voltage to the receiving device through the third pin and the fourth pin;
and controlling the third pin and the fourth pin to receive the second voltage so that the display device continuously transmits the second voltage to the receiving device.
In some embodiments, the controlling the second pin to switch to a power supply state by the first voltage includes:
and regulating the voltage value of the second pin to be within a voltage range corresponding to the power supply state through the first voltage.
In some embodiments, the controlling the third pin and the fourth pin to receive the second voltage comprises:
and adjusting the voltage value of the third pin to be within a pressure range corresponding to a power receiving state, so that the third pin and the fourth pin are switched to the power receiving state.
In some embodiments, the controlling the third pin and the fourth pin to receive the second voltage comprises:
controlling the third pin and the fourth pin to receive the second voltage if the receiving device is not powered.
In some embodiments, further comprising:
and controlling the second interface to be switched to a non-power supply state according to a power supply stopping instruction, so that the display equipment stops transmitting the second voltage to the receiving equipment.
In some embodiments, further comprising:
and controlling the third pin to be switched to a non-powered state according to a power supply stopping instruction, so that the receiving equipment stops receiving the second voltage.
In some embodiments, further comprising:
and transmitting screen projection data to the display equipment through the first interface according to a preset video protocol, wherein the preset video protocol is stored in the receiving equipment and the display equipment in advance.
In some embodiments, further comprising:
and controlling the receiving equipment to be powered off in response to the fact that the display equipment enters a power-off state or a standby state through the first interface.
According to a second aspect of the embodiments of the present disclosure, there is provided a power supply method applied to a display device, the method including:
controlling the receiving equipment to be powered on to work in response to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface;
transmitting a first voltage to the display device through the first interface in the process that the receiving device transmits screen projection data to the display device through the first interface;
and responding to the receiving equipment to control the receiving equipment to be switched to a power supply state according to the first voltage, and transmitting a second voltage to the receiving equipment through the first interface.
In some embodiments, the first interface comprises a first pin;
the transmitting a first voltage to the display device through the first interface includes:
transmitting a first voltage to the receiving device through the first pin.
In some embodiments, the first interface includes a second pin, a third pin, and a fourth pin;
the transmitting a second voltage to the receiving device through the first interface in response to the receiving device controlling the receiving device to switch to a power supply state according to the first voltage comprises:
under the condition that the receiving equipment controls the second pin to be switched to a power supply state through the first voltage, transmitting a second voltage to the receiving equipment through the third pin and the fourth pin;
and under the condition that the receiving device controls the third pin and the fourth pin to receive the second voltage, continuously transmitting the second voltage to the receiving device.
In some embodiments, before the transmitting the second voltage to the receiving device through the third pin and the fourth pin, further comprises:
and the serial port function of the third pin and the fourth pin is closed, and the power supply function of the third pin and the fourth pin is started.
According to a third aspect of the embodiments of the present disclosure, there is provided a power supply apparatus applied to a receiving device, the apparatus including:
the power-on module is used for responding to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface and controlling the receiving equipment to be powered on to work;
the first transmission module is used for receiving a first voltage transmitted by the display equipment through the first interface in the process that the receiving equipment transmits screen projection data to the display equipment through the first interface;
and the second transmission module is used for controlling the receiving equipment to be switched to a power supply state according to the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the first interface.
In some embodiments, the first interface comprises a first pin;
the first transmission module is configured to, when receiving the first voltage transmitted by the display device through the first interface, specifically:
and receiving a first voltage transmitted by the display equipment through the first pin.
In some embodiments, the first interface includes a second pin, a third pin, and a fourth pin;
the second transmission module includes:
the switching unit is used for controlling the second pin to be switched to a power supply state through the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the third pin and the fourth pin;
and the first transmission unit is used for controlling the third pin and the fourth pin to receive the second voltage so that the display equipment continuously transmits the second voltage to the receiving equipment.
In some embodiments, the switching unit is specifically configured to:
and regulating the voltage value of the second pin to be within a voltage range corresponding to the power supply state through the first voltage.
In some embodiments, when the first transmission unit is configured to control the third pin and the fourth pin to receive the second voltage, the first transmission unit is specifically configured to:
and adjusting the voltage value of the third pin to be within a pressure range corresponding to a power receiving state, so that the third pin and the fourth pin are switched to the power receiving state.
In some embodiments, when the first transmission unit is configured to control the third pin and the fourth pin to receive the second voltage, the first transmission unit is specifically configured to:
controlling the third pin and the fourth pin to receive the second voltage if the receiving device is not powered.
In some embodiments, the power supply apparatus further comprises a first power down module for:
and controlling the second pin to be switched to a non-power supply state according to a power supply stopping instruction, so that the display equipment stops transmitting the second voltage to the receiving equipment.
In some embodiments, the apparatus further comprises a second power down module for:
and controlling the third pin to be switched to a non-powered state according to a power supply stopping instruction, so that the receiving equipment stops receiving the second voltage.
In some embodiments, the system further comprises a screen projection module for:
and transmitting screen projection data to the display equipment through the first interface according to a preset video protocol, wherein the preset video protocol is stored in the receiving equipment and the display equipment in advance.
In some embodiments, the system further comprises a shutdown module configured to:
and controlling the receiving equipment to be powered off in response to the fact that the display equipment enters a power-off state or a standby state through the first interface.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a power supply apparatus applied to a display device, the apparatus including:
the second power-on module is used for responding to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface and controlling the receiving equipment to be powered on to work;
the third transmission module is used for transmitting a first voltage to the display equipment through the first interface in the process that the receiving equipment transmits screen projection data to the display equipment through the first interface;
and the fourth transmission module is used for responding to the condition that the receiving equipment is controlled to be switched to a power supply state according to the first voltage by the receiving equipment, and transmitting the second voltage to the receiving equipment through the first interface.
In some embodiments, the first interface comprises a first pin;
the third transmission module is configured to, when transmitting the first voltage to the display device through the first interface, specifically:
transmitting a first voltage to the receiving device through the first pin.
In some embodiments, the first interface includes a second pin, a third pin, and a fourth pin;
the fourth transmission module is configured to, in response to the receiving device controlling the receiving device to switch to a power supply state according to the first voltage, when transmitting a second voltage to the receiving device through the first interface, specifically configured to:
under the condition that the receiving equipment controls the second pin to be switched to a power supply state through the first voltage, transmitting a second voltage to the receiving equipment through the third pin and the fourth pin;
and under the condition that the receiving device controls the third pin and the fourth pin to receive the second voltage, continuously transmitting the second voltage to the receiving device.
In some embodiments, the fourth transmission module is further configured to:
before the second voltage is transmitted to the receiving device through the third pin and the fourth pin, the serial port function of the third pin and the serial port function of the fourth pin are closed, and the power supply function of the third pin and the power supply function of the fourth pin are started.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory for storing computer instructions executable on a processor, the processor being configured to perform the power supply method according to the first or second aspect when executing the computer instructions.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first or second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method, after the receiving device detects that the receiving device is connected to the display device through the first interface, the receiving device is controlled to be powered on to work, in the process that the receiving device transmits screen projection data to the display device through the first interface, the first voltage transmitted by the display device is received through the first interface, and finally the receiving device is controlled to be switched to a power supply state according to the first voltage, so that the display device transmits second voltage to the receiving device through the first interface. Therefore, the display device can supply power for the receiving device through the first interface, namely the first interface can supply power for the receiving device besides data transmission, a special line is prevented from being used for supplying power for the receiving device, connection complexity is reduced, and convenience in use is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a power supply method applied to a receiving device according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a connection between a display device and a receiving device according to an exemplary embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a power supply method applied to a receiving device according to another exemplary embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a power supply method applied to a display device according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a power supply device applied to a receiving apparatus according to an exemplary embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a power supply device applied to a display device according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of some or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the related art, the receiving device needs the display device to be powered through a dedicated line, which causes the connection to be complicated and the use to be inconvenient. For example, the receiving device may be provided with a USB (Universal Serial Bus) socket for supplying power to the receiving device, into which one end is inserted using a power supply line and the other end is connected with the display device, so that the display device supplies power to the receiving device through the power supply line.
Based on this, in a first aspect, at least one embodiment of the present disclosure provides a power supply method, please refer to fig. 1, which illustrates a flow of the method, including step S101 and step S103.
The method is applied to receiving equipment of screen projection equipment, the screen projection equipment is also provided with transmitting equipment besides the receiving equipment, the transmitting equipment can be used for being connected with terminal equipment such as a computer and the like with screen content to be projected, the receiving equipment can be used for being connected with display equipment such as a television and the like, and the transmitting equipment can be communicated with the receiving equipment through protocols such as a wireless protocol and the like, so that the transmitting equipment can transmit the display content of the terminal equipment to the receiving equipment, and the receiving equipment controls the display equipment to display the display content, thereby completing screen projection.
In step S101, in response to detecting that the receiving device is connected to the display device through the first interface, the receiving device is controlled to power up.
Referring to fig. 2, this step is applied to a scenario where the sink device is connected to the display device through a first Interface (e.g., an HDMI (High Definition Multimedia Interface), for example, the sink device has an HDMI plug, the display device has an HDMI socket, and the HDMI plug of the sink device is inserted into the HDMI socket.
The HDMI interface comprises a first pin, a second pin, a third pin and a fourth pin. It will be appreciated that the HDMI interface is a fully digital video and audio transmission interface that can transmit uncompressed audio and video signals. Also, the HDMI interface has A, B, C and D four types. The HDMI interface has a plurality of pins, each pin has a different interaction function, and taking the type a HDMI interface as an example, the HDMI interface has 19 pins, and the above-mentioned first pin, second pin, third pin, and fourth pin are four of the plurality of pins of the HDMI interface, and the four pins are used for implementing a power supply function.
In step S102, in the process that the receiving device transmits the screen projection data to the display device through the first interface, a first voltage transmitted by the display device is received through the first interface.
In some embodiments, a first voltage transmitted by the display device may be received through the first pin.
The first pin may be a pin No. 18 (HDMI +5V/50ma) of the HDMI interface, and according to the specification of the HDMI protocol, after the display device and the receiving device are connected via the HDMI interface (for example, an HDMI plug of the receiving device is inserted into an HDMI socket of the display device), the display device supplies power with a voltage of 5V to the first pin, and the receiving device may receive the power of the display device via the first pin.
The first voltage refers to electric energy transmitted by the display device to the receiving device through the first pin, for example, the above-mentioned power supply with the voltage of 5V is used for the display device and the receiving device to communicate with the HDMI protocol, but the present application may utilize the electric energy to communicate with the HDMI protocol.
In step S103, the receiving device is controlled to switch to a power supply state according to the first voltage, so that the display device transmits a second voltage to the receiving device through the first interface.
This step may be performed in the manner as shown in fig. 3, including sub-steps S1031 to S1032.
In sub-step S1031, the second pin is controlled to be switched to a power supply state by the first voltage, so that the display device transmits a second voltage to the receiving device through the third pin and the fourth pin.
The second pin may be a pin 14 (ARC NotConnect) of the HDMI interface, the third pin may be a pin 15 (HDMI _ B _ SCL _ IN) of the HDMI interface, and the fourth pin may be a pin 16 (HDMI _ B _ SDA _ IO) of the HDMI interface.
The receiving device may control the state of the second pin using a first voltage (e.g., a 5V supply). The voltage ranges corresponding to different states of the second pin can be preset, so that the states can be switched by adjusting the voltage of the second pin, that is, the voltage value of the second pin is adjusted to the voltage range corresponding to the power supply state through the first voltage so as to switch the second pin to the power supply state, or the voltage value of the second pin is adjusted to the voltage range corresponding to the serial port state (UART function) through the first voltage so as to switch the second pin to the serial port state. For example, the voltage range corresponding to the power supply state is 0-3V (excluding 0V, including 3V), and the voltage range corresponding to the serial port state is 3-5V (excluding 3V, including 5V), when the voltage of the second pin is raised to the range of 0-3V, the receiving device is switched to the power supply state, and when the voltage of the second pin is raised to the range of 3-5V, the receiving device is switched to the serial port state.
And the display equipment monitors the state of the second pin, and transmits a second voltage to the receiving equipment through the third pin and the fourth pin under the condition that the second pin is switched to a power supply state. The second voltage is used to power the receiving device. For example, the display device may turn off a serial port function of the third interface and the fourth interface, turn on a power supply function of the third pin and the fourth pin, and transmit power with a voltage of 5V and a current of 1A to the third pin and the fourth pin.
It should be noted that, if the receiving device only has one power supply path of HDMI interface, after step S102, step S1031 is automatically triggered; if the receiving device has other power supply paths than the HDMI interface, the step S1031 is triggered after the step S102 only when the receiving device has a triggering operation by the user, for example, the receiving device has two power supply paths, i.e., the HDMI interface and the USB interface, and has a button for selecting the power supply path, and the step S1031 is triggered when the user selects the HDMI interface through the button.
In step S1032, the third pin and the fourth pin are controlled to receive the second voltage, so that the display device continuously transmits the second voltage to the receiving device.
Wherein the step is a step in which the sink device receives power supply of the HDMI interface. That is, the third pin and the fourth pin are controlled to receive the second voltage when the receiving device is not powered; and in the case that the receiving device is powered by an interface (for example, a USB interface) other than the HDMI interface, the third pin may be controlled to be switched to a non-powered state, so that the display device stops transmitting the second voltage.
In one example, the voltage value of the third pin is adjusted to be within a pressure range corresponding to a power receiving state, so that the third pin and the fourth pin are switched to the power receiving state. For example, the voltage of the third pin is pulled high, so that the display device is continuously powered. Correspondingly, if the receiving device does not adjust the voltage of the third pin to the pressure range corresponding to the power receiving state, for example, the receiving device does not pull up the voltage of the third pin, the third pin and the fourth pin are not switched to the power receiving state, and if the third pin and the fourth pin are not switched to the power receiving state within the preset time period, the display device stops transmitting the second voltage to the third pin and the fourth pin, that is, stops supplying power.
In addition, the receiving device may control the receiving device to shut down in response to detecting that the display device enters a shutdown state or a standby state through the first interface.
According to the method, after the receiving device detects that the receiving device is connected to the display device through the first interface, the receiving device is controlled to be powered on to work, in the process that the receiving device transmits screen projection data to the display device through the first interface, the first voltage transmitted by the display device is received through the first interface, and finally the receiving device is controlled to be switched to a power supply state according to the first voltage, so that the display device transmits second voltage to the receiving device through the first interface. Therefore, the display device can supply power for the receiving device through the first interface, namely the first interface can supply power for the receiving device besides data transmission, a special line is prevented from being used for supplying power for the receiving device, connection complexity is reduced, and convenience in use is improved.
In some embodiments of the present disclosure, after a display device continuously supplies power to a receiving device through a first interface (HDMI interface), the receiving device may transmit screen projection data to the display device through the first interface according to a preset video protocol, where the preset video protocol is stored in advance in the receiving device and the display device.
The screen projection data refers to screen projection data received by the receiving device and transmitted by the transmitting device, and the screen projection data transmitted by the transmitting device is content displayed on a screen of the terminal device where the transmitting device is located.
The preset protocol may be an HDMI protocol or an EDID (Extended display identification data) protocol. It should be noted that the EDID protocol of the receiving device may be pre-stored in the display device, and the EDID protocol of the display device may be pre-stored in the receiving device, so as to avoid that four pins used for power supply occupy a protocol interaction channel, which may cause that the display device and the receiving device cannot perform protocol interaction to affect the display of the display device.
In some embodiments of the disclosure, after the display device continuously supplies power to the receiving device through the first interface (e.g., the HDMI interface), the receiving device may control the second interface to switch to the non-power supply state according to a power supply stop instruction, so that the display device stops transmitting the second voltage to the receiving device.
In other embodiments, the third pin may be controlled to switch to the non-powered state according to a power supply stop instruction, so that the receiving device stops receiving the second voltage.
For example, the second pin may be switched to a non-powered state by pulling down a voltage of the second pin, and the third pin may be switched to a non-powered state by pulling down a voltage of the third pin. After at least one of the second pin and the third pin is adjusted to be in a state, the display device cannot supply power to the receiving device, namely, the power supply to the receiving device is stopped.
The power supply stopping instruction may be triggered by a user operation, for example, a user generates a power supply stopping instruction by operating a remote controller of the display device, or a user generates a power supply stopping instruction by operating a terminal device to which the transmitting device is connected.
In a second aspect, at least one embodiment of the present disclosure provides a power supply method, please refer to fig. 4, which illustrates a flow of the method, including step S401 and step S403.
In step S401, in response to detecting that the receiving device is connected to the display device through the first interface, the receiving device is controlled to power up.
In step S402, in the process that the receiving device transmits the screen projection data to the display device through the first interface, a first voltage is transmitted to the display device through the first interface.
The first interface comprises a first pin, a second pin, a third pin and a fourth pin; the first voltage is transmitted to the display device through the first interface, so that the first voltage can be transmitted to the receiving device through the first pin in this step.
In step S403, in response to the receiving device controlling the receiving device to switch to the power supply state according to the first voltage, a second voltage is transmitted to the receiving device through the first interface.
Wherein, when the receiving device controls the second pin to switch to a power supply state through the first voltage, a second voltage is transmitted to the receiving device through the third pin and the fourth pin;
and under the condition that the receiving device controls the third pin and the fourth pin to receive the second voltage, continuously transmitting the second voltage to the receiving device.
In addition, before the second voltage is transmitted to the receiving device through the third pin and the fourth pin, the serial port function of the third pin and the serial port function of the fourth pin may be turned off, and the power supply function of the third pin and the power supply function of the fourth pin may be started.
Details of the steps of the method have already been described in more detail in the first aspect, and are not repeated here.
According to a third aspect of the embodiments of the present disclosure, there is provided a power supply apparatus applied to a receiving device, referring to fig. 5, which shows a structure of the apparatus, the apparatus includes:
a first power-on module 501, configured to control power-on operation of the receiving device in response to detecting that the receiving device is connected to a display device through a first interface;
a first transmission module 502, configured to receive, through the first interface, a first voltage transmitted by the display device in a process that the receiving device transmits screen projection data to the display device through the first interface;
a second transmission module 503, configured to control the receiving device to switch to a power supply state according to the first voltage, so that the display device transmits a second voltage to the receiving device through the first interface.
In some embodiments of the present disclosure, the first interface includes a first pin;
the first transmission module is configured to, when receiving the first voltage transmitted by the display device through the first interface, specifically:
and receiving a first voltage transmitted by the display equipment through the first pin.
In some embodiments of the present disclosure, the first interface includes a second pin, a third pin, and a fourth pin;
the second transmission module includes:
the switching unit is used for controlling the second pin to be switched to a power supply state through the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the third pin and the fourth pin;
and the first transmission unit is used for controlling the third pin and the fourth pin to receive the second voltage so that the display equipment continuously transmits the second voltage to the receiving equipment.
In some embodiments of the present disclosure, the switching unit is specifically configured to:
and regulating the voltage value of the second pin to be within a voltage range corresponding to the power supply state through the first voltage.
In some embodiments of the disclosure, when the first transmission unit is configured to control the third pin and the fourth pin to receive the second voltage, the first transmission unit is specifically configured to:
and adjusting the voltage value of the third pin to be within a pressure range corresponding to a power receiving state, so that the third pin and the fourth pin are switched to the power receiving state.
In some embodiments of the disclosure, when the first transmission unit is configured to control the third pin and the fourth pin to receive the second voltage, the first transmission unit is specifically configured to:
controlling the third pin and the fourth pin to receive the second voltage if the receiving device is not powered.
Some embodiments of the present disclosure further include a first power down module for:
and controlling the second interface to be switched to a non-power supply state according to a power supply stopping instruction, so that the display equipment stops transmitting the second voltage to the receiving equipment.
Some embodiments of the present disclosure further include a second power down module for:
and controlling the third pin to be switched to a non-powered state according to a power supply stopping instruction, so that the receiving equipment stops receiving the second voltage.
Some embodiments of the present disclosure further include a screen projection module configured to:
and transmitting screen projection data to the display equipment through the first interface according to a preset video protocol, wherein the preset video protocol is stored in the receiving equipment and the display equipment in advance.
Some embodiments of the present disclosure further include a shutdown module, configured to:
and controlling the receiving equipment to be powered off in response to the fact that the display equipment enters a power-off state or a standby state through the first interface.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a power supply apparatus applied to a display device, referring to fig. 6, which shows a structure of the apparatus, the apparatus includes:
a second power-on module 601, configured to control power-on operation of the receiving device in response to detecting that the receiving device is connected to the display device through the first interface;
a third transmitting module 602, configured to transmit a first voltage to the display device through the first interface in a process that the receiving device transmits screen projection data to the display device through the first interface;
a fourth transmitting module 603, configured to transmit, to a receiving device through the first interface, a second voltage in response to the receiving device controlling the receiving device to switch to a power supply state according to the first voltage.
In some embodiments of the present disclosure, the first interface includes a first pin;
the third transmission module is configured to, when transmitting the first voltage to the display device through the first interface, specifically:
transmitting a first voltage to the receiving device through the first pin.
In some embodiments of the present disclosure, the first interface includes a second pin, a third pin, and a fourth pin;
the fourth transmission module is configured to, in response to the receiving device controlling the receiving device to switch to a power supply state according to the first voltage, when transmitting a second voltage to the receiving device through the first interface, specifically configured to:
under the condition that the receiving equipment controls the second pin to be switched to a power supply state through the first voltage, transmitting a second voltage to the receiving equipment through the third pin and the fourth pin;
and under the condition that the receiving device controls the third pin and the fourth pin to receive the second voltage, continuously transmitting the second voltage to the receiving device.
In some embodiments of the present disclosure, the fourth transmission module is further configured to:
before the second voltage is transmitted to the receiving device through the third pin and the fourth pin, the serial port function of the third pin and the serial port function of the fourth pin are closed, and the power supply function of the third pin and the power supply function of the fourth pin are started.
According to a fifth aspect of the embodiments of the present disclosure, referring to fig. 7, an electronic device is provided, which illustrates a structure of the electronic device, and the electronic device includes a memory and a processor, the memory is used for storing computer instructions executable on the processor, and the processor is used for performing the power supply method according to the first aspect or the second aspect when executing the computer instructions.
The electronic device may be a receiving device of a screen projection device, or may be a display device such as a television. If the electronic device is a receiving device, the processor is configured to perform the power supply method according to the first aspect when executing the computer instruction; if the electronic device is a display device, the processor is configured to perform the power supply method according to the second aspect when executing the computer instructions.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first or second aspect.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A power supply method, applied to a receiving device, the method comprising:
controlling the receiving equipment to be powered on to work in response to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface;
receiving a first voltage transmitted by the display device through the first interface in the process that the receiving device transmits screen projection data to the display device through the first interface;
and controlling the receiving equipment to be switched to a power supply state according to the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the first interface.
2. The power supply method according to claim 1, wherein the first interface has a first pin;
the receiving, through the first interface, the first voltage transmitted by the display device includes:
and receiving a first voltage transmitted by the display equipment through the first pin.
3. The power supply method according to claim 1 or 2, wherein the first interface has a second pin, a third pin, and a fourth pin;
the controlling the receiving device to switch to a power supply state according to the first voltage so that the display device transmits a second voltage to the receiving device through the first interface includes:
controlling the second pin to be switched to a power supply state through the first voltage, so that the display device transmits a second voltage to the receiving device through the third pin and the fourth pin;
and controlling the third pin and the fourth pin to receive the second voltage so that the display device continuously transmits the second voltage to the receiving device.
4. The power supply method according to claim 3, wherein the controlling the second pin to switch to the power supply state by the first voltage comprises:
and regulating the voltage value of the second pin to be within a voltage range corresponding to the power supply state through the first voltage.
5. The power supply method of claim 3, wherein the controlling the third pin and the fourth pin to receive the second voltage comprises:
and adjusting the voltage value of the third pin to be within a pressure range corresponding to a power receiving state, so that the third pin and the fourth pin are switched to the power receiving state.
6. The power supply method of claim 3, wherein the controlling the third pin and the fourth pin to receive the second voltage comprises:
controlling the third pin and the fourth pin to receive the second voltage if the receiving device is not powered.
7. The method of supplying power of claim 3, further comprising:
and controlling the second pin to be switched to a non-power supply state according to a power supply stopping instruction, so that the display equipment stops transmitting the second voltage to the receiving equipment.
8. The method of supplying power of claim 3, further comprising:
and controlling the third pin to be switched to a non-powered state according to a power supply stopping instruction, so that the receiving equipment stops receiving the second voltage.
9. The power supply method according to claim 1, further comprising:
and transmitting screen projection data to the display equipment through the first interface according to a preset video protocol, wherein the preset video protocol is stored in the receiving equipment and the display equipment in advance.
10. The power supply method according to claim 1, further comprising:
and controlling the receiving equipment to be powered off in response to the fact that the display equipment enters a power-off state or a standby state through the first interface.
11. A power supply method is applied to a display device, and the method comprises the following steps:
in response to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface, controlling the receiving equipment to be powered on to work;
transmitting a first voltage to the display device through the first interface in the process that the receiving device transmits screen projection data to the display device through the first interface;
and responding to the receiving equipment to control the receiving equipment to be switched to a power supply state according to the first voltage, and transmitting a second voltage to the receiving equipment through the first interface.
12. The power supply method of claim 11, wherein the first interface comprises a first pin;
the transmitting a first voltage to the display device through the first interface includes:
transmitting a first voltage to the receiving device through the first pin.
13. The power supply method according to claim 11 or 12, wherein the first interface comprises a second pin, a third pin, and a fourth pin;
the transmitting a second voltage to the receiving device through the first interface in response to the receiving device controlling the receiving device to switch to a power supply state according to the first voltage comprises:
under the condition that the receiving equipment controls the second pin to be switched to a power supply state through the first voltage, transmitting a second voltage to the receiving equipment through the third pin and the fourth pin;
and under the condition that the receiving device controls the third pin and the fourth pin to receive the second voltage, continuously transmitting the second voltage to the receiving device.
14. The method according to claim 13, wherein before the transmitting the second voltage to the receiving device through the third pin and the fourth pin, further comprising:
and the serial port function of the third pin and the fourth pin is closed, and the power supply function of the third pin and the fourth pin is started.
15. A power supply apparatus, applied to a receiving device, the apparatus comprising:
the power-on module is used for responding to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface and controlling the receiving equipment to be powered on to work;
the first transmission module is used for receiving a first voltage transmitted by the display equipment through the first interface in the process that the receiving equipment transmits screen projection data to the display equipment through the first interface;
and the second transmission module is used for controlling the receiving equipment to be switched to a power supply state according to the first voltage so that the display equipment transmits a second voltage to the receiving equipment through the first interface.
16. A power supply device, applied to a display apparatus, the device comprising:
the second power-on module is used for responding to the fact that the receiving equipment is detected to be connected to the display equipment through the first interface and controlling the receiving equipment to be powered on to work;
the third transmission module is used for transmitting a first voltage to the display equipment through the first interface in the process that the receiving equipment transmits screen projection data to the display equipment through the first interface;
and the fourth transmission module is used for responding to the condition that the receiving equipment is controlled to be switched to a power supply state according to the first voltage by the receiving equipment, and transmitting the second voltage to the receiving equipment through the first interface.
17. An electronic device, comprising a memory for storing computer instructions executable on a processor, the processor being configured to base the power supply method of any one of claims 1 to 14 upon execution of the computer instructions.
18. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1 to 14.
CN202111272615.6A 2021-10-29 2021-10-29 Power supply method and device, electronic equipment and storage medium Pending CN114020675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111272615.6A CN114020675A (en) 2021-10-29 2021-10-29 Power supply method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111272615.6A CN114020675A (en) 2021-10-29 2021-10-29 Power supply method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114020675A true CN114020675A (en) 2022-02-08

Family

ID=80058894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111272615.6A Pending CN114020675A (en) 2021-10-29 2021-10-29 Power supply method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114020675A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010287473A (en) * 2009-06-12 2010-12-24 Funai Electric Co Ltd Hdmi cable
CN202738016U (en) * 2012-07-03 2013-02-13 黄文德 HDMI (High Definition Multimedia Interface) OTG (On-The-Go) interface circuit
CN103259999A (en) * 2012-02-20 2013-08-21 联发科技(新加坡)私人有限公司 Hot plug detection (HPD) signal output control method and high definition multimedia interface (HDMI) receiving end device and system
CN205789050U (en) * 2016-07-05 2016-12-07 田江华 A kind of screen of being thrown by mobile phone plane plate is to the perpendicular system shielding advertisement machine
US20170111609A1 (en) * 2014-07-04 2017-04-20 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Display system, display device, and hdmi dongle
US20170308453A1 (en) * 2016-04-21 2017-10-26 Arris Enterprises Llc Incorrectly connected hdmi cable indicator
WO2018086221A1 (en) * 2016-11-09 2018-05-17 深圳Tcl数字技术有限公司 Hdmi interface circuit for master device and method for supplying power to slave device on basis of hdmi interface
CN109819493A (en) * 2019-03-06 2019-05-28 深圳前海达闼云端智能科技有限公司 Control method and throwing screen method and device, storage medium, electronic equipment
CN111147800A (en) * 2019-12-31 2020-05-12 珠海六点智能科技有限公司 Zero-configuration portable high-definition conference screen projection method and device
CN111240627A (en) * 2020-01-15 2020-06-05 北京小米移动软件有限公司 Remote controller, screen projection receiving assembly, television, screen projection system and screen projection method
CN112040286A (en) * 2020-08-25 2020-12-04 深圳创维-Rgb电子有限公司 Screen projection device, control method and computer readable storage medium
US20210089099A1 (en) * 2019-09-20 2021-03-25 Samsung Electronics Co., Ltd. Electronic device supporting connection with external device and power consumption reducing method when using electronic device in connection with external device
US20210144335A1 (en) * 2019-11-08 2021-05-13 Guangzhou Shiyuan Electronics Co., Ltd. Low-Latency Low-Power Consumption Peripheral Device for Conferencing
CN112838635A (en) * 2021-01-06 2021-05-25 闻泰通讯股份有限公司 Interface circuit and intelligent device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010287473A (en) * 2009-06-12 2010-12-24 Funai Electric Co Ltd Hdmi cable
CN103259999A (en) * 2012-02-20 2013-08-21 联发科技(新加坡)私人有限公司 Hot plug detection (HPD) signal output control method and high definition multimedia interface (HDMI) receiving end device and system
US20130219087A1 (en) * 2012-02-20 2013-08-22 Mediatek Singapore Pte. Ltd. High-definition multimedia interface (hdmi) receiver apparatuses, hdmi systems using the same, and control methods therefor
CN202738016U (en) * 2012-07-03 2013-02-13 黄文德 HDMI (High Definition Multimedia Interface) OTG (On-The-Go) interface circuit
US20170111609A1 (en) * 2014-07-04 2017-04-20 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Display system, display device, and hdmi dongle
US20170308453A1 (en) * 2016-04-21 2017-10-26 Arris Enterprises Llc Incorrectly connected hdmi cable indicator
CN205789050U (en) * 2016-07-05 2016-12-07 田江华 A kind of screen of being thrown by mobile phone plane plate is to the perpendicular system shielding advertisement machine
WO2018086221A1 (en) * 2016-11-09 2018-05-17 深圳Tcl数字技术有限公司 Hdmi interface circuit for master device and method for supplying power to slave device on basis of hdmi interface
CN109819493A (en) * 2019-03-06 2019-05-28 深圳前海达闼云端智能科技有限公司 Control method and throwing screen method and device, storage medium, electronic equipment
US20210089099A1 (en) * 2019-09-20 2021-03-25 Samsung Electronics Co., Ltd. Electronic device supporting connection with external device and power consumption reducing method when using electronic device in connection with external device
US20210144335A1 (en) * 2019-11-08 2021-05-13 Guangzhou Shiyuan Electronics Co., Ltd. Low-Latency Low-Power Consumption Peripheral Device for Conferencing
CN111147800A (en) * 2019-12-31 2020-05-12 珠海六点智能科技有限公司 Zero-configuration portable high-definition conference screen projection method and device
CN111240627A (en) * 2020-01-15 2020-06-05 北京小米移动软件有限公司 Remote controller, screen projection receiving assembly, television, screen projection system and screen projection method
CN112040286A (en) * 2020-08-25 2020-12-04 深圳创维-Rgb电子有限公司 Screen projection device, control method and computer readable storage medium
CN112838635A (en) * 2021-01-06 2021-05-25 闻泰通讯股份有限公司 Interface circuit and intelligent device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
徐勇;: "摩托车智能投屏仪表产品的设计与研发", 自动化应用, no. 01 *
郑海林;杜博;李勇;: "基于ADV7513的HDMI视频源设计", 信息化研究, no. 04 *
陈泽华;: "融媒体指挥中心大屏展示系统的设计与应用", 中国有线电视, no. 08 *

Similar Documents

Publication Publication Date Title
AU2019239357B2 (en) Data transmission device, and data transmission method
US11119550B2 (en) USB device and operation method thereof
US20200357359A1 (en) Data transmission device and data transmission method
CN102378048B (en) Television (TV) set top box and automatic standby method thereof
US20080162955A1 (en) Usb host, usb device, and methods of controlling the host and the device
US8619193B2 (en) Communication apparatus, control method, and computer readable recording medium
CN109346014B (en) Virtual reality equipment and screen control method thereof
CN107170417B (en) Device for switching from a first chip to a second chip in a terminal
JP6883254B2 (en) Display device, display method and display system
JP4872408B2 (en) Video output device and video input device
WO2022143380A1 (en) Charging conversion device, and charging control method
WO2022147980A1 (en) Interface circuit, smart device, and mobile phone
KR20130011434A (en) Display apparatus, host apparatus, display system and control method thereof
CN103376878B (en) Display device
US10942553B2 (en) Display device
CN114020675A (en) Power supply method and device, electronic equipment and storage medium
CN109246401A (en) A kind of DLP laser projection system
KR101773489B1 (en) Power supply apparatus and display apparatus including the same
CN113064574B (en) Electronic equipment and display parameter control method
EP3419347B1 (en) Wireless control system
CN212906266U (en) Intelligent control display system
CN110232934B (en) Display device and control method thereof
US20120133843A1 (en) Electronic apparatus and electronic system
US20220261055A1 (en) Electronic device and method for controlling the electronic device
US20170238050A1 (en) Method for transmitting and receiving data using hdmi and device therefor

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