Electronic device, control method of interface female seat power-on state, and storage medium

By setting a detection pin on the interface socket and using a SAR sensor to detect the capacitance value, the problem of the interface socket connection pins being constantly energized is solved, thus improving the safety and reliability of electronic equipment.

CN115101987BActive Publication Date: 2026-01-23VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210785054.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2026-01-23
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

The female connector pins of existing electronic products are often electrified, which can lead to corrosion, misjudgment, and even charging accidents.

Method used

A detection pin is set on the interface socket, and the real-time capacitance value is detected by a SAR sensor. The processor controls the connection pin to be powered on or off based on the capacitance value.

Benefits of technology

This avoids the problem of the female connector pins being constantly energized, improves safety, prevents corrosion and misjudgment, and ensures normal charging or data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115101987B_ABST
    Figure CN115101987B_ABST
Patent Text Reader

Abstract

The application discloses an electronic device, an interface female seat power-on state control method and a storage medium. The electronic device comprises an interface female seat, a tongue piece, a connecting pin and a detection pin, the connecting pin is fixedly arranged on the tongue piece, the connecting pin is exposed to the tongue piece, and the detection pin is fixedly arranged on the tongue piece; a SAR sensor is connected with the detection pin, the SAR sensor can detect a real-time capacitance value formed by the detection pin; and a processor is connected with the SAR sensor, in a state where the real-time capacitance value detected by the SAR sensor is greater than or equal to a first preset value, the processor controls the connecting pin to be powered on, and in a state where the real-time capacitance value detected by the SAR sensor is less than the first preset value, the processor controls the connecting pin to be powered off.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of communication, and particularly relates to an electronic device, a control method for a power-on state of an interface socket, and a storage medium. BACKGROUND

[0002] With the rapid development of communication and new energy products, revolutionary technologies such as charging or data transmission are widely used in civilian and military fields, and have caused a research and application boom internationally. In particular, the rapid development and gradual expansion of the market of new energy vehicles, smart phones, wireless earphones, watches and other wearable consumer electronics have further promoted the use of charging or data transmission functions. As long as it is an electronic product, it is inevitable to need charging or data transmission. In order to meet the needs of people for fast charging or data transmission, the current flowing in circulation is getting larger and larger, which requires higher safety level for charging of electronic products.

[0003] The existing electronic product detects whether an external device is inserted into the interface socket through a connection pin on the interface socket that is always electrified. Only when the electronic product detects that the external device is inserted, other connection pins on the interface socket will be electrified for charging or data transmission. For example, the connection pin on the interface socket of a smart terminal phone for detecting whether a device is inserted will be pulled up by default through a current of 80uA, causing the connection pin to be electrified. In the case that the connection pin on the interface socket is electrified and there are sweat, water vapor, electrified ion impurities and other substances near the interface socket, the electrified ion impurities between the electrified connection pin and the ground pin will absorb the electrified ion impurities, thereby accelerating the corrosion of the electrified connection pin, the ground pin or other connection pins. At the same time, dust, metal particles and other objects may be attracted to the electrified connection pin under the action of static electricity to form a micro short circuit. Further, due to the above problems, a low-impedance path may be formed between the electrified connection pin and the ground, affecting device insertion detection, thereby causing misjudgment, and even causing a charging accident. SUMMARY

[0004] The purpose of the embodiments of the present application is to provide an electronic device, a control method for a power-on state of an interface socket, and a storage medium, which can solve the problem of the connection pin of the interface socket being always electrified.

[0005] In a first aspect, the embodiments of the present application provide an electronic device, comprising:

[0006] an interface socket, the interface socket comprising a tongue, a connection pin and a detection pin, the connection pin being fixedly arranged on the tongue, the connection pin being exposed to the tongue, and the detection pin being fixedly arranged on the tongue;

[0007] A SAR sensor is connected with the detection pin, and the SAR sensor can detect a real-time capacitance value formed by the detection pin.

