CN113050781A - Function device and switching method - Google Patents

Function device and switching method Download PDF

Info

Publication number
CN113050781A
CN113050781A CN202110349669.1A CN202110349669A CN113050781A CN 113050781 A CN113050781 A CN 113050781A CN 202110349669 A CN202110349669 A CN 202110349669A CN 113050781 A CN113050781 A CN 113050781A
Authority
CN
China
Prior art keywords
power supply
functional
power
interface
supply mode
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
CN202110349669.1A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110349669.1A priority Critical patent/CN113050781A/en
Publication of CN113050781A publication Critical patent/CN113050781A/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
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Landscapes

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

Abstract

The application discloses a functional device and a switching method, wherein a first interface of the functional device is connected with a power supply system, a second interface of the functional device is connected with a network system, a third interface of the functional device is connected with a processing device, and data are transmitted between the functional device and the processing device; the functional device also comprises a functional device for generating or responding to the transmitted data and a processing device for switching the power supply mode of the functional device; wherein the functional device obtains power from the first interface in the first power mode and obtains power from the second interface in the second power mode.

Description

Function device and switching method
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a functional device and a switching method.
Background
With the development of electronic technology, more and more functional devices are applied to the life and work of people. The power consumption of the device is different in different states, and in order to save the power consumption of the device, the device is usually switched to be in a state with lower power consumption, but the device still keeps a rated working frequency even in a standby mode with lower power consumption, so that the phenomenon of energy waste exists.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
a functional device, comprising:
the first interface is used for being connected with a power supply system;
a second interface for connecting with a network system;
the third interface is used for being connected with a processing device and transmitting data between the functional device and the processing device;
functional means for generating or responding to said transmitted data;
processing means for switching a power supply mode of the functional device;
wherein the power supply mode comprises a first power supply mode and a second power supply mode, and the functional device obtains power from the first interface in the first power supply mode; in a second power mode, power is obtained from the second interface.
Optionally, the functional device is an output device capable of outputting output data obtained from the second interface;
wherein the processing device is connected to the network system through the function device.
Optionally, the processing device is configured to detect whether the state information of the functional device satisfies a switching condition;
wherein, if the switching condition is satisfied, the processing device is used for controlling the switching device to switch the power supply mode of the functional equipment.
Optionally, the state information of the function device includes:
network state information of the second interface; or, output state information of the functional device; or power consumption state information of the functional device.
Optionally, the processing device is configured to control the switching device to switch the power supply mode of the functional device from a first power supply mode to a second power supply mode if it is detected that the functional device is switched from the first power consumption to the second power consumption, where the first power consumption is greater than the second power consumption;
alternatively, the first and second electrodes may be,
the processing device is further configured to control the switching device to switch the power supply mode of the functional device from the first power supply mode to the second power supply mode if it is detected that the functional device is switched from the data output state to the data non-output state.
Optionally, the processing device is further configured to control the switching device to switch the power supply mode of the functional device from the first power supply mode to the second power supply mode if it is detected that the second interface is switched from the data transmission state to the no data transmission state;
or, if it is detected that the second interface is switched from a state of not being connected with the network system to a state of being connected with the network system, the switching device is controlled to switch the power supply state of the functional device from the first power supply mode to the second power supply mode.
Optionally, the functional device further comprises:
input means for obtaining an input operation;
the processing device is further configured to detect whether the input operation is used to switch the power consumption state of the functional device, and if so, switch the power supply mode of the functional device.
Optionally, wherein,
the processing device is further configured to control the switching device to switch the functional device to a first power supply mode if the second interface is disconnected from the network system when the functional device is in a second power consumption state;
the first power consumption which can be supported by the first power supply mode of the functional equipment is larger than the second power consumption which can be supported by the second power supply mode.
Optionally, the functional device further comprises:
a first power conversion device, a second power conversion device, the switching device and a switch device, wherein the first power conversion device and the second power conversion device are respectively connected with the switching device, the first power conversion device is respectively connected with the first interface and the processing device, the switching device is connected with the processing device, wherein,
the first power conversion device is used for converting a first voltage of the electric energy obtained from the first interface into a supply voltage required by the functional equipment;
the second power conversion device is used for converting a second voltage of the electric energy obtained from the second interface into a supply voltage required by the functional equipment;
the switching device is used for responding to a switching instruction of the processing device, and switching the power supply voltage of the functional equipment to be provided by the first power supply conversion device or the second power supply conversion device;
and the switching device is used for responding to a control instruction of the processing device and controlling the connection or disconnection of the first interface and the first power conversion device.
A switching method is applied to functional equipment, and comprises the following steps:
acquiring state information of the functional equipment;
switching a power supply mode of the functional device based on the state information, wherein the power supply mode comprises a first power supply mode and a second power supply mode, and the functional device obtains power from a first interface in the first power supply mode; in a second power supply mode, obtaining power from the second interface;
the first interface is used for being connected with a power supply system, and the second interface is used for being connected with a network system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 shows a schematic structural diagram of a functional device provided in an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a power supply mode switching method of a functional device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another functional device provided in an embodiment of the present application;
fig. 4 shows a flowchart of a handover method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiments of the present application, a function device is provided, which may implement a specific function, for example, may have a data transmission function, an information display function, a network connection function, and the like. Referring to fig. 1, which shows a schematic structural diagram of a functional device provided in an embodiment of the present application, the functional device 10 includes:
a first interface 101 for connecting to a power supply system;
a second interface 102 for connecting to a network system;
a third interface 103, configured to connect to a processing device, and transmit data between the functional device and the processing device;
functional means 104 for generating or responding to said transmitted data;
processing means 105 for switching a power supply mode of the functional apparatus;
wherein the power supply mode comprises a first power supply mode and a second power supply mode, and the functional device obtains power from the first interface in the first power supply mode; in a second power mode, power is obtained from the second interface.
The connection relationship of each part of the functional device shown in fig. 1 is only one possible implementation manner in the structural relationship of the functional device, and the connection relationship of each part of the functional device in different application scenarios may be different from that shown in fig. 1. In the functional device shown in fig. 1, the first interface, the second interface, the third interface, and the functional apparatus are connected to the processing apparatus, respectively. The first interface is connected with the power supply system, the second interface is connected with the network system, and correspondingly, the functional device can obtain electric energy from the power supply system connected with the first interface and also can obtain electric energy from the network system connected with the second interface, so that the processing device can control the power supply mode of the functional device by controlling the disconnection and connection of the first interface or the second interface. The third interface and the processing device are configured to transmit data between the functional device and the processing device, that is, the third interface may obtain data sent by the processing device and transmit the data to the functional device for corresponding processing or output, and correspondingly, the third interface may also transmit data in the functional device to the processing device, and in order to ensure that the data can be correctly received, it is necessary to perform corresponding format conversion on the data transmitted between the functional device and the processing device, and the third interface may be connected to a processing apparatus of the functional device, and the processing apparatus processes the data transmitted by the functional device, for example, performs format encapsulation, codec processing, and the like on the data. Correspondingly, the processing device may be further connected to the function device, so that the processing device sends the transmission data obtained through the third interface to the function device, the function device responds to the transmission data, and the response mode to the transmission data according to the specific function mode of the function device is different, for example, if the function device is a display device, the transmitted data may be displayed, and if the function device is a storage device, the transmitted data may be stored.
In the case of a different connection relationship from that shown in fig. 1, the third interface may be directly connected to the function device, that is, the transmission data obtained by the third interface is directly transmitted to the function device and responded by the function device. As long as the execution functions of the respective portions of the functional device can satisfy the description of the embodiments of the present application, the present application does not limit the specific connection manner of the respective portions. Specifically, the method comprises the following steps:
in this embodiment, the first interface 101 of the functional device 10 is connected to a power supply system, where the power supply system is a system composed of a power supply system and a power transmission and distribution system, which generates electric energy and supplies and delivers the electric energy to the electric devices, and the power supply system can provide various high and low frequency ac and dc power supplies for the electronic devices, so as to maintain the stable operation of the electronic devices. The first interface 101 may be an interface for connecting a power adapter, and may be in the form of a serial interface, a parallel interface, a USB interface, or the like.
The second interface 102 of the functional device 10 is connected to a network system, where the network system is a system capable of providing network data for the functional device to transmit, and it should be noted that, in this embodiment of the application, the network system has a function of network data transmission and can also transmit the obtained electric energy, in an actual application scenario, the second interface may be connected to a router, and the router may provide a direct current voltage for the second interface, so that the second interface obtains the electric energy provided by the router to supply power to the functional device. For example, the second interface may be a network interface connected to a wired network system, for example, the second interface may be an RJ45 network port in an actual scenario. When the network environment conforms to 802.3at (or af), that is, conforms to the ethernet power supply standard, the network system may provide a dc voltage of 36V to 57V, and when the functional device is in different states, the corresponding module in the functional device may convert the obtained dc voltage into a voltage required to maintain the current state of the functional device, for example, the functional device includes a network power conversion module, and the network power conversion module may convert the dc voltage of the electric energy obtained from the second interface into a supply voltage required by the functional device, and specifically, if the current functional device is in a standby state, the network power conversion module may convert the dc voltage of 48V into a voltage of 5V required to maintain the power supply of the main board of the functional device.
The third interface 103 of the functional device 10 is connected to a processing device, and data is transmitted between the functional device and the processing device, that is, the third interface 103 is an interface between the functional device and an external processing device, and the type of the interface can be determined based on the processing device to be connected, the processing device can generate corresponding data and instructions and can transmit the data or instructions to the functional device, and the corresponding functional device can also transmit the data generated or obtained by itself to the processing device, for example, the processing device is an image processing device, and an image can be transmitted to the functional device through the third interface, and the image is output or displayed by the functional device. The specific interface type of the third interface may be different corresponding to different processing devices, for example, it may be a USB (universal serial bus) interface supporting multiple devices, or an interface for outputting mixed video or audio, such as VGA, DVI, HDMI. Most of electronic equipment all has the USB interface, consequently in order to satisfy the demand that can connect multiple equipment, the third interface can set up to the USB interface, and is corresponding, classifies the USB interface according to USB interface specification can include interface types such as USB Type A/B/C/Mini/Micro, and the equipment that different interface correspondences can connect is different, and the USB interface commonly used at present has Type-B and Type-C.
The functional means 104 of the functional device 10 are used to generate or correspond to the transmitted data. The functional device of the functional device may generate data by itself, or may perform response processing on the acquired data matching the function of the functional device, or call locally stored data according to the received instruction to perform response. For example, the function device has a data output function, and can transmit the generated or received transmission data to the target device. For another example, the functional device has a display function and can display data, and the specific functional device may be a display screen and displays the received data.
The processing means 105 of the functional apparatus, which may be a processor of the functional apparatus, such as a Micro Controller Unit (MCU) or a Central Processing Unit (CPU), is used to switch the power supply mode of the functional apparatus. It should be noted that the power supply mode of the functional device refers to a main power supply mode of the functional device, that is, a main manner of obtaining power, for example, the functional device includes a battery, but when the functional device is connected to an external system capable of providing power, the battery does not provide power for the functional device, that is, if the functional device is connected to a power supply system or a network system having a network power supply module, the power is provided by the connected power supply system or network system, rather than by using the battery. Therefore, in the embodiment of the present application, the power supply mode is switched, and the main power of the function device is aimed at, but the auxiliary power of the function device is not aimed at. Correspondingly, in the embodiment of the present application, the power supply modes include a first power supply mode and a second power supply mode, and the functional device obtains power from the first interface in the first power supply mode, and obtains power from the second interface in the second power supply mode. The power consumption of the functional device corresponding to the first power supply mode and the second power supply mode may be different, or the states of the functional device may be different in different power supply modes, or the connection states of the interface of the functional device may be different in different power supply modes.
For example, the power consumption of the functional device in the first power mode is larger than the power consumption in the second power mode, such that the functional device gets power from the first interface, i.e. from the power supply system, at high power consumption and gets power from the second interface, i.e. from the network system, at low power consumption. Specifically, the functional device may be a display having a display function, and the display has low power consumption in a standby or power-off state, and can disconnect an ac power supply connected thereto and switch to a network system function, so that the display does not need to use ac power in this state, thereby saving energy consumption.
The embodiment of the application provides a functional device, wherein a first interface of the functional device is connected with a power supply system, a second interface of the functional device is connected with a network system, and a third interface of the functional device is connected with a processing device, so that data are transmitted between the functional device and the processing device; the functional device further comprises functional means for generating or responding to the transmitted data, and further comprises processing means for switching the power mode of the functional device. The functional equipment obtains electric energy from the first interface in the first power supply mode and obtains electric energy from the second interface in the second power supply mode, so that the switching of the power supply of the functional equipment by the power supply system and the network system can be realized, the power supply requirements of the functional equipment in different states are ensured, if the power is supplied by the network system, the functional device of the equipment does not need to use an alternating current power supply, and the problem of energy waste is solved.
In an actual application scenario, when the processing device of the functional device switches the power supply mode of the functional device, the processing device needs to switch in combination with the actual state of the functional device, so as to ensure that the functional device can perform an operation matched with the actual state of the functional device. For example, if the functional device is a display, when the display is in a standby state, the display is in a sleep state, but in order to wake up the display in the standby state, a logic circuit of the display needs to be powered on, if a power supply system (i.e., an ac power supply) is used for supplying power, the ac power supply is still consumed, which causes energy waste, in this case, the power supply system can be switched to a network system to supply power by a network power supply, so that the ac power supply is not needed, and the purpose of saving energy is achieved. Correspondingly, when the display is in the power-off state, the power-off state of the display means that a direct-current power switch key of the display is turned off to shut down the display, but in order to quickly start the display, the alternating-current power is still consumed in the power-off state, if the power-off state of the display is detected, the power supply mode of the display can be switched from the mode in which the power supply system provides the alternating-current power to the mode in which the network system provides the power, so that the alternating-current power is not needed to be used in the power-off state, the purpose of starting and waking up can be realized, and the energy is saved. The corresponding power supply modes of the functional device in different states are different, and a specific application scenario will be described in the following embodiments of the present application, which is not described in detail herein.
In one implementation of the present application, the functional device of the functional apparatus may be an output device, and the output device may be used for outputting data such as audio, video, image, and text. The output means is capable of outputting output data obtained from the third interface of the functional device. Because the processing device is connected with the function device through the third interface, and the function device can be connected with the network system, the processing device can be connected with the network system through the function device. The output device may output network data obtained by the processing apparatus, for example, the output device is a video output device, and the output of the output device may be a network video stream transmitted by the processing device.
The processing device of the functional apparatus may be configured to switch the power supply mode of the functional apparatus, that is, the processing device may generate a switching instruction of the power supply mode, and may send the switching instruction to a switching device connected to the processing device, so as to control the switching device to switch the power supply mode of the power supply apparatus. Correspondingly, the processing device is used for detecting whether the state information of the functional equipment meets the switching condition; wherein, if the switching condition is satisfied, the processing device is used for controlling the switching device to switch the power supply mode of the functional equipment. The corresponding switching device may be a switching device, which controls the disconnection and connection of the first interface or the second interface, and the specific structure of the switching device is not limited in the embodiments of the present application.
The status information of the function device includes, but is not limited to: network state information of the second interface; or, output state information of the functional device; or power consumption state information of the functional device.
The network state information of the second interface refers to a connection state or a disconnection state of the second interface and the network system. The output state information of the function device is whether or not the function device is output with information, and may be a state of information output by the function device. The power consumption state information of the functional apparatus refers to power required for the functional apparatus to maintain the current state.
Referring to fig. 2, which shows a schematic flowchart of a method for switching a power supply mode of a functional device according to an embodiment of the present application, where the method is applied to a processing apparatus of the functional device, and specifically the method may include the following steps:
s201, detecting the power consumption state of the functional equipment;
s2011, if the functional device is switched from the first power consumption to the second power consumption, controlling the switching device to switch the power supply mode of the functional device from the first power supply mode to the second power supply mode;
s2012, if the functional device is switched from the second power consumption to the first power consumption, controlling the switching device to switch the power supply mode of the functional device from the second power supply mode to the first power supply mode.
Wherein the first power consumption is larger than the second power consumption, i.e. power is obtained from the second interface of the functional device, i.e. power is obtained from the network system, when the functional device switches from the high power consumption to the low power consumption. Taking the functional device as an example, if the display is connected with the power supply system, the power supply system is an ac power supply, and the display needs to be powered by the ac power supply during normal operation to maintain the function of displaying data. However, when the display is in standby or shutdown, if the display still consumes the alternating current power supply in order to realize the awakening function, the power supply is switched to the network system for supplying power, the network direct current power supply can be reduced to the electric energy required by the display logic circuit, the alternating current power supply is turned off, the display does not need the alternating current power supply, and the energy consumption is saved. Correspondingly, if the display recovers the normal data display, namely is in the working state, the power consumption of the display is increased, and the display is switched from the second power supply mode to the first power supply mode.
S202, detecting the data output state of the functional equipment;
s2021, if the functional equipment is switched from the data output state to the data non-output state, controlling the switching device to switch the power supply mode of the functional equipment from the first power supply mode to the second power supply mode;
s2022, if the functional device is switched from the state of not outputting data to the state of outputting data, controlling the switching device to switch the power supply mode of the functional device from the second power supply mode to the first power supply mode.
In this embodiment, by detecting the data output state of the functional apparatus, for example, detecting the data output state of the functional device of the functional apparatus, that is, whether there is data output, it may also be detecting whether there is data output between the functional device and the processing apparatus. If there is data output, it can be determined that the functional device is in an operating state, and if there is no data output, it can be determined that the functional device may not transmit data temporarily, for example, it may enter a standby state. And if no data output is available, the power supply system supplies power to the functional equipment.
S203, detecting the data state of the second interface;
s2031, if the second interface is switched from a data transmission state to a non-data transmission state, controlling the switching device to switch the power supply mode of the functional equipment from the first power supply mode to the second power supply mode;
s2032, if the second interface is switched from the no-data transmission state to the data transmission state, controlling the switching device to switch the power supply mode of the functional device from the second power supply mode to the first power supply mode.
The second interface of the functional device is connected with the network system, the state of the functional device can be determined by detecting the data state of the second interface, if the second interface has data transmission, namely the functional device and the network system carry out network data transmission, at the moment, the functional device is in a working state and needs to be provided with electric energy by the first interface, if the second interface has no data transmission, namely the functional device and the network system have no data transmission, at the moment, the functional device can be in a standby state or a shutdown state and can be provided with electric energy by the second interface, so that a power supply of a power supply system is not needed, and the energy consumption is reduced.
S204, detecting the connection state of the second interface and the network system;
s2041, if the second interface is switched from the state of not being connected with the network system to the state of being connected with the network system, controlling the switching device to switch the power supply mode of the functional equipment from the first power supply mode to the second power supply mode;
s2042, if the second interface is switched from the state of being connected with the network system to the state of not being connected with the network system, controlling the switching device to switch the power supply mode of the functional equipment from the second power supply mode to the first power supply mode.
In this embodiment, whether to switch the power supply mode of the function device and how to switch are determined by detecting the connection state of the second interface with the network system. If the second interface is connected with the network system, it indicates that the functional device has the possibility of data transmission with the network system, and the power obtained from the first interface can be used to provide power for the functional device. And if the functional equipment is switched from the state of not being connected with the network system to the state of being connected with the network system, controlling the power supply mode of the functional equipment to be switched from the first mode to the second mode. It should be noted that the determination of the state may be applicable to a manual switching scenario, that is, when the functional device is required to enter the standby state, the user connects the second interface of the functional device to the network system, and at this time, the functional device does not need to perform data transmission with the network, that is, at this time, there is no network data transmission, and it may be determined that the power supply mode needs to be switched. Namely, the power supply mode of the functional equipment is switched to the corresponding network system for power supply.
For example, if the functional device performs data transmission with the processing device through the wireless network, when a user of the functional device connects the second interface, that is, the wired network interface, to the wired network switch providing the wired network through the network cable, it may be determined that the functional device may perform network data transmission before, and the switching of the network type is not a mode in which the network access function is completed but a mode in which the network system power supply is expected to be performed on the functional device, and the power supply mode of the functional device is switched to the second power supply mode.
Correspondingly, if the functional device is in the second power supply mode and the second interface is disconnected from the network system at this time in order to ensure the subsequent use of the functional device, the second power supply mode is switched to the first power supply mode.
In the above embodiment, the power consumption state, the data transmission state, the interface state, and the like of the functional device are detected to determine whether the power supply mode of the functional device needs to be switched, that is, the detection is performed by automatically detecting the signal. Correspondingly, the switching of the power supply mode of the functional device can also be controlled by the obtained manually triggered signal.
In one embodiment of the present application, the function device further includes:
input means for obtaining an input operation;
the processing device is further configured to detect whether the input operation is used to switch the power consumption state of the functional device, and if so, switch the power supply mode of the functional device.
In this embodiment, the input operation obtained by the input device is used for switching the power consumption state of the functional apparatus, for example, the functional apparatus is a display, the input device may be a switch button on the display screen, and if the switch button is pressed, the operation for turning off the display screen is represented, that is, the functional apparatus may enter a standby state, and in this case, the functional apparatus is switched from a high power consumption state to a low power consumption state, and then the functional apparatus is switched from the first power supply mode to the second power supply mode. Correspondingly, whether the change of the power consumption state exceeds the target amplitude can be further judged through the operation instruction, and if the power consumption state changes but the change amplitude is not large, the power supply mode is not switched.
In another embodiment of the application, the processing device of the functional device is further configured to control the switching device to switch the functional device to the first power supply mode if the second interface is disconnected from the network system when the functional device is in the second power consumption state. The first power consumption which can be supported by the first power supply mode of the functional equipment is larger than the second power consumption which can be supported by the second power supply mode.
For example, if the functional device is in the second power consumption, the second power supply mode provides power, and in the second power supply mode, the corresponding network system supplies power, and the network power supply module supplies power. When the disconnection between the second interface and the network system is detected, the second interface may be abnormal, the network power supply module of the network system may be abnormal, or no network power supply supplies power to the functional device for other reasons, the second power supply mode is switched to the first power supply mode, so as to avoid the situation that the functional device cannot be awakened or started.
The functional device in the embodiment of the present application includes: the system comprises a first interface connected with a power supply system, a second interface connected with a network system, and a third interface connected with processing equipment and used for transmitting data between the functional equipment and the processing equipment; functional means which can generate or respond to the transmitted data, and processing means which switches the power supply mode of the functional apparatus, switching means which switches the instruction in response to the processing means. Correspondingly, in order to enable the electric energy in different power supply modes to meet the requirement of the functional device, in an embodiment of the present application, the functional device further includes:
the power supply comprises a first power conversion device, a second power conversion device, a switching device and a switch device, wherein the first power conversion device and the second power conversion device are respectively connected with the switching device, the first power conversion device is respectively connected with a first interface and a processing device, and the switching device is connected with the processing device.
The first interface is connected with a power supply system, the power supply system is an alternating current power supply, the first voltage is the power supply voltage of the power supply system, the direct current voltage required by the functional equipment is required, and the voltage required by the functional equipment is smaller than the power supply voltage provided by the power supply system. Therefore, the first power conversion apparatus needs to include a conversion module for converting AC power into DC power and a system power module capable of performing voltage conversion, in practical applications, the conversion module for converting AC power into DC power may employ an AC/DC converter, the system power module may employ a DC-DC converter, and the DC-DC converter is a converter that effectively outputs a fixed voltage after converting an input voltage. For example, the AC power provided by the power supply system may be converted into DC power by an AC/DC converter, and the voltage of the DC power may be reduced to 5V DC voltage required by the logic circuit of the functional device by a step-down DC-DC converter.
And the second power conversion device is used for converting the second voltage of the electric energy obtained from the second interface into the power supply voltage required by the functional equipment. The second interface is connected to the network system, so that the second voltage is a network power supply voltage, and since the current provided by the network system is a direct current, correspondingly, the second power conversion device may include a network power supply module capable of implementing voltage conversion, and the specific network power supply module may be a DC-DC converter, for example, the DC-DC converter converts the supply voltage of the network power supply into a voltage required by the logic circuit of the functional device, such as a voltage drop to 5V.
The switching device is connected with the processing device, and responds to a switching instruction of the processing device, the power supply voltage of the switching function equipment is provided by the first power conversion device or the second power conversion device, namely the switching device can control whether the first power conversion device or the second power conversion device is forbidden, and if the switching device controls the first power conversion device to be forbidden, the second power conversion device provides the power supply voltage for the function equipment. In practical application, the switching device may be a power isolation module, that is, different power supply voltages may be implemented without interfering with each other. The switching device in the embodiment of the application is used for responding to a control instruction of the processing device and controlling the connection or disconnection of the first interface and the first power conversion device, that is, the connection or disconnection of the alternating current power supply provided by the power supply system can be realized. It should be noted that, in another implementation, the switch device may also be controlled manually, that is, the switch device is controlled manually to disconnect or disconnect the first interface from the first power supply, and in the case of manual control, the switch device may be a switch on the first interface of the functional device connected to the ac power adapter. In practical applications, the switching device may be a relay. The processing device in the functional device can realize the control of switching the power supply mode of the functional device, and can also realize the processing of the data of the functional device, the analysis and response of the received instruction, the judgment of the monitored data and the like. In an application scenario, the processing device may be an MCU (micro controller Unit).
The following describes a functional device according to an embodiment of the present application, taking the functional device as a display as an example. Referring to fig. 3, a schematic structural diagram of another functional device provided in the embodiment of the present application is shown. In the embodiment shown in fig. 3, the power supply mode includes a power supply system power supply and a network system power supply, and the power supply circuit includes an AC/DC converter, a system power module and a relay when the power supply system supplies power, the AC/DC converter converts alternating current into direct current, and the system power module converts a voltage input by the AC/DC converter into a power supply voltage for the display, for example, 12V voltage input by the AC/DC converter into 5V voltage required for the display. The relay is connected with the AC/DC converter, and the relay can control the working state of the AC/DC converter, such as controlling the AC/DC converter to stop working. When the power supply is corresponding to the network power supply, the network interface is connected with the network switch to obtain the network power supply, the voltage of the network power supply is input to the network power supply module, and the network power supply module performs a voltage conversion function, such as converting the 48V voltage provided by the network power supply into the 5V voltage required by the display.
The network power supply module and the system power supply module are both connected with the power supply isolation module, namely, the power supply isolation module can control the input voltage of the display to be switched from the voltage provided by the system power supply module to the voltage provided by the network power supply module, or control the input voltage of the display to be switched from the voltage provided by the network power supply module to the voltage provided by the system power supply module. MCU is connected with the power isolation module, and MCU can send the control command who generates to the power isolation module promptly, and control power isolation module switches the input voltage of display, and the MCU that corresponds still is connected with the relay, and MCU can control the closure and the opening of relay promptly to make the relay can control the operating condition of AC/DC converter.
In the example shown in fig. 3, the video module, the switch button, and the power isolation module are all connected to the MCU, and the video module is externally connected to the electronic device and can transmit video data to the electronic device. The switch key is a switch of the display, that is, the state of the display can be controlled by the switch key, for example, when the display normally works, the display can enter a standby state by pressing the switch key, and if the display can enter a shutdown state by pressing the switch key for a long time, the power consumption of the display is different in different states, that is, the power consumption of the display in the standby state or the shutdown state is smaller than that of the display in the normal working state. Therefore, when the switch key is connected with the MCU, the MCU can determine the power consumption state of the display by monitoring the state of the switch key, if the switch key is pressed down or the switch key is pressed for a long time when the display is monitored to work normally, the display is determined to be switched from the normal working state to the standby state or the power-off state, namely, the display is switched from a high power consumption state to a low power consumption state, at the moment, the MCU generates a control instruction to control the power isolation module to obtain the power supply voltage from the network power module, correspondingly, the MCU can also control the relay to be disconnected and close the alternating current power supply, the AC/DC converter and the system power supply module stop working at the moment, the power supply isolation module is not provided with power supply voltage any more, and the power supply voltage acquired through the network power supply module maintains the working of main chips on a display mainboard, such as the working of the MCU and the video module. If the display is in a standby state or a starting state, the MCU monitors that the switch key is pressed again, the display is judged to need to be awakened again, namely the display is expected to reach a normal working state, the MCU can generate a control instruction, the control power isolation module acquires power supply voltage from the system power module, the network power module is forbidden, correspondingly, the control relay is closed, the AC/DC converter and the system power module start to work, and power supply for the power isolation module is recovered.
The video module is connected with an external electronic device, so that the video module can perform data transmission with the electronic device. Because the video module is connected with the MCU, the MCU can determine whether to switch the power supply mode of the display by monitoring the data state in the video module, if the MCU monitors that the video module is switched to a non-data transmission state from a data transmission state, the display can be judged not to be in a normal working state at the moment, the MCU can generate a control instruction, the control power isolation module acquires power supply voltage from the network power module, correspondingly, the MCU can also control the relay to be disconnected, the alternating current power supply is closed, the AC/DC converter and the system power module stop working at the moment, the power supply voltage is no longer provided for the power isolation module, and the power supply voltage acquired by the network power module maintains the working of main chips on a mainboard of the display at the moment. If the MCU monitors that the video module is switched from a non-data transmission state to a data transmission state, the display is judged to be in a normal working state, the MCU generates a control instruction, the power isolation module is controlled to acquire power supply voltage from the system power module, the network power module is forbidden, correspondingly, the relay is controlled to be closed, the AC/DC converter and the system power module start to work, and power supply for the power isolation module is recovered. It should be noted that the power isolation module may also be connected to the video module, and since the power isolation module can know whether the network power module is output by voltage, that is, the power isolation module can determine whether the display is connected to the network, a status message connected to the network can be sent to the video module, so that the video module can determine whether network data can be transmitted.
The power isolation module is connected with the MCU and the network power module, so that the power isolation module can determine whether the power supply voltage provided by the network power module can be received, if the power supply voltage of the network power is not available, the disconnection of the network interface and the network switch can be further judged, namely, the display is not connected with a network system, and the power supply needs to be switched to the system power module for supplying power in order to ensure the running state of the display. Specifically, the MCU monitors the voltage provided by the network power supply module, if the voltage from no voltage to voltage is detected, the display can be determined to be switched to the state connected with the network system from the state not connected with the network system, the MCU can generate a control instruction, the control power supply isolation module acquires the power supply voltage from the network power supply module, correspondingly, the MCU also can control the relay to be disconnected, the alternating current power supply is closed, the AC/DC converter and the system power supply module stop working at the moment, the power supply isolation module does not provide the power supply voltage any more, and the power supply voltage acquired through the network power supply module maintains the working of the main chip on the display mainboard at the moment. Correspondingly, when the power isolation module monitors that the network power module is in a state from a state with power supply voltage to a state without power supply voltage, the state is sent to the MCU, the MCU can determine that the display is switched to a state which is not connected with the network system due to the network connection state, at the moment, no matter the network system is in abnormal power supply or the connection with the network system is switched, the power supply needs to be switched to the system power module for power supply, namely the MCU can generate a control instruction, the control power isolation module acquires the power supply voltage from the system power module, the network power module is forbidden, correspondingly, the control relay is closed, the AC/DC converter and the system power module start to work, and the power supply for the power isolation module is recovered.
In addition, MCU can also monitor the display screen of display, whether monitor the display screen and have data output, if monitor the display screen of display and switch over to not outputting the data state by the data output state, then MCU can generate control command, control power isolation module obtains supply voltage from network power module, it is corresponding, MCU still can control the relay disconnection, close alternating current power supply, the AC/DC converter this moment, system power module all stops working, no longer provide supply voltage for power isolation module, the supply voltage who obtains through network power module this moment maintains the work of the main chip on the display mainboard. Correspondingly, if the MCU monitors that the display screen of the display is switched from a data non-output state to a data output state, the MCU generates a control instruction, the power isolation module is controlled to acquire power supply voltage from the system power module, the network power module is forbidden, correspondingly, the relay is controlled to be closed, the AC/DC converter and the system power module start to work, and power supply for the power isolation module is recovered.
When the display is in a standby state or a power-off state, the alternating current power supply is disconnected, if the connection with the network system is disconnected at the moment, if a network cable is pulled out, or no network power supply supplies power for the display for other reasons, the relay can automatically connect the alternating current power supply, and the situation that the display cannot be started is avoided.
In the embodiment of the application, the functional equipment can be supplied with power through the network power supply of the network system, so that the functional equipment does not need to be supplied with power by using a power supply system in a specific state, and energy is saved. It should be noted that, this embodiment not only can determine whether to cut off the ac power supply based on the state of the display, i.e. to achieve the purpose of saving energy, but also can reduce the power consumption of the internal load in the network power supply mode. Referring to fig. 3, if the network power supply module is used to provide the power supply voltage for the display, the network power supply module is only required to provide the voltage conversion function, since the network system provides direct current, and no direct current conversion from alternating current is required. When the alternating current power supply supplies power, the AC/DC converter is required to complete alternating current to direct current, and the system power supply module is required to complete voltage conversion, so that compared with the network system power supply, the alternating current power supply also increases a load of the AC/DC converter, and the operation of the AC/DC converter consumes electric energy, so that the characteristics of the power supply circuit can be obtained, and the network power supply can reduce a part of load power to realize energy conservation.
In an embodiment of the present application, a handover method applied to a functional device is further provided, and referring to fig. 4, the handover method may include the following steps:
s301, acquiring state information of the functional equipment;
s302, switching power supply modes of the functional equipment based on the state information, wherein the power supply modes comprise a first power supply mode and a second power supply mode, and the functional equipment obtains electric energy from a first interface in the first power supply mode; in a second power supply mode, obtaining power from the second interface;
the first interface is used for being connected with a power supply system, and the second interface is used for being connected with a network system.
In one possible embodiment, the status information includes:
network state information of the second interface; or, information output status information; or power consumption state information of the functional device.
Optionally, the switching the power supply mode of the functional device based on the state information includes:
if the functional equipment is detected to be switched from first power consumption to second power consumption, switching the power supply mode from a first power supply mode to a second power supply mode, wherein the first power consumption is larger than the second power consumption;
alternatively, the first and second electrodes may be,
and if the functional equipment is detected to be switched from the data output state to the data non-output state, switching the power supply mode of the functional equipment from the first power supply mode to the second power supply mode.
Correspondingly, the switching the power supply mode of the functional device based on the state information includes: if the second interface is detected to be switched from the data transmission state to the non-data transmission state, switching the power supply mode of the functional equipment from the first power supply mode to the second power supply mode;
or, if it is detected that the second interface is switched from a state of not being connected with the network system to a state of being connected with the network system, switching the power supply mode of the functional device from the first power supply mode to the second power supply mode.
In one possible embodiment, the method further comprises:
input means for obtaining an input operation;
and detecting whether the input operation is used for switching the power consumption state of the functional equipment, and if so, switching the power supply mode of the functional equipment.
Optionally, the method further comprises:
if the second interface is disconnected with the network system when the functional equipment is in second power consumption, switching the functional equipment to a first power supply mode;
the first power consumption which can be supported by the first power supply mode of the functional equipment is larger than the second power consumption which can be supported by the second power supply mode.
The application discloses a switching method, which is used for acquiring state information of functional equipment; switching a power supply mode of the functional device based on the state information, wherein the power supply mode comprises a first power supply mode and a second power supply mode, and the functional device obtains power from a first interface in the first power supply mode; in a second power supply mode, obtaining power from the second interface; the first interface is used for being connected with a power supply system, and the second interface is used for being connected with a network system. The switching of the power supply of the functional equipment by the power supply system and the network system can be realized, the power supply requirements of the functional equipment in different states are ensured, if the power supply of the network system is adopted, the functional device of the equipment does not need to use an alternating current power supply, and the problem of energy waste is solved.
It should be noted that, in the present embodiment, reference may be made to the corresponding contents in the foregoing text for specific implementation of the handover method, and details are not described here.
The embodiments in the present description can be described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A functional device, comprising:
the first interface is used for being connected with a power supply system;
a second interface for connecting with a network system;
the third interface is used for being connected with a processing device and transmitting data between the functional device and the processing device;
functional means for generating or responding to said transmitted data;
processing means for switching a power supply mode of the functional device;
wherein the power supply mode comprises a first power supply mode and a second power supply mode, and the functional device obtains power from the first interface in the first power supply mode; in a second power mode, power is obtained from the second interface.
2. The functional apparatus according to claim 1, the functional device being an output device that can output data obtained from the third interface;
wherein the processing device is connected to the network system through the function device.
3. The functional device of claim 1, the processing means to detect whether state information of the functional device satisfies a handover condition;
wherein, if the switching condition is satisfied, the processing device is used for controlling the switching device to switch the power supply mode of the functional equipment.
4. The functional device of claim 3, the state information of the functional device comprising:
network state information of the second interface; or, output state information of the functional device; or power consumption state information of the functional device.
5. The functional device according to claim 4, wherein the processing device is configured to control the switching device to switch the power supply mode of the functional device from a first power supply mode to a second power supply mode if it is detected that the functional device switches from the first power consumption to the second power consumption, and the first power consumption is greater than the second power consumption;
alternatively, the first and second electrodes may be,
the processing device is further configured to control the switching device to switch the power supply mode of the functional device from the first power supply mode to the second power supply mode if it is detected that the functional device is switched from the data output state to the data non-output state.
6. The functional device according to claim 4, wherein the processing device is further configured to control the switching device to switch the power supply mode of the functional device from a first power supply mode to a second power supply mode if it is detected that the second interface is switched from a data transmission state to a no data transmission state;
or, if it is detected that the second interface is switched from a state of not being connected with the network system to a state of being connected with the network system, the switching device is controlled to switch the power supply mode of the functional device from the first power supply mode to the second power supply mode.
7. The functional apparatus of claim 4, further comprising:
input means for obtaining an input operation;
the processing device is further configured to detect whether the input operation is used to switch the power consumption state of the functional device, and if so, switch the power supply mode of the functional device.
8. The functional apparatus of claim 4, wherein,
the processing device is further configured to control the switching device to switch the functional device to a first power supply mode if the second interface is disconnected from the network system when the functional device is in a second power consumption state;
the first power consumption which can be supported by the first power supply mode of the functional equipment is larger than the second power consumption which can be supported by the second power supply mode.
9. The functional device of claim 3, further comprising:
a first power conversion device, a second power conversion device, the switching device and a switch device, wherein the first power conversion device and the second power conversion device are respectively connected with the switching device, the first power conversion device is respectively connected with the first interface and the processing device, the switching device is connected with the processing device, wherein,
the first power conversion device is used for converting a first voltage of the electric energy obtained from the first interface into a supply voltage required by the functional equipment;
the second power conversion device is used for converting a second voltage of the electric energy obtained from the second interface into a supply voltage required by the functional equipment;
the switching device is used for responding to a switching instruction of the processing device, and switching the power supply voltage of the functional equipment to be provided by the first power supply conversion device or the second power supply conversion device;
and the switching device is used for responding to a control instruction of the processing device and controlling the connection or disconnection between the first interface and the first power conversion device.
10. A switching method is applied to functional equipment, and comprises the following steps:
acquiring state information of the functional equipment;
switching a power supply mode of the functional device based on the state information, wherein the power supply mode comprises a first power supply mode and a second power supply mode, and the functional device obtains power from a first interface in the first power supply mode; in a second power supply mode, obtaining power from the second interface;
the first interface is used for being connected with a power supply system, and the second interface is used for being connected with a network system.
CN202110349669.1A 2021-03-31 2021-03-31 Function device and switching method Pending CN113050781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349669.1A CN113050781A (en) 2021-03-31 2021-03-31 Function device and switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349669.1A CN113050781A (en) 2021-03-31 2021-03-31 Function device and switching method

