Electronic device

By setting a proximity light sensor on the housing of the electronic device, the distance between the battery and the housing is directly measured, which solves the problem of inaccurate detection of battery expansion in the prior art, and improves the measurement accuracy and use safety.

CN119835354APending Publication Date: 2025-04-15GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202412000135.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, the detection accuracy of the battery expansion amount is not high, which leads to excessive expansion of the battery, which may lead to shell deformation or bulging.

Method used

By providing a proximity light sensor on the second wall of the case, and emitting light to the battery using the proximity light sensor and receiving reflected light, the processor directly obtains the distance between the battery from the second wall of the case based on the energy or time of the received light, avoiding indirect calculation of the battery expansion amount.

Benefits of technology

It improves the measurement accuracy of the distance between the battery and the shell, reduces the data acquisition of battery expansion, avoids the shell deformation or drumming caused by excessive expansion of the battery, and improves the safety of electronic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835354A_ABST
    Figure CN119835354A_ABST
Patent Text Reader

Abstract

The electronic equipment comprises a shell, a battery, a proximity light sensor and a processor, the shell is provided with an inner cavity and is provided with a first wall surface and a second wall surface which are located in the inner cavity and are arranged on different planes, and the battery is arranged on the first wall surface and is spaced from the second wall surface; the proximity light sensor is arranged on the second wall surface, is opposite to the battery and is arranged at an interval with the battery, the proximity light sensor is used for emitting light to the battery, receiving light reflected by the battery and generating a first electric signal, and the processor is arranged in the inner cavity and is electrically connected with the proximity light sensor; the processor is used for receiving the first electric signal sent by the proximity light sensor and obtaining the actual distance value between the battery and the second wall face according to the first electric signal. According to the electronic equipment provided by the embodiment of the invention, the detection accuracy of the distance between the battery and the second wall surface can be improved, so that the situation that the battery is excessively expanded to jack up the shell to cause deformation or bulging is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to an electronic equipment. Background Art

[0002] A battery is a device that can convert chemical energy into electrical energy. It is widely used in portable electronic devices (such as smart phones and tablets). That is, in current portable electronic devices, batteries are generally built in to power various electronic components in the portable electronic devices to ensure the operation of the portable electronic devices.

[0003] Since the battery will inevitably expand during the charge and discharge process, the expansion of the battery will not only reduce the life of the battery itself, but also the battery after expansion to a certain extent will lift up the shell of the portable electronic device, which may easily cause the shell to deform or bulge, affecting the use. Therefore, it is necessary to control the expansion of the battery within a safe distance between the battery and the shell to prevent the expanded battery from lifting up the shell of the portable electronic device.

[0004] In the related art, the expansion amount of the battery is usually detected, and whether the distance between the expanded battery and the shell is within the safe distance range is calculated based on the expansion amount of the battery. However, the detection accuracy of the battery expansion amount in the related art is not high, and there is a problem of inaccurate battery expansion detection results, which can easily lead to excessive expansion of the battery, and then easily cause deformation or bulging of the shell. Summary of the invention

[0005] An embodiment of the present application discloses an electronic device that can improve the detection accuracy of the distance between a battery and a housing, so as to avoid the situation where the battery over-expands and lifts up the housing, causing deformation or bulging of the housing.

[0006] In order to achieve the above object, the present application discloses an electronic device, the electronic device comprising:

[0007] A shell, wherein the shell is provided with an inner cavity, and the shell has a first wall surface and a second wall surface located in the inner cavity, and the first wall surface and the second wall surface are arranged in different planes;

[0008] A battery, the battery is arranged on the first wall surface and is spaced apart from the second wall surface;

[0009] a proximity light sensor, the proximity light sensor being disposed on the second wall surface, and the proximity light sensor being disposed opposite to and spaced from the battery, the proximity light sensor being used to emit light to the battery, and to receive light reflected by the battery, and also to generate a first electrical signal; and

[0010] A processor is disposed in the inner cavity and electrically connected to the proximity light sensor, and the processor is used to receive the first electrical signal sent from the proximity light sensor, and to process the first electrical signal to obtain an actual distance value between the battery and the second wall.

[0011] Compared with the prior art, the beneficial effects of this application are:

[0012] The electronic device provided in the embodiment of the present application is provided with a proximity light sensor on the second wall of the shell, so as to use the proximity light sensor to emit light to the battery, and use the proximity light sensor to receive light reflected by the battery. If the processor detects that the energy of the light received by the proximity light sensor is greater, the distance between the battery and the second wall of the shell is smaller, so the processor can directly obtain the distance between the battery and the second wall of the shell by obtaining the energy of the light received by the proximity light sensor, or if the processor detects that the shorter the time for the proximity light sensor to receive light is, the smaller the distance between the battery and the second wall of the shell is, so the processor can directly obtain the distance between the battery and the second wall of the shell by obtaining the time for the proximity light sensor to receive light. In this process, it is not necessary to calculate the expansion amount of the battery and then calculate the distance between the battery and the second wall of the shell according to the expansion amount of the battery, at least reducing the battery expansion amount data acquisition link, and the detection accuracy of the distance between the battery and the second wall of the shell is no longer affected by the accuracy of the battery expansion amount detection result, so that the measurement accuracy of the distance between the battery and the second wall of the shell can be improved, effectively avoiding the deformation or bulging of the shell due to excessive expansion of the battery. The shell is lifted, thereby improving the safety of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0014] Figure 1 is a schematic diagram of the three-dimensional structure of an electronic device disclosed in an embodiment of the present application;

[0015] Figure 2 It is a schematic diagram of a first decomposed structure of an electronic device disclosed in an embodiment of the present application;

[0016] Figure 3 yes Figure 2 A front view of an electronic device in;

[0017] Figure 4The electronic device disclosed in the embodiment of the present application is Figure 3 The first cross-sectional view in the AA direction;

[0018] Figure 5 The electronic device disclosed in the embodiment of the present application is Figure 3 The second cross-sectional view in the AA direction;

[0019] Figure 6 It is a schematic diagram of a second decomposed structure of the electronic device disclosed in the embodiment of the present application;

