Electronic equipment and key

By arranging light-transmitting materials and photosensitive components on the keys of electronic devices, the problem of the photoelectric sensor being unable to receive enough light is solved, the accuracy of light detection is improved, and the density and display area of ​​the screen are optimized.

CN119363090APending Publication Date: 2025-01-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411379195.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

Photoelectric sensors in electronic devices cannot receive enough light due to the increase in screen pixel density, which affects the accuracy of light detection.

Method used

Design a type of electronic device, the keys are part of the light transmittance material, and the groove is set on the button. The sensitivity component is placed in the groove, and the light of the button is received to achieve light detection.

Benefits of technology

By pressing the light to avoid the effect of photoelectric sensor on the screen, it improves the accuracy of light detection, and helps increase the pixel density of the screen and reduce the black edge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363090A_ABST
    Figure CN119363090A_ABST
Patent Text Reader

Abstract

The invention provides electronic equipment and a key, and belongs to the technical field of electronic equipment. The key is arranged on the support, at least part of the key is made of a light-transmitting material, and the key is provided with a groove; at least part of the photosensitive component is arranged in the groove, and the photosensitive component is used for receiving light penetrating through the key.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to an electronic equipment and a key. Background Art

[0002] In the related art, electronic devices are usually equipped with photoelectric sensors for ambient light detection, optical proximity detection, color temperature detection, etc. Among them, the photoelectric sensor is usually set under the screen to detect the light passing through the screen. However, as the pixels of the screen become more and more dense, the light passing through the screen cannot meet the detection requirements of the photoelectric sensor, thereby affecting the accuracy of light detection by the electronic device. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an electronic device that can effectively solve the technical problem of the accuracy of light detection by the electronic device.

[0004] In a first aspect, an embodiment of the present application provides an electronic device, including:

[0005] Bracket;

[0006] A button is arranged on the bracket, at least a part of the button is made of light-transmitting material, and the button has a groove;

[0007] A photosensitive component, at least part of which is disposed in the groove, and is used to receive light passing through the key.

[0008] In a second aspect, an embodiment of the present application provides a key, which is applied to the electronic device provided in the embodiment of the first aspect, and the key includes:

[0009] A key body and an optical coating, wherein the key body is made of a light-transmitting material, the key body has a groove, and the optical coating is disposed on the inner wall of the groove; or

[0010] The key body and the light-transmitting member are provided, wherein the key body has a second through hole and the light-transmitting member is arranged at the second through hole.

[0011] In an embodiment of the present application, the electronic device includes a bracket, a button and a photosensitive component. The button is arranged on the bracket, the button has a groove, at least a portion of the photosensitive component is arranged in the groove, and at least a portion of the button is made of light-transmitting material. External light can be irradiated onto the photosensitive component through the button, that is, the photosensitive component receives light passing through the button for the electronic device to perform optical detection such as ambient light. As mentioned above, the way the button receives light is not affected by the screen, so that the photosensitive component can receive a sufficient amount of light, thereby improving the accuracy of the electronic device's detection of light.

[0012] Moreover, by letting in light through the buttons, the influence of the photosensitive components on the screen of the electronic device can be avoided, which is beneficial to increasing the pixel density of the screen and reducing the black edges of the screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0014] Figure 1 A schematic diagram of an electronic device provided by an embodiment of the present application is shown;

[0015] Figure 2 A cross-sectional view of an electronic device provided by one embodiment of the present application is shown;

[0016] Figure 3 A cross-sectional view of an electronic device provided by one embodiment of the present application is shown;

[0017] Figure 4 A cross-sectional view of an electronic device provided by one embodiment of the present application is shown;

[0018] Figure 5 A cross-sectional view of an electronic device provided by one embodiment of the present application is shown;

[0019] Figure 6 A schematic diagram of an electronic device provided by an embodiment of the present application is shown;

[0020] Figure 7 A cross-sectional view of a key provided by an embodiment of the present application is shown;

[0021] Figure 8 A cross-sectional view of a key provided by an embodiment of the present application is shown;

[0022] Fig. 9 A cross-sectional view of a key body in a key provided by an embodiment of the present application is shown;

