CN116126119A - Method, device and system for controlling power supply of master device by slave device - Google Patents

Method, device and system for controlling power supply of master device by slave device Download PDF

Info

Publication number
CN116126119A
CN116126119A CN202211566759.7A CN202211566759A CN116126119A CN 116126119 A CN116126119 A CN 116126119A CN 202211566759 A CN202211566759 A CN 202211566759A CN 116126119 A CN116126119 A CN 116126119A
Authority
CN
China
Prior art keywords
power supply
slave device
master device
slave
interface
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
CN202211566759.7A
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.)
Shenzhen Ubtech Technology Co ltd
Original Assignee
Shenzhen Ubtech Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ubtech Technology Co ltd filed Critical Shenzhen Ubtech Technology Co ltd
Priority to CN202211566759.7A priority Critical patent/CN116126119A/en
Publication of CN116126119A publication Critical patent/CN116126119A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The application relates to a method, a terminal and a system for controlling power supply of a master device by a slave device. The method comprises the following steps: and starting the slave equipment by using a starting power supply output by the master equipment, transmitting a power supply signal to the master equipment through a working enabling signal line of the slave equipment, so that the master equipment outputs a corresponding working power supply to the slave equipment according to the power supply signal, and operating the slave equipment by using the working power supply. According to the method and the device, the master device can adapt to the demands of different slave devices on working power supplies with different voltages through one interface, and the situation that the slave devices cannot work due to overlarge voltage or overlarge voltage caused by the fact that the slave devices are connected with the interfaces of the master device by mistake in the prior art is avoided.

Description