[0020] Figure 7 yes Figure 6 A front view of an electronic device in;

[0021] Figure 8 The electronic device disclosed in the embodiment of the present application is Figure 7 The first cross-sectional view in the BB direction;

[0022] Fig. 9 The electronic device disclosed in the embodiment of the present application is Figure 7 The second cross-sectional view in the BB direction;

[0023] Fig.10 The electronic device disclosed in the embodiment of the present application is Figure 7 The first cross-sectional view in the CC direction;

[0024] Fig.11 The electronic device disclosed in the embodiment of the present application is Figure 7 The second cross-sectional view in the CC direction.

[0025] Description of main reference numerals

[0026] 100- electronic equipment;

[0027] 10-housing; 10a-inner cavity; 10a1-first cavity; 10a2-second cavity; 10a3-third cavity; 10b-first wall; 10c-second wall; 10c1-first sub-wall; 10c2-second sub-wall; 10c3-third sub-wall; 11-middle frame; 111-substrate; 112-frame; 1121-sub-frame; 1121a-first sub-frame; 1121b-second sub-frame; 1122-partition; 1122a-first sub-partition; 1122b-second sub-partition; 12-battery cover;

[0028] 20-battery;

[0029] 30- proximity light sensor; 30a- first proximity light sensor; 30b- second proximity light sensor; 30c- third proximity light sensor; 30d- fourth proximity light sensor; 30e- fifth proximity light sensor;

[0030] 40-processor;

[0031] 50-battery management module;

[0032] 60-Motherboard. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the exemplary embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the exemplary embodiments described are only part of the embodiments of the present application, not all of the embodiments. That is, the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.

[0034] It should be noted that the brief description of terms in this application is only for the convenience of understanding the implementation methods described below, and is not intended to limit the implementation methods of this application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the technical field of this application. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments, and are not intended to limit this application.

[0035] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0036] The terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first frame may be referred to as a second frame, and similarly, a second frame may be referred to as a first frame. Both the first frame and the second frame are frames, but they are not the same frame.

[0037] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0038] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0039] In the description of the present application, it should be noted that the singular forms of "a", "an" and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the existence of the stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the existence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof.

[0040] In addition, the term "and / or" used in this specification includes any and all combinations of the relevant listed items. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. That is, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0041] With the development of science and technology, portable electronic devices such as smart phones and tablet computers have become indispensable electronic products in people's daily life and entertainment, and the operation of portable electronic devices is inseparable from the power supply of batteries. Among them, batteries are devices that can convert chemical energy into electrical energy. They are generally built into portable electronic devices to power various electronic components of portable electronic devices to maintain the operation of portable electronic devices.

[0042] Normally, after the battery is put into use, it experiences the high temperature shock of charging and discharging, the thickness of the battery electrode sheet becomes thicker, and the electrolyte will oxidize and decompose to produce carbon dioxide (CO2) gas, so the battery will gradually expand. In some cases (such as high temperature, high pressure, etc.), the positive electrode of the battery will continue to oxidize and produce carbon dioxide gas, thereby accelerating the expansion of the battery.

[0043] It can be seen that the battery will inevitably expand during the charging and discharging process, and the battery expansion process is almost irreversible.

[0044] Since the expansion of the battery will not only reduce the life of the battery itself, but also the battery will lift up the shell of the portable electronic device after it expands to a certain extent, which may easily cause the shell to deform or bulge, affecting the use. Therefore, it is necessary to control the expansion of the battery within a safe distance between the battery and the shell to prevent the expanded battery from lifting up the shell of the portable electronic device.

[0045] In the related art, the expansion amount of the battery is usually detected to calculate the distance between the expanded battery and the housing according to the expansion amount of the battery, thereby solving the problem that the expanded battery lifts up the housing. The detection of the battery expansion amount mainly includes the following means:

[0046] One is to set up an airbag membrane and a gas detection device, wherein the airbag membrane includes a membrane and an airbag arranged on the membrane, the airbag is filled with gas, and when the battery expands, the airbag will be squeezed to release gas, and the gas detection device and the airbag membrane are located in the same space, and the gas detection device is used to detect the gas released by the airbag membrane to calculate the expansion of the battery. However, since the gas will diffuse to every corner of the space where the airbag membrane is located, it is not easy to be detected by the gas detection device, which will lead to inaccurate gas detection results of the gas detection device, affecting the detection results of the battery expansion.

[0047] Secondly, by setting up a thin film pressure sensor, the battery will squeeze the thin film pressure sensor when it expands, causing it to deform. The thin film pressure sensor can be used to detect the expansion force of the battery, thereby calculating the expansion amount of the battery. However, since the thin film pressure sensor is mainly a flexible and bendable sensor made of a flexible film, and the performance of the flexible film material will change to a certain extent under different ambient temperatures or under long-term pressure, it will often have a certain impact on the battery expansion force measured by the thin film pressure sensor under different ambient temperatures or under long-term pressure, affecting the detection result of the battery expansion amount.

[0048] It can be seen that no matter which of the above methods is used, there will be a problem of inaccurate battery expansion detection results. If the detected battery expansion is too small, it will cause excessive expansion of the battery, which may easily cause deformation or bulging of the shell; if the detected battery expansion is too large, the battery's discharge cut-off voltage will be increased in advance, resulting in a smaller battery capacity, which will lead to a poor battery life experience on the user side.

[0049] Furthermore, the applicant has found through research that the following method can enable the thin-film pressure sensor to obtain relatively accurate battery expansion force information, thereby obtaining relatively accurate battery expansion amount information, the method comprising:

[0050] Determining calibration information corresponding to the battery under test;

[0051] Acquire the test data of the battery to be tested, the test data including temperature information and the original signal quantity output by the thin film pressure sensor to obtain the response time of the thin film pressure sensor;

[0052] Correcting the original signal amount according to the temperature information, the response time and the correction information to obtain a corrected signal amount;

[0053] The expansion force information of the battery to be tested is determined according to the calibrated signal amount and the calibration information, wherein the calibration information is preset with a corresponding relationship between the signal amount and the expansion force.