[0008] A processor is connected with the SAR sensor, and the processor controls the connection pin to be powered on when the real-time capacitance value detected by the SAR sensor is greater than or equal to a first preset value, and controls the connection pin to be powered off when the real-time capacitance value detected by the SAR sensor is less than the first preset value.

[0009] In a second aspect, an embodiment of the present application provides a control method for a power-on state of an interface female seat, applied to the electronic device as described above, and including:

[0010] Obtaining a real-time capacitance value formed by the detection pin;

[0011] In response to the real-time capacitance value, controlling the connection pin to be powered on or powered off.

[0012] In a third aspect, an embodiment of the present application provides an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method according to the second aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, wherein the readable storage medium stores programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the method according to the second aspect.

[0014] In the embodiment of the present application, a detection pin is separately arranged on the interface female seat, the detection pin separately arranged on the interface female seat is taken as a detection end of a SAR sensor, and a processor controls whether the connection pin is powered on or powered off by reading a real-time capacitance value formed by the detection pin detected by the SAR sensor, thereby avoiding the problem that the connection pin on the interface female seat is always powered on. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 FIG. 1 is a structural schematic diagram of a first embodiment of an electronic device of the present application;

[0016] Figure 2 FIG. 2 is a structural schematic diagram of a first embodiment of an interface female seat of the present application;

[0017] Figure 3 FIG. 3 is a structural schematic diagram of a second embodiment of an interface female seat of the present application;

[0018] Figure 4 FIG. 4 is a structural schematic diagram of a second embodiment of an electronic device of the present application;

[0019] Figure 5 is a structural schematic diagram of a third embodiment of the electronic device of the present application;

[0020] Figure 6 is a structural schematic diagram of a fourth embodiment of the electronic device of the present application;

[0021] Figure 7 is a structural schematic diagram of a fifth embodiment of the electronic device of the present application;

[0022] Figure 8 is a structural schematic diagram of a third embodiment of the interface female seat of the present application;

[0023] Figure 9 is a structural schematic diagram of a first embodiment of the distribution of the detection pin on the interface female seat of the present application;

[0024] Figure 10 is a structural schematic diagram of a second embodiment of the distribution of the detection pin on the interface female seat of the present application;

[0025] Figure 11 is a schematic diagram of the working principle of the SAR sensor;

[0026] Figure 12 is a curve of the change of the capacitance when the charger is pulled out of the interface female seat;

[0027] Figure 13 is a curve of the change of the capacitance when the charger is inserted into the interface female seat;

[0028] Figure 14 is a structural schematic diagram of a sixth embodiment of the electronic device of the present application;

[0029] Figure 15 is a structural schematic diagram of a seventh embodiment of the electronic device of the present application.

[0030] Reference signs:

[0031] 1, tongue; 2, detection pin; 3, SAR sensor; 4, processor; 5, switch; 6, connection pin. DETAILED DESCRIPTION

[0032] The technical solutions in the embodiments of the present application will be described clearly below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0033] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of a kind and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the objects before and after are in a "or" relationship.

[0034] The electronic device provided by the embodiments of the present application will be described in detail below in conjunction with the drawings, specific embodiments and application scenarios.

[0035] In a first aspect, as shown in the drawings, the present embodiment provides an electronic device, which comprises an interface female seat, a SAR sensor 3 and a processor 4. The interface female seat comprises a tongue piece 1, a connecting pin 6 and a detection pin 2, the connecting pin 6 is fixedly arranged on the tongue piece 1, and the connecting pin 6 is exposed to the outside of the tongue piece 1. For example, the connecting pin 6 is arranged on the outer surface of the tongue piece 1, so that the side of the connecting pin 6 away from the tongue piece 1 is exposed to the outside, facilitating electrical connection of the connecting pin with a charger plug and the like. The detection pin 2 is fixedly arranged on the tongue piece 1, wherein the detection pin 2 can be exposed to the outside of the tongue piece 1 or not. Figures 1 to 8 The SAR sensor 3 is connected with the detection pin 2, and the SAR sensor 3 can detect a real-time capacitance value formed by the detection pin 2. The processor 4 is connected with the SAR sensor 3, and in a state where the real-time capacitance value detected by the SAR sensor 3 is greater than or equal to a first preset value, the processor 4 controls the connecting pin 6 to be powered on; in a state where the real-time capacitance value detected by the SAR sensor 3 is less than the first preset value, the processor 4 controls the connecting pin 6 to be powered off.

