Socket, socket abnormality detection method, circuit, and storage medium

By combining a pressure sensor and a power detection unit in the socket, a comprehensive judgment of socket abnormalities is made, solving the problem of socket sleeves becoming loose due to repeated plugging and unplugging, and achieving highly accurate and reliable socket abnormality detection.

CN122118475APending Publication Date: 2026-05-29NINGBO GONEO ELECTRIC APPLIANCE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGBO GONEO ELECTRIC APPLIANCE CO LTD
Filing Date
2024-11-27
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Repeated insertion and removal can weaken the elasticity or tightness of the socket's internal sleeve, causing the load plug to loosen, affecting the normal operation of the load, or even causing damage. Existing technology is not effective in detecting socket abnormalities.

Method used

Pressure detection and power detection components are installed in the socket. By combining pressure sensors and an electronic control board, abnormal conditions of the socket can be comprehensively judged, including pressure detection results and power supply, and abnormal status can be displayed using indicator lights.

Benefits of technology

It improves the accuracy of socket anomaly detection, avoids misjudgment based on single-dimensional data, enhances the reliability and service life of sockets, and improves maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122118475A_ABST
    Figure CN122118475A_ABST
Patent Text Reader

Abstract

The application discloses a socket, a socket anomaly detection method, a circuit and a storage medium, and relates to the technical field of computers, wherein the socket comprises a panel, a socket body and a pressure detection assembly; the panel is provided with a butt joint through hole; the socket body comprises a pressing plate, a socket assembly and an electric control board, the socket assembly and the electric control board are electrically connected, the pressing plate is located between the panel and the socket assembly, and the pressing plate is provided with a middle through hole corresponding to the butt joint through hole; the pressure detection assembly comprises a detection component and a pressure sensor, the detection component is fixed on the pressing plate, the pressure sensor is connected to the electric control board and is connected to the detection component, and when the panel is pressed, the detection component abuts against the panel. The pressure sensor can perceive the pressure data currently received by the panel, and the pressure data can reflect the tightness between the load plug and the socket, thereby providing an important basis for judging whether the socket socket is abnormal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a socket, a socket anomaly detection method, a circuit, and a storage medium. Background Technology

[0002] A power outlet is an electrical device that provides a power interface for various loads (such as electrical appliances). After the load plug is inserted into the socket, the outlet connects the load to the power source, allowing the load to operate under the power supply.

[0003] In related technologies, when the frequency of socket use increases, the elasticity or tightness of the socket's internal sleeve gradually weakens after repeated insertion and removal, resulting in an unstable connection between the plug and the socket, and the plug becoming loose after being inserted into the socket.

[0004] If a load plug comes loose after being inserted into a socket, it will affect the normal operation of the load connected to the socket, and may even cause damage to the load. Therefore, detecting abnormalities in the socket socket is an urgent problem to be solved. Summary of the Invention

[0005] This application provides a socket, a socket anomaly detection method, a circuit, and a storage medium. The technical solution is as follows:

[0006] On one hand, a socket is provided, the socket comprising: a panel, a socket body, and a pressure detection component;

[0007] The panel has a through hole;

[0008] The socket body includes a pressure plate, a socket assembly, and an electrical control board. The socket assembly and the electrical control board are electrically connected. The pressure plate is located between the panel and the socket assembly. The pressure plate has a central through hole corresponding to the mating through hole.

[0009] The pressure detection assembly includes a detection component and a pressure sensor. The detection component is fixed on the pressure plate, and the pressure sensor is connected to the electronic control board and connected to the detection component. When the panel is pressed, the detection component abuts against the panel.

[0010] In some embodiments, the pressure sensor includes: a pressure plate and a transmission rod; the pressure plate has a first opening; the pressure plate and the first end of the transmission rod are fixedly connected; the rod body of the transmission rod is located on the side of the pressure plate facing the panel, and the second end of the transmission rod passes through the first opening and is connected to the electronic control board.

[0011] In some embodiments, the pressure plate has a raised base, the raised surface of which faces the panel; the detection component is fixed to the raised surface of the raised base.

[0012] In some embodiments, the socket further includes: an indicator light; the panel has a second opening; the indicator light is fixed to the socket body, and the light-emitting side of the indicator light faces the second opening.

[0013] In some embodiments, the indicator light includes: a lamp body and a pin; the lamp body is located on the side of the pressure plate facing the panel; the lamp body is fixedly connected to a first end of the pin; the second end of the pin passes through the pressure plate and is electrically connected to the electronic control board.

[0014] On the other hand, a socket anomaly detection method is provided, the method comprising:

[0015] Obtain the pressure detection result of the socket, the pressure detection result being used to indicate the pressure exerted on the surface of the socket;

[0016] Obtain the power detection result of the socket, which is used to indicate the current power supply of the socket;

[0017] The abnormality detection result of the socket is determined based on the pressure detection result and the power detection result;

[0018] The anomaly detection results are presented in the form of the target representation.

[0019] On the other hand, a socket malfunction detection circuit is provided, wherein the socket malfunction detection circuit is disposed in any of the sockets described above, and the circuit includes:

[0020] A pressure detection unit is used to acquire the pressure detection result of the socket, and the pressure detection result is used to indicate the pressure on the surface of the socket.

[0021] A power detection unit is used to acquire the power detection result of the socket, and the power detection result is used to indicate the current power supply of the socket;

[0022] The controller unit is configured to determine the abnormality detection result of the socket based on the pressure detection result and the power detection result; and to represent the abnormality detection result in a target representation form.

[0023] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement any of the socket anomaly detection methods described above.

[0024] In some embodiments, the computer device includes the socket.

[0025] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement any of the socket anomaly detection methods described above.

[0026] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the socket anomaly detection methods described above.

[0027] The beneficial effects of the technical solutions provided in this application include at least the following:

[0028] The socket provided in this application has a detection component fixed on the pressure plate of the socket body, and a pressure sensor connected to the electrical control board of the socket body. During the process of the load plug being inserted into the middle through hole on the pressure plate through the mating through hole on the socket panel and finally inserted into the socket sleeve assembly, the panel is squeezed due to the insertion of the load plug, which causes the panel to apply pressure to the detection component fixed on the pressure plate. This pressure is transmitted to the pressure sensor through the detection component. The pressure sensor can sense the pressure data currently received by the panel. This pressure data can reflect the tightness between the load plug and the socket sleeve, providing an important basis for subsequent judgment on whether there is any abnormality in the socket sleeve.

[0029] The socket anomaly detection method provided in this application determines whether there is an anomaly by detecting two dimensions of data: pressure data on the socket surface (i.e., pressure data received on the socket panel) and power supply. This avoids misjudgments that may occur when using only one dimension of data (such as pressure data or power supply). For example, if only pressure data is used for judgment, a faulty pressure sensor may display 0 when a load plug is inserted into the socket, leading to a false judgment that no load is connected to the socket and thus that the socket is not abnormal. In this application, however, both pressure data and power supply are used to detect socket anomalies, covering as many possible causes of socket anomalies as possible and improving the accuracy of socket anomaly detection. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 This is a schematic diagram of the structure of a socket provided in an exemplary embodiment of this application;

[0032] Figure 2 This is a schematic diagram of the structure of a socket provided in another exemplary embodiment of this application;

[0033] Figure 3 This is a schematic diagram of the structure of a socket provided in another exemplary embodiment of this application;

[0034] Figure 4 This is a schematic diagram of the structure of a socket system provided in another exemplary embodiment of this application;

[0035] Figure 5 This is a schematic diagram of the structure of an electronic control board provided in an exemplary embodiment of this application;

[0036] Figure 6 This is a flowchart of a socket anomaly detection method provided in an exemplary embodiment of this application;

[0037] Figure 7 This is an overall flowchart of a socket anomaly detection method provided in an exemplary embodiment of this application;

[0038] Figure 8 This is a circuit diagram provided in an exemplary embodiment of this application;