[0023] Fig.10 One of the flow charts of the method for controlling the photosensitivity function in the electronic device provided in the embodiment of the present application is shown;

[0024] Fig.11 The second flowchart of the method for controlling the photosensitivity function in the electronic device provided in the embodiment of the present application is shown.

[0025] Figures 1 to 9 Reference numerals:

[0026] 100 electronic device, 110 bracket, 120 button, 122 groove, 124 button body, 1242 second through hole, 126 optical coating, 128 light-transmitting member, 130 photosensitive component, 132 photoelectric sensor, 134 light-guiding member, 136 fixing sleeve, 138 first circuit board, 140 prism, 142 detection circuit, 144 first flexible circuit board, 1442 first through hole, 146 transmitter, 148 receiver, 150 detection component, 152 capacitive touch component, 154 capacitive sensor, 160 control component, 170 switch component, 172 micro switch, 174 second flexible circuit board, 180 ejector pin, 190 third flexible circuit board, 200 second circuit board. DETAILED DESCRIPTION

[0027] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0028] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.

[0029] In the description of the present application, it should be understood that the terms "upper", "inner", etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.

[0030] 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.

[0031] Combine the following Figures 1 to 11The electronic device 100 and the key 120 according to the embodiment of the present application are described.

[0032] First, as Figures 1 to 5 As shown, the embodiment of the present application provides an electronic device 100, including: a bracket 110; a button 120, which is arranged on the bracket 110, and at least a part of the button 120 is a light-transmitting material, such as Figure 7 and Figure 8 As shown, the key 120 has a groove 122 ; a photosensitive component 130 , at least a portion of which is disposed in the groove 122 , and the photosensitive component 130 is used to receive light passing through the key 120 .

[0033] In an embodiment of the present application, the electronic device 100 includes a bracket 110, a button 120 and a photosensitive component 130. The button 120 is arranged on the bracket 110. The button 120 has a groove 122. At least a portion of the photosensitive component 130 is arranged in the groove 122. Moreover, at least a portion of the button 120 is made of a light-transmitting material. External light can be irradiated onto the photosensitive component 130 through the button 120, that is, the photosensitive component 130 receives light passing through the button 120 for the electronic device 100 to perform optical detection such as ambient light. As mentioned above, the way in which the button 120 receives light is not affected by the screen, so that the photosensitive component 130 can receive a sufficient amount of light, thereby improving the accuracy of the electronic device 100 in detecting light.

[0034] Furthermore, by letting light in through the button 120, the influence of the photosensitive component 130 on the screen of the electronic device 100 can be avoided, which is beneficial to increasing the pixel density of the screen and reducing the black edges of the screen.

[0035] The present application realizes the light detection function of the electronic device 100 through the button 120, and uses the thickness space of the button 120 itself to realize the transmission and reception of light, avoiding the coupling problem between the photosensitive component 130 set under the screen and the screen, reducing the interference of the screen light on the photosensitive component 130, reducing the performance requirements of the electronic device 100 for the photosensitive component 130, and at the same time helping to reduce the black border of the screen and increase the proportion of the screen's display area.

[0036] Among them, the key 120 includes a groove 122. Through the setting of the groove 122, light can enter one side, two sides, three sides, four sides or five sides of the key 120, so that multi-sided light detection can be achieved using one photosensitive component 130, saving the investment in the photosensitive component 130 and reducing production costs.

[0037] like Figures 2 to 5As shown, as a possible implementation, the electronic device 100 also includes: a second circuit board 200, which is disposed on the bracket 110, or on a side of the bracket 110, or inside the bracket 110, and a portion of the photosensitive component 130 is electrically connected to the second circuit board 200 to transmit signals.

[0038] like Figures 2 to 6 As shown, as a possible implementation, the electronic device 100 further includes: a detection component 150, which is at least partially disposed in the groove 122 and is used to detect a touch event of the detection component 150; a control component 160, which controls the light-sensitive trigger threshold of the electronic device 100 to adjust when the detection component 150 detects a touch event, and controls the light-sensitive trigger threshold of the electronic device 100 to restore when the touch event ends; or when the detection component 150 detects a touch event, the control component 160 controls the electronic device 100 to suspend the light-sensitive function, and controls the electronic device 100 to re-enable the light-sensitive function when the touch event ends. The control component 160 can be a cloud control component or a local control component.