[0036] The interface female seat is an interface provided on an electronic device for charging, data exchange or connecting external devices, such as a type-c interface, an earphone interface, etc., and an external device has a plug male seat which can be inserted into the interface female seat and powered on. The connecting pin 6 is used for electrical connection with the pin on the plug male seat. The detection pin 2 is fixedly arranged on the tongue piece 1 and is used for detecting a real-time capacitance value. The interface female seat is usually arranged on the side wall of the electronic device.

[0037]

[0038] ​To control the Specific Absorption Rate (SAR), an SAR sensor 3 is used in antenna design to acquire changes in the electromagnetic field near the antenna and generate a corresponding capacitance value. This information is then used to determine the user's usage scenario and control the antenna's transmission power. Based on this, in this embodiment, the aforementioned SAR sensor 3 is electrically connected to the detection pin 2. The detection pin 2 serves as the detection terminal of the SAR sensor 3. The SAR sensor 3 detects changes in the electromagnetic field near the detection pin 2 and generates a corresponding real-time capacitance value.

[0039] Among them, such as Figure 11 As shown, the working principle of the SAR sensor 3 is as follows: The detection pin 2 is charged to U1, and then the charge is discharged to the standard capacitor C2 to test the voltage U2. Knowing C2, Q2 = U2 * C2 is obtained, and the charge Q1 when the detection pin 2 is charged to U1 is calculated (the relationship between Q1 and Q2 is related to the design of the charge transfer circuit of the SAR sensor 3 and is a known relationship). The capacitance value is obtained using the formula C1 = Q1 / U1. The SAR sensor 3 does not detect the value of U1; it only assumes the supply voltage (generally 3V). Therefore, when there is external interference with U1, the capacitance detected by the SAR sensor 3 will increase, while the capacitance of the actual object being detected will not increase. Therefore, the SAR sensor 3 has the ability to detect changes in voltage of nearby metal objects. When there is a voltage change near the connection pin 6 of the detection pin 2, the SAR sensor 3 will sense the corresponding capacitance change between the detection pin 2 and ground.

[0040] The processor 4 is electrically connected to the SAR sensor 3, enabling the processor 4 to receive the real-time capacitance value formed by the detection pin 2 detected by the SAR sensor 3 and control the electronic device according to the detected real-time capacitance value. That is, when the real-time capacitance value detected by the SAR sensor 3 is greater than or equal to a first preset value, the processor 4 controls the connection pin 6 to be powered on; when the real-time capacitance value detected by the SAR sensor 3 is less than the first preset value, the processor 4 controls the connection pin 6 to be powered off.

[0041] The preset condition for the capacitance value can be that the real-time capacitance value detected by the SAR sensor 3 reaches a specific capacitance value or a specific capacitance value range, or it can be the change of the real-time capacitance value detected by the SAR sensor 3 within a certain time interval. The detection pin 2 is independent of the connection pin 6. That is, the connection pin 6 is electrically connected to the pin of the plug socket, while the detection pin 2 is not electrically connected to external components and only serves to detect capacitance.

[0042] In a specific embodiment, when the plug male seat is inserted into the interface female seat, the real-time capacitance value detected by the SAR sensor 3 is greater than or equal to a first preset value, and the processor 4 controls the connection pin 6 on the interface female seat to be powered on, so that the plug male seat and the interface female seat can be powered on; when the plug male seat is pulled out of the interface female seat, the real-time capacitance value detected by the SAR sensor 3 is less than the first preset value, and the processor 4 controls the connection pin 6 on the interface female seat to be powered off, so that the connection pin 6 is in a powered-off state.