[0054] In the above method, after the original signal quantity is obtained, the original signal quantity is corrected by combining the correction information with the temperature information and the response time to obtain the corrected signal quantity. Since the corrected signal quantity avoids the influence of temperature and response time, more accurate expansion force information can be obtained through the corrected signal quantity and calibration information. Since the original signal quantity can be corrected by the correction information and temperature information to correct the influence of temperature on the electrical signal quantity, the original signal quantity can be corrected by this method at different ambient temperatures, that is, the battery expansion force information obtained by this method is not affected by the ambient temperature of the battery and has high accuracy.

[0055] Although the above method can obtain a relatively accurate amount of battery expansion, the process is relatively complicated.

[0056] In view of this, an embodiment of the present application provides an electronic device capable of improving the accuracy and convenience of measuring the distance between a battery and a housing.

[0057] The following will be combined with the drawings in some embodiments of the present application to clearly and completely describe the technical solutions in some embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0058] See also Figure 1 , Figure 1 It is shown that the electronic device in the present application is a smart phone, but it can be understood that the drawings of the present application are only illustrative of the electronic device 100 being a smart phone, and do not limit the electronic device 100 of the present application to only being a smart phone.

[0059] In other implementations of the present application, the electronic device 100 may also be a laptop computer, a tablet computer, a television, a smart wearable device (such as a smart watch, a smart wristband, smart glasses, ear phones, etc.), a personal digital assistant (PDA), an e-book reader, or other electronic products with built-in batteries, and the present application does not make any specific limitations on this.

[0060] See also Figure 2 , Figure 2 This is a schematic diagram of the decomposed structure of an electronic device in a specific embodiment. The electronic device 100 provided in the embodiment of the present application includes a shell 10, and the shell 10 is provided with an inner cavity 10a to accommodate electronic devices (such as the battery 20, proximity light sensor 30, processor 40, etc. mentioned later), so that the shell 10 can be used to fix and protect the electronic devices arranged in the inner cavity 10a.

[0061] The housing 10 has a first wall surface 10b and a second wall surface 10c located in the inner cavity 10a, and the first wall surface 10b and the second wall surface 10c are arranged in different planes. The first wall surface 10b and the second wall surface 10c are arranged in different planes, which can be understood as: the first wall surface 10b and the second wall surface 10c are not the same wall surface, the first wall surface 10b and the second wall surface 10c can be arranged in parallel, or can be crossed, and the two are arranged at an angle, for example, the first wall surface 10b and the second wall surface 10c can be approximately perpendicular, that is, the angle between the first wall surface 10b and the second wall surface 10c can be approximately equal to 90°, for example, 88°, 89°, 90°, 91° or 92°, etc.

[0062] The electronic device 100 provided in the embodiment of the present application also includes a battery 20, which is arranged on the first wall 10b and spaced apart from the second wall 10c, and the battery 20 is electrically connected to other electronic devices arranged in the inner cavity 10a, so that the battery 20 can supply power to other electronic devices arranged in the inner cavity 10a to maintain the operation of the electronic device 100.

[0063] See also Figure 2 The electronic device 100 provided in the embodiment of the present application further includes a proximity light sensor 30 and a processor 40 .

[0064] The proximity light sensor 30 is disposed on the second wall surface 10c, and is opposite to and spaced from the battery 20, and is used to emit light to the battery 20, and is also used to receive light reflected by the battery 20, and is also used to generate a first electrical signal.

[0065] The processor 40 is disposed in the inner cavity 10a, for example, the processor 40 can be disposed on the first wall 10b or on the second wall 10c; and the processor 40 is electrically connected to the proximity light sensor 30, so that the processor 40 can be used to receive a first electrical signal sent from the proximity light sensor 30, and the processor 40 can also be used to obtain the actual distance value between the battery 20 and the second wall 10c based on the first electrical signal, that is, the processor 40 can also be used to process the first electrical signal to obtain the actual distance value between the battery 20 and the second wall 10c.

[0066] Optionally, the light emitted by the proximity light sensor 30 may be infrared light, ultraviolet light, etc. And the proximity light sensor 30 may include a light transmitter (not shown) and a light receiver (not shown), the light sensor is used to emit light to the battery 20, the light receiver is used to receive light reflected by the battery 20, and the light receiver is electrically connected to the processor 40 and used to generate a first electrical signal.

[0067] It can be understood that when the battery 20 has not expanded, the distance between the battery 20 and the second wall 10c of the shell 10 is the largest, and when the battery 20 expands, the distance between the battery 20 and the second wall 10c of the shell 10 will become smaller, and as the expansion amount of the battery 20 gradually increases, the distance between the battery 20 and the proximity light sensor 30 will gradually decrease, and the distance between the battery 20 and the second wall 10c of the shell 10 will also gradually decrease.

[0068] In an exemplary manner, the distance between the battery 20 and the second wall 10c of the housing 10 can be obtained by the energy change of the light received by the proximity light sensor 30. Specifically, the light emitter of the proximity light sensor 30 generally emits light of fixed energy to the battery 20, and light will be lost during the propagation process. The longer the propagation path of the light, the greater the loss of the light, and the smaller the energy of the light. If the distance between the battery 20 and the proximity light sensor 30 is smaller, and the distance between the battery 20 and the second wall 10c of the housing 10 is also smaller, then the energy of the light reflected back from the battery 20 is greater, and vice versa, the energy of the light reflected back from the battery 20 is smaller.

[0069] Specifically, the processor 40 of the present application will store different light energies corresponding to different distance values ​​between the battery 20 and the second wall 10c of the shell 10. For example, assuming that the battery 20 has not expanded, the energy of the light received by the proximity light sensor 30 is E0, and a first electrical signal is generated, corresponding to the distance value of the battery 20 from the second wall 10c of the shell 10 is H0. After receiving the first electrical signal sent by the low light sensor 30, the processor 40 can obtain the energy of the light received by the low light sensor 30 as E0, and match the distance value of the battery 20 from the second wall 10c of the shell 10 to H0; assuming that the battery 20 has expanded, the energy of the light received by the proximity light sensor 30 is E1 (E1<E0), and a first electrical signal is generated, corresponding to the distance value of the battery 20 from the second wall 10c of the shell 10 is H1. After receiving the first electrical signal sent by the low light sensor 30, the processor 40 can obtain the energy of the light received by the low light sensor 30 as E1, and match the distance value of the battery 20 from the second wall 10c of the shell 10 to H1, and so on.