[0039] Specifically, the electronic device 100 also includes a detection component 150 and a control component 160. At least a portion of the detection component 150 is disposed in the groove 122. The detection component 150 is used to detect a touch event of the human body or other objects on the key 120. The control component 160 adjusts the photosensitivity strategy of the electronic device 100 according to whether the key 120 generates a touch event, thereby reducing the impact on the photosensitive component 130 when the key 120 is touched or blocked, improving the photosensitivity accuracy of the electronic device 100, and reducing erroneous operation of the photosensitivity function caused by the user touching the key 120.

[0040] For example: when the detection component 150 detects a touch event on the button 120, the control component 160 controls the light-sensitive trigger threshold of the electronic device 100 to be adjusted to adapt to the light changes caused by the button 120 being touched. When the detection component 150 determines that the touch event on the button 120 has ended, the control component 160 controls the light-sensitive trigger threshold of the electronic device 100 to be restored to ensure the normal use of functions such as brightness adjustment, color temperature adjustment or proximity detection of the electronic device 100, thereby improving the stability of the electronic device 100.

[0041] That is, when the button 120 is touched by a human body, the ambient light detection, infrared proximity detection and color temperature detection are all maintained at the state before the button 120 is touched. When the human body leaves the button 120, the photosensitive component 130 restores the original photosensitive trigger threshold.

[0042] Or when the detection component 150 detects a touch event on the key 120, the control component 160 controls the light-sensing function of the electronic device 100 to be suspended to adapt to the light changes caused by the touch of the key 120. When the detection component 150 determines that the touch event on the key 120 is over, the control component 160 controls the light-sensing function of the electronic device 100 to be re-enabled to ensure the normal use of functions such as brightness adjustment, color temperature adjustment or proximity detection of the electronic device 100, thereby improving the stability of the electronic device 100.

[0043] That is, when the button 120 is touched by a human body, the ambient light detection, infrared proximity detection and color temperature detection are all maintained at the state before the button 120 is touched, and when the human body leaves the button 120, the photosensitive component 130 restarts.

[0044] The detection component 150 may be a capacitive detection component, a resistive detection component, an infrared detection component, an ultrasonic detection component, or the like.

[0045] like Figures 2 to 5 As shown, as a possible implementation, the detection component 150 includes: a capacitive touch component 152, which is arranged in the groove 122; a capacitive sensor 154, which is electrically connected to the capacitive touch component 152, and the capacitive sensor 154 detects the touch event of the button 120 according to the capacitance value of the capacitive touch component 152.

[0046] Specifically, the detection component 150 includes a capacitive touch component 152 and a capacitive sensor 154. The capacitive touch component 152 and the capacitive sensor 154 are electrically connected. The capacitive touch component 152 is set in the groove 122 of the key 120. When the human body touches the key 120, it will affect the capacitance value of the capacitive touch component 152, so that the capacitive sensor 154 can detect the change in the capacitance value of the capacitive touch component 152. According to the change in the capacitance value, it can be determined whether the key 120 is touched, and based on this, the photosensitivity strategy of the electronic device 100 can be adjusted.

[0047] The capacitive touch component 152 may be copper, copper mesh or transparent conductive material, and the light-transmitting conductive material may be indium tin oxide (ITO). The copper mesh and transparent conductive material are more conducive to the passage of light, thereby ensuring the amount of light received by the photosensitive component 130.

[0048] The human body touching the button 120 will increase the capacitance value detected by the capacitance sensor 154, so by analyzing the capacitance value detected by the capacitance sensor, it can be determined whether the button 120 is touched.

[0049] The capacitive touch unit 152 and the capacitive sensor 154 may be connected via the third flexible circuit board 190 , or the capacitive touch unit 152 and the second circuit board 200 may be connected via the third flexible circuit board 190 .