Method, device and system for controlling power supply of master device by slave device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, a terminal, and a system for controlling power supply of a master device by using a slave device.
Background
Currently, a plurality of interfaces are usually arranged outside the master device to supply power to the slave devices with different working voltages, for example, the master device is respectively provided with an interface a of 12V, an interface B of 24V and an interface C of 110V to supply power to the slave devices with the working voltages of 12V, 24V and 110V. Because the voltage output by each interface is fixed, when the slave device is connected with the interface of the master device by mistake, the slave device can be burnt out due to overlarge voltage or cannot work due to overlarge voltage.
Disclosure of Invention
In view of the above, the present application provides a method, a terminal and a system for controlling power supply of a master device by using a slave device, which aim to achieve that the master device adapts to requirements of different working power supplies of different slave devices through one interface.
In a first aspect, the present application provides a method for a slave device to control power supplied by a master device, the method being applied to a slave device, the slave device being electrically connected to an interface of the master device through the interface, the method comprising:
starting the slave device by using a starting power supply output by the master device;
transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
and operating the slave device by using the working power supply.
In a second aspect, the present application provides a method for controlling power supply of a master device by a slave device, where the master device is electrically connected to an interface of the slave device through an interface, and the method includes:
outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
In a third aspect, the present application provides a slave device, where the slave device is electrically connected to an interface of a master device through an interface, where the slave device includes a memory and a processor connected to the memory, where the memory stores a program that runs on the processor and controls power supply of the master device, and where the program that controls power supply of the master device by the slave device is executed by the processor to implement the following steps:
starting the slave device by using a starting power supply output by the master device;
transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
and operating the slave device by using the working power supply.
In a fourth aspect, the present application provides a master device, where the master device is electrically connected to an interface of a slave device through an interface, where the master device includes a memory and a processor connected to the memory, where the memory stores a program that runs on the processor and controls power supply of the master device by the slave device, and when the program that controls power supply of the master device is executed by the processor, the following steps are implemented:
outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
In a fifth aspect, the present application provides a system for controlling power supply of a master device by using a slave device, where the system for controlling power supply of a master device is configured with the slave device and the master device.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the slave device transmits a power supply signal to the master device through the work enabling signal line, so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal, the slave device can reversely control the master device to output the work power supply, and the slave device can actively acquire the required work power supply due to the fact that the work power supply output by the master device is determined by the signal transmitted to the master device by the slave device, so that the master device can adapt to the requirements of different slave devices on the work power supplies with different voltages through one interface, and the situation that the slave device cannot work due to overlarge voltage or overlarge voltage caused by the fact that the slave device is connected with the interface of the master device by mistake in the prior art is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart illustrating a preferred embodiment of a method for controlling power to a master device by a slave device according to the present application;
FIG. 2 is a schematic diagram of a power interface of a master device according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating another preferred embodiment of a method for controlling power to a master device by a slave device according to the present application;
FIG. 4 is a schematic diagram of a preferred embodiment of a system for controlling power to a master device from a slave device according to the present application;
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
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, the technical solutions of the embodiments of the present application may be combined with each other, but it is necessary to be based on the fact that those skilled in the art can implement the technical solutions, and when the technical solutions are contradictory or cannot be implemented, the combination of the technical solutions should be considered to be absent, and is not within the protection scope of the claims of the present application.
Referring to fig. 1, a method flow diagram of an embodiment of a method for controlling power supply of a master device by a slave device is provided. The method may be performed by a slave device, which may be implemented in software and/or hardware. The slave device is electrically connected with an interface of the master device through an interface, the master device may be an electronic device with a power supply function, the slave device may refer to an electronic device with a power receiving function, it may be understood that the master device may also have a power receiving function, the slave device may also have a power supply function, and the method for controlling the master device to supply power by the slave device includes:
step S110: starting the slave device by using a starting power supply output by the master device;
step S120: transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
step S130: and operating the slave device by using the working power supply.
In this embodiment, an interface (such as a power supply interface) of the master device is integrated with a plurality of power supply lines and a plurality of operation enabling signal lines corresponding to different voltages, where the interface may be a peripheral interface of the master device, and the slave device has a power receiving interface corresponding to the power supply interface of the master device, where the power receiving interface is integrated with the power supply lines and the operation enabling signal lines corresponding to the master device, that is, the slave device is electrically connected to the power supply lines and the operation enabling signal lines corresponding to the one interface of the master device through the plurality of power supply lines and the operation enabling signal lines in the one interface. It can be understood that the working enabling signal line can be a shielded twisted pair, the multiple power supply lines and the multiple working enabling signal lines of the slave device can be used as a group of lines, the multiple power supply lines and the multiple working enabling signal lines of the master device can be used as a corresponding group of lines, and in practical application, the two groups of lines of the interface are connected in a flexible line connection or plug-in connection mode, so that the interface of the master device is electrically connected with the interface corresponding to the slave device.
As shown in fig. 2, a schematic diagram of a power supply interface of a main device according to an embodiment of the present application is provided, where one interface of the main device is integrated with a 5V start power supply line, a communication line, a 12V operation enabling signal line, a 12V power supply line, a 24V operation enabling signal line, a 24V power supply line, a 110V operation enabling signal line, a 110V power supply line, and a ground line. It is understood that if the normal operation voltage of the slave device is 24V, the 12V operation enable signal line, the 12V power supply line, the 110V operation enable signal line, and the 110V power supply line in the slave device interface may be in an interrupted state. The interfaces corresponding to the slave devices are also integrated with a 5V starting power supply line, a communication line, a 12V working enabling signal line, a 12V power supply line, a 24V working enabling signal line, a 24V power supply line, a 110V working enabling signal line, a 110V power supply line and a grounding line. So that the master device can supply power for the slave devices with a plurality of different working voltages through only one interface.
When the slave device is connected with the master device, the master device outputs a starting power supply to the slave device, the slave device starts up and starts according to the starting power supply output by the master device, the starting power supply can be 5V, and it is noted that the starting power supplies with different voltages can be set according to the types of the slave device. The slave device and the master device can be connected through flexible wires or can be connected through plugging.
After the slave device is started, the slave device transmits a power supply signal to the master device through a working enabling signal line in the interface, the power supply signal can be a high-level signal, the master device outputs a corresponding working power supply to the slave device after receiving the power supply signal, and the slave device operates normally according to the working power supply output by the master device. Further, when the slave device is disconnected from the master device, the signal of the working enabling signal line is disconnected, the master device can restore to a default state, and the working power supply output by the master device is also disconnected automatically, so that the safety of the device is ensured. The master device does not need to care how much volt of power is needed by the accessed slave device to work normally, and does not need to care how to operate the slave device after the slave device is disconnected, so that the complexity of device interaction is reduced.
For example, assuming that the operating voltage of the slave device M is 12V and the start-up voltage is 5V, when the slave device M is connected to the master device, the master device outputs a 5V start-up power to the slave device M, and after the slave device M starts up, the slave device M transmits a power supply signal (high level signal) to the master device through a 12V operation enable signal line in the interface, and the master device receives the power supply signal and outputs a 12V operation power to the slave device M, so that the slave device M operates normally. When the slave M is disconnected from the master, the power supply signal of the 12V operation enable signal line is disconnected, the master resumes the default state, and the operation power supply 12V is also automatically disconnected.
According to the slave device, the power supply signal is transmitted to the master device through the work enabling signal line, so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal, the slave device can reversely control the master device to output the work power supply, and the slave device can actively acquire the needed work power supply due to the fact that the work power supply output by the master device is determined by the signal transmitted to the master device by the slave device, so that the master device can adapt to the requirements of different slave devices on the work power supplies with different voltages through one interface, and the situation that the slave device cannot work due to overlarge voltage or overlarge voltage due to the fact that the slave device is connected with the interface of the master device by mistake in the prior art is avoided.
In one embodiment, after operating the slave device with the operating power supply, the method further comprises:
judging whether the slave equipment has abnormal operation information or not;
and when the slave device has abnormal operation information, transmitting a power-off signal to the master device through the operation enabling signal line so that the master device stops outputting the working power supply to the slave device according to the power-off signal.
When the slave device is judged to have abnormal operation information, the power-off signal is transmitted to the master device through the work enabling signal line, the power-off signal can be a low-level signal, the master device stops outputting the work power supply to the slave device according to the low-level signal, the slave device can actively control the work power supply to be disconnected when in abnormality, the master device does not need to care about how to operate after the slave device is abnormal, and timeliness of abnormal response is improved.
The abnormal operation information comprises at least one of operation temperature abnormal information, operation current abnormal information and operation duration abnormal information, for example, the temperature is overhigh when the slave equipment is operated, the current exceeds the early warning current when the slave equipment is operated, the continuous operation time is overlong, and shutdown is required.
Referring to fig. 3, a flowchart of another preferred embodiment of a method for controlling power to a master device by a slave device according to the present application is shown, which may be performed by the master device, which may be implemented by software and/or hardware. The master device is electrically connected with an interface of the slave device through an interface, and the method for controlling the power supply of the master device by the slave device comprises the following steps:
step S210: outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
step S220: receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
step S230: and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
In this embodiment, an interface (such as a power supply interface) of the master device is integrated with a plurality of power supply lines and a plurality of operation enabling signal lines, where the interface may be a peripheral interface of the master device, and the slave device has a power receiving interface corresponding to the power supply interface of the master device, where the power receiving interface is integrated with the power supply lines and the operation enabling signal lines corresponding to the master device, that is, the slave device is electrically connected to one interface corresponding to the master device by a plurality of power supply lines in one interface and a plurality of operation enabling signal lines.
When the slave device is connected with the master device, the master device outputs a starting power supply to the slave device, and the slave device starts up and starts according to the starting power supply output by the master device, and it is noted that the starting power supplies with different voltages can be set according to the type of the slave device. The slave device and the master device can be connected through flexible wires or can be connected through plugging.
After the slave device is started, the slave device transmits a power supply signal to the master device through a working enabling signal line in the interface, the power supply signal can be a high-level signal, the master device receives the power supply signal transmitted by the slave device through the working enabling signal line, the master device outputs a working power supply corresponding to the slave device according to the power supply signal, and the slave device normally operates according to the working power supply output by the master device.
For example, assuming that the operating voltage of the slave device N is 24V and the starting voltage is 5V, when the slave device N is connected to the master device, the master device outputs a 5V starting power to the slave device N, after the slave device N is started, the slave device N transmits a high-level signal to the master device through a 24V operation enabling signal line in the interface, and the master device receives a power supply signal and outputs a 24V operating power to the slave device N, so that the slave device N operates normally.
In one embodiment, when outputting the working power corresponding to the slave device according to the power supply signal, the method further includes:
and receiving a power-off signal transmitted by the slave device by using the enabling signal line, and stopping outputting the working power supply to the slave device according to the power-off signal.
When the slave device generates abnormal operation information, the master device stops outputting working power to the slave device when receiving the power-off signal transmitted by the slave device through the power-off signal transmitted by the enabling signal line to the master device. The slave device can actively control the working power supply to be disconnected when the slave device is abnormal, and the master device does not need to care about how to operate after the slave device is abnormal, so that timeliness of abnormal response is improved.
In one embodiment, the method further comprises:
and stopping outputting the working power supply when the power supply signal is disconnected. When the slave device is disconnected with the master device, the power supply signal of the work enabling signal line is disconnected, the master device can restore to a default state, and the work power supply output by the master device can be automatically disconnected, so that the safety of the device is ensured. The master device does not need to care how much volt of power is needed by the accessed slave device to work normally, and does not need to care how to operate the slave device after the slave device is disconnected, so that the complexity of device interaction is reduced.
Referring to fig. 4, a schematic diagram of a preferred embodiment of a system for controlling power to a master device from a slave device according to the present application is shown.
The slave device power supply control system is configured with a slave device 10 and a master device 20, and the slave device 10 and the master device 20 may be devices capable of automatically performing information processing according to a preset or stored instruction. The master device 20 may be an electronic device having a power supply function, and the slave device 10 may be an electronic device having a power receiving function, and it is understood that the master device 20 may also have a power receiving function, and the slave device 10 may also have a power supply function.
In the present embodiment, the slave device 10 may include, but is not limited to, a memory 11, a processor 12, and an interface 13, which may be communicatively connected to each other through a system bus, and the memory 11 stores a program for controlling the master device to supply power to the slave device that may run on the processor 12. It should be noted that fig. 4 only shows slave device 10 having components 11-13, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may alternatively be implemented.
The master device 20 may include, but is not limited to, a memory 21, a processor 22, and an interface 23 communicatively connected to each other via a system bus, the memory 21 storing a program for a slave device operable on the processor 22 to control the power supply of the master device. It should be noted that fig. 4 only shows a master device 20 having components 21-23, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented.
Wherein the storage 11 comprises a memory and at least one type of readable storage medium. The readable storage medium may be volatile or nonvolatile. For example, the readable storage medium may be a nonvolatile storage medium such as a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the readable storage medium may be an internal storage unit of the slave device 10, such as a hard disk of the slave device; in other embodiments, the storage medium may also be an external storage device from a device, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc. In this embodiment, the readable storage medium of the memory 11 may be used to store various types of application software, for example, program codes for storing a program for controlling the master device to supply power to the slave device in the embodiment of the present application.
The processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the slave device 10, such as performing control and processing related to data interaction or communication with the slave device 10, etc. In this embodiment, the processor 12 is configured to execute a program code or process data stored in the memory 11, for example, a program for controlling a master device to supply power to a slave device.
The interface 13 is a wired interface, which interface 13 is typically used for electrically connecting the slave device with the master device. In this embodiment, the interface 13 is mainly used to connect the slave device with the master device, and a data transmission channel and a power transmission channel are established between the slave device and the master device.
A program for controlling the power supply of a master device from a slave device is stored in the memory 11 and comprises at least one computer readable instruction stored in the memory 11, the at least one computer readable instruction being executable by the processor 12 to implement the method of the embodiments of the present application; and, the at least one computer readable instruction may be divided into different logic modules, depending on the functionality implemented by the parts thereof.
In addition, the memory 21, the processor 22, and the interface 23 of the master device are similar to the memory 11, the processor 12, and the interface 13 of the slave device, and will not be described herein.
In one embodiment, the above-mentioned slave device control master device power supply program is executed by the processor 12 to implement the following steps:
starting the slave device by using a starting power supply output by the master device;
transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
and operating the slave device by using the working power supply.
In another embodiment, the above-mentioned procedure of controlling the power supply of the master device by the slave device is implemented by the processor 22 as follows:
outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
For a detailed description of the above steps, please refer to the above description of fig. 1 and 3 for a flowchart of an embodiment of a method for controlling power supply of a master device by a slave device.
In addition, the present application further provides a computer readable storage medium, where a program for controlling power supply of a master device by a slave device is stored, where the program for controlling power supply of the master device by the slave device when executed by a processor implements the following steps:
starting the slave device by using a starting power supply output by the master device;
transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
and operating the slave device by using the working power supply.
The specific embodiment of the computer readable storage medium is substantially the same as the specific embodiment of the method for controlling power supply of the master device by the slave device shown in fig. 1 and will not be described herein.
The present application also provides a computer readable storage medium having stored thereon a program for controlling power supply of a master device by a slave device, the program for controlling power supply of a master device by a slave device realizing the following steps when executed by a processor:
outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
The specific embodiment of the computer readable storage medium is substantially the same as the specific embodiment of the method for controlling power supply of the master device by the slave device shown in fig. 3 and will not be described herein.
It should be noted that, the foregoing embodiment numbers are merely for describing the embodiments, and do not represent the advantages and disadvantages of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, an electronic device, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (12)