[0039] Figure 9 This is a structural block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0041] In this application, the terms "first" and "second" are used to distinguish between identical or similar items that have essentially the same function. It should be understood that there is no logical or temporal dependency between "first" and "second", nor is there any limitation on the quantity or execution order.

[0042] This application provides a socket, please refer to... Figure 1 and Figure 2 , Figure 1 This is a schematic diagram of the structure of a socket provided in an embodiment of this application. Figure 2 This is a schematic diagram of another socket provided in an embodiment of this application. The socket 000 may include: a panel 100, a socket body 200, and a pressure detection component 300.

[0043] The panel 100 in the socket 000 has a mating through hole O1. The mating through hole O1 refers to the socket on the panel 100 for inserting a load plug. Optionally, the panel 100 may have one or more mating through holes O1. The socket type indicated by the mating through hole O1 includes, but is not limited to: two-prong socket, three-prong socket, USB socket, Type-C socket, etc. Figure 1 The diagram shows a panel 100 with a three-prong plug, a USB port, and a Type-C port. The number of ports on the panel 100 can be more or less, and the port type can also be other types, which are not limited here.

[0044] like Figure 2 As shown, the socket body 200 includes a pressure plate 201, a socket assembly 202 and an electrical control board 203. The pressure plate 201 is located between the panel 100 and the socket assembly 202, and the pressure plate 201 has an intermediate through hole O2 corresponding to the mating through hole O1.

[0045] The central through hole O2 refers to the socket on the pressure plate 201, used for inserting the load plug. The central through hole O2 corresponds one-to-one with the mating through hole O1; that is, if the mating through hole O1 is a three-prong socket, then the central through hole O2 is also a three-prong socket. The socket assembly 202 has a socket M corresponding to the central through hole O2. The socket M is used for electrical connection with the load plug. The socket M corresponds one-to-one with the central through hole O2; that is, if the central through hole O2 is a three-prong socket, the corresponding socket M is a three-prong socket. The three-prong socket is used for electrical connection with the load plug having three prongs. Illustratively, when the socket 000 is connected to power, after the load plug is inserted through the mating through hole O1 into the central through hole O2 and then into the socket M, the socket body 200 can connect the circuit between the load and the power supply, allowing the load to operate under the power supply.

[0046] The socket assembly 202 and the control board 203 are electrically connected. The control board 203 is an electronic component used to control the socket 000. The control board 203 can receive, process, and send various electrical signals to ensure the normal operation and safe use of the socket. For example, the control board 203 can implement the socket anomaly detection method proposed in this application.

[0047] The electrical connection between the socket assembly 202 and the electronic control board 203 means that an electrical path is established between them through a conductive material, allowing current to flow between them. Optionally, the electrical connection in this application can be a direct physical contact, such as a connection through a metal wire, metal pin, or conductive sheet; or it can be indirect, such as through electromagnetic coupling.

[0048] The pressure detection assembly 300 includes a detection component 301 and a pressure sensor 302. The detection component 301 is fixed on the pressure plate 201, and the pressure sensor 302 is connected to the electronic control board 203 and connected to the detection component 301. When the panel 100 is pressed, the detection component 301 abuts against the panel 100.

[0049] Indicatively, when the load plug is inserted into the intermediate through hole O2 through the mating through hole O1 and then into the socket M, the panel 100 is pressed. This external force is transmitted through the panel 100 to the pressure plate 201, causing the detection component 301 fixed on the pressure plate 201 to abut against the panel 100.

[0050] Optionally, the detection component 301 may be implemented as at least one of an elastomer comprising an elastic material (such as silicone, rubber, or a spring), a strain gauge made of a metal or semiconductor material, etc. The pressure sensor 302 may be implemented as at least one of a resistive pressure sensor, a piezoelectric pressure sensor, a capacitive pressure sensor, etc. No limitation is made here.

[0051] In some embodiments, the socket 000 further includes an indicator light 400. Indicatively, the indicator light 400 may be implemented as a light-emitting diode (LED) or the like.

[0052] The panel 100 has a second opening O4, and the indicator light 400 is fixed to the socket body 200, with the light-emitting side of the indicator light 400 facing the second opening O4. The light emitted by the indicator light 400 can be emitted to the outside through the second opening O4 of the panel 100, and the user can observe the display status of the indicator light 400 through the second opening O4 of the panel 100.

[0053] Optionally, the indicator light 400 is used to indicate the current abnormal condition of the socket. The display status of the indicator light 400 is different when the socket is abnormal and when the socket is working normally. For example, when the socket is abnormal, the indicator light 400 displays red, and when the socket is working normally, the indicator light 400 displays green.

[0054] It should be noted that in this embodiment, the number of indicator lights in the socket 000 can be one or more. For example, a first indicator light and a second indicator light can be provided in the socket 000. When the socket malfunctions, the first indicator light is red and the second indicator light is green, indicating a fault in the power detection unit or pressure detection unit inside the socket; the first indicator light is green and the second indicator light is red, indicating a contact abnormality between the socket socket and the load plug inserted into the socket. When the socket is working normally, both the first and second indicator lights are green. Alternatively, the first indicator light corresponds to the first socket in the socket 000, and the second indicator light corresponds to the second socket in the socket 000. The first indicator light being red indicates a contact abnormality between the first socket and the load plug inserted into the first socket, and the second indicator light being red indicates a contact abnormality between the second socket and the load plug inserted into the second socket, etc., without limitation. The following mainly uses the setting of one indicator light as an example for explanation.

[0055] In summary, the socket provided in this application embodiment has a detection component fixed on the pressure plate of the socket body and a pressure sensor connected to the electrical control board of the socket body. During the process of the load plug being inserted into the middle through hole on the pressure plate through the mating through hole on the socket panel and finally inserted into the socket sleeve assembly, the panel is squeezed due to the insertion of the load plug, causing the panel to apply pressure to the detection component fixed on the pressure plate. This pressure is transmitted to the pressure sensor through the detection component. The pressure sensor can sense the pressure data currently received by the panel. This pressure data can reflect the tightness between the load plug and the socket sleeve, providing an important basis for subsequent judgment of whether there is an abnormality in the socket sleeve.

[0056] In addition, in this embodiment, the pressure detection component is mainly installed on the pressure plate. By detecting the pressure on the surface of the socket, it reflects the clamping force of the socket sleeve. The pressure detection component is far away from the spring in the sleeve, thereby avoiding the arcing phenomenon caused by the moment of plugging and unplugging under load and reducing the risk of damage to the components in the socket.

[0057] In some embodiments, the socket is also equipped with an indicator light, which is exposed through an opening on the panel to indicate whether the socket is malfunctioning. The indicator light allows users to intuitively understand the socket's working status. Furthermore, the indicator light helps maintenance personnel quickly determine whether the socket requires repair. In public places such as hospitals, train stations, and high-speed rail stations, where there are many sockets, the indicator light eliminates the need for maintenance personnel to check each socket individually, thus improving their work efficiency.

[0058] In some embodiments, please refer to Figure 3 , Figure 3 This is a schematic diagram of another socket provided in an embodiment of this application. The pressure sensor 302 includes: a pressure plate 3021 and a transmission rod 3022.

[0059] The pressure plate 201 has a first opening O3, the pressure plate 3021 and the first end of the transmission rod 3022 are fixedly connected, the rod body of the transmission rod 3022 is located on the side of the pressure plate 201 facing the panel 100, and the second end of the transmission rod 3022 passes through the first opening O3 and is connected to the electronic control board 203.

[0060] The pressure plate 3021 can directly contact the detection component 301 (when the panel 100 is pressed, the detection component 301 abuts against the panel 100 and transmits pressure), and can receive the pressure signal from the detection component 301 more accurately. Because the pressure plate 3021 has a certain area, it can sense the pressure distribution more evenly, avoiding measurement errors caused by local pressure concentration, thus making the pressure transmission more accurate. In addition, the pressure plate 3021 and the first end of the transmission rod 3022 are fixedly connected, so that the pressure received by the pressure plate 3021 can be effectively transmitted to the transmission rod 3022, ensuring that there is no force dispersion or loss during the pressure transmission process, and ensuring that the pressure signal is transmitted to the electronic control board 203 along the transmission rod 3022 in a relatively complete state.