[0050] Optionally, when the capacitance sensor 154 detects that the capacitance value of the capacitance touch component 152 is greater than or equal to a first capacitance threshold, the light-sensitive trigger threshold is adjusted; when the capacitance sensor 154 detects that the capacitance value of the capacitance touch component 152 is less than or equal to a second capacitance threshold, the light-sensitive trigger threshold is restored.

[0051] Specifically, when the capacitance sensor 154 detects that the touch capacitance value is greater than or equal to the first capacitance threshold, the light-sensitive trigger threshold is adjusted, that is, the trigger threshold of functions such as brightness adjustment, color temperature adjustment or proximity detection is adjusted to adapt to the light changes caused by the button 120 being touched or blocked; when the capacitance sensor 154 detects that the touch capacitance value is less than or equal to the second capacitance threshold, the light-sensitive trigger threshold is restored to ensure the normal use of functions such as brightness adjustment, color temperature adjustment or proximity detection of the electronic device 100, thereby improving the stability of the electronic device 100.

[0052] That is, when the button 120 is touched by a human body, the ambient light detection, infrared proximity detection and color temperature detection are all maintained at the state before the button 120 is touched. When the human body leaves the button 120, the photosensitive component 130 restores the original photosensitive trigger threshold.

[0053] The first capacitance threshold is greater than the second capacitance threshold.

[0054] Fig.10 A flowchart of a method for controlling a light sensing function in an electronic device provided in an embodiment of the present application is shown, and the method includes:

[0055] Step 1002: the touch capacitance value is greater than or equal to the first capacitance value;

[0056] Step 1004: adjusting the light-sensing trigger threshold;

[0057] Step 1006: the touch capacitance value is less than or equal to the second capacitance value;

[0058] Step 1008: Restore the light-sensitive trigger threshold.

[0059] Optionally, when the capacitance sensor 154 detects that the touch capacitance value is greater than or equal to the first capacitance threshold, the photosensing function is suspended; when the capacitance sensor 154 detects that the touch capacitance value is less than or equal to the second capacitance threshold, the photosensing function is re-enabled.

[0060] Specifically, when the capacitance sensor 154 detects that the touch capacitance value is greater than or equal to the first capacitance threshold, the photosensitivity function of the electronic device 100 is suspended, that is, the adjustment of brightness adjustment, color temperature adjustment or proximity detection functions is suspended to avoid detection errors caused by the button 120 being touched or blocked; when the capacitance sensor 154 detects that the touch capacitance value is less than or equal to the second capacitance threshold, the photosensitivity function of the electronic device 100 is re-enabled to ensure the normal use of the brightness adjustment, color temperature adjustment or proximity detection functions of the electronic device 100, thereby improving the stability of the electronic device 100.

[0061] That is, when the button 120 is touched by a human body, the ambient light detection, infrared proximity detection and color temperature detection are all maintained at the state before the button 120 is touched, and when the human body leaves the button 120, the photosensitive component 130 restarts.

[0062] The first capacitance threshold is greater than the second capacitance threshold.

[0063] Fig.11 A second flowchart of a method for controlling a photosensitivity function in an electronic device provided in an embodiment of the present application is shown, and the method includes:

[0064] Step 1102: the touch capacitance value is greater than or equal to the first capacitance value;

[0065] Step 1104: suspend the light sensing function;

[0066] Step 1106: the touch capacitance value is less than or equal to the second capacitance value;

[0067] Step 1108: Re-enable the light-sensing function.

[0068] like Figure 2 and Figure 3 As shown, as a possible implementation, the photosensitive component 130 includes: a photoelectric sensor 132; a light guide 134, at least a portion of the light guide 134 is disposed in the groove 122, and the light guide 134 is used to guide the light passing through the key 120 to the photoelectric sensor 132.

[0069] Specifically, the photosensitive component 130 includes a photoelectric sensor 132 and a light guide 134. At least a portion of the light guide 134 is disposed in the groove 122. The light emitted by the button 120 is irradiated onto the light guide 134. The light guide 134 guides the light to the photoelectric sensor 132, thereby realizing the detection of the light. Since the button 120 is relatively small in size, the light guide 134 is used to guide the light, thereby reducing the difficulty of producing the electronic device 100.