[0043] In the embodiment, the detection pin 2 is separately arranged on the interface female seat, and the detection pin 2 separately arranged on the interface female seat is used as a detection end of the SAR sensor 3. The processor 4 controls whether the connection pin 6 is powered on or not by reading the real-time capacitance value formed by the detection pin 2, thereby avoiding the problem that the connection pin 6 on the interface female seat is always powered on.

[0044] Optionally, the detection pin 2 is embedded in the tongue 1. That is, the connection pin 6 is exposed to the outside, facilitating electrical connection with external insertion equipment, and the detection pin 2 is completely arranged in the tongue 1, so that the detection pin 2 is not exposed to the outside and is isolated from the external environment. The SAR can detect the capacitance formed by the detection pin 2 in more environments, for example, when there is conductive foreign matter such as water in the interface female seat, the detection pin 2 will not be short-circuited between other connection pins 6 or a reference ground, so that the SAR sensor 3 can reliably detect the capacitance through the detection pin 2 and no electrical connection accidents occur.

[0045] Optionally, the detection pin 2 is exposed to the tongue 1, and the connection pin 6 and the detection pin 2 are exposed to different surfaces of the tongue 1. For example, the tongue 1 has a plate structure, the connection pin 6 is exposed to two opposite surfaces of the tongue 1, and the detection pin 2 is exposed to an end surface of the tongue 1. The always-powered detection pin 2 is away from the connection pin 6, so that the always-powered detection pin 2 does not corrode and affect the connection pin 6, and the connection pin 6 can normally pass current with a plug that is compatible with the connection pin 6.

[0046] Optionally, the connection pin 6 includes a first pin and a second pin, the first pin and the second pin are oppositely arranged on two opposite surfaces of the tongue 1, and the detection pin 2 is located on a connection line between the first pin and the second pin. At this time, the detection pin 2 can not only detect the change of capacitance when an external object enters the interface female seat, but also detect the connection state of the connection pin 6 and whether the connection pin 6 is in a normal connection state when the connection pin 6 is powered on.

[0047] For example, the real-time capacitance value of the detection pin 2 when the electronic device is charging through the interface socket is different from the real-time capacitance value of the detection pin 2 when the electronic device is transmitting data through the interface socket. By detecting the real-time capacitance value, it can be determined whether the electronic device is charging or transmitting data.

[0048] Further, when the electronic device is charging through the interface socket, the voltage of the charging pin of the interface socket will be coupled to the detection pin 2, affecting the amount of charge of the detection pin 2, and thus causing a second change in the detected real-time capacitance value. At this time, it can be determined that the interface socket is in a charging state. If the current suddenly becomes larger in the charging state, the change in the detected real-time capacitance value is inconsistent with the second change. At this time, the processor 4 can determine that the electronic device is charging abnormally. In this case, the processor 4 can control the electronic device to send a reminder information to remind the user of the charging abnormality, or directly start the charging protection.

[0049] Further, when the electronic device is transmitting data through the interface socket, the voltage of the data transmission pin of the interface socket will change between high and low, and the changing voltage will be coupled to the detection pin 2, affecting the amount of charge of the detection pin 2, and thus causing a first change in the detected real-time capacitance value. At this time, it can be determined that the interface socket is in a data transmission state. If the current suddenly becomes larger in the data transmission, the change in the detected real-time capacitance value is inconsistent with the first change. At this time, the processor 4 can determine that the electronic device is transmitting data abnormally. In this case, the processor 4 can control the electronic device to send a reminder information to remind the user of the data transmission abnormality.

[0050] Among them, for high-speed data transmission, a high-frequency filter and a flip-flop module can be added to detect the working state of high-speed data transmission.