[0061] In some embodiments, the detection component 301 is implemented as an elastomer comprising an elastic material (such as silicone, rubber, or a spring).

[0062] Optionally, the detection component 301 consists of a fixing member 3011 and a spring 3012, wherein the fixing member 3011 is fixed on the pressure plate 201, the first end of the spring 3012 is connected to the fixing member 3011, and the second end of the spring 3012 is connected to the pressure sensor 302, such as the second end of the spring 3012 being connected to the pressure plate 3021 of the pressure sensor 302.

[0063] Schematic illustration: When panel 100 is pressed, pressure plate 201 further transmits external force to fixing member 3011. Upon receiving the external force, fixing member 3011 applies pressure to the connected spring 3012, causing spring 3012 to compress and deform. The degree of compression of spring 3012 is directly related to the magnitude of the external force; the greater the external force, the greater the compression of spring 3012. As spring 3012 compresses, it transmits this force to the connected pressure sensor 302. Upon receiving the force from spring 3012, pressure sensor 302 detects the pressure according to its working principle and converts it into a corresponding electrical signal. For example, if it is a strain gauge pressure sensor, when subjected to the force from spring 3012, the strain gauge inside will change its resistance value due to the deformation of the sensor's elastic element. The change in resistance value is converted into a voltage signal by a matching circuit, which reflects the magnitude of the applied pressure. Optionally, the pressure sensor 302 sends the voltage signal to the controller unit in the electronic control board 203. The controller unit determines the pressure detection result based on the voltage signal, and then further determines whether there is an abnormality in the socket by combining the power detection result.

[0064] Optionally, the pressure plate 201 has a raised base 2011, with the raised surface of the raised base 2011 facing the panel 100; the detection component 301 is fixed on the raised surface of the raised base 2011.

[0065] When the panel 100 is pressed, the panel 100 will squeeze the raised surface of the raised base 2011, thereby causing the detection component 301 fixed on the raised base 2011 to squeeze the pressure sensor. Since the detection component 301 is located on the raised surface, compared with the pressure plate directly mounted on the flat surface, the pressure transmission path is more concentrated, making the detection component 301 more sensitive to pressure changes, reducing the signal ambiguity or delay caused by pressure dispersion, thereby improving the sensitivity and accuracy of the entire pressure detection component in sensing pressure changes and transmitting signals.

[0066] In some embodiments, the raised base 2011 has a mounting member 20111, which is a through member with a receiving cavity, and the detection member 301 is fixed in the receiving cavity of the mounting member 20111.

[0067] Optionally, the mounting component 20111 has an inlet and an outlet, with the inlet of the mounting component 20111 facing the panel 100 and the outlet of the mounting component 20111 facing the socket assembly 202. Figure 3As shown, the inner side of the mounting component 20111 includes a mounting groove H and an opening K. The pressure plate 3021 of the pressure sensor 302 is placed on the outlet side of the mounting component 20111. The pressure plate 3021 and the first end of the transmission rod 3022 of the pressure sensor 302 are fixedly connected. The second end of the transmission rod 3022 passes through the opening K and the first opening O3 and is connected to the electronic control board 203. The rod body of the transmission rod 3022 is located on the side of the pressure plate 201 facing the panel 100. The spring 3012 is located in the receiving cavity of the mounting component 20111, and the second end of the spring 3012 is connected to the pressure plate 3021 of the pressure sensor 302. The fixing component 3011 has a mounting protrusion T. The fixing component 3011 enters the receiving cavity of the mounting component 20111 from the inlet of the mounting component 20111. The mounting protrusion T is connected to the mounting groove H so that the fixing component 3011 is fixed in the receiving cavity of the mounting component 20111. The first end of the spring 3012 is connected to the fixing member 3011. Optionally, the number of mounting grooves H on the inner side of the mounting member 20111 can be one or more, and correspondingly, the number of mounting protrusions T on the fixing member 3011 can be one or more, with the mounting grooves H and mounting protrusions connected in a one-to-one correspondence.

[0068] In some embodiments, the indicator light 400 includes a lamp body 401 and a pin 402.

[0069] The lamp body 401 is located on the side of the pressure plate 201 facing the panel 100, and the lamp body 401 is exposed through the first opening O3; the lamp body 401 is fixedly connected to the first end of the pin 402; the second end of the pin 402 passes through the pressure plate 201 and is electrically connected to the electronic control board 203.

[0070] Indicatively, the control board 203 can send a signal to the lamp body 401 via pin 402 to make it display accordingly. For example, when the socket 000 is in normal working condition, the control board 203 can send a signal to the lamp body 401 via pin 402 to make the lamp body 401 light up green, indicating that the socket is working normally. When an abnormality is detected in the socket, the control board 203 can change the signal to make the lamp body 401 light up red or flash, reminding the user that there is a problem with the socket.

[0071] In some embodiments, please refer to Figure 4 , Figure 4 This is a schematic diagram of another socket provided in an embodiment of this application. The socket 000 also includes: a mounting bracket 500 and a bottom shell assembly 600, wherein the bottom shell assembly 600 includes a receiving cavity with an opening facing the panel 100, and the receiving cavity is used to receive the socket body 200 so that the socket body 200 is connected to the bottom shell assembly 600.

[0072] The mounting bracket 500 is located between the panel 100 and the bottom shell assembly 600. The first side of the mounting bracket 500 is used to connect the panel 100, and the second side of the mounting bracket 500 is used to connect the bottom shell assembly 600, thereby connecting the panel 100 and the bottom shell assembly 600.

[0073] During the production and assembly of socket 000, mounting bracket 500 provides a clear positioning reference for the installation of panel 100 and base assembly 600. Workers can first connect the base assembly 600 and socket body 200, then connect the mounting bracket 500 and base assembly 600, and finally connect the mounting bracket 500 to panel 100, thus completing the assembly of socket 000. The socket body 200 is located within the receiving cavity of the base assembly 600, thereby protecting the electrical components within the socket body 200, such as the socket sleeve assembly 202 and the control board 203, from corrosion, short circuits, and other damage, ensuring the normal operation and service life of the socket.

[0074] This is an illustrative example, referring to the electrical control board 203 in the socket. Figure 5 , Figure 5 It shows a schematic diagram of a socket system provided in an embodiment of this application.

[0075] An illustrative example, the socket system includes:

[0076] (1) Controller Unit 501

[0077] The controller unit 501 is located on the electrical control board 203 of the socket and is the core component of the electrical control board 203. It is responsible for the control and coordination of the entire socket system. It receives signals from various units, processes them, and sends control signals to other units according to preset rules and procedures to realize the various functions of the socket.

[0078] The controller unit 501 is typically a microcontroller unit (MCU) or a microprocessor unit (MPU). Internally, the controller unit 501 usually includes basic components such as a central processing unit (CPU) and memory (including program memory and data memory). The program memory stores pre-written control programs. When a signal is received, the CPU reads the corresponding program from the program memory and executes it. For example, the pressure detection unit 502 sends a pressure signal to the controller unit 501, and the power detection unit 503 sends a power signal to the controller unit 501. Based on the pressure and power signals, the controller unit 501 determines the abnormal detection result of the socket and thus decides to send a lighting control signal to the indicator light unit 504.

[0079] (2) Pressure detection unit 502

[0080] The pressure detection unit 502 is primarily responsible for detecting pressure changes on the socket panel. Optionally, the pressure detection unit 502 includes a pressure sensor (i.e., the pressure sensor 302 in the aforementioned socket 000). When a plug is inserted into the socket, the socket panel is subjected to pressure, which is transmitted to the pressure sensor. The pressure sensor generates a corresponding electrical signal based on the magnitude of the applied pressure. For example, a strain gauge pressure sensor may be used. When pressure is applied, the resistance of the strain gauge changes, and the change in resistance is converted into a voltage signal by a matching circuit. This voltage signal represents the pressure magnitude and is sent to the controller unit 501 for further processing.

[0081] (3) Power detection unit 503