[0070] It can be seen that the present application can utilize the proximity light sensor 30 to emit light to the battery 20 and receive the light reflected back by the battery 20, so as to utilize the processor 40 to convert the energy of the light received by the proximity light sensor 30 into distance data, thereby directly obtaining the distance between the battery 20 and the second wall 10c of the shell 10. In this process, it is not necessary to infer the expansion amount of the battery 20 and then calculate the distance between the battery 20 and the second wall 10c of the shell 10 according to the expansion amount of the battery 20, which at least reduces the battery 20 expansion amount data acquisition link, and the detection accuracy of the distance between the battery 20 and the second wall 10c of the shell 10 is no longer affected by the accuracy of the battery 20 expansion amount detection result, thereby improving the measurement accuracy of the distance between the battery 20 and the second wall 10c of the shell 10, effectively avoiding the shell 10 being deformed or bulged due to excessive expansion of the battery 20, thereby improving the safety of the electronic device 100.

[0071] In another exemplary embodiment, the distance between the battery 20 and the second wall surface 10c of the housing 10 can be obtained by the change in the time when the proximity light sensor 30 receives light. Specifically, if the distance between the battery 20 and the proximity light sensor 30 is smaller, the distance between the battery 20 and the second wall surface 10c of the housing 10 is also smaller, then the time when the proximity light sensor 30 receives the light reflected from the battery 20 is shorter, and vice versa, the time when the proximity light sensor 30 receives the light reflected from the battery 20 is longer.

[0072] Therefore, the present application uses the proximity light sensor 30 to emit light to the battery 20 and receives the light reflected by the battery 20, so as to use the processor 40 to measure the time when the proximity light sensor 30 receives the light reflected by the battery 20, and converts the time when the proximity light sensor 30 receives the light reflected by the battery 20 into distance data, so as to directly obtain the distance between the battery 20 and the second wall 10c of the shell 10. In this process, it is not necessary to infer the expansion amount of the battery 20 and then calculate the distance between the battery 20 and the second wall 10c of the shell 10 according to the expansion amount of the battery 20, which at least reduces the battery 20 expansion amount data acquisition link, and the detection accuracy of the distance between the battery 20 and the second wall 10c of the shell 10 is no longer affected by the accuracy of the battery 20 expansion amount detection result, so as to improve the measurement accuracy of the distance between the battery 20 and the second wall 10c of the shell 10, effectively avoid the shell 10 being deformed or bulged due to excessive expansion of the battery 20, and improve the safety of the electronic device 100.

[0073] In summary, the present application can accurately monitor the distance between the battery 20 and the second wall 10c of the shell 10 in real time by cooperating with the proximity light sensor 30 and the processor 40, thereby preventing the battery 20 from excessively expanding and lifting the shell 10, causing deformation or bulging of the shell 10, thereby improving the safety of the electronic device 100.

[0074] In addition, since the present application reduces the detection link of the expansion amount of the battery 20, in order to improve the detection accuracy of the thin film pressure sensor on the expansion amount of the battery 20, it is no longer necessary to correct the original signal amount after obtaining the original signal amount by combining the correction information with the temperature information and the response time to obtain the corrected signal amount, so as to obtain more accurate expansion force information through the corrected signal amount and calibration information, and then obtain a more accurate expansion amount of the battery 20. Therefore, the method of obtaining the distance between the battery 20 and the shell 10 in the present application can be simpler and more convenient.

[0075] See also Figure 2 The electronic device 100 provided in the embodiment of the present application also includes a battery management module 50, which is arranged in the inner cavity 10a. For example, the battery management module 50 can be arranged on the first wall 10b or on the second wall 10c; and the battery management module 50 is electrically connected to the battery 20. The battery management module 50 can mainly serve as a key component for monitoring, controlling and protecting the battery 20. It can monitor and manage parameters such as the voltage, temperature, charging state and discharging state of the battery 20, so as to avoid dangerous situations such as overcharging, over-discharging, overcurrent and short circuit, thereby ensuring the safe operation of the battery 20 and improving the service life of the battery 20.

[0076] It is understandable that as the number of charge and discharge times of the battery 20 increases, during the charge and discharge process of the battery 20, according to the aging of the battery 20, the expansion amount of the battery 20 will accumulate and increase on the basis of its baseline value. Therefore, as the number of charge and discharge times of the battery 20 increases, the battery 20 is more likely to lift up the shell 10 during the charge and discharge process.

[0077] In this regard, in some embodiments, the battery management module 50 is also electrically connected to the processor 40. In the process of real-time monitoring of the distance between the battery 20 and the second wall 10c of the shell 10, if the distance between the battery 20 and the second wall 10c of the shell 10 is less than the safety distance L0 between the battery 20 and the second wall 10c of the shell 10, the processor 40 can also control the battery management module 50 to perform a series of operations to suppress the battery 20 from continuing to expand, so as to avoid lifting the shell 10 and causing deformation or bulging of the shell 10. Among them, the safety distance L0 between the battery 20 and the second wall 10c of the shell 10 can generally be understood as: the distance between the battery 20 and the second wall 10c of the shell 10 when the battery 20 fails to lift the shell 10, for example, L0>0mm.

[0078] Exemplarily, after processing the first electrical signal to obtain the actual distance value between the battery 20 and the shell 10, the processor 40 is also used to generate a second electrical signal having the actual distance value, and send the second electrical signal to the battery management module 50. After receiving the second electrical signal sent by the processor 40, the battery management module 50 is used to adjust the charging and discharging parameters of the battery 20 according to the second electrical signal to suppress further expansion of the battery 20.

[0079] For example, if it is monitored that the distance between the battery 20 and the second wall 10c of the shell 10 is less than a preset safety distance, the processor 40 will control the battery management module 50 to adjust the charge and discharge parameters of the battery 20 to suppress the battery 20 from continuing to expand, to optimize the expansion increment, and thus control the expansion amount of the battery 20 to prevent the battery 20 from lifting the shell 10 and causing the shell 10 to deform or bulge.