[0051] Optionally, the connection pin 6 includes a first pin and a second pin, the first pin is arranged on the first outer surface of the tongue piece 1, the second pin is arranged on the second outer surface of the tongue piece 1 which is opposite to the first outer surface, the positions of the first pin and the second pin correspond to each other, and the detection pin 2 is located between the first pin and the second pin in the tongue piece 1. This can make the detection pin 2 detect the change in capacitance when an external object enters the interface socket, and also enable the detection pin 2 to detect whether the first pin and the second pin are in a normal communication state at the same time when the first pin and the second pin are electrified.

[0052] In one specific embodiment, the tongue 1 is a plate-like structure. A first pin is provided on the first outer surface of the tongue 1, and a second pin is provided on the second outer surface of the tongue 1 at a position corresponding to the first pin. A detection pin 2 is provided in the tongue 1 sandwiched between the first pin and the second pin. The detection pin 2 is equidistant from the first pin and from the second pin. This allows the detection pin 2 to simultaneously detect whether the first pin and the second pin are in a normal connected state.

[0053] Optionally, such as Figures 8 to 10 As shown, there are multiple first pins, and the number of second pins is the same as the number of first pins. The first pins are arranged side by side on the first outer surface of the tongue 1, and the second pins are arranged side by side on the second outer surface of the tongue 1. The number of detection pins 2 is less than or equal to the number of first pins, and there is one detection pin 2 between each of the first and second pins. This allows multiple detection pins 2 to simultaneously detect the connection status of multiple first pins and multiple second pins.

[0054] In one specific implementation, such as Figure 8 As shown, there are 8 first pins and 8 second pins, with the first and second pins arranged one-to-one on the tongue 1. There can be 8 detection pins 2, with one detection pin 2 located in each tongue 1 between the corresponding first and second pins. Alternatively, there can be 4 detection pins 2, located in the tongue 1 between 4 pairs of first and second pins.

[0055] Optionally, the connection pin 6 includes a first pin and a second pin, which are respectively disposed opposite to each other on two opposing surfaces of the tongue 1. The detection pin 2 is located outside the connection line between the first pin and the second pin. By keeping the detection pin 2 away from the connection pin 6, the detection pin 2 can detect only the real-time capacitance value of the interface socket under different external environmental changes, thus improving the detection accuracy of the detection pin 2.

[0056] In one specific embodiment, the detection pin 2 is disposed on the outer surface of the middle part of the tongue 1, and the detection pin 2 is embedded at both ends of the tongue 1. This increases the detection range of the detection pin 2 and improves the detection accuracy of the detection pin 2. For example, when an external plug is inserted into the interface female socket, both the first detection pin 2 and the second detection pin 2 can detect the change in capacitance. If one detection pin 2 detects the change in capacitance, but the other detection pin 2 does not detect the change in capacitance, it can be determined that no external plug has been inserted, and the processor 4 controls the connection pin 6 to remain in a de-energized state.

[0057] Optionally, the number of the detection pins 2 is at least two, and the electronic device further comprises a switch 5, the detection pins 2 are connected with the SAR sensor 3 through the switch 5, the switch 5 is further connected with the processor 4, and the processor 4 is configured to control the switch 5 to respectively connect the at least two detection pins 2 with the SAR sensor 3.

[0058] As shown in Figure 6 the embodiment of the present application can connect each detection pin 2 with the SAR sensor 3 through the switch 5 respectively, so that the SAR sensor 3 detects the capacitance value formed by one detection pin 2 at a time, that is, the multiple detection pins 2 are detected in time division. The requirement for the SAR sensor 3 is lower, and the cost can be reduced. For example, when the number of the detection pins 2 is two, the two detection pins 2 are connected with the SAR sensor 3 through the switch 5 respectively, so that the two detection pins 2 can be detected in time division. Of course, as shown in Figure 7 the switch 5 can not be provided, and the multiple detection pins 2 are connected with the SAR sensor 3 at the same time, so that the reaction speed of the electronic device is increased.