[0082] The power detection unit 503 is used to measure the power of the load connected to the socket. Illustratively, the power detection unit 503 calculates the power by measuring voltage and current, converts the measured power into a power signal, and sends this power signal to the controller unit 501 for further processing.

[0083] (4) Indicator light unit 504

[0084] The indicator light unit 504 is primarily used to provide visual status cues to the user, mainly indicating whether the socket is malfunctioning. Illustratively, the indicator light unit 504 includes one or more indicator lights (such as LEDs). The controller unit 501 determines the lighting control signal to send to the indicator light unit 504 based on signals obtained from the pressure detection unit 502 and the power detection unit 503. For example, when the socket is in normal working condition, the controller unit 501 can control the indicator light in the indicator light unit 504 to display green, indicating that the socket is working properly; when the socket is malfunctioning, the controller unit 501 can control the indicator light in the indicator light unit 504 to display red, alerting the user to a problem with the socket.

[0085] (5) Button unit 505

[0086] The button unit 505 provides users with an interface to interact with the socket. Users can set various functions of the socket by pressing different buttons, such as long-pressing a button to reset the indicator light display status.

[0087] Schematic illustration: The button unit 505 includes one or more buttons, which are connected to the controller unit 501 via circuitry. When a user presses a button, an electrical signal change is generated, and this signal is sent to the controller unit 501. The controller unit 501 identifies which button the user pressed according to a pre-programmed button function processing program and performs the corresponding operation.

[0088] (6) Power supply unit 506

[0089] The power supply unit 506 is mainly responsible for providing a stable power supply to other units on the electronic control board 203.

[0090] The socket anomaly detection method provided in this application is described below.

[0091] Figure 6 This is a flowchart of a socket anomaly detection method provided in an embodiment of this application. Taking the application of this method to any of the sockets described above as an example, the method includes the following steps 610 to 640.

[0092] Step 610: Obtain the pressure test results of the socket.

[0093] The pressure test results are used to indicate the pressure exerted on the socket surface. Optionally, please refer to... Figure 5 The pressure detection result refers to the pressure exerted on the surface of the socket panel 100. Indicatively, when the load plug is inserted into the socket, it applies a certain force to the panel 100; this force is the pressure detection result. The greater the force exerted by the load plug on the panel 100 when the load plug is inserted (i.e., the greater the pressure value indicated by the pressure detection result), the greater the clamping force between the load plug and the socket (the plug into which the load plug is inserted). In other words, the pressure detection result reflects the tightness between the load plug and the socket. This pressure detection result refers to the detection result obtained by the controller unit from the pressure sensing unit, which includes the pressure sensor 302 in the aforementioned socket. The pressure value collected by the pressure sensor 302 is used as the pressure detection result.

[0094] In some embodiments, pressure detection results are acquired at preset time intervals. For example, assuming a preset time interval of 1 second, the controller unit acquires the pressure value collected by the pressure sensing unit every second as the pressure detection result.

[0095] Optionally, the pressure detection result refers to the pressure value collected at the end of a preset time interval. For example, taking a preset time interval of 1 second as an illustration, starting from second 0, if the pressure value collected by the pressure sensing unit at second 1 is 'a', then 'a' is the pressure detection result. Alternatively, the pressure detection result refers to the pressure value determined based on the pressure values ​​continuously collected within the preset time interval. For example, if the pressure values ​​collected by the pressure sensing unit from 0 to 1 second are a1, a2, and a3, then the average of a1, a2, and a3, or the maximum value among a1, a2, and a3, is taken as the pressure detection result.

[0096] Step 620: Obtain the power detection result of the socket.

[0097] The power detection result is used to indicate the current power supply of the socket. Illustratively, the power supply refers to the electrical power provided by the socket to the plugged-in load, reflecting the current actual power consumption of the plugged-in load. This power detection result refers to the detection result obtained by the controller unit from the power detection unit in the electrical control board 203.

[0098] In some embodiments, after obtaining the pressure detection result at a preset time interval, the power detection result of the socket is obtained in real time. For example, taking a preset time interval of 1 second as an illustration, timing starts from second 0. After obtaining the pressure value collected by the pressure sensing unit at second 1, the real-time power value detected by the power detection unit is obtained as the power detection result.

[0099] Step 630: Based on the pressure detection results and power detection results, control the socket to determine the abnormal detection results of the socket.

[0100] As an illustration, after obtaining the pressure test results and power test results, it is possible to determine whether there is any abnormality in the socket based on the pressure test results and power test results, thereby obtaining the abnormality test results.

[0101] Among them, the abnormal detection results include at least one of the following results: (1) there is no abnormality in the socket; (2) the pressure detection unit in the socket is faulty; (3) the power detection unit in the socket is faulty; (4) there is abnormal contact between the socket sleeve and the load plug inserted into the socket sleeve.

[0102] The specific details of determining the abnormal detection results of the socket based on the pressure detection results and power detection results will be explained in conjunction with step 640, and will not be elaborated here.

[0103] Step 640: Present the anomaly detection results in the target representation format.

[0104] Optionally, the target representation refers to the form that characterizes the anomaly detection result, and the target representation includes at least one of the following forms:

[0105] (1) The target display format is used to indicate the abnormal detection results through the indicator light in the socket.

[0106] (2) The target representation is used to indicate that the anomaly detection results should be sent to the control center connected to the socket.

[0107] The control center can be a client terminal device with a control application installed. This application controls and manages the sockets. Optionally, anomaly detection results can be transmitted to the control center in real time via wired or wireless means (such as Wi-Fi or Bluetooth) so that relevant personnel can perform timely maintenance and management. Alternatively, the control center can be a user's mobile device with a smart home application installed, allowing users to view the socket's operating status through the application.

[0108] (3) The target representation is used to indicate the abnormal detection results expressed by sound signals.

[0109] Optionally, an audible alarm device can also be installed in the socket to emit a specific sound (such as a buzzer) to alert the user when an anomaly is detected.

[0110] The examples of target display forms mentioned above are merely illustrative and are not intended to limit the scope of the discussion. The following explanation will focus on the example of using target display forms to indicate abnormal detection results via indicator lights in a socket.

[0111] Optionally, the abnormal detection results and the display of the indicator lights can be explained based on the specific circumstances of the pressure detection results.

[0112] (i) The pressure test results meet the requirements of the first pressure value.

[0113] The first pressure value requirement indicates that the surface of the socket is not under pressure. Indicatively, meeting the first pressure value requirement means that the pressure value indicated by the pressure detection result is less than or equal to the first pressure value, where the first pressure value is a preset threshold used to distinguish whether the surface of the socket is under pressure. If the pressure value indicated by the pressure detection result is less than or equal to the first pressure value, it is determined that the surface of the socket is not under pressure.

[0114] Optionally, the first pressure value can be set to 0 or a small pressure value. When the first pressure value is set to a small pressure value, the pressure sensor may generate a tiny non-zero signal due to its own accuracy limitations or environmental interference (such as temperature changes, electromagnetic interference, etc.) when the socket surface is not subjected to external pressure. For example, in the absence of external force, a very small pressure reading may be output due to internal circuit noise or slight mechanical vibration. To avoid misinterpreting these tiny pressure values ​​caused by errors as pressure being applied to the socket surface, the first pressure value can be set to a small pressure value slightly larger than the sensor's error range.

[0115] In some embodiments, if the pressure detection result meets the first pressure value requirement and the power detection result meets the first power value requirement, the indicator light in the control socket displays in a first display state.

[0116] The first power value indicates that the socket is currently consuming power, and the first display status indicates that at least one of the pressure detection unit or power detection unit in the socket is faulty. Illustratively, the first display status represents a first abnormality detection result, which means that at least one of the pressure detection unit or power detection unit in the socket is faulty.

[0117] The pressure sensing unit is used to acquire pressure detection results, and the power detection unit is used to acquire power detection results.

[0118] Optionally, meeting the first power value requirement means that the power value indicated by the power detection result is greater than or equal to the preset power value, wherein the preset power value is used to determine whether a working load (such as electrical equipment) is connected to the current socket. If the power value indicated by the power detection result is greater than or equal to the preset power value, it is determined that a working load is connected to the current socket.