[0080] Optionally, the charge and discharge parameters may include a discharge cut-off voltage of the battery 20 and a charge cut-off voltage (ie, a charge termination voltage) of the battery 20 .

[0081] In the present application, the battery management module 50 can accurately control the charging process of the battery 20, for example, after the battery 20 is fully charged, the connection between the battery 20 and the external power supply is cut off to avoid continuing to charge the battery 20, and when the power level of the battery 20 is lower than the set power level (the set power level can be, for example, 5%, 10%, 20% of the battery power, etc.), the user is reminded to stop using the electronic device 100, or charge the battery 20 to avoid overcharging and over-discharging, thereby helping to reduce the risk of battery 20 bulging.

[0082] In the scenario of charging the battery 20, even after the battery 20 is fully charged, the charging port of the electronic device 100 is still plugged into the charger, but since the battery 20 will automatically disconnect from the charging port after being fully charged, the battery 20 will not continue to be charged, thereby effectively preventing the battery 20 from being overcharged.

[0083] However, in the scenario where the battery 20 is discharged, although when the power level of the battery 20 is lower than the set power level, the user will be reminded to stop using the electronic device 100 or charge the battery 20, there may still be a situation where the user continues to use the electronic device 100 and forgets to charge, causing the electronic device 100 to automatically shut down. As a result, the battery 20 may still be over-discharged, causing the battery 20 to over-swell. At the same time, since the expansion process of the battery 20 is almost irreversible, and as the number of charge and discharge times of the battery 20 increases, the distance between the battery 20 and the second wall 10c of the shell 10 will become closer and closer, making it easier for the battery 20 to lift up the shell 10.

[0084] Therefore, when the charge and discharge parameter is the discharge cut-off voltage of the battery 20, the discharge cut-off voltage of the battery 20 can usually be increased to control the expansion of the battery 20. However, the greater the discharge cut-off voltage of the battery 20, the greater the impact on the user-side navigation, and the worse the battery life of the battery 20. Therefore, by accurately obtaining the distance between the battery 20 and the second wall 10c of the shell 10, it is possible to achieve refined control of the battery 20 and avoid increasing the discharge cut-off voltage of the battery 20 in advance, thereby maximizing the use of the battery 20, maximizing the user's battery life, and improving the user-side battery life experience.

[0085] It can be understood that the electronic device 100 usually also includes a mainboard 60, which is arranged on the first wall 10b of the shell 10, and the processor 40 and the battery management module 50 are both arranged on the mainboard 60, so that the processor 40 and the battery management module 50 can be installed and fixed on the shell 10 through the mainboard 60.

[0086] To facilitate the description of the positions of various components in the electronic device 100, Figure 2 As shown, the embodiment of the present application exemplarily establishes a three-dimensional coordinate system based on the electronic device 100, wherein the x-axis direction is the length direction of the electronic device 100, the y-axis direction is the width direction of the electronic device 100, and the z-axis direction is the thickness direction of the electronic device 100.

[0087] In some embodiments, Figure 2As shown, the housing 10 may include a middle frame 11 and a battery cover 12, the edge of the battery cover 12 is connected to the middle frame 11, and the battery cover 12 and the middle frame 11 may be arranged along the thickness direction of the electronic device 100, and an inner cavity 10a is formed between the battery cover 12 and the middle frame 11. Among them, the first wall surface 10b is formed on the middle frame 11, for example, the first wall surface 10b is formed on one side of the middle frame 11 in the thickness direction of the electronic device 100, then the battery 20, the processor 40 and the battery management module 50 can all be arranged on one side of the middle frame 11 in the thickness direction of the electronic device 100.

[0088] Alternatively, if Figure 3 and Figure 4 As shown, the second wall surface 10c may include a first sub-wall surface 10c1 formed on the battery cover 12, and / or a second sub-wall surface 10c2 formed on the middle frame 11, that is, the second wall surface 10c may only include the first sub-wall surface 10c1 formed on the battery cover 12, and the proximity light sensor 30 is set on the battery cover 12 at this time, or may only include the second sub-wall surface 10c2 formed on the middle frame 11, and the proximity light sensor 30 is set on the middle frame 11 at this time, or may be the first sub-wall surface 10c1 formed on the battery cover 12. The two walls 10c include both a first sub-wall 10c1 formed on the battery cover 12 and a second sub-wall 10c2 formed on the middle frame 11. In this case, there may be at least two proximity light sensors 30, at least one proximity light sensor 30 is arranged on the first sub-wall 10c1, and at least another proximity light sensor 30 is arranged on the second sub-wall 10c2, that is, at least one proximity light sensor 30 is arranged on the battery cover 12, and at least another proximity light sensor 30 is arranged on the middle frame 11.

[0089] It can be seen that the proximity light sensor 30 does not have to be set on a specific component, but can be set on the battery cover 12 or the middle frame 11 according to specific circumstances, thereby making the setting position of the proximity light sensor 30 flexible and changeable.

[0090] In addition, since when there are at least two proximity light sensors 30, at least one proximity light sensor 30 is arranged on the first sub-wall 10c1, and at least another proximity light sensor 30 is arranged on the second sub-wall 10c2, the distance between different positions of the battery 20 and the second wall 10c of the shell 10 can be monitored, so that the actual distance value between the battery 20 and the second wall 10c of the shell 10 can be obtained more accurately.

[0091] In some embodiments, Figure 3 and Figure 4As shown, the middle frame 11 includes a substrate 111 and a frame 112, the frame 112 is connected to the substrate 111 and is arranged along the periphery of the substrate 111, the battery cover 12 is connected to the frame 112, and an inner cavity 10a is formed between the battery cover 12, the frame 112 and the substrate 111; wherein, the first wall 10b is formed on the substrate 111, and the second sub-wall 10c2 is formed on the frame 112 and is arranged along the periphery of the first wall 10b, then the battery 20, the processor 40 and the battery management module 50 are arranged on the substrate 111, and the proximity light sensor 30 is arranged on the frame 112.