[0070] The bracket 110 has a third through hole, and the light guide member 134 passes through the third through hole.

[0071] The light guide 134 may be a light guide column, a lens, an optical fiber, etc. The photoelectric sensor 132 is soldered on the second circuit board 200 .

[0072] like Figure 2 and Figure 3 As shown, as a possible implementation, the photosensitive component 130 further includes: a fixing sleeve 136 disposed on the bracket 110 , and the fixing sleeve 136 is used to fix the light guide 134 .

[0073] Specifically, the photosensitive component 130 also includes a fixing sleeve 136, which is disposed on the bracket 110 and is capable of fixing the light guide 134. Since the bracket 110 has high requirements for rigidity and strength, it is difficult to fix the light guide 134 only by the bracket 110. Therefore, providing the fixing sleeve 136 to fix the light guide 134 can reduce the difficulty of producing the electronic device 100.

[0074] The bracket 110 has a third through hole. The fixing sleeve 136 is disposed on the third through hole and fixes the light guide member 134 .

[0075] like Figure 4 As shown, as a possible implementation, the photosensitive component 130 includes a photoelectric sensor 132 ; a prism 140 , which is disposed in the groove 122 , the prism 140 and the photoelectric sensor 132 are opposite, and the prism 140 is used to guide the light passing through the button 120 to the photoelectric sensor 132 .

[0076] Specifically, the photosensitive component 130 includes a photoelectric sensor 132 and a prism 140. The prism 140 is arranged in the groove 122. The light emitting surfaces of the photoelectric sensor 132 and the prism 140 in the groove 122 are opposite to each other. The light emitted from the button 120 is irradiated onto the prism 140, and the prism 140 guides the light to the photoelectric sensor 132, thereby realizing the detection of the light. The prism 140 is small in size, simplifies the light guiding structure, is easy to set up, and reduces the production difficulty of the electronic device 100.

[0077] The prism 140 can be fixed on the button 120 by adhesive or other means.

[0078] like Figure 4 As shown, the photosensitive component 130 further includes a first circuit board 138 , and the first circuit board 138 is disposed on the second circuit board 200 , and the photoelectric sensor 132 is disposed on a side of the first circuit board 138 facing the button 120 .

[0079] like Figure 5As shown, as a possible implementation, the photosensitive component 130 includes: a detection circuit 142; a first flexible circuit board 144, at least a portion of the first flexible circuit board 144 is disposed in the groove 122, and the first flexible circuit board 144 and the detection circuit 142 are electrically connected; a transmitter 146, disposed on the first flexible circuit board 144 and located in the groove 122; a receiver 148, disposed on the first flexible circuit board 144 and located in the groove 122.

[0080] Specifically, the photosensitive component 130 includes a detection circuit 142, a first flexible circuit board 144, a transmitter 146 and a receiver 148. At least a portion of the first flexible circuit board 144 is arranged in the groove 122, and the transmitter 146 and the receiver 148 are arranged on the first flexible circuit board 144. In addition, the transmitter 146 and the receiver 148 are located in the groove 122, and the first flexible circuit board 144 and the detection circuit 142 are electrically connected. That is, the photoelectric sensor 132 is disassembled and arranged in different positions respectively, thereby reducing the number of components of the photosensitive component 130, reducing hardware costs, reducing the overall volume of the photosensitive component 130, and reducing the structural complexity of the photosensitive component 130, avoiding the influence of factors such as signal loss and dirty optical path of the photosensitive component 130.

[0081] The first flexible circuit board 144 can be fixed on the button 120 by adhesive or other means.

[0082] The detection circuit 142 may be an analog front end, the transmitter 146 may be a light-emitting diode (LED) or a vertical-cavity surface-emitting laser (VCSEL), etc., and the receiver 148 may be a photodiode (PD), etc.

[0083] like Figure 5 As shown, as a possible implementation, the portion of the first flexible circuit board 144 located in the groove 122 has a first through hole 1442 .

[0084] Specifically, the portion of the first flexible circuit board 144 located in the groove 122 has a first through hole 1442 , and the first through hole 1442 increases the amount of light entering the button 120 , thereby meeting the light measurement requirements of the photosensitive component 130 .