[0119] The pressure detection results meet the first pressure value requirement, indicating that the socket surface is not under pressure, meaning the pressure detection results indicate that there is currently no load connected to the socket. The power detection results meet the first power value requirement, indicating that there is currently a working load connected to the socket, meaning the power detection results indicate that there is currently a load connected to the socket. This is obviously contradictory, indicating that at least one of the pressure detection unit or the power detection unit is faulty.

[0120] After determining that at least one of the pressure detection unit or power detection unit is faulty, the controller unit generates a first control signal. The first control signal is used to control the indicator light in the socket to display in a first display state. The first display state may be to display the indicator light with a first preset lighting effect, which includes lighting effects such as light color and light flashing. For example, the indicator light is controlled to display a red light to warn the user that there is an abnormality in the socket.

[0121] In some embodiments, if the pressure detection result meets the first pressure value requirement and the power detection result does not meet the first power value requirement, the indicator light in the control socket displays in a second display state.

[0122] The second display status indicates that the socket is not malfunctioning. This is illustrative; the second display status represents the result of a second anomaly detection, which means the socket is not malfunctioning.

[0123] Optionally, not meeting the first power value requirement means that the power value indicated by the power detection result is less than the preset power value. If the power value indicated by the power detection result is less than the preset power value, it is determined that no load is connected to the current socket.

[0124] The pressure test results meet the first pressure value requirement, indicating that the socket surface is not under pressure. In other words, the pressure test results indicate that there is currently no load connected to the socket. The power test results do not meet the first power value requirement, indicating that there is currently no load connected to the socket. In other words, the power test results indicate that there is currently no load connected to the socket. The dual tests confirm that there is currently no load connected to the socket, and the socket is not abnormal.

[0125] If the current socket is confirmed to be functioning normally, the controller unit generates a second control signal. This second control signal controls the indicator light in the socket to display in a second display state. The second display state can be a second preset lighting effect, which includes light color, flashing, and other effects. For example, the indicator light might display a green light to indicate to the user that the socket is operating normally. The first and second preset lighting effects are different.

[0126] (ii) The pressure test results meet the requirements of the second pressure value.

[0127] The second pressure value requirement indicates that the socket surface is subjected to pressure that is less than a preset pressure value. Indicatively, meeting the second pressure value requirement means that the pressure reading from the pressure test result is greater than the first pressure value but less than the preset pressure value. The preset pressure value is greater than the first pressure value.

[0128] In some embodiments, if the pressure detection result meets the second pressure value requirement and the power detection result meets the second power value requirement, the indicator light in the control socket displays in a third display state.

[0129] The second power value indicates that the socket has no power consumption or that the power change of the socket meets the preset change requirements. The third display status indicates that there is an abnormal contact between the socket socket and the load plug inserted into the socket. Illustratively, the third display status represents the third abnormality detection result, which indicates that there is an abnormal contact between the socket socket and the load plug inserted into the socket.

[0130] In this context, "no power consumption in the socket" means that the power value indicated by the power detection result is less than the preset power value. For illustrative purposes, the preset power value can be set to 0 or a small power value (such as 5). "Power variation in the socket meets the preset variation requirements" means that the power value indicated by the power detection result is one of multiple power values ​​collected within a historical time period. The number of target power value pairs among these multiple power values ​​is greater than or equal to a preset number. A target power value pair refers to two consecutively collected power values ​​whose rate of change is greater than a preset rate. In other words, when the number of rapid power changes in the socket within a historical time period is greater than or equal to a preset number, the power variation in the socket is determined to meet the preset variation requirements.

[0131] Optionally, the preset pressure value refers to the pressure value corresponding to the preset socket clamping force. The preset socket clamping force refers to the lower limit value of the socket clamping force under normal working conditions. When the socket clamping force is less than the preset socket clamping force, it indicates that the socket may become loose.

[0132] The pressure test results above meet the second pressure value requirement, indicating that the pressure on the socket surface is less than the preset pressure value. The pressure on the socket surface is positively correlated with the clamping force of the socket sleeve. The preset pressure value corresponds to the preset clamping force of the socket sleeve. That is to say, the clamping force of the socket sleeve in this case may be less than the preset clamping force of the socket sleeve. At this time, the following two aspects need to be determined based on the power test results: (1) whether the power value indicated by the power test results is less than the preset power value; (2) whether the power change of the socket meets the preset change requirements. When the power value indicated by the power test results is less than the preset power value, it indicates that there is an abnormal contact between the socket sleeve and the load plug inserted into the socket sleeve, that is, there is a loose socket sleeve. When the power value indicated by the power test results is greater than or equal to the preset power value, it is further determined whether the power change of the socket meets the preset change requirements. If it does, it indicates that there is an abnormal contact between the socket sleeve and the load plug inserted into the socket sleeve, that is, there is a loose socket sleeve.

[0133] When an abnormal contact is confirmed between the socket and the load plug inserted into the socket, the controller unit generates a third control signal. The third control signal is used to control the indicator light in the socket to display in a third display state. The third display state can be to display the indicator light with a third preset lighting effect, which includes light color, light flashing, etc. Optionally, the first display state and the third display state can be the same or different. For example, the indicator light is controlled to display a red light to warn the user that there is an abnormality in the socket.

[0134] In some embodiments, if the pressure detection result meets the second pressure value requirement and the power detection result does not meet the second power value requirement, the indicator light in the control socket displays in a second display state.

[0135] The second display status indicates that the socket is not malfunctioning.

[0136] The pressure test results above meet the second pressure value requirement, indicating that the pressure on the socket surface is less than the preset pressure value. The pressure on the socket surface is positively correlated with the clamping force of the socket sleeve. The preset pressure value corresponds to the preset clamping force of the socket sleeve. That is to say, the clamping force of the socket sleeve in this case may be less than the preset clamping force of the socket sleeve. At this time, the following two aspects need to be determined based on the power test results: (1) whether the power value indicated by the power test results is less than the preset power value; (2) whether the power change of the socket meets the preset change requirements. When the power value indicated by the power test results is greater than or equal to the preset power value, it is further determined whether the power change of the socket meets the preset change requirements. If it does not meet the requirements, it indicates that there is no abnormal contact between the socket sleeve and the load plug inserted into the socket sleeve. At this time, there is no abnormality in the socket.

[0137] If it is confirmed that there is no abnormality in the current socket, the controller unit generates a second control signal, which is used to control the indicator light in the socket to display in a second display state.

[0138] Optionally, if the pressure detection result meets the second pressure value requirement, but the power detection result does not meet the second power value requirement, the pressure value indicated by the current pressure detection result is updated to a preset pressure value. This updated preset pressure value can be used the next time an abnormal detection result is determined.

[0139] (iii) The pressure test results meet the requirements of the third pressure value.

[0140] The third pressure value requirement indicates that the surface of the socket is subjected to pressure, and the pressure value is greater than the preset pressure value.

[0141] Indicatively, meeting the third pressure value requirement means that the pressure value indicated by the pressure test result is greater than the preset pressure value.

[0142] In some embodiments, if the pressure detection result meets the third pressure value requirement and the power detection result meets the third power value requirement, the indicator light in the control socket displays in a first display state.

[0143] The third power value requirement indicates that the socket is not consuming power. The first display status indicates that at least one of the pressure sensing component or the power sensing component in the socket is faulty. The pressure sensing unit is used to acquire the pressure detection result, and the power sensing unit is used to acquire the power detection result.

[0144] Optionally, meeting the third power value requirement means that the power value indicated by the power detection result is less than the preset power value, where the preset power value is used to determine whether a working load (such as electrical equipment) is connected to the current socket. If the power value indicated by the power detection result is less than the preset power value, it is determined that no working load is connected to the current socket.