[0092] Furthermore, the frame 112 may include two sub-frames 1121 spaced apart along the width direction of the electronic device 100, wherein a second sub-wall surface 10c2 is formed on a wall surface of the sub-frame 1121 located in the inner cavity 10a, and at least one of the two sub-frames 1121 is provided with a proximity light sensor 30.

[0093] It should be noted that when both the battery cover 12 and the sub-frame 1121 are provided with a proximity light sensor 30, when at least one of the distance between the battery 20 and the battery cover 12 and the distance between the battery 20 and the sub-frame 1121 is less than the safety distance, the processor 40 can control the battery management module 50 to adjust the charge and discharge parameters of the battery 20 to suppress further expansion of the battery 20.

[0094] An exemplary example is Figure 3 and Figure 4 As shown, a proximity light sensor 30 (hereinafter referred to as the first proximity light sensor 30a) is provided on the first sub-wall 10c1 of the battery cover 12, and a proximity light sensor 30 (hereinafter referred to as the second proximity light sensor 30b) is provided on one of the two sub-frames 1121. At this time, there may be two proximity light sensors, wherein the first proximity light sensor 30a is mainly used to directly detect the distance between the side of the battery 20 facing the battery cover 12 and the battery cover 12, so as to prevent the battery 20 from pushing the battery cover 12 away from the frame 112; the second proximity light sensor 30b is mainly used to directly detect the distance between the side of the battery 20 facing the sub-frame 1121 and the sub-frame 1121, so as to prevent the battery 20 from lifting the sub-frame 1121 and causing the sub-frame 1121 to deform.

[0095] In this exemplary embodiment, the processor receives the first electrical signal sent by the first proximity light sensor 30a and the second proximity light sensor 30b, and obtains the actual distance value L1 between the battery 20 and the battery cover 12 according to the first electrical signal sent by the first proximity light sensor 30a, and obtains the actual distance value L2 between the battery 20 and the sub-frame 1121 according to the first electrical signal sent by the second proximity light sensor 30b. Since L1 and L2 can asynchronously reach values ​​less than the safe distance, or synchronously reach values ​​less than the safe distance, when at least one of L1 and L2 is less than the safe distance, the processor controls the battery management module 50 to adjust the charge and discharge parameters of the battery 20 to suppress the battery 20 from continuing to expand, so as to ensure that the battery 20 does not lift up the battery cover 12 and the sub-frame 1121.

[0096] Another exemplary example is Figure 5 As shown, a proximity light sensor 30 (hereinafter referred to as the first proximity light sensor 30a) is disposed on the first sub-wall surface 10c1 of the battery cover 12, and both sub-frames 1121 are provided with proximity light sensors 30, so there may be three proximity light sensors at this time. For ease of description, the two sub-frames 1121 are defined as the first sub-frame 1121a and the second sub-frame 1121b, respectively, the proximity light sensor 30 disposed on the first sub-frame 1121a is defined as the second proximity light sensor 30b, and the proximity light sensor 30 disposed on the second sub-frame 1121b is defined as the third proximity light sensor 30c.

[0097] Among them, the first proximity light sensor 30a is mainly used to directly detect the distance between the side of the battery 20 facing the battery cover 12 and the battery cover 12, so as to prevent the battery 20 from pushing the battery cover 12 away from the frame 112; the second proximity light sensor 30b is mainly used to directly detect the distance between the side of the battery 20 facing the first sub-frame 1121a and the first sub-frame 1121a, so as to prevent the battery 20 from lifting the first sub-frame 1121a and causing the first sub-frame 1121a to deform; the third proximity light sensor 30c is mainly used to directly detect the distance between the side of the battery 20 facing the second sub-frame 1121b and the second sub-frame 1121b, so as to prevent the battery 20 from lifting the second sub-frame 1121b and causing the second sub-frame 1121b to deform.

[0098] In this exemplary solution, the processor receives the first electrical signals sent by the first proximity light sensor 30a, the second proximity light sensor 30b and the third proximity light sensor 30c, and obtains the actual distance value L1 between the battery 20 and the battery cover 12 according to the first electrical signal sent by the first proximity light sensor 30a, obtains the actual distance value L2 between the battery 20 and the first sub-frame 1121a according to the first electrical signal sent by the second proximity light sensor 30b, and obtains the actual distance value L3 between the battery 20 and the second sub-frame 1121b according to the first electrical signal sent by the third proximity light sensor 30c. Since L1, L2 and L3 can asynchronously reach a value less than the safety distance, or synchronously reach a value less than the safety distance, when at least one of L1, L2 and L3 is less than the safety distance, the processor controls the battery management module 50 to adjust the battery charge and discharge parameters to suppress the battery 20 from continuing to expand, so as to ensure that the battery 20 does not lift up the battery cover 12, the first sub-frame 1121a and the second sub-frame 1121b.

[0099] In some embodiments, Figure 6 and Figure 7 As shown, Figure 6 The figure only shows an exemplary structure of two partitions in the frame. In other embodiments, the two partitions may also be in other structural forms.

[0100] The middle frame 11 in the present application also includes two partitions 1122 spaced apart along the length direction of the electronic device 100. The two partitions 1122 are both arranged on the substrate 111, and the two partitions 1122 are both connected between the two sub-frames 1121. The two partitions 1122 divide the inner cavity 10a into a first cavity 10a1, a second cavity 10a2 and a third cavity 10a3 arranged along the length direction of the electronic device 100.

[0101] Among them, the processor 40 is located in the first cavity 10a1, the battery 20 is located in the second cavity 10a2, the second sub-wall 10c2 is formed on the wall of the sub-frame 1121 located in the second cavity 10a2, and at least one of the two sub-frames 1121 is provided with a proximity light sensor 30; the second wall 10c also includes a third sub-wall 10c3 formed on the partition 1122, the third sub-wall 10c3 is located in the second cavity 10a2, and at least one of the two third sub-walls 10c3 is provided with a proximity light sensor 30.

[0102] It should be noted that the situation of setting the proximity light sensor 30 on the two sub-frames 1121 and the situation of setting the proximity light sensor 30 on the two partitions 1122 do not affect each other, that is, whether the proximity light sensor 30 is set on one of the sub-frames 1121 or the proximity light sensor 30 is set on both sub-frames 1121, corresponding to the two partitions 1122, the proximity light sensor 30 can be set on one of the partitions 1122 or on both partitions 1122.