Publications (1)

Publication Number Publication Date
CN113050781A true CN113050781A (en) 2021-06-29

Family

ID=76516738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349669.1A Pending CN113050781A (en) 2021-03-31 2021-03-31 Function device and switching method

Country Status (1)

Country Link
CN (1) CN113050781A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196352A (en) * 2004-01-05 2005-07-21 Fuji Xerox Co Ltd Image processor
US20100257386A1 (en) * 2007-10-02 2010-10-07 Panasonic Corporation Electronic device and image processing apparatus
CN102624078A (en) * 2012-03-29 2012-08-01 上海恒劲动力科技有限公司 Power supplying switching method of direct current dual path input and device for implementing method
CN105353604A (en) * 2015-12-01 2016-02-24 清华大学 System and method for double-machine hot/cold backup autonomous switching control and information processing
CN105608035A (en) * 2015-12-25 2016-05-25 深圳罗马仕科技有限公司 Type-C USB hub
CN109450274A (en) * 2018-12-28 2019-03-08 联想(北京)有限公司 A kind of control method, device and electronic equipment
CN110413098A (en) * 2019-07-31 2019-11-05 联想(北京)有限公司 A kind of control method and device
CN110989822A (en) * 2019-11-27 2020-04-10 Tcl移动通信科技(宁波)有限公司 Sensor control method, sensor control device, storage medium and electronic equipment
CN111719957A (en) * 2020-07-15 2020-09-29 四川金网通电子科技有限公司 Network management non-contact electronic lock with power switching function

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196352A (en) * 2004-01-05 2005-07-21 Fuji Xerox Co Ltd Image processor
US20100257386A1 (en) * 2007-10-02 2010-10-07 Panasonic Corporation Electronic device and image processing apparatus
CN102624078A (en) * 2012-03-29 2012-08-01 上海恒劲动力科技有限公司 Power supplying switching method of direct current dual path input and device for implementing method
CN105353604A (en) * 2015-12-01 2016-02-24 清华大学 System and method for double-machine hot/cold backup autonomous switching control and information processing
CN105608035A (en) * 2015-12-25 2016-05-25 深圳罗马仕科技有限公司 Type-C USB hub
CN109450274A (en) * 2018-12-28 2019-03-08 联想(北京)有限公司 A kind of control method, device and electronic equipment
CN110413098A (en) * 2019-07-31 2019-11-05 联想(北京)有限公司 A kind of control method and device
CN110989822A (en) * 2019-11-27 2020-04-10 Tcl移动通信科技(宁波)有限公司 Sensor control method, sensor control device, storage medium and electronic equipment
CN111719957A (en) * 2020-07-15 2020-09-29 四川金网通电子科技有限公司 Network management non-contact electronic lock with power switching function