[0145] The pressure test results meet the third pressure value requirement. The pressure value indicated by the pressure test results is greater than the preset pressure value, indicating that the socket surface is under pressure. In other words, the pressure test results indicate that a load is currently connected to the socket. The pressure on the socket surface is positively correlated with the clamping force of the socket sleeve. The preset pressure value corresponds to the preset clamping force of the socket sleeve. That is to say, at this time, the clamping force of the socket sleeve is greater than the preset clamping force. Then, it is necessary to determine whether the power value indicated by the power test results is less than the preset power value. If it is less, it means that no working load is currently connected to the socket. In other words, the power test results indicate that no load is currently connected to the socket. Obviously, this is a contradiction, indicating that at least one of the pressure detection unit or the power detection unit is faulty.

[0146] After determining that at least one of the pressure detection unit or power detection unit is faulty, the controller unit generates a first control signal, which is used to control the indicator light in the socket to display in a first display state.

[0147] In some embodiments, if the pressure detection result meets the third pressure value requirement and the power detection result does not meet the third power value requirement, the indicator light in the control socket displays in a second display state.

[0148] The second display status indicates that the socket is not malfunctioning.

[0149] Optionally, not meeting the third power value requirement means that the power value indicated by the power detection result is greater than or equal to the preset power value. If the power value indicated by the power detection result is greater than or equal to the preset power value, it is determined that there is a load connected in the current socket.

[0150] The pressure test results meet the third pressure value requirement, indicating that the socket surface is under pressure. In other words, the pressure test results indicate that a load is currently connected to the socket. The power test results do not meet the third power value requirement, indicating that a load is currently connected to the socket. In other words, the power test results indicate that a load is currently connected to the socket. The dual tests confirm that there is no abnormality in the current socket.

[0151] If it is confirmed that there is no abnormality in the current socket, the controller unit generates a second control signal, which is used to control the indicator light in the socket to display in a second display state.

[0152] In the above embodiments, the controller unit stores the number of load accesses. When a socket is detected to be free of abnormalities, the load access count is decremented by 1, and the load access count stored in the controller unit is updated to (load access count - 1). When the number of load accesses stored in the controller unit is less than or equal to a threshold (which can be set to 0 or a small value), the controller unit controls the indicator light in the socket to display in a fourth display state. The fourth display state can be to display the indicator light with a fourth preset lighting effect, which includes light color, light flashing, etc. Optionally, the first display state and the fourth display state can be the same or different. For example, the indicator light can be controlled to display a red light to warn the user that the socket is abnormal.

[0153] In some embodiments, the socket includes multiple sockets to accommodate the aforementioned preset pressure value.

[0154] Optionally, if the pressure detection result indicates that the socket surface is under pressure, a target socket is determined among multiple sockets. The target socket is used to indicate the socket into which the loaded plug is inserted. A preset pressure value is determined based on the target preset pressure value corresponding to the target socket.

[0155] The socket includes multiple sockets, each of which may be used to insert a load plug. To more precisely control the safety performance of each socket, an independent preset pressure value can be set for each socket. When pressure is applied to the socket surface, the socket system first determines which socket (or sockets) is under pressure, and then makes a judgment and takes action based on the target preset pressure value corresponding to that socket (or sockets).

[0156] In a schematic representation, a microswitch is installed in a socket. This microswitch determines which socket has a load plug inserted. When pressure detection indicates pressure on the socket surface, the microswitch identifies the target socket among multiple sockets as the one with the load plug inserted. The microswitch layout corresponds to each socket. For example, a microswitch is placed near a specific location on each socket; when a load plug is inserted, the corresponding microswitch is triggered. After receiving the pressure detection result and determining that there is pressure on the socket surface, the socket system scans the state of each microswitch. If the state of a microswitch changes (from open to closed or vice versa), the socket corresponding to that microswitch is identified as the target socket, i.e., the one with the load plug inserted.

[0157] Optionally, the target preset pressure value corresponding to the target socket can be determined as the preset pressure value.

[0158] Indicatively, each socket is assigned a target preset pressure value. This value, determined based on the socket's type, intended use, and extensive experimental data, is stored in the socket's control board's storage unit and associated with the corresponding socket number. Once a target socket is identified, its corresponding target preset pressure value is directly set as the current preset pressure value used for pressure detection and judgment.

[0159] Alternatively, obtain the hardness and friction parameters of the load plug inserted into the target socket; adjust the target preset pressure value according to the hardness and friction parameters to obtain the preset pressure value.

[0160] In a schematic representation, a socket integrates simple sensors to measure hardness parameters, such as a tiny pressure sensor and a test head with known hardness. When the plug is inserted, the test head contacts the plug, and the plug's hardness parameter is calculated using a certain physical formula based on the pressure sensor reading and the deformation of the test head. For friction parameters, they can be estimated indirectly by placing a tiny friction sensor inside the socket or by utilizing the change in current when the socket contacts the plug (because friction affects contact resistance and thus the current).

[0161] After obtaining the hardness and friction parameters, the target preset pressure value is adjusted according to a pre-set algorithm. For illustration, when the load plug has a high hardness, the pressure exerted by the plug on the socket surface may be relatively low under the same clamping force of the socket, because a harder plug is less prone to deformation and cannot fit the socket well, resulting in lower pressure transmission efficiency. Therefore, if the hardness parameter is high, the target preset pressure value needs to be appropriately increased. If the friction between the load plug and the socket is high, it indicates that the socket has a good clamping effect on the plug. In this case, even if the clamping force of the socket is slightly lower, the plug is not easily loosened, and the stability of the socket surface pressure will be better. Therefore, the target preset pressure value can be appropriately reduced.

[0162] For illustrative purposes, assume the target preset pressure value is P0, the hardness parameter is H, and the friction parameter is F. The preset pressure value can be determined using the following formula (actual situations may be more complex):

[0163] P = P0 + k1 × (H - H0) - k2 (F - F0)

[0164] Where P is the preset pressure value obtained after adjustment, H0 is the reference hardness parameter, F0 is the reference friction parameter, and k1 and k2 are preset adjustment coefficients.

[0165] By comprehensively considering the hardness and friction parameters of the load plug, the target preset pressure value is reasonably adjusted to obtain a preset pressure value that corresponds to the lower limit of the clamping force under normal working conditions of the socket, which is more in line with the actual situation.

[0166] In summary, the socket anomaly detection method provided in this application determines whether there is an anomaly in the socket by detecting two dimensions of data: pressure data on the socket surface (i.e., pressure data received on the socket panel) and power supply. This avoids misjudgments that may occur when using only one dimension of data (such as pressure data or power supply) for socket anomaly detection. For example, if only pressure data is used for judgment, when the pressure sensor malfunctions, it may display 0 when a load plug is inserted into the socket, leading to a false judgment that no load is connected to the socket, thus determining that the socket is not abnormal. However, in this application, pressure data and power supply are combined for socket anomaly detection, covering as many situations as possible that may cause socket anomalies, thereby improving the accuracy of socket anomaly detection.

[0167] Schematic illustration, using the example of the first and third display state indicator lights being red and the second display state indicator light being green, to explain the overall flow of the anomaly detection method provided in this application embodiment. Please refer to [link / reference]. Figure 7 The process includes the following steps:

[0168] Step 1: Connect the power cord to the socket.

[0169] When the socket is powered on, its internal detection circuits and functional modules begin to initialize and prepare for operation.

[0170] Step 2: Compare the real-time pressure value with the preset pressure value.

[0171] The electrical control board in the socket includes a pressure detection unit that can monitor the pressure exerted on the socket surface in real time. This real-time pressure value is compared with a preset pressure value. The preset pressure value is a pressure limit set in advance based on the socket's design standards, normal usage scenarios, and safety requirements, used to differentiate the impact of different pressure conditions on the socket's state. In some embodiments, the preset pressure value is obtained from a clamping force relationship lookup table, which records the relationship between the pressure between the plug and the socket and the clamping force of the socket sleeve.

[0172] To illustrate, the clamping force of the socket sleeve refers to the clamping force of the spring contacts inside the socket sleeve. This clamping force determines the pressure between the socket surface and the power plug; the greater the clamping force, the greater the pressure between the socket and the power plug. During the product development phase, extensive testing was conducted to determine the relationship between the two. When the socket is used for the first time, the preset pressure value corresponding to the clamping force in the clamping force relationship table is read as the preset pressure value for the current use.