[0103] An exemplary example is Figures 7 to 9 As shown, a proximity light sensor 30 (hereinafter referred to as the first proximity light sensor 30a) is disposed on the first sub-wall surface 10c1 of the battery cover 12, a proximity light sensor 30 (hereinafter referred to as the second proximity light sensor 30b) is disposed on one of the two sub-frames 1121, and a proximity light sensor 30 (hereinafter referred to as the fourth proximity light sensor 30d) is disposed on one of the two partitions 1122. In this case, there may be three proximity light sensors 30, wherein the first proximity light sensor 30a is mainly used to directly detect the side distance of the battery 20 toward the battery cover 12. The first proximity light sensor 30a is mainly used to directly detect the distance between the side of the battery 20 facing the sub-frame 1121 and the sub-frame 1121, so as to prevent the battery 20 from pushing up the sub-frame 1121 and causing deformation of the sub-frame 1121; the second proximity light sensor 30d is mainly used to directly detect the distance between the side of the battery 20 facing the partition 1122 and the partition 1122, so as to prevent the battery 20 from pushing up the partition 1122 and causing deformation of the partition 1122.

[0104] In this exemplary embodiment, the processor receives the first electrical signal sent by the first proximity light sensor 30a and the second proximity light sensor 30b, and obtains the actual distance value L1 between the battery 20 and the battery cover according to the first electrical signal sent by the first proximity light sensor 30a, obtains the actual distance value L2 between the battery 20 and the sub-frame 1121 according to the first electrical signal sent by the second proximity light sensor 30b, and obtains the actual distance value L4 between the battery 20 and the partition 1122 according to the first electrical signal sent by the fourth proximity light sensor 30d. Since L1, L2 and L4 can reach values ​​less than the safety distance asynchronously or synchronously, when at least one of L1, L2 and L4 is less than the safety distance, the processor controls the battery management module 50 to adjust the charge and discharge parameters of the battery 20 to suppress the battery 20 from continuing to expand, so as to ensure that the battery 20 does not lift up the battery cover 12, the sub-frame 1121 and the partition 1122.

[0105] Another exemplary example is Fig.10 and Fig.11As shown, a proximity light sensor 30 (hereinafter referred to as the first proximity light sensor 30a) is provided on the first sub-wall surface 10c1 of the battery cover 12, the two sub-frames 1121 are provided with proximity light sensors 30, and the two partitions 1122 are provided with proximity light sensors 30, so there may be five proximity light sensors at this time. For the convenience of description, the two sub-frames 1121 are respectively defined as the first sub-frame 1121a and the second sub-frame 1121b, the proximity light sensor 30 provided on the first sub-frame is defined as the second proximity light sensor 30b, and the proximity light sensor 30 provided on the second sub-frame is defined as the third proximity light sensor 30c, the two partitions 1122 are respectively defined as the first sub-partition 1122a and the second sub-partition 1122b, the proximity light sensor 30 provided on the first sub-partition 1122a is defined as the fourth proximity light sensor 30d, and the proximity light sensor 30 provided on the second sub-partition 1122b is defined as the fifth proximity light sensor 30e.

[0106] Among them, the first proximity light sensor 30a is mainly used to directly detect the distance between the side of the battery 20 facing the battery cover 12 and the battery cover 12, so as to prevent the battery 20 from pushing the battery cover 12 away from the frame 112; the second proximity light sensor 30b is mainly used to directly detect the distance between the side of the battery 20 facing the first sub-frame 1121a and the first sub-frame 1121a, so as to prevent the battery 20 from lifting the first sub-frame 1121a and causing the first sub-frame 1121a to deform, and the third proximity light sensor 30c is mainly used to directly detect the distance between the side of the battery 20 facing the second sub-frame 1121b and the second sub-frame 1121b , to prevent the battery 20 from lifting up the second sub-frame 1121b and causing deformation of the second sub-frame 1121b; the fourth proximity light sensor 30d is mainly used to directly detect the distance between the side of the battery 20 facing the first sub-partition 1122a and the first sub-partition 1122a, to prevent the battery 20 from lifting up the first sub-partition 1122a and causing deformation of the first sub-partition 1122a, and the fifth proximity light sensor 30e is mainly used to directly detect the distance between the side of the battery 20 facing the second sub-partition 1122b and the second sub-partition 1122b, to prevent the battery 20 from lifting up the second sub-partition 1122b and causing deformation of the second sub-partition 1122b.

[0107] In this exemplary scheme, the processor receives the first electrical signals sent by the first proximity light sensor 30a, the second proximity light sensor 30b, the third proximity light sensor 30c, the fourth proximity light sensor 30d and the fifth proximity light sensor 30e, and obtains the actual distance value L1 between the battery 20 and the battery cover 12 according to the first electrical signal sent by the first proximity light sensor 30a, obtains the actual distance value L2 between the battery 20 and the first sub-frame 1121a according to the first electrical signal sent by the second proximity light sensor 30b, obtains the actual distance value L3 between the battery 20 and the second sub-frame 1121b according to the first electrical signal sent by the third proximity light sensor 30c, obtains the actual distance value L4 between the battery 20 and the first sub-partition 1122a according to the first electrical signal sent by the fourth proximity light sensor 30d, and obtains the actual distance value L5 between the battery 20 and the second sub-partition 1122b according to the first electrical signal sent by the fifth proximity light sensor 30e. Since L1, L2, L3, L4 and L5 can reach values ​​less than the safety distance asynchronously or synchronously, when at least one of L1, L2, L3, L4 and L5 is less than the safety distance, the processor controls the battery management module 50 to adjust the battery charge and discharge parameters to suppress the battery 20 from continuing to expand, so as to ensure that the battery 20 does not lift up the battery cover 12, the first sub-frame 1121a, the second sub-frame 1121b, the first sub-partition 1122a and the second sub-partition 1122b.