1. A method for a slave device to control power supplied by a master device, applied to the slave device, wherein the slave device is electrically connected to an interface of the master device through an interface, the method comprising:
starting the slave device by using a starting power supply output by the master device;
transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
and operating the slave device by using the working power supply.
2. The method of controlling power supplied by a master device to a slave device according to claim 1, wherein after operating the slave device with the operating power supply, the method further comprises:
judging whether the slave equipment has abnormal operation information or not;
and when the slave device has abnormal operation information, transmitting a power-off signal to the master device through the operation enabling signal line so that the master device stops outputting the working power supply to the slave device according to the power-off signal.
3. A method of controlling power to a master device by a slave device according to claim 3, wherein the abnormal operation information comprises: at least one of operating temperature abnormality information, operating current abnormality information, and operating time period abnormality information.
4. The method of controlling power supplied to a master device by a slave device according to claim 1, wherein the slave device is electrically connected to an interface of the master device through an interface, comprising:
the slave device is electrically connected with the corresponding power supply line and the corresponding work enabling signal line in one interface of the master device through the power supply line and the work enabling signal line in one interface.
5. A method for a slave device to control power supply of a master device, applied to the master device, wherein the master device is electrically connected to an interface of the slave device through an interface, the method comprising:
outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
6. The method for controlling power supply of a master device by a slave device according to claim 5, wherein, when outputting the operating power corresponding to the slave device according to the power supply signal, the method further comprises:
and receiving a power-off signal transmitted by the slave device by using the enabling signal line, and stopping outputting the working power supply to the slave device according to the power-off signal.
7. The method of controlling power to a master device from a slave device of claim 5, further comprising:
and stopping outputting the working power supply when the power supply signal is disconnected.
8. The slave device is electrically connected with one interface of the master device through one interface, the slave device comprises a memory and a processor connected with the memory, the memory stores a program which runs on the processor and controls the master device to supply power, and the program which controls the master device to supply power is executed by the processor and realizes the following steps:
starting the slave device by using a starting power supply output by the master device;
transmitting a power supply signal to the master device through the work enabling signal line of the slave device so that the master device outputs a corresponding work power supply to the slave device according to the power supply signal;
and operating the slave device by using the working power supply.
9. The slave device according to claim 8, wherein a plurality of power supply lines and a plurality of operation enable signal lines corresponding to different voltages are integrated in an interface of the slave device.
10. The master device is electrically connected with one interface of the slave device through one interface, the master device comprises a memory and a processor connected with the memory, the memory stores a program which runs on the processor and controls the master device to supply power to the slave device, and the program which controls the master device to supply power to the slave device realizes the following steps when being executed by the processor:
outputting a starting power supply to the slave equipment so that the slave equipment is started according to the starting power supply;
receiving a power supply signal transmitted by the slave device through an operation enabling signal line;
and outputting a working power supply corresponding to the slave device according to the power supply signal so as to enable the slave device to operate according to the working power supply.
11. The master device of claim 10, wherein a plurality of power supply lines and a plurality of operation enable signal lines corresponding to different voltages are integrated in an interface of the master device.
12. A system for controlling power supply of a master device by a slave device, wherein the system is deployed with the slave device of claim 8 and the master device of claim 10.
CN202211566759.7A 2022-12-07 2022-12-07 Method, device and system for controlling power supply of master device by slave device Pending CN116126119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211566759.7A CN116126119A (en) 2022-12-07 2022-12-07 Method, device and system for controlling power supply of master device by slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211566759.7A CN116126119A (en) 2022-12-07 2022-12-07 Method, device and system for controlling power supply of master device by slave device