[0173] Step 3: When the pressure value is equal to 0, compare the real-time reading of the socket power value with the preset power value.

[0174] As an illustration, a pressure value of 0 indicates that the socket surface is not under significant pressure, meaning there should be no load connected or only minimal standby power consumption. By comparing the real-time socket power value with the preset power value, the actual operating status of the socket can be further determined.

[0175] Step 4: If the power value is less than the preset power value, confirm that the socket is normal and there is no load connected.

[0176] If the power value is less than the preset power value, it means that the power consumption of the socket is at a normal low level, which is in line with the expectation when there is no load connected. Therefore, it can be determined that the socket is in a normal unused state and there is no abnormal load connection.

[0177] Step 5, the indicator light turns green.

[0178] A green indicator light is typically used to indicate that the socket is in normal working order and there are no faults or abnormalities. In this case, displaying a green indicator light allows the user to intuitively understand that the socket is currently safe and working properly, and can be used with confidence.

[0179] Step 6: If the power value is greater than or equal to the preset power value, determine that the socket is abnormal.

[0180] If the pressure value is 0, it usually means that no load is connected. However, if there is a large power consumption, it is likely that the pressure detection unit or power detection unit inside the socket is malfunctioning, causing false power or pressure values, indicating that the socket is abnormal.

[0181] Step 7, the indicator light turns red.

[0182] The red indicator light is used to warn users of any abnormalities in the socket. When an abnormality is confirmed, the red indicator light will illuminate, reminding the user not to use the socket and to have it inspected and repaired to ensure electrical safety.

[0183] Step 8: If the pressure value is greater than the preset pressure value, compare the real-time reading of the socket power value with the preset power value.

[0184] When the pressure value is greater than the preset pressure value, the socket status is judged by comparing the power value with the preset power value.

[0185] Step 6: If the power value is less than the preset power value, determine that the socket is faulty.

[0186] If the pressure is high but the power value is lower than the preset power value, this indicates that although pressure is applied to the socket, there is no corresponding power consumption. This may be due to poor contact between the plug and the socket, resulting in the inability to transmit power normally, or a malfunction in either the pressure detection unit or the power detection unit, which misjudges the pressure or power situation and thus determines that the socket is abnormal.

[0187] Step 7, the indicator light turns red.

[0188] Once a malfunction is detected in the socket, a red indicator light will be displayed to remind the user not to use the socket.

[0189] Step 9: If the power value is greater than or equal to the preset power value, confirm that the socket is normal and update the current load connection count.

[0190] When the pressure value is greater than the preset pressure value and the power value is greater than or equal to the preset power value, it indicates that there is a load connected to the socket and it is working normally, and the power transmission is proceeding normally. At this time, the current load connection count is updated.

[0191] Step 10: The indicator light turns green.

[0192] Once the socket is confirmed to be working properly, a green indicator light will be displayed to the user, allowing them to intuitively understand that the socket is currently safe and functioning normally.

[0193] Step 11: When the pressure value is greater than 0 and less than the preset pressure value, compare the real-time reading of the socket power value with the preset power value and obtain the number of rapid power changes within the historical time period.

[0194] When the pressure value is in the middle range between 0 and the preset pressure value, in addition to comparing the power value with the preset power value, it is also necessary to consider the number of times the power changes rapidly within the historical time period in order to more comprehensively judge the status of the socket.

[0195] Step 6: If the power value is less than the preset power value or the number of rapid power changes is greater than or equal to the preset number, determine that the socket is abnormal.

[0196] If the power value is less than the preset power value, it may be due to unstable contact between the plug and the socket, resulting in the inability to transmit power normally. If the number of rapid power changes is greater than or equal to the preset number, it indicates that the power fluctuation is abnormally frequent over a period of time. This may be caused by poor contact, load equipment failure, or repeated plugging and unplugging by the user, indicating that there is an abnormality in the socket, which cannot provide power to the load normally and stably.

[0197] Indicatively, the preset number of times can be implemented as the preset number corresponding to the target power value described above.

[0198] Step 7, the indicator light turns red.

[0199] When a socket malfunction is detected, a red indicator light will be displayed to remind the user of the abnormal status of the socket.

[0200] Step 12: If the power value is greater than or equal to the preset power value and the number of rapid power changes is less than the preset number, determine that the socket is normal, update the current load connection count and update the preset pressure value to the current pressure value.

[0201] When the power value is greater than or equal to the preset power value and the number of rapid power changes is within the normal range, it indicates that the socket is working properly, a load is being connected normally, and the power supply is stable. At this point, the current load connection count is updated to record the socket's usage. Simultaneously, the preset pressure value in the clamping force relationship table is updated to the currently read pressure value for subsequent readings.

[0202] Step 13, the indicator light turns green.

[0203] Because the socket is working properly, the indicator light is green, letting the user know that the socket is in normal working order and can continue to be used.

[0204] This is illustrative; please refer to it. Figure 8 The diagram illustrates a socket malfunction detection circuit 800, which is disposed in any of the sockets described above. The socket malfunction detection circuit 800 includes:

[0205] The pressure detection unit 802 is used to acquire the pressure detection result of the socket, and the pressure detection result is used to indicate the pressure on the surface of the socket.

[0206] The power detection unit 803 is used to obtain the power detection result of the socket, and the power detection result is used to indicate the current power supply of the socket;

[0207] The controller unit 801 is used to determine the abnormal detection result of the socket based on the pressure detection result and the power detection result; and to represent the abnormal detection result in a target representation form.

[0208] In some embodiments, the controller unit 801 is configured to control the indicator light in the socket to display in a target display state, the target display state representing the anomaly detection result.

[0209] In some embodiments, the controller unit 801 is configured to, when the pressure detection result meets a first pressure value requirement and the power detection result meets a first power value requirement, control the indicator light in the socket to display in a first display state; the first pressure value requirement indicates that the surface of the socket is not under pressure, the first power value requirement indicates that the socket is currently consuming power, and the first display state indicates that at least one of the pressure sensing unit or the power detection unit in the socket is faulty; the pressure sensing unit is configured to acquire the pressure detection result, and the power detection unit is configured to acquire the power detection result; when the pressure detection result meets the first pressure value requirement and the power detection result does not meet the first power value requirement, control the indicator light in the socket to display in a second display state, the second display state indicating that the socket is not abnormal.

[0210] In some embodiments, the controller unit 801 is configured to control the indicator light in the socket to display in a third display state when the pressure detection result meets the second pressure value requirement and the power detection result meets the second power value requirement; the second pressure value requirement indicates that the surface of the socket is subjected to pressure and the pressure value is less than a preset pressure value; the second power value requirement indicates that the socket has no power consumption or the power change of the socket meets a preset change requirement; the third display state indicates that there is an abnormal contact between the socket socket and the load plug inserted into the socket; when the pressure detection result meets the second pressure value requirement and the power detection result does not meet the second power value requirement, the controller unit 801 is configured to control the indicator light in the socket to display in a second display state.

[0211] In some embodiments, the controller unit 801 is configured to update the pressure value indicated by the current pressure detection result to the preset pressure value when the pressure detection result meets the second pressure value requirement and the power detection result does not meet the second power value requirement.

[0212] In some embodiments, the controller unit 801 is configured to, when the pressure detection result meets the third pressure value requirement and the power detection result meets the third power value requirement, control the indicator light in the socket to display in a first display state; the third pressure value requirement indicates that the surface of the socket is subjected to pressure and the pressure value is greater than a preset pressure value, and the third power value requirement indicates that the socket has no power consumption; when the pressure detection result meets the third pressure value requirement and the power detection result does not meet the third power value requirement, control the indicator light in the socket to display in a second display state.

[0213] In some embodiments, the socket includes a plurality of sockets; a controller unit 801 is configured to, when the pressure detection result indicates that the surface of the socket is under pressure, determine a target socket among the plurality of sockets, the target socket being used to indicate a socket into which a load plug is inserted; and determine a preset pressure value based on a target preset pressure value corresponding to the target socket.

