Intelligent socket, intelligent socket system, control method and storage medium
By introducing mains power and energy storage input interfaces into household sockets and utilizing intelligent management of switching switches and controllers, the problem of unstable power supply caused by grid outages has been solved, enabling flexible power selection and dynamic management, and improving the stability of electrical equipment and user experience.
Patent Information
- Application Number
- CN202511025580.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-23
- Publication Date
- 2025-10-31
AI Technical Summary
Existing household sockets cannot intelligently switch to backup power when the power grid fails, resulting in power loss for electrical equipment, poor power supply stability, and an inability to dynamically adjust according to user needs or changes in energy storage capacity, leading to resource waste and a poor user experience.
Design a smart socket with mains power and energy storage input interfaces. It enables flexible power selection through a switch and controller, automatically switches according to the operating conditions of the power input interface, and achieves dynamic power management by combining communication and control of electronic devices.
It improves the stability and continuity of electrical equipment, reduces resource waste, enhances user experience and energy efficiency, and meets the needs of different power consumption scenarios.
Smart Images

Figure CN120879290A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of socket technology, and in particular to a smart socket, a smart socket system, a control method, and a non-volatile computer-readable storage medium containing a computer program. Background Technology
[0002] Currently, many household sockets still rely on a single power grid for their input. When the power grid is interrupted, the electrical equipment connected to the socket will lose power, resulting in poor power supply stability. Summary of the Invention
[0003] The present invention provides a smart socket, a smart socket system, a control method, and a storage medium to solve at least one of the aforementioned technical problems.
[0004] Firstly, this application proposes a smart socket, comprising:
[0005] Multiple power input interfaces, including an AC power input interface and an energy storage input interface, wherein the AC power input interface is used to connect to AC power and the energy storage input interface is used to connect to a backup power source;
[0006] Power output interface;
[0007] A switching switch that can selectively activate the power output interface and any of the power input interfaces;
[0008] A controller configured to control the switching switch to activate the power output interface and the target power input interface, the target power input interface being determined based on the operating conditions of the objects connected to the plurality of power input interfaces.
[0009] Secondly, this application proposes a smart socket system, comprising:
[0010] Electronic devices; and
[0011] The smart socket described in any of the above embodiments is connected to the electronic device.
[0012] Thirdly, this application proposes a control method for the smart socket system described in any of the above embodiments, the method comprising:
[0013] In response to the switching command of the electronic device, the switching switch is controlled to turn on the power output interface and the target power input interface.
[0014] Fourthly, this application proposes a non-volatile computer-readable storage medium containing a computer program, which, when executed by a processor, causes the processor to perform the control method described in any of the above embodiments.
[0015] The smart socket, smart socket system, control method, and storage medium described in this application include multiple power input interfaces, a power output interface, a switch, and a controller. The multiple power input interfaces include a mains power input interface and an energy storage input interface. The mains power input interface is used to connect to mains power, and the energy storage input interface is used to connect to a backup power source. The smart socket can select to connect to different power sources, increasing connection flexibility and backup power selection. The switch can selectively activate the power output interface and any power input interface. The controller is configured to control the switch to activate the power output interface and the power input interface. The power input interfaces are determined based on the operating conditions of the objects connected to the multiple power input interfaces. Through the cooperation of the controller and the switch, the smart socket can adaptively adjust the power supply according to the operating conditions of the objects connected to the power input interfaces (e.g., current power demand, external power status, time period, power supply stability, etc.), autonomously connect the power output interface and the power input interface, meet the needs of different power usage scenarios, improve power stability and continuity, not only avoid power outages for electrical equipment but also improve energy efficiency, increase power usage flexibility, and provide a better user experience.
[0016] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0017] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0018] Figure 1 This is a schematic diagram of an application scenario of a smart socket according to one embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of the structure of a smart socket according to one embodiment of the present invention;
[0020] Figure 3 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0021] Figure 4 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0022] Figure 5 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0023] Figure 6 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0024] Figure 7This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0025] Figure 8 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0026] Figure 9 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0027] Figure 10 This is a flowchart illustrating a smart socket according to one embodiment of the present invention;
[0028] Figure 11 This is a schematic diagram of a charging control device according to certain embodiments of this application;
[0029] Figure 12 This is a schematic diagram illustrating the connection state of a non-volatile computer-readable storage medium and a processor in certain embodiments of this application.
[0030] Key component reference numerals:
[0031] 1000. Socket system; 100. Smart socket; 10. Power input interface; 11. Mains power input interface; 12. Energy storage input interface; 20. Power output interface; 30. Switch; 40. Controller; 41. Sampling unit; 42. Metering unit; 43. Display unit; 44. Communication unit; 45. Control unit; 200. Electronic equipment; 201. Terminal; 202. Server Detailed Implementation
[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0033] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0034] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a mechanical connection or an electrical connection. They can refer to a direct connection or an indirect connection through an intermediate medium, and they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in this invention can be understood according to the specific circumstances.
[0035] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0036] This disclosure provides many different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described herein. These are merely examples and are not intended to limit the invention. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. In addition, examples of various specific processes and materials are provided in this invention, but those skilled in the art will recognize the application of other processes and / or the use of other materials.
[0037] Before detailing the implementation methods of this application, related technologies will be further introduced.
[0038] In related technologies, with the popularization of smart homes and the development of new energy technologies, users' demand for the reliability of electrical equipment and the intelligence of energy management is increasing. More and more households or small business users are configuring energy storage devices, such as wall-mounted batteries, mobile energy storage boxes, and balcony energy storage.
[0039] Many household sockets still rely on a single power grid for their input. When the power grid is interrupted, the electrical equipment connected to the socket will lose power, resulting in poor power supply stability.
[0040] With the widespread application of energy storage devices, some sockets use these devices as power inputs to improve power stability. For example, in a socket design that can connect to an energy storage device, the socket has a mains input channel and an energy storage input channel. Although the socket can switch to the energy storage input channel in the event of a mains power failure to ensure the normal operation of the load, this typically uses a mechanical switch or relies solely on mains power failure as the switching criterion. In the event of a grid failure, the socket switches back to the energy storage power source. This switching is unidirectional and passive, unable to intelligently adjust according to the user's actual power demand or changes in the energy storage capacity. In other words, these sockets cannot make more reasonable power switching decisions based on the current operating condition of the energy storage device (e.g., current remaining power) and load demand, nor can they automatically and dynamically allocate and switch power according to load characteristics and power status. This limitation leads to resource waste, system instability, and a poor user experience.
[0041] In view of this, this application proposes a smart socket 100, a socket system 1000, and a control method. For example... Figure 1 As shown, the socket and socket system 1000 provided in this application can be applied to, for example... Figure 1 In the application scenario shown, the socket system 1000 includes a smart socket 100 and an electronic device 200. The electronic device 200 includes a terminal 201 and / or a server 202, which can be a smartphone, tablet, laptop, smart TV, wearable smart device, smart vehicle terminal, or other devices.
[0042] The smart socket 100 is connected to the electronic device 200. For example, they can communicate wirelessly (such as via Wireless Fidelity (Wi-Fi), Bluetooth, or infrared). It is understood that the communication between the smart socket 100 and the electronic device 200 is not limited to the above-mentioned methods, and no restrictions are imposed on them.
[0043] For example, when communicating via Wi-Fi, the smart socket 100 and the terminal 201 communicate with the server 202 respectively, and then the cloud server 202 realizes the communication between the smart socket 100 and the terminal 201; when communicating via Bluetooth or infrared, the smart socket 100 and the terminal 201 are each equipped with a corresponding communication module to directly realize the communication between the two.
[0044] Optionally, the electronic device 200 includes a display. The electronic device 200 can communicate with the smart socket 100 to obtain data transmitted by the smart socket 100. The electronic device 200 can also use its processing power to process the data, thereby realizing functions such as controlling the smart socket 100 (e.g., controlling the smart socket 100 to switch power input interfaces) and displaying relevant information about the smart socket 100 (e.g., which interface the smart socket 100 specifically uses for power input).
[0045] In some embodiments, the electronic device 200 may also include a server 202, which can communicate with the smart socket 100 via a network to receive information sent by the smart socket 100 and send a switching command to the smart socket 100 so that the controller 40 of the smart socket 100 controls the switching switch 30 to conduct the power output interface 20 and the power input interface.
[0046] Optionally, server 202 can be a standalone physical server 202, a server cluster or distributed system composed of multiple physical servers 202, or a cloud server 202400 that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. This application embodiment does not impose any limitations on this.
[0047] It should be noted that the control method can be implemented by at least one of the smart socket 100 and the electronic device 200, for example, by the controller 40 of the smart socket 100; or by the cooperation of the smart socket 100 and the electronic device 200.
[0048] The smart socket 100 of this application will now be described in detail. Please refer to [link / reference]. Figures 1 to 3 The smart socket 100 according to the embodiments of this application includes:
[0049] Multiple power input interfaces 10 are provided, which are used to connect to mains power or energy storage power.
[0050] Power output interface 20;
[0051] The switch 30 can selectively connect the power output interface 20 and any power input interface 10;
[0052] Controller 40 is configured to perform the following steps:
[0053] Step 011: Control the switching switch 30 to turn on the power output interface 20 and the power input interface. The power input interface is determined based on the operating conditions of the objects connected to the multiple power input interfaces 10.
[0054] The power input interface 10 can be a port of the smart socket 100 used to connect to an external power source.
[0055] Optionally, the multiple power input interfaces 10 include an AC power input interface 11 and an energy storage input interface 12, wherein the AC power input interface 11 is used to connect to AC power and the energy storage input interface 12 is used to connect to an energy storage power source.
[0056] The energy storage power source can be, for example, a photovoltaic energy storage device or an electric vehicle. For instance, the energy storage input interface 12 can be connected to the output of an electric vehicle.
[0057] Therefore, by setting multiple power input interfaces 10, which are connected to mains power or energy storage power, the smart socket 100 can choose to connect to different power sources, increasing the flexibility of connection and the selection of backup power.
[0058] The power output interface 20 can be a port where the smart socket 100 outputs electrical energy to the electrical equipment. The number of power input interfaces 10 can be adapted to meet power demand.
[0059] The switch 30 is used to connect the power input interface 10 and the power output interface 20. By setting the switch 30, the connection between the power output interface 20 and the power input interface 10 can be changed, thereby enabling the smart socket 100 to flexibly select the power input source.
[0060] The controller 40 can be connected to and control the switch 30 to switch the power input interface 10 via the IO interface.
[0061] Optionally, the controller 40 can be a microcontroller unit (MCU) (a microcomputer chip that integrates multiple functions such as a central processing unit (CPU), memory, and input / output (I / O) interfaces), a digital signal processor (DSP) (a controller 40 for digital signal processing), etc. For ease of explanation, this embodiment of the application uses an MCU as an example for description.
[0062] Optionally, the controller 40 includes a sampling unit 41, which is connected to each power input interface 10 to collect the electrical parameters of each power input interface 10. The controller 40 is configured to determine whether the mains power or energy storage power supply has lost power based on a preset power failure detection algorithm and electrical parameters.
[0063] Among them, the power failure detection algorithm can determine whether each power input interface 10 has lost power by analyzing the electrical parameters (current, voltage and frequency, etc.) of each power input interface 10 collected in real time. Its detection and judgment are usually in the millisecond level.
[0064] The sampling unit 41 can be connected to each power input interface 10 and acquire the electrical parameters (e.g., current, voltage, frequency, etc.) of each power input interface 10. Through the electrical parameters acquired in real time by the sampling unit 41, the controller 40 can determine whether the power supply of each power input interface 10 is connected and whether the power supply is stable.
[0065] The sampling unit 41 monitors the status of each power input interface 10 and uses a power failure detection algorithm to determine whether each power input interface 10 has lost power. When the connected power input interface loses power, the power input interface is re-determined and switched. The judgment and switching time is usually around 10 milliseconds (ms). The switching process does not cause the load to lose power, thus improving the reliability of power supply.
[0066] Optionally, the controller 40 includes a metering unit 42, which is used to count the input and output electrical energy of each power input interface 10 after the smart socket 100 is powered on.
[0067] The input electrical energy can be the power from an external power source (mains power and energy storage power) entering the smart socket 100, and the output electrical energy can be the electrical energy supplied to the electrical equipment through the smart socket 100.
[0068] By setting up the metering unit 42, the input and output power of each power input interface 10 can be monitored in real time, which not only ensures the effective supply of power, but also allows for detailed recording and analysis of power consumption.
[0069] Optionally, the controller 40 includes a display unit 43, which is used to display at least one of the power input interface currently connected to the smart socket 100, the input power and output power of each power input interface 10.
[0070] The display unit 43 can be a display screen, such as a liquid crystal display (LCD). For example, it can sequentially number each power input interface 10. Through the display unit 43, the user can intuitively see the number of the target power input connected to the smart socket 100. For another example, the display screen can also display the input and output power statistics of the metering unit 42 so that the user can connect to the power consumption status.
[0071] Optionally, the display unit 43 can be an interactive display screen, through which users can customize the power input interface, thereby improving the ease of use of the smart socket 100.
[0072] Optionally, the controller 40 includes a communication unit 44, which is used to communicate with the energy storage power source to obtain the status parameters of the energy storage power source; and / or, the communication unit 44 is used to communicate with the electronic device 200 to transmit at least one of the status parameters of the energy storage power source, the connection status of the power supply input interface 10, and the number of times the power supply input interface 10 has been switched.
[0073] The status parameters include at least one of voltage, current, and remaining charge.
[0074] For example, the smart socket 100 can obtain the remaining power of the energy storage power source through the communication unit 44 and transmit the remaining power to the electronic device 200 (taking terminal 201 as an example). The user can obtain the information of the remaining power of the energy storage power source through the application (APP) set on the terminal 201.
[0075] The smart socket 100 can also transmit the input and output power of each power input interface 10 collected by the metering unit 42 to the APP or cloud platform in real time through the communication unit 44 to display to the user, further improving the ease of use of the smart socket 100.
[0076] Specifically, the smart socket 100 includes multiple power input interfaces 10, which are used to connect to mains power or energy storage power. The smart socket 100 can connect to different power interfaces and flexibly select the power source to supply power to the electrical equipment connected to the power output interface 20. The switch 30 can selectively turn on the power input interface and transmit power to the power output interface 20 according to the instructions of the controller 40 (such as the control unit 45), ensuring that the smart socket 100 can automatically switch different power input interfaces 10 as needed, thereby improving the intelligence of power management. The controller 40 can analyze the operating conditions of the objects connected to the multiple power input interfaces 10, such as whether the objects connected to each power input interface 10 are powered off, whether the energy storage power connected to the power input interface 10 has sufficient power, and the current time period, to determine the power input interface and control the switch 30 to turn on the power output interface 20 and the power input interface.
[0077] For example, if the mains power input interface is mains power, and the mains power fails or the mains power load is too large, resulting in poor power supply stability, the controller 40 can re-determine the mains power input interface to the mains power input interface 10 connected to the energy storage power source, and control the switching switch 30 to switch. For another example, the controller 40 can switch different mains power input interfaces in different time periods according to the time period set by the user.
[0078] Thus, the smart socket 100 includes multiple power input interfaces 10, power output interfaces 20, a switch 30, and a controller 40. The switch 30 can selectively activate the power output interface 20 and any power input interface 10. The controller 40 is configured to control the switch 30 to activate the power output interface 20 and the power input interface. The power input interface is determined based on the operating conditions of the objects connected to the multiple power input interfaces 10. Through the cooperation of the controller 40 and the switch 30, the smart socket 100 can adaptively adjust the power supply according to the operating conditions of the objects connected to the power input interfaces 10 (e.g., current power demand, external power status, time period, power supply stability, etc.), and autonomously connect the power output interface 20 and the power input interface to meet the needs of different power usage scenarios, improve power stability and continuity, not only avoid power outages of electrical equipment, but also improve energy efficiency, provide greater power flexibility, and enhance the user experience.
[0079] Please see Figure 4 In some implementations, the controller 40 may also perform the following steps:
[0080] Step 012: When the electrical parameters of the mains input interface 11 are 0, determine that the energy storage input interface 12 is the power supply input interface.
[0081] Specifically, the smart socket 100 can determine whether to power on when either mains power or energy storage power is connected to any power input interface 10, and determine the power input interface after power-on. For example, taking the controller 40's operation mode of prioritizing mains power in response to user settings as an example, the smart socket 100 can prioritize connecting to mains power. If the sampling unit 41 detects that the electrical parameters of the mains power input interface 11 are 0, it can be considered that the mains power has failed, and the energy storage input interface 12 connected to the energy storage power supply can be determined as the power input interface. This makes the load power supply more stable and avoids equipment restarts or damage when the mains power is unstable or the power supply alternates, thereby improving the stability and reliability of the power supply.
[0082] Please see Figure 5 In some implementations, the controller 40 may also perform the following steps:
[0083] Step 013: In the first time period, determine that the mains power input interface 11 is the power supply input interface;
[0084] Step 014: In the second time period, determine that the energy storage input interface 12 is the power supply input interface, wherein the electricity price in the first time period is lower than the electricity price in the second time period.
[0085] The electricity price in the first time period is lower than that in the second time period. The specific times of the first and second time periods can be adaptively set according to the peak-valley electricity price time stipulated by the power company in the user's location.
[0086] Specifically, during the first time period, due to the lower electricity price, the smart socket 100 can prioritize the mains power input interface 11 as the power input interface, allowing users to use mains power at a lower price, thereby reducing electricity costs. During the second time period, due to the relatively higher electricity price, the smart socket 100 can switch to the energy storage input interface 12 as the power input interface, allowing the energy storage power supply to provide power to the electrical equipment. This not only avoids the extra costs caused by peak electricity prices and reduces electricity costs, but also achieves "peak shaving and valley filling" and reduces the burden on the power grid.
[0087] Please see Figure 6 In some implementations, step 014: In the second time period, determining that the energy storage input interface 12 is a power supply input interface includes:
[0088] Step 0141: If the remaining available capacity of the energy storage power supply corresponding to the energy storage input interface 12 is less than the first preset available capacity, determine the mains input interface 11 as the power supply input interface.
[0089] The first preset available capacity can be, for example, 20%, 25%, 30%, 35%, etc.
[0090] Specifically, during the second time period, if the remaining available capacity of the energy storage power supply connected to the energy storage input interface 12 is less than the first preset available capacity, it can be considered that the remaining power of the energy storage power supply is insufficient to meet the power demand. In order to avoid the energy storage power supply being depleted and causing power supply instability, the smart socket 100 can monitor the remaining available capacity of the energy storage power supply through the communication unit 44 or the sampling unit 41. When the remaining available capacity of the energy storage power supply is less than the first preset available capacity, the switching switch 30 is controlled to switch back to the mains input interface 11 to ensure that the stable operation of the electrical equipment is not affected by the low power of the energy storage power supply, thereby further improving the utilization efficiency of the energy storage power supply and the stability of the power supply of the smart socket 100.
[0091] Please see Figure 7 In some implementations, the energy storage input interface 12 includes multiple interfaces, and the controller 40 may also perform the following steps:
[0092] Step 0121: Obtain the remaining available capacity of the energy storage power supplies connected to the multiple energy storage input interfaces 12 respectively;
[0093] Step 0122: The energy storage input interface 12 connected to the energy storage power source with the largest remaining available capacity is identified as the power supply input interface.
[0094] Specifically, the controller 40 can obtain the remaining available capacity of each energy storage power source through the communication unit 44, and then determine the energy storage input interface 12 connected to the energy storage power source with the largest remaining available capacity as the power supply input interface; or, after obtaining the remaining available capacity of each energy storage power source through the communication unit 44, the controller 40 can transmit the remaining available capacity of each energy storage power source to the electronic device 200 through the communication unit 44. The electronic device 200 analyzes each remaining available capacity (for example, sorting each remaining available capacity from smallest to largest or from largest to smallest), and then determines the energy storage input interface 12 connected to the energy storage power source with the largest remaining available capacity as the power supply input interface. The controller 40 then controls the switching switch 30 to turn on in response to the power supply input interface determined by the electronic device 200. In this way, not only can power outages be effectively avoided, but energy efficiency can also be improved, the capacity of the energy storage power source can be utilized to the maximum extent, dependence on mains power can be reduced, and electricity costs can be reduced.
[0095] Please see Figure 8 In some implementations, controller 40 is also configured to perform the following steps:
[0096] Step 015: If the remaining available capacity of the energy storage power supply connected to the power supply input interface is less than the second preset available capacity, re-enter the step of obtaining the remaining available capacity of the energy storage power supplies connected to the multiple energy storage input interfaces 12 respectively.
[0097] The second preset available capacity can be, for example, 20%, 25%, 30%, 35%, etc.
[0098] Specifically, if the remaining available capacity of the energy storage power supply is less than the second preset available capacity after the energy storage power supply has been discharged for a period of time, the process can be restarted to obtain the remaining available capacity of the energy storage power supplies connected to the multiple energy storage input interfaces 12 respectively, so as to achieve continuous power supply and avoid power outage.
[0099] Please see Figure 9 In some implementations, controller 40 is also configured to perform the following steps:
[0100] Step 016: When the remaining available capacity of the energy storage power supply is less than the third preset available capacity, the control smart socket 100 and / or the electronic device 200 connected to the smart socket 100 shall issue a prompt message.
[0101] The third preset available capacity can be, for example, 20%, 25%, 30%, 35%, etc.
[0102] The prompt message can be used to inform the user that the remaining power of the energy storage power source connected to the power input interface is insufficient to support the load, and the power input interface will be re-identified and switched.
[0103] Specifically, when the remaining available capacity of the energy storage power supply is less than the third preset available capacity, while controlling the switching switch 30 to switch the power input interface, it can also issue prompts such as sound, light, text (e.g., SMS, APP push), vibration, etc., to remind the user that the power input interface has changed and the energy storage power supply is low and needs to be charged in time, thereby improving the reliability of the smart socket 100.
[0104] Please see Figure 10 This application also proposes a control method that can be used in any of the above-described embodiments of the smart socket 100, the method comprising:
[0105] Step 021: In response to the switching command of the electronic device 200, control the switching switch 30 to turn on the power output interface 20 and the power input interface.
[0106] Specifically, the setting and determination of the target input power supply interface can be determined by electronic device 200. Electronic device 200 sends a switching command to smart socket 100. Controller 40 responds to the switching command by controlling switch 30 to connect power output interface 20 and power input interface. Through the interaction between electronic device 200 and smart socket 100, the power input interface connected to smart socket 100 is precisely controlled, realizing fast and reliable switching between multiple energy storage input interfaces 12, improving power flexibility and ensuring stable power demand of electrical equipment.
[0107] Please see Figure 11 To facilitate better implementation of the control method of the embodiments of this application, the embodiments of this application also provide a control device 300. The control device 300 is used for a smart socket. The smart socket includes multiple power input interfaces for connecting to mains power or energy storage power; a power output interface; a switch that can selectively turn on the power output interface and any power input interface; and a controller configured to control the switch to turn on the power output interface and the target power input interface. The target power input interface is determined based on the operating conditions of the objects connected to the multiple power input interfaces. The control device 300 includes a control module 301 for controlling the switch to turn on the power output interface and the target power input interface in response to a switching command from an electronic device.
[0108] The device has been described above from the perspective of functional modules with reference to the accompanying drawings. These functional modules can be implemented in hardware, in software instructions, or in a combination of hardware and software modules. Specifically, the steps of the method embodiments in this application can be completed by the integrated logic circuits in the processor's hardware and / or by software instructions. The steps of the method disclosed in the embodiments of this application can be directly manifested as being executed by a hardware encoding processor, or by a combination of hardware and software modules in the encoding processor. Optionally, the software module can be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory, and the processor reads the information in the memory and completes the steps in the above method embodiments in conjunction with its hardware.
[0109] This application also provides a computer program product, including a computer program that includes instructions for the control method of any of the above embodiments, which will not be described in detail here for the sake of brevity.
[0110] Please see Figure 12 This application also provides a computer-readable storage medium 600 storing a computer program 610. When the computer program 610 is executed by the processor 620, it implements the steps of the control method of any of the above embodiments. For the sake of brevity, these steps will not be repeated here.
[0111] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0112] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims
1. A smart socket, characterized in that, include: Multiple power input interfaces, including mains power input interfaces and energy storage input interfaces, wherein the mains power input interfaces are used to connect to mains power and the energy storage input interfaces are used to connect to backup power. Power output interface; A switching switch that can selectively activate the power output interface and any of the power input interfaces; A controller configured to control the switching switch to activate the power output interface and the target power input interface, the target power input interface being determined based on the operating conditions of the objects connected to the plurality of power input interfaces.
2. The smart socket according to claim 1, characterized in that, The target power input interface is determined based on the operating conditions of the objects to which the multiple power input interfaces are connected, including: When the electrical parameters of the mains input interface are 0, the energy storage input interface is determined to be the target power supply input interface.
3. The smart socket according to claim 1, characterized in that, The target power input interface is determined based on the operating conditions of the objects to which the multiple power input interfaces are connected, including: In the first time period, the mains power input interface is determined to be the target power input interface; In the second time period, the energy storage input interface is determined as the target power supply input interface, wherein the electricity price in the first time period is lower than the electricity price in the second time period.
4. The smart socket according to claim 3, characterized in that, In the second time period, determining the energy storage input interface as the target power supply input interface includes: If the remaining available capacity of the energy storage power supply corresponding to the energy storage input interface is less than the first preset available capacity, the mains input interface is determined to be the target power supply input interface.
5. The smart socket according to claim 2 or 3, characterized in that, The energy storage input interface includes multiple interfaces, and determining the energy storage input interface as the target power supply input interface includes: Obtain the remaining available capacity of the energy storage power supplies connected to the multiple energy storage input interfaces respectively; The energy storage input interface connected to the energy storage power source with the largest remaining available capacity is determined as the target power supply input interface.
6. The smart socket according to claim 5, characterized in that, The controller is also configured to, if the remaining available capacity of the energy storage power supply connected to the target power supply input interface is less than a second preset available capacity, re-enter the step of obtaining the remaining available capacity of the energy storage power supplies connected to the plurality of energy storage input interfaces respectively.
7. The smart socket according to claim 1, characterized in that, The controller is also configured to, when the remaining available capacity of the energy storage power supply is less than a third preset available capacity, control the smart socket and / or the electronic device connected to the smart socket to issue a prompt message.
8. The smart socket according to claim 1, characterized in that, The controller includes a sampling unit, which is connected to each of the power supply input interfaces to collect electrical parameters of each power supply input interface. The controller is configured to determine whether the mains power or the energy storage power supply has lost power based on a preset power failure detection algorithm and the electrical parameters.
9. The smart socket according to claim 1 or 8, characterized in that, The controller includes a metering unit, which is used to count the input and output electrical energy of each power supply input interface after the smart socket is powered on.
10. The smart socket according to claim 1 or 9, characterized in that, The controller includes a display unit, which is used to display at least one of the target power input interface currently connected to the smart socket, the input power and the output power of each power input interface.
11. The smart socket according to claim 1, characterized in that, The controller includes a communication unit for communicating with the energy storage power source to obtain the status parameters of the energy storage power source; and / or, the communication unit is configured to communicate with an electronic device to transmit at least one of the status parameters of the energy storage power source, the connection status of the power supply input interface, and the number of times the power supply input interface has been switched.
12. A smart socket system, characterized in that, include: Electronic devices; and The smart socket according to any one of claims 1-11, wherein the smart socket is connected to the electronic device.
13. A control method, characterized in that, The method for the smart socket system of claim 12 includes: In response to a switching command from an electronic device, the switching switch is controlled to connect the power output interface and the target power input interface.
14. A non-volatile computer-readable storage medium comprising a computer program, which, when executed by a processor, causes the processor to perform the control method of claim 13.
Citation Information
Patent Citations
Multi-path power supply control method, device and system and readable medium
CN110912222A
Battery switching method and device of electronic equipment, electronic equipment and medium
CN114142548A
Power supply control method, system and device for power transmission line monitoring equipment
CN114678855A
Power grid user side energy consumption management system and control method thereof
CN117353454A
Double-power-supply automatic shifting circuit of embedded device with standby storage battery
CN201750208U
Cited By
Intelligent welding control method and system under multi-element electricity hybrid power supply scene
CN121289832A
Welding control method and system under multi-element electricity hybrid power supply scene
CN121289833A