[0059] In the second aspect, the embodiment provides a control method of a power-on state of an interface female seat, which is applied to the electronic device as described above, and includes the following steps:

[0060] obtaining a real-time capacitance value formed by the detection pin 2;

[0061] controlling the connection pin 6 to be powered on or powered off in response to the real-time capacitance value.

[0062] When the state of the interface female seat changes, the real-time capacitance value detected by the capacitive sensor 3 SAR also changes accordingly. The capacitance value detected by the capacitive sensor 3 SAR is different when the state of the interface female seat is different. For example, when the charger is connected with the interface female seat to charge the electronic device, the capacitance value changes as shown in Figure 13 , and when the charger is disconnected with the interface female seat, the capacitance value changes as shown in Figure 12 . Therefore, the real-time capacitance value formed by the detection pin 2 detected by the SAR sensor 3 can correspond to whether the charger is inserted into the interface female seat. When the real-time capacitance value detected corresponds to the insertion of the charger, the processor 4 controls the connection pin 6 of the interface female seat to be powered on, so that the connection pin 6 is connected with the charger. When the real-time capacitance value detected corresponds to the disconnection of the charger, the processor 4 controls the connection pin 6 of the interface female seat to be powered off, so that the connection pin 6 of the interface female seat remains in the powered-off state.

[0063] In this embodiment, the processor 4 controls whether the connection pin 6 is powered on or not by reading the real-time capacitance value formed by the detection pin 2 detected by the SAR sensor 3, thereby avoiding the problem that the connection pin 6 on the interface socket is always powered on.

[0064] Optionally, the step of controlling the connection pin 6 to be powered on or powered off in response to the real-time capacitance value comprises: controlling the electronic device to send corresponding prompt information according to different real-time capacitance values in response to the real-time capacitance value. According to the phenomenon that the real-time capacitance value formed by the detection pin 2 is different when different objects enter the interface socket, the object entering the interface socket can be determined when the corresponding real-time capacitance value is detected, and the state of the interface socket can be determined and the user can be sent a prompt information.

[0065] For example, in the state that no plug is inserted into the interface socket or no foreign matter enters the interface socket, the capacitance value formed by the detection pin 2 detected by the SAR sensor 3 is a normal capacitance value. The increase of the real-time capacitance value formed by the detection pin 2 detected by the SAR sensor 3 relative to the normal capacitance value is a comparison value. When the comparison value is less than 8% of the normal capacitance value and the comparison value is greater than or equal to 2% of the normal capacitance value, the interface socket may enter non-conductive foreign matter such as cotton and cloth, and the processor 4 controls the electronic device to send first prompt information to the user; when the comparison value is less than the normal capacitance value and the comparison value is greater than or equal to 20% of the normal capacitance value, the interface socket may enter conductive foreign matter such as water, and the processor 4 controls the electronic device to send second prompt information to the user; when the comparison value is greater than or equal to the normal capacitance value, the interface socket may be inserted with a charger connector for charging or a data line connector for data transmission.

[0066] The electronic device in the embodiments of the present application can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application are not limited specifically.

[0067] In a third aspect, as shown in Figure 14 The electronic device 400 includes a processor 401 and a memory 402. The memory 402 stores programs or instructions executable by the processor 401. When the programs or instructions are executed by the processor 401, each step of the method for controlling the interface female seat power-on state is implemented, and the same technical effects are achieved. To avoid repetition, details are not described herein.

[0068] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device.

[0069] Figure 15 A hardware structure diagram of an electronic device according to an embodiment of the present application is shown.

[0070] The electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.

[0071] Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for powering each component. The power supply can be logically connected to the processor 1010 through a power management system, so as to realize the functions of managing charging, discharging, and power consumption management through the power management system. Figure 15 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device can include more or fewer components than shown, or combine certain components, or have a different arrangement of components. Details are not described herein.

[0072] The processor 1010 is configured to acquire a real-time capacitance value formed by the detection pin, and control the connection pin to be powered on or powered off in response to the real-time capacitance value.