[0214] In some embodiments, the controller unit 801 is configured to determine the target preset pressure value corresponding to the target socket as the preset pressure value; or, to obtain the hardness parameter and friction parameter of the load plug inserted into the target socket; and to adjust the target preset pressure value according to the hardness parameter and the friction parameter to obtain the preset pressure value.

[0215] Optionally, the socket malfunction detection circuit 800 further includes: an indicator light unit 804, a button unit 805, and a power supply unit 806. For details regarding the indicator light unit 804, the button unit 805, and the power supply unit 806, please refer to... Figure 5 The explanations provided are omitted here.

[0216] Please refer to Figure 9 This diagram illustrates a structural block diagram of a computer device 900 according to an embodiment of this application. The computer device 900 includes the socket described in any of the above embodiments. Specifically:

[0217] Typically, computer device 900 includes a processor 910 and a memory 920.

[0218] Processor 910 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 910 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 910 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 910 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 910 may also include an AI processor for handling computational operations related to machine learning.

[0219] The memory 920 may include one or more computer-readable storage media, which may be non-transitory. The memory 920 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 920 is used to store a computer program configured to be executed by one or more processors to implement the aforementioned socket anomaly detection method.

[0220] Those skilled in the art will understand that Figure 9 The structure shown does not constitute a limitation on the computer device 900, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0221] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein a computer program is stored in the storage medium, and the computer program, when executed by a processor, implements the aforementioned socket anomaly detection method. Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).

[0222] In an exemplary embodiment, a computer program product is also provided, the computer program product including a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, causing the computer device to perform the aforementioned socket anomaly detection method.

[0223] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.

[0224] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A socket, characterized in that, The socket includes: a panel (100), a socket body (200), and a pressure detection component (300); The panel (100) has a through hole (O1); The socket body (200) includes a pressure plate (201), a socket assembly (202), and an electrical control board (203). The socket assembly (202) and the electrical control board (203) are electrically connected. The pressure plate (201) is located between the panel (100) and the socket assembly (202). The pressure plate (201) has an intermediate through hole (O2) corresponding to the mating through hole (O1). The pressure detection assembly (300) includes a detection component (301) and a pressure sensor (302). The detection component (301) is fixed on the pressure plate (201), and the pressure sensor (302) is connected to the electronic control board (203) and connected to the detection component (301). When the panel (100) is pressed, the detection component (301) abuts against the panel (100).

2. The socket according to claim 1, characterized in that, The pressure sensor (302) includes: a pressure plate (3021) and a transmission rod (3022); The pressure plate (201) has a first opening (O3); The first end of the pressure plate (3021) and the guide rod (3022) are fixedly connected; The rod body of the transmission rod (3022) is located on the side of the pressure plate (201) facing the panel (100), and the second end of the transmission rod (3022) passes through the first opening (O3) and is connected to the electronic control board (203).

3. The socket according to claim 1, characterized in that, The pressure plate (201) has a raised base (2011) with the raised surface of the raised base (2011) facing the panel (100); The detection component (301) is fixed on the raised surface of the raised base (2011).

4. The socket according to any one of claims 1 to 3, characterized in that, The socket also includes: an indicator light (400); The panel (100) has a second opening (O4); The indicator light (400) is fixed on the socket body (200), and the light-emitting side of the indicator light (400) faces the second opening (O4).

5. The socket according to claim 4, characterized in that, The indicator light (400) includes: a lamp body (401) and a pin (402); The lamp body (401) is located on the side of the pressure plate (201) facing the panel (100); The lamp body (401) is fixedly connected to the first end of the pin (402); The second end of the pin (402) passes through the pressure plate (201) and is electrically connected to the electronic control board (203).

6. A method for detecting socket malfunctions, characterized in that, The method includes: Obtain the pressure detection result of the socket, the pressure detection result being used to indicate the pressure exerted on the surface of the socket; Obtain the power detection result of the socket, which is used to indicate the current power supply of the socket; The abnormality detection result of the socket is determined based on the pressure detection result and the power detection result; The anomaly detection results are presented in the form of the target representation.

7. The method according to claim 6, characterized in that, The target display format is used to indicate the abnormality detection result displayed by the indicator light in the socket; The presentation of the anomaly detection results in the target representation format includes: The indicator light in the socket is controlled to display in a target display state, which represents the anomaly detection result.

8. The method according to claim 7, characterized in that, The control of the indicator light in the socket to display in the target display state includes: If the pressure detection result meets the first pressure value requirement and the power detection result meets the first power value requirement, the indicator light in the socket is controlled to display in a first display state; the first pressure value requirement indicates that the socket surface is not under pressure, the first power value requirement indicates that the socket is currently consuming power, and the first display state indicates that at least one of the pressure sensing unit or the power detection unit in the socket is faulty; the pressure sensing unit is used to acquire the pressure detection result, and the power detection unit is used to acquire the power detection result; If the pressure detection result meets the first pressure value requirement, and the power detection result does not meet the first power value requirement, the indicator light in the socket is controlled to display in a second display state, which indicates that the socket is not abnormal.

9. The method according to claim 7, characterized in that, The control of the indicator light in the socket to display in the target display state includes: If the pressure detection result meets the second pressure value requirement and the power detection result meets the second power value requirement, the indicator light in the socket is controlled to display in a third display state; the second pressure value requirement indicates that the surface of the socket is subjected to pressure and the pressure value is less than the preset pressure value, the second power value requirement indicates that the socket has no power consumption or the power change of the socket meets the preset change requirement, and the third display state indicates that there is an abnormal contact between the socket socket and the load plug inserted into the socket. If the pressure detection result meets the second pressure value requirement, but the power detection result does not meet the second power value requirement, the indicator light in the socket is controlled to display in the second display state.

10. The method according to claim 9, characterized in that, The method further includes: If the pressure detection result meets the second pressure value requirement, but the power detection result does not meet the second power value requirement, the pressure value indicated by the current pressure detection result is updated to the preset pressure value.

11. The method according to claim 7, characterized in that, The control of the indicator light in the socket to display in the target display state includes: If the pressure detection result meets the third pressure value requirement and the power detection result meets the third power value requirement, the indicator light in the socket is controlled to display in the first display state; the third pressure value requirement indicates that the surface of the socket is subjected to pressure and the pressure value is greater than the preset pressure value, and the third power value requirement indicates that the socket has no power consumption; If the pressure detection result meets the third pressure value requirement, but the power detection result does not meet the third power value requirement, the indicator light in the socket is controlled to display in the second display state.

12. The method according to any one of claims 6 to 11, characterized in that, The socket includes multiple sockets; the method further includes: When the pressure detection result indicates that the socket surface is under pressure, a target socket is determined among the plurality of sockets, the target socket being used to indicate a socket into which a load plug is inserted; The preset pressure value is determined based on the target preset pressure value corresponding to the target socket.

13. The method according to claim 12, characterized in that, The step of determining the preset pressure value based on the target preset pressure value corresponding to the target socket includes: The target preset pressure value corresponding to the target socket is determined as the preset pressure value; or, Obtain the hardness and friction parameters of the load plug inserted into the target socket; adjust the target preset pressure value according to the hardness and friction parameters to obtain the preset pressure value.

14. A socket malfunction detection circuit, characterized in that, The socket malfunction detection circuit is provided in the socket according to any one of claims 1 to 5, and the circuit includes: A pressure detection unit is used to acquire the pressure detection result of the socket, and the pressure detection result is used to indicate the pressure on the surface of the socket. A power detection unit is used to acquire the power detection result of the socket, and the power detection result is used to indicate the current power supply of the socket; The controller unit is configured to determine the abnormality detection result of the socket based on the pressure detection result and the power detection result; and to represent the abnormality detection result in a target representation form.

15. A computer-readable storage medium, characterized in that, The storage medium stores at least one program, which is loaded and executed by a processor to implement the socket anomaly detection method as described in any one of claims 6 to 13.