[0108] In some embodiments, the proximity light sensor 30 is disposed corresponding to the middle of the battery 20. Since the middle of the battery 20 is generally the highest point of expansion, the proximity light sensor 30 is disposed corresponding to the middle of the battery 20, which helps the proximity light sensor 30 to more accurately and timely sense the expansion of the battery 20, obtain the distance between the battery 20 and the second wall 10c of the housing 10, and helps to use a proximity light sensor 30 with a smaller area.

[0109] For the convenience of description, the present application defines the area of ​​the side of the battery 20 facing the second wall 10c as S1, and also defines the coverage area of ​​the light emitted by the proximity light sensor 30 on the battery 20 as S2. It can be understood that the above definitions are only for the convenience of description of the present application and should not be used to limit the protection scope of the present application.

[0110] In some embodiments, the size of S2 is one quarter to one half of the size of S1, that is, S2 = (1 / 4-1 / 2) S1, for example, S2 = 1 / 4 S1, 1 / 3 S1, 3 / 8 S1, 5 / 12 S1 or 1 / 2 S1, etc. Since the middle of the battery 20 is generally the highest point of expansion in this embodiment, the light emitted by the proximity light sensor 30 does not need to cover the entire battery 20, and a proximity light sensor 30 with a smaller area can be used, which can reduce the space occupied by the proximity light sensor 30 and reduce the cost.

[0111] It should be noted that, for the proximity light sensor 30 disposed on the battery cover 12 , S1 is the area of ​​the side of the battery 20 facing the battery cover 12 , and S2 is the coverage area of ​​the side of the battery 20 facing the battery cover 12 by the light emitted by the proximity light sensor 30 .

[0112] For the proximity light sensor 30 set on the sub-frame 1121, S1 is the area of ​​the side of the battery 20 facing the sub-frame 1121, and S2 is the coverage area of ​​the light emitted by the proximity light sensor 30 on the side of the battery 20 facing the sub-frame 1121.

[0113] For the proximity light sensor 30 disposed on the partition 1122 , S1 is the area of ​​the side of the battery 20 facing the partition 1122 , and S2 is the coverage area of ​​the side of the battery 20 facing the partition 1122 by the light emitted by the proximity light sensor 30 .

[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0115] In addition, the above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the content of this specification should not be understood as limiting the present application, and the protection scope of the present application shall be subject to the attached claims.

Claims

1. An electronic device, characterized in that: The electronic device comprises: A shell, wherein the shell is provided with an inner cavity, and the shell has a first wall surface and a second wall surface located in the inner cavity, and the first wall surface and the second wall surface are arranged in different planes; A battery, the battery is arranged on the first wall surface and is spaced apart from the second wall surface; a proximity light sensor, the proximity light sensor being disposed on the second wall surface, and the proximity light sensor being disposed opposite to and spaced from the battery, the proximity light sensor being used to emit light to the battery, and to receive light reflected by the battery, and also to generate a first electrical signal; and A processor is disposed in the inner cavity and electrically connected to the proximity light sensor, and the processor is used to receive the first electrical signal sent from the proximity light sensor, and to obtain an actual distance value between the battery and the second wall according to the first electrical signal.

2. The electronic device according to claim 1, characterized in that: The electronic device further comprises a battery management module, which is disposed in the inner cavity and is electrically connected to the processor and the battery respectively; The processor is also used to generate a second electrical signal having the actual distance value, and the battery management module is used to receive the second electrical signal sent from the processor and to adjust the charge and discharge parameters of the battery according to the second electrical signal to inhibit further expansion of the battery.

3. The electronic device according to claim 2, characterized in that: The charge and discharge parameters include a discharge cut-off voltage of the battery.

4. The electronic device according to claim 1, characterized in that: The shell includes a middle frame and a battery cover, the edge of the battery cover is connected to the middle frame, and the inner cavity is formed between the battery cover and the middle frame, wherein the first wall surface is formed on the middle frame, the second wall surface includes a first sub-wall surface formed on the battery cover, and the proximity light sensor is arranged on the first sub-wall surface.

5. The electronic device according to claim 4, characterized in that: The second wall surface also includes a second sub-wall surface formed on the middle frame. There are at least two proximity light sensors, at least one of which is disposed on the first sub-wall surface, and at least another proximity light sensor is disposed on the second sub-wall surface.

6. The electronic device according to claim 1, characterized in that: The shell includes a middle frame and a battery cover, the edge of the battery cover is connected to the middle frame, and the inner cavity is formed between the battery cover and the middle frame, wherein the first wall surface is formed on the middle frame, the second wall surface includes a second sub-wall surface formed on the middle frame, and the proximity light sensor is arranged on the second sub-wall surface.

7. The electronic device according to claim 5 or 6, characterized in that: The middle frame includes a substrate and a frame, the frame is connected to the substrate and arranged along the periphery of the substrate, the battery cover is connected to the frame, and the inner cavity is formed between the battery cover, the frame and the substrate; Wherein, the first wall surface is formed on the substrate, and the second sub-wall surface is formed on the frame and is arranged along the periphery of the first wall surface.

8. The electronic device according to claim 7, characterized in that: The frame includes two sub-frames spaced apart along the width direction of the electronic device, the middle frame also includes two partitions spaced apart along the length direction of the electronic device, the two partitions are both arranged on the substrate, and the two partitions are both connected between the two sub-frames, and the two partitions divide the inner cavity into a first cavity, a second cavity, and a third cavity arranged along the length direction of the electronic device, wherein the processor is located in the first cavity, and the battery is located in the second cavity; The second sub-wall surface is formed on a wall surface of the sub-frame located in the second cavity, and at least one of the two sub-frames is provided with the proximity light sensor; The second wall surface further includes a third sub-wall surface formed on the partition plate, the third sub-wall surface is located in the second cavity, and at least one of the two third sub-wall surfaces is provided with the proximity light sensor.

9. The electronic device according to claim 1, characterized in that: The proximity light sensor is disposed corresponding to a middle portion of the battery.

10. The electronic device according to claim 9, characterized in that: The area of ​​the side surface of the battery facing the first wall is S1, and the coverage area of ​​the light emitted by the proximity light sensor on the battery is S2, and the size of S2 is one quarter to one half of the size of S1.