[0073] It should be understood that in the embodiments of the present application, the input unit 1004 can include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 can include a display panel 10061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two parts of a touch detection device and a touch controller. The other input devices 10072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here.

[0074] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 1009 can include a volatile memory or a non-volatile memory, or the memory 1009 can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.

[0075] The processor 1010 can include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1010.

[0076] In a fourth aspect, the embodiments of the present application also provide a readable storage medium, and the readable storage medium stores programs or instructions, which are executed by a processor to implement various processes of the above-mentioned control method for interface female seat power-on state, and achieve the same technical effects. To avoid repetition, details are not described here.

[0077] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0078] It should be noted that, in this document, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that includes the element. In addition, it should be noted that the scope of the methods and apparatus of the present embodiments are not limited by the order of the steps or the sequences for performing the steps, as some steps can occur in different order or concurrently with each other. For example, described methods can occur in an order other than that described, and / or various steps can be combined, eliminated or modified, and additional steps can be added, without departing from the scope of the present disclosure. Also, features described with respect to certain examples can be combined in other examples.

[0079] From the above description of the embodiments, it is clear that the above-mentioned method of the embodiments can be realized by means of software plus the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a computer software product that contributes to the prior art, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, or network device, etc.) execute the method described in each embodiment of the present application.

[0080] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, and the above specific embodiments are only illustrative, not restrictive, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. An electronic device, characterized in that, include: The female interface socket includes a tongue, connection pins, and detection pins. The connection pins are fixedly disposed on the tongue and exposed on the tongue. The connection pins include a first pin and a second pin, which are respectively disposed on two opposite surfaces of the tongue. The detection pins are fixedly disposed on the end face of the tongue. The connection pins are used for electrical connection with the pins of the male connector, and the detection pins are used for detecting capacitance. A SAR sensor is connected to the detection pin, and the SAR sensor is capable of detecting the real-time capacitance value formed by the detection pin. The processor is connected to the SAR sensor. When the real-time capacitance value detected by the SAR sensor is greater than or equal to a first preset value, the processor controls the connection pin to be energized. When the real-time capacitance value detected by the SAR sensor is less than a first preset value, the processor controls the connection pin to be powered off.

2. The electronic device according to claim 1, characterized in that, The detection pin is embedded in the tongue plate.

3. An electronic device according to claim 1, characterized in that, The detection pin is exposed on the tongue, and the connection pin and the detection pin are exposed on different surfaces of the tongue.

4. An electronic device according to claim 1, characterized in that, The detection pin is located on the connection line between the first pin and the second pin.

5. An electronic device according to claim 1, characterized in that, The detection pin is located outside the connection line between the first pin and the second pin.

6. An electronic device according to claim 1, characterized in that, The number of detection pins is at least two. The electronic device also includes a switch. The detection pins are connected to the SAR sensor through the switch. The switch is also connected to the processor. The processor is used to control the switch to connect at least two of the detection pins to the SAR sensor respectively.

7. A method for controlling the energized state of an interface female connector, applied to the electronic device as described in any one of claims 1-6, characterized in that, include: Obtain the real-time capacitance value formed by the detection pin; In response to the real-time capacitance value, the connection pin is controlled to be powered on or off.

8. The method for controlling the energized state of an interface female connector according to claim 7, characterized in that, The step of controlling the connection pin to be powered on or off in response to the real-time capacitance value includes: In response to the real-time capacitance value, the control electronic device issues corresponding prompt information based on different real-time capacitance values.

9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the control method for the power-on state of the interface female as described in claim 7 or claim 8.

10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the control method for the power-on state of the interface female connector as described in claim 7 or claim 8.

Citation Information

Patent Citations

  • Equipment insertion detection method and mobile terminal

    CN108268389A

  • Equipment detection method and device, storage medium and electronic equipment

    CN108628713A

  • Control method and device, electronic equipment and storage medium

    CN114356153A