Publications (1)

Publication Number Publication Date
CN116126119A true CN116126119A (en) 2023-05-16

Family

ID=86298321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211566759.7A Pending CN116126119A (en) 2022-12-07 2022-12-07 Method, device and system for controlling power supply of master device by slave device

Country Status (1)

Country Link
CN (1) CN116126119A (en)

Similar Documents

Publication Publication Date Title
WO2017149825A1 (en) Program update system, program update method, and computer program
CN111078471B (en) System fault recovery method and device for display device and computer storage medium
CN105745617A (en) Selective power management for pre-boot firmware updates
CN107526593B (en) BMC function customizing method based on dynamic link library
CN111913851A (en) Process monitoring method, system, terminal and storage medium
CN103246583A (en) Electronic device with bulk molding compound (BMC) firmware repairing function and repairing method
CN115314416B (en) Network card state automatic detection method and device, electronic equipment and storage medium
US20210103435A1 (en) Program update system, program transmission device, and program transmission method
CN116126119A (en) Method, device and system for controlling power supply of master device by slave device
KR101733263B1 (en) Control device and method for operating such a control device
EP3260299B1 (en) Imaging cartridge and storage chip applied in imaging cartridge
US11498497B2 (en) Communication device and control method
CN111400136A (en) Server-dedicated GPU fault protection device, method, equipment and medium
CN116360570A (en) Control method and control device for CPU power-on time sequence and electronic equipment
CN113986357B (en) Method, apparatus and storage medium for establishing communication link
CN115929604A (en) Electric oil pump control method and device for vehicle, storage medium and equipment
US9442874B2 (en) Expansion unit
CN108990046B (en) Connection method of mobile network
US20150120974A1 (en) Electronic controller to be connected to program tool
CN111079202A (en) Information display method and device of terminal equipment and terminal equipment
CN116015040A (en) Electronic device and start control system
CN216122379U (en) Conversion circuit and device
CN114840262B (en) Camera configuration method, device and computer readable storage medium
CN116701041B (en) Memory data retention method, retention device and related equipment
CN112346433B (en) Alarm management device, alarm management system, and alarm management method

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