Similar Documents

Publication Publication Date Title
US6751561B2 (en) Power saving method and apparatus for a portable appliance
US8150539B2 (en) Information processing apparatus and method for controlling power supply of the apparatus
US8421277B2 (en) Switched mode power supply for an electronic device with auxiliary power for powering an evaluation unit during an energy-saving state
US8193663B2 (en) Information processing apparatus with multiple power receiving units
CN109728643B (en) Power receiving device, control method for power receiving device, and storage medium
JP2010108423A (en) Information processor
US20100185884A1 (en) Standby power saving system and computer power-on and power-off method thereof
CN210273593U (en) High-power supply circuit with low standby power consumption and LED display control system
JP2007026083A (en) Information processor
US8453012B2 (en) System and method for communicating information relating to powered device power interruption and associated power sourcing equipment fallback power
US7065664B2 (en) Power management for a PDA system
JP2004070785A (en) Serial bus connecting apparatus and driver software
CN108227900B (en) Electronic device, energy-saving control method, energy-saving device, and readable storage medium
CN113050781A (en) Function device and switching method
CN110928392A (en) Power supply control device and electronic apparatus
JP2003167654A (en) Uninterruptible power supply unit
CN115425716A (en) Electronic device
JPH09319475A (en) Power source control system-integrated computer
EP3419347B1 (en) Wireless control system
CN211349294U (en) Power supply control device and electronic apparatus
US9197777B2 (en) Image processing device and image processing unit including providing modes for supplying power to image processing units
CN109976490B (en) Power supply control method and electronic equipment
KR100303480B1 (en) Circuit and method for reserving power of display having usb board
KR200486844Y1 (en) Apparatus for controlling computer power using IoT
JP2016057788A (en) Image processing apparatus and control method of image processing apparatus

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