[0085] like Figure 5 As shown, as a possible implementation, the transmitter 146 and the receiver 148 are mounted on the first flexible circuit board 144 by a flip-chip process.

[0086] Specifically, the transmitter 146 and the receiver 148 are mounted on the first flexible circuit board 144 by a flip-chip process, thereby improving the accuracy of light detection by the photosensitive component 130 .

[0087] As a possible implementation, the bracket 110 may be a frame, a button 120 support, a frame, a circuit board or other components.

[0088] For example: the bracket 110 is a frame, the button 120 includes a groove 122, the groove 122 is connected to the interior of the frame, and part of the photosensitive component 130 is located in the groove 122, so that the button 120 has the ability to receive light from multiple sides, thereby increasing the amount of light received by the photosensitive component 130, and the capacitive touch component 152 is located in the groove 122, thereby increasing the sensitivity of the capacitive touch component 152 to detecting that the button 120 is touched, and the capacitive touch component 152 and the photosensitive component 130 are spaced apart, thereby reducing the interference of the photosensitive component 130 on the capacitive touch component 152 and improving the accuracy of detecting that the button 120 is touched.

[0089] like Figure 3 As shown, light can enter from three sides of the key 120, thereby increasing the amount of light entering and realizing the detection of light from different directions. Figure 3 The arrows in the figure represent light rays.

[0090] like Figures 2 to 5 As shown, as a possible implementation, the electronic device 100 further includes: a switch assembly 170, which is disposed on the bracket 110; a ejector pin 180, at least a portion of which is disposed in the groove 122, the ejector pin 180 and the switch assembly 170 are opposite to each other, and the ejector pin 180 is used to trigger the switch assembly 170 when the button 120 is pressed to a predetermined position.

[0091] Specifically, the electronic device 100 also includes a switch assembly 170 and a ejector pin 180. The switch assembly 170 is fixed on the bracket 110, and the ejector pin 180 is arranged on the button 120. Moreover, at least a portion of the ejector pin 180 is arranged in the groove 122. When the button 120 is pressed to a predetermined position, the ejector pin 180 can trigger the switch assembly 170, thereby realizing the function of the button 120. The cooperation between the ejector pin 180 and the switch assembly 170 provides an installation space for the photosensitive assembly 130.

[0092] The switch assembly 170 includes a second flexible circuit board 174 and a micro switch 172 . The micro switch 172 is disposed on the bracket 110 . The second flexible circuit board 174 and the micro switch 172 are electrically connected. The second flexible circuit board 174 is also electrically connected to the second circuit board.

[0093] The switch assembly 170 can be bonded to the bracket 110 , for example, the micro switch 172 is attached to the second flexible circuit board 174 , and the second flexible circuit board 174 is attached to the bracket 110 .

[0094] The ejector pin 180 and the button 120 are snap-fitted or plugged into each other. Under the action of external force, the button 120 moves with the ejector pin 180 into the interior of the bracket 110 , so that the ejector pin 180 is pressed onto the switch assembly 170 to realize the function of the button 120 .

[0095] As a possible implementation, the button 120 may be embedded in the bracket 110 or one side of the position bracket 110 .

[0096] As a possible implementation, the button 120 may be a power button, a volume button, a mute button, a camera button, or a custom button.

[0097] Second, as Figures 7 to 9 As shown, an embodiment of the present application provides a key 120, which is applied to an electronic device 100 as provided in the first aspect embodiment, and the key 120 includes: a key body 124 and an optical coating 126, the key body 124 is a light-transmitting material, the key body 124 has a groove 122, and the optical coating 126 is arranged on the inner wall of the groove 122; or a key body 124 and a light-transmitting member 128, the key body 124 has a second through hole 1242, and the light-transmitting member 128 is arranged at the second through hole 1242.

[0098] Specifically, the button 120 is applied to the electronic device 100 provided in the embodiment of the first aspect.

[0099] like Figure 7 As shown, the key 120 includes a key body 124 and an optical coating 126. The key body 124 is arranged on the bracket 110. The key body 124 is made of a light-transmitting material. The key body 124 has a groove 122. The optical coating 126 is arranged on the inner wall of the groove 122. The optical coating 126 is used for decoration to reduce the possibility of the user looking directly at the interior of the electronic device 100. In addition, the optical coating 126 can ensure the amount of light entering the key 120 and ensure the light requirement of the photosensitive component 130.

[0100] The transmittance of the button 120 to ambient light and infrared bands is greater than or equal to 2%.

[0101] The key body 124 is made of a light-transmitting material such as glass or plastic, and the optical coating 126 can be optical ink.

[0102] or Figure 8 and Fig. 9As shown, the key 120 includes a key body 124 and a light-transmitting member 128. The light-transmitting member 128 is a light-transmitting material and is arranged on the key 120. The key 120 has a second through hole 1242, and the light-transmitting member 128 is arranged at the second through hole 1242, thereby ensuring that light can pass through the light-transmitting member 128 to enter the key 120, thereby ensuring the light quantity requirement of the photosensitive component 130.

[0103] The light-transmitting member 128 is made of light-transmitting materials such as glass or plastic.

[0104] In the description of this specification, the description with reference to the terms "one embodiment" or "specific embodiment" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0105] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. An electronic device, characterized in that: include: Bracket; A button, arranged on the bracket, at least a portion of the button is made of a light-transmitting material, and the button has a groove; A photosensitive component, at least a portion of which is disposed in the groove, and the photosensitive component is used to receive light passing through the key.

2. The electronic device according to claim 1, characterized in that: Also includes: a detection component, at least partially disposed in the groove, the detection component being used to detect a touch event of the key; A control component, in the case where the detection component detects the touch event, the control component controls the light-sensitive trigger threshold of the electronic device to adjust, and in the case where the touch event ends, the control component controls the light-sensitive trigger threshold of the electronic device to restore; or in the case where the detection component detects the touch event, the control component controls the electronic device to suspend the light-sensitive function, and in the case where the touch event ends, the control component controls the electronic device to re-enable the light-sensitive function.

3. The electronic device according to claim 2, characterized in that: The detection component comprises: A capacitive touch control component is disposed in the groove; A capacitive sensor is electrically connected to the capacitive touch component, and the capacitive sensor detects a touch event of the key according to a capacitance value of the capacitive touch component.

4. The electronic device according to any one of claims 1 to 3, characterized in that: The photosensitive component comprises: Photoelectric sensors; A light guide member, at least a portion of which is disposed in the groove, and the light guide member is used to guide the light passing through the key to the photoelectric sensor.

5. The electronic device according to claim 4, characterized in that: The photosensitive component also includes: A fixing sleeve, wherein the fixing sleeve is arranged on the bracket and is used to fix the light guide.

6. The electronic device according to any one of claims 1 to 3, characterized in that: The photosensitive component comprises: Photoelectric sensors; A prism is arranged in the groove, the prism is opposite to the photoelectric sensor, and the prism is used to guide the light passing through the key to the photoelectric sensor.

7. The electronic device according to any one of claims 1 to 3, characterized in that: The photosensitive component comprises: Detection circuit; a first flexible circuit board, at least a portion of which is disposed in the groove, and the first flexible circuit board is electrically connected to the detection circuit; A transmitter, arranged on the first flexible circuit board and located in the groove; The receiver is arranged on the first flexible circuit board and is located in the groove.

8. The electronic device according to claim 7, characterized in that: A portion of the first flexible circuit board located in the groove has a first through hole.

9. The electronic device according to any one of claims 1 to 3, characterized in that: Also includes: A switch assembly is arranged on the bracket; An ejector pin, at least a portion of which is disposed in the groove, the ejector pin is opposite to the switch assembly, and the ejector pin is used to trigger the switch assembly when the button is pressed to a predetermined position.

10. A key, characterized in that: Applied to the electronic device according to any one of claims 1 to 9, the button comprises: A key body and an optical coating, wherein the key body is made of a light-transmitting material, the key body has a groove, and the optical coating is disposed on an inner wall of the groove; or A key body and a light-transmitting member, wherein the key body has a second through hole, and the light-transmitting member is arranged at the second through hole.