Electronic device

By adding a camera cover to electronic devices and utilizing the intelligent operation of the controller, the contradiction between camera protection and function execution is resolved, achieving effective camera protection and normal function execution, thus improving the user experience and intelligence.

CN121619488APending Publication Date: 2026-03-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511984876.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

How to effectively protect cameras without affecting the normal use of electronic devices, and improve their user experience and the intelligence/automation of their functions.

Method used

Adding a camera cover to electronic devices allows the camera to be protected when closed, and to remain functional when open. The cover responds to preset functions or changes in the cover's state via a controller to ensure proper operation.

Benefits of technology

It achieves effective protection for the camera without affecting its normal use, thus improving the user experience and the intelligence and automation of electronic device execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121619488A_ABST
    Figure CN121619488A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides electronic equipment. The electronic equipment comprises a camera, a camera cover plate and a controller, the camera cover plate can be in a closed state and an open state, the camera cover plate is located in a light path of the camera in the closed state to cover the camera, and the camera cover plate is located outside the light path of the camera in the open state. And the controller is used for responding to the operation of starting the preset function, controlling and executing corresponding operation according to the state of the camera cover plate, and / or responding to the state change of the camera cover plate, and controlling and executing corresponding operation. The invention further provides a control method. According to the invention, the camera of the electronic equipment can be effectively protected, and the normal use of the electronic equipment is not influenced or the use experience of the electronic equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminals, and more particularly to an electronic device. Background Technology

[0002] Currently, with the increasingly sophisticated functions of mobile phones and other electronic devices, these devices have become widely used and an indispensable part of people's lives. As the camera functions of these devices become more powerful and cameras more expensive, the question of how to effectively protect the cameras of electronic devices without affecting their normal use has become a problem that needs to be solved. Summary of the Invention

[0003] This application provides an electronic device to solve the above-mentioned problems.

[0004] On one hand, an electronic device is provided, including a camera, a camera cover, and a controller. The camera cover can be in a closed state and an open state, wherein in the closed state, the camera cover is located within the optical path of the camera to cover the camera, and in the open state, it is located outside the optical path of the camera. The controller is used to respond to an operation to activate a preset function, control the execution of corresponding operations according to the state of the camera cover, and / or, control the execution of corresponding operations in response to a change in the state of the camera cover.

[0005] In this application, by adding a camera cover, the camera cover can effectively protect the camera when closed, and when open, it is located outside the camera's optical path without affecting the camera's normal use. Furthermore, in this application, the controller can respond to the activation of preset functions by controlling the execution of corresponding operations based on the state of the camera cover, and / or can respond to changes in the state of the camera cover by controlling the execution of corresponding operations. This ensures the normal execution of preset functions and / or enhances the intelligence / automation of control, thereby not affecting the normal use of the electronic device or even improving the user experience. Attached Figure Description

[0006] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.

[0007] Figure 1 This is a plan view of an electronic device according to an embodiment of this application.

[0008] Figure 2 This is a structural block diagram illustrating a portion of the structure of an electronic device in some embodiments of this application.

[0009] Figure 3This is another planar schematic diagram of an electronic device in some embodiments of this application.

[0010] Figure 4 A side view illustrating a portion of the internal structure of an electronic device in some embodiments of this application is provided.

[0011] Figure 5 The flowcharts are for some embodiments of the control methods in this application.

[0012] Figure 6 for Figure 5 Step 51 is a sub-flowchart in some embodiments.

[0013] Figure 7 for Figure 5 Step 51 in some embodiments is another sub-flowchart.

[0014] Figure 8 for Figure 5 Step 51 is another sub-flowchart in some embodiments.

[0015] Figure 9 for Figure 5 Step 51 is another sub-flowchart in some embodiments.

[0016] Figure 10 This is another structural block diagram of an electronic device in some embodiments of this application. Detailed Implementation

[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] In the description of the embodiments of this invention, it should be understood that the terms "upper," "lower," "thickness," "width," etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the invention and simplifying the description, and do not imply or indicate that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. The term "connection" in this application may include electrical connection, direct connection, or indirect connection, etc., and can be specifically determined according to the description. The term "coupling" in this application mainly refers to indirect connection or electrical connection, and may also include direct connection where there is a description or where it can be deduced from the description. In the description of the embodiments of this invention, the terms "first," "second," etc., are not specific, but are used to distinguish objects with the same name. Where there is a description, the objects with the same name referred to by the terms "first," "second," etc., may be the same objects. In the description of the embodiments of this invention, the term "A and / or B" includes three cases: "A," "B," and "A and B."

[0019] Please see Figure 1 This is a plan view of an electronic device 100 in one embodiment of this application.

[0020] like Figure 1 As shown, the electronic device 100 includes a camera 1, a camera cover 2, and a controller 3. The camera cover 2 can be in a closed state and an open state. In the closed state, the camera cover 2 is located within the optical path of the camera 1 to cover the camera 1; in the open state, it is located outside the optical path of the camera 1. The controller 3 is used to respond to the operation of activating a preset function, control the execution of corresponding operations according to the state of the camera cover 2, and / or control the execution of corresponding operations in response to changes in the state of the camera cover 2.

[0021] Therefore, in this application, by adding a camera cover 2, the camera cover 2 can cover the camera 1 in the closed state, thus effectively protecting the camera 1. In the open state, the camera cover 2 is located outside the optical path of the camera 1, without affecting the normal use of the camera 1. Furthermore, in this application, the controller 3 can respond to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, and / or can respond to changes in the state of the camera cover 2 by controlling the execution of corresponding operations, thereby ensuring the normal execution of preset functions and / or improving the intelligence / automation of control.

[0022] In some embodiments, the optical path of camera 1 may refer to the optical path through which camera 1 receives incident light to form an image. When camera cover 2 is in a closed state, camera cover 2 is located in the optical path of camera 1 to cover camera 1 and prevent camera 1 from receiving incident light. When camera cover 2 is in an open state, it is located outside the optical path of camera 1 and allows camera 1 to receive incident light.

[0023] In this application, when the camera cover 2 is in a closed state, it means that it blocks all or most of the light entering the camera 1. When the camera cover 2 is in an open state, it means that it does not block the light entering the camera 1, or only blocks a small portion of the light. This will be explained in more detail later.

[0024] In this application, the number of cameras 1 includes at least one, for example, one, two, three, four, etc. Figure 1 The diagram illustrates four cameras (1 in total). When the camera cover 2 is closed, all cameras 1 are covered by the camera cover 2, meaning that the projections of all cameras 1 on one side of the camera cover 2 are located inside the camera cover 2.

[0025] in, Figure 1 This can be a schematic diagram viewed from the back side of the electronic device 100, that is, from the side opposite to the display screen of the electronic device 100. Camera 1 can be a rear-facing camera. The controller 3 is located inside the electronic device 100. Figure 1 In the diagram, controller 3 is shown with a dashed box.

[0026] In this application, the controller 3 responds to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, and / or responds to a change in the state of the camera cover 2 by controlling the execution of corresponding operations. This includes the controller 3 responding to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, or responding to a change in the state of the camera cover 2 by controlling the execution of corresponding operations, or, in addition to responding to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, it can also respond to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, etc.

[0027] In some embodiments, the controller 3 responds to the operation of activating a preset function and controls the execution of corresponding operations according to the state of the camera cover, including: when the camera cover 2 is in the closed state, the controller 3 controls the output of a prompt message to prompt the camera cover 2 to be opened; wherein, the preset function is a function that needs to be executed when the camera cover 2 is in the open state.

[0028] That is, in some embodiments, the controller 3 responds to the operation of activating a preset function, and the corresponding operation controlled according to the state of the camera cover can be that when the camera cover 2 is in the closed state, the controller outputs a prompt message to prompt the camera cover 2 to be opened.

[0029] The preset function requires the camera cover 2 to be open. If the camera cover 2 is closed when responding to or receiving an operation to enable the preset function, it will affect the normal use of the preset function. Therefore, in this application, if the camera cover 2 is closed when responding to or receiving an operation to enable the preset function, the system outputs a prompt message to remind the user to open the camera cover 2. This can promptly remind the user to open the camera cover 2, avoid affecting the normal use of the preset function, or even improve the user experience of the preset function. In other words, it does not affect the normal use of the electronic device 100 or can even improve the user experience of the electronic device 100.

[0030] In some embodiments, the prompting information may include information or signals in the form of voice information, display information, vibration information and / or light signals, etc.

[0031] Please see Figure 2 This is a structural block diagram illustrating a portion of the structure of an electronic device 100 in some embodiments of this application.

[0032] like Figure 2 As shown, in some embodiments, the electronic device 100 further includes a prompting unit 4, and the controller 3 is connected to the prompting unit 4 to control the prompting unit 4 to output prompting information.

[0033] The prompting unit 4 may include a speaker, a display screen, a vibrator and / or a prompt light, etc., and is used to output information or signals in the form of voice information, display information, vibration information and / or light signals, etc.

[0034] In some embodiments, the content of the prompt message can be anything that reminds the user to open the camera cover 2, such as: Please open the camera cover; or: The camera cover is not open; etc. In some embodiments, when the prompt message includes both voice and display information, it can specifically be video information, and animation and voice can be displayed to prompt the user, thereby improving the efficiency of the prompt.

[0035] In some embodiments, the default functions include a shooting function.

[0036] That is, in some embodiments, when responding to the operation of activating the shooting function, since the shooting function requires the camera to collect light, the camera cover 2 needs to be in an open state to execute the shooting function. Therefore, when responding to the operation of activating the shooting function, if the camera cover 2 is in a closed state, the control outputs a prompt message to prompt the user to open the camera cover 2. This can promptly remind the user to open the camera cover 2 and avoid affecting the normal use of the shooting function.

[0037] In some embodiments, activating the shooting function may be done by clicking the shooting application icon in the electronic device 100, or by clicking the corresponding scan or take picture icon in some applications, or by pressing a physical button in a way related to activating the shooting function, etc.

[0038] Please see Figure 3 This is another planar schematic diagram of the electronic device 100 in some embodiments of this application.

[0039] in, Figure 3 This is also a schematic diagram viewed from the rear side of the electronic device 100, in which... Figure 3 compared to Figure 1 More components and / or labels are shown.

[0040] Among them, such as Figure 3 As shown, in some embodiments, the electronic device 100 further includes an antenna radiator 5, which is used to support the transmission and reception of electromagnetic wave signals in a preset frequency band. At least a portion of the camera cover plate 2 is a metal region 21 made of metal material, which is electrically connected to the antenna radiator 5. The preset function includes the function of communicating in the preset frequency band.

[0041] That is, in some embodiments, the electronic device 100 further includes an antenna radiator 5, which can support the transmission and reception of electromagnetic wave signals in a preset frequency band. At least a portion of the camera cover 2 is a metal region 21 made of metal material. The metal region 21 of the camera cover 2 is electrically connected to the antenna radiator 5. Thus, when responding to the function of enabling communication in the preset frequency band, if the camera cover 2 was originally open, the metal region 21 of the camera cover 2 can be equivalent to an extension of the antenna radiator 5, thereby improving the communication performance of the preset frequency band. If the camera cover 2 is in a closed state, a prompt message is output to prompt the user to open the camera cover 2. This can promptly remind the user to open the camera cover 2, thereby improving the communication performance of the preset frequency band after the camera cover 2 is opened.

[0042] Therefore, in some embodiments of this application, the controller 3 responds to the operation of activating a preset function, such as activating the communication function of a preset frequency band, and controls the execution of corresponding operations based on the state of the camera cover 2. For example, it controls the output of prompt information to prompt the camera cover 2 to be opened, and can also improve the user experience of the preset function. For example, it can improve the communication performance of the preset frequency band and improve the communication quality.

[0043] in, Figure 3 In this example, the entire area of ​​the camera cover 2 is taken as the metal area 21. In some embodiments, the metal area 21 may only be a part of the camera cover 2.

[0044] In some embodiments, the preset frequency band is a satellite communication frequency band.

[0045] That is, in some embodiments, the preset frequency band can be a satellite communication frequency band. Thus, when communication on the satellite communication frequency band is enabled, if the camera cover 2 is in a closed state, the system will output a prompt message to prompt the camera cover 2 to be opened, thereby improving the communication performance of the satellite communication frequency band.

[0046] In some embodiments, the preset function includes the operation of enabling communication on a preset frequency band when such communication is required. This operation can be performed by activating software that needs to use the preset frequency band for data transmission. For example, when the preset frequency band is a satellite communication band, enabling communication on the preset frequency band can be performed by clicking a satellite communication icon or selecting the satellite communication function through menu options.

[0047] In some embodiments, such as Figure 3 As shown, the electronic device 100 includes a top end D11, a bottom end D12, and two side ends D13 and D14. In some embodiments, the camera 1 and the camera cover 2 may be disposed on the back of the electronic device 100 near the top end D11.

[0048] In some embodiments, such as Figure 3 As shown, the electronic device 100 includes a back cover 6, a camera 1 is disposed in the camera area Q1 of the back cover, and the camera area Q1 is close to the top D11. The camera cover 2 is movably connected to the camera area Q1 and can be in a closed state or an open state.

[0049] In some embodiments, such as Figure 3As shown, the camera cover 2 is movably connected to the camera area Q1 near the top D11. When the camera cover 2 is open, it moves towards the top D11 of the electronic device 100, thus pointing towards the top D11 of the electronic device 100. Since the top D11 of the electronic device 100 points upwards when normally held, and satellite communication also requires the antenna to point upwards, the movement of the camera cover 2 towards the top D11 of the electronic device 100 will point it towards the sky. In other words, the metal area of ​​the camera cover 2 will point towards the sky, thereby improving the communication performance of the satellite communication band.

[0050] In some embodiments, the preset frequency band can also be other frequency bands, such as low-frequency bands, mid-to-high-frequency bands, and other cellular communication bands, or short-range communication bands such as WiFi bands and Bluetooth bands. When the preset frequency band is other than a frequency band, the camera cover 2 can also be movably connected to other positions of the camera area Q1, for example, it can be movably connected to a position near one of the side ends D13 of the camera area Q1.

[0051] In this application, the use of directional terms such as "top" and "bottom" when describing the electronic device 100 is primarily based on the orientation of the device when held and used by the user. "Top" refers to the position facing the top of the electronic device 100, and "bottom" refers to the position facing the bottom. This does not imply that the device or component must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation on the orientation of the electronic device 100 in a real-world application scenario. In some embodiments, the bottom end D12 of the electronic device 100 is the end with a headphone jack and a USB port, and the top end D11 is the opposite end to the end with the headphone jack and USB port, or it may refer to the end with a camera, receiver, etc.

[0052] Among them, such as Figure 3 As shown, the camera cover 2 can be rotatably connected to the edge of the camera area Q1 via the rotating member J1. It can be rotatably closed and attached to the camera area Q1 to cover the camera 1, or rotated to be open and exposed.

[0053] In some embodiments, a camera decorative ring Q2 is formed around the periphery of the camera area Q1, and the camera cover plate 2 can be rotatably connected to the edge of the camera decorative ring Q2 via a rotating member J1.

[0054] Among them, the rotating component J1 can be a rotating shaft, hinge, or other structure.

[0055] In some embodiments, such as Figure 3As shown, the antenna radiator 5 can be positioned at the location of the camera decorative ring Q2. For example, the antenna radiator 5 is at least a partial structure of the camera decorative ring Q2. In some embodiments, the rotating member J1 is also made of metal, and the metal region 21 of the camera cover plate 2 can be electrically connected to the antenna radiator 5 through the rotating member J1. When the metal region 21 is a partial area of ​​the camera cover plate 2, the metal region 21 can be any area electrically connected to the rotating member J1.

[0056] In some embodiments, the antenna radiator 5 may also be located in other locations, such as other locations on the back cover 6 or on the frame of the electronic device 100, and electrically connected to the rotating member J1 via a flexible circuit board, wiring, etc., thereby electrically connecting the rotating member J1 to the metal area 21 of the camera cover 2.

[0057] Please refer back to this page. Figure 2 and Figure 3 In some embodiments, the electronic device 100 further includes a detection unit 7, and the controller 3 is also connected to the detection unit 7. When the camera cover 2 is in a closed state, the detection unit 7 is located within the coverage area of ​​the camera cover 2; that is, as shown in the figure, the detection unit 7 can be located within the camera area Q1. When the camera cover 2 is in a closed state, the detection unit 7 is also covered by the camera cover 2. The detection unit 7 is used to detect whether the camera cover 2 is in a closed or open state and generate a corresponding detection signal. The controller 3 is connected to the detection unit 7 and is used to acquire the detection signal generated by the detection unit 7 and determine the current state of the camera cover 2 based on the detection signal.

[0058] That is, in some embodiments, the electronic device 100 further includes a detection unit 7, which is used to detect whether the camera cover 2 is in a closed state or an open state and generate a corresponding detection signal. The controller 3 obtains the detection signal generated by the detection unit and determines the current state of the camera cover 2 based on the detection signal.

[0059] In some embodiments, when the camera cover 2 is in the closed state, the detection unit 7 is covered by the camera cover 2, while when the camera cover 2 is in the open state, the detection unit 7 is not covered and is exposed. Therefore, the detection signal generated by the detection unit 7 will be different, reflecting the closed and open states of the camera cover 2 respectively. Thus, the controller 3 can determine the current state of the camera cover 2 based on the detection signal generated by the detection unit.

[0060] in, Figure 3 The example shown is that the detection unit 7 is set in an area surrounded by multiple cameras 1. The detection unit 7 can also be set at any position within the camera area Q1.

[0061] Please see Figure 4 The image shows a side view illustrating a portion of the internal structure of an electronic device 100 in some embodiments of this application.

[0062] in, Figure 4 This is a schematic diagram illustrating a portion of the internal structure of the electronic device 100 as viewed from one side, for example, from side D13 or side D14. Figure 4 The example shown is with the back cover facing upwards (6).

[0063] In some embodiments, the detection unit 7 includes an infrared emitter 71 and an infrared receiver 72. The inner surface of the camera cover 2 is provided with a reflective structure 22. When the camera cover 2 is in a closed state, at least the projection of the infrared emitter 71 on one side of the camera cover 2 is located within the area of ​​the reflective structure 22, and the infrared emitter 71 is used to emit infrared light towards one side of the camera cover 2 to achieve the detection function. The controller 3 is used to acquire the light intensity signal of the infrared light received by the infrared receiver 72, and determines that the camera cover 2 is in a closed state when the corresponding infrared intensity is greater than or equal to a first threshold, and determines that the camera cover 2 is in an open state when the corresponding infrared intensity is less than or equal to a second threshold, wherein the second threshold is less than the first threshold.

[0064] That is, in some embodiments, the detection unit 7 may include an infrared emitter 71 and an infrared receiver 72. The inner surface of the camera cover plate 2 is provided with a reflective structure 22. The infrared emitter 71 emits infrared light to one side of the camera cover plate 2 to achieve the detection function. When the camera cover plate 2 is in the closed state, the infrared light that achieves the detection function will be reflected back through the reflective structure 22 and received by the infrared receiver 72. At this time, since most of the infrared light that achieves the detection function is reflected back, the infrared light intensity of the infrared light received by the infrared receiver 72 will be relatively large, that is, it will be greater than or equal to the first threshold. At this time, the controller 3 determines that the camera cover plate 2 is in the closed state when the corresponding infrared intensity is greater than or equal to the first threshold based on the light intensity signal. When the camera cover 2 is open, the infrared light used for detection cannot be reflected back through the reflective structure 22. Therefore, the infrared light received by the infrared receiver 72 will be minimal or nonexistent, resulting in a lower infrared intensity (less than or equal to the second threshold). The controller 3 then determines that the camera cover 2 is open based on the light intensity signal, indicating that the infrared intensity is less than or equal to the second threshold. This effectively identifies the state of the camera cover 2.

[0065] The first threshold can be significantly larger than the second threshold, and the first and second thresholds can be obtained in advance through experiments.

[0066] The positions of the infrared receiver 72 and the infrared transmitter 71 are such that when the camera cover 2 is in the closed state, the infrared light that enables the detection function will be reflected back through the reflective structure 22 and can be received by the infrared receiver 72.

[0067] In some embodiments, the infrared transmitter 71 is also used to emit infrared light for implementing infrared control functions, the preset functions including infrared control functions.

[0068] That is, in some embodiments, the infrared transmitter 71 is also used to emit infrared light for realizing infrared control function. The preset function includes infrared control function. When responding to the operation of activating infrared control function, since infrared control function requires the emission of infrared light, if the camera cover 2 is in a closed state, it will block the infrared light. Therefore, when responding to the operation of activating infrared control function, if the camera cover 2 is in a closed state, the control output prompt information to prompt the user to open the camera cover 2. Thus, the user can be promptly reminded to open the camera cover 2 to avoid affecting the normal use of infrared control function.

[0069] In some embodiments, the infrared control function may include infrared remote control functions for controlling televisions, air conditioners, etc., or may include infrared ranging, infrared shooting, and other functions.

[0070] In some embodiments, the frequency of the infrared light emitted by the infrared emitter 71 for the detection function is different from the frequency of the infrared light used for the infrared control function.

[0071] That is, in some embodiments, the infrared emitter 71 can be used as a device in the detection unit 7 to detect the state of the camera cover 2, and can also be used to implement infrared control functions. The frequency of the infrared light emitted by the infrared emitter 71 when detecting the state of the camera cover 2 to implement the detection function is different from the frequency of the infrared light used to implement the infrared control function, thereby avoiding interference with the infrared light of ordinary infrared remote control functions.

[0072] Generally speaking, the frequency range of infrared light is between 300 GHz and 400 THz, which is a wide range. Therefore, based on the frequency of infrared light in existing common / ordinary infrared remote control functions, a unique frequency can be selected within the frequency range of infrared light to achieve the detection function.

[0073] In some embodiments, the detection unit 7 may also include other devices, such as an ultrasonic transmitter and an ultrasonic receiver. The controller 3 is used to acquire the sound intensity signal of the ultrasonic signal received by the ultrasonic receiver, and when the corresponding ultrasonic intensity is determined to be greater than or equal to a first ultrasonic threshold based on the sound intensity signal, it determines that the camera cover 2 is in a closed state, and when the corresponding ultrasonic intensity is determined to be less than or equal to a second ultrasonic threshold based on the sound intensity signal, it determines that the camera cover 2 is in an open state, wherein the second ultrasonic threshold is less than the first ultrasonic threshold.

[0074] Among them, such as Figure 4 As shown, the electronic device 100 also includes a circuit board 8, wherein the controller 3 and the like can be disposed on the circuit board 8.

[0075] In some embodiments, the controller 3 responds to a change in the state of the camera cover 2 and controls the execution of corresponding operations, including: the controller 3 responds to the camera cover 2 changing from a closed state to an open state and controls the activation of the corresponding target function.

[0076] That is, in some embodiments, the controller 3 responds to changes in the state of the camera cover 2 and controls the execution of corresponding operations, which may include: responding to the camera cover 2 changing from a closed state to an open state and controlling the activation of the corresponding target function. Thus, when the camera cover 2 changes from a closed state to an open state, the corresponding target function can be quickly activated, improving the user experience.

[0077] In some embodiments, the target function includes any one of the following: a function pre-configured by the user; a function determined based on the user's usage habits; and a default function.

[0078] In other words, the target function can be a function pre-configured by the user. For example, the user can pre-configure the function that is activated when the camera cover 2 is switched from the closed state to the open state as the target function. Alternatively, the target function can be a function determined based on user habits. For example, the function activated most often when the user switches the camera cover 2 from the closed state to the open state can be counted and the function activated most often can be used as the target function. Or, the target function can be a default function, that is, the function that is likely to be used most frequently by default in the system, such as the shooting function.

[0079] In some embodiments, as described above, the electronic device 100 further includes a detection unit 7. When the camera cover 2 is in a closed state, the detection unit 7 is located within the coverage area of ​​the camera cover 2. The detection unit 7 is used to detect whether the camera cover 2 is in a closed state or an open state and generate a corresponding detection signal. The controller 3 is connected to the detection unit 7 and is used to periodically acquire the detection signal generated by the detection unit 7 and determine the current state of the camera cover 2 based on the detection signal. When the current state of the camera cover 2 is determined to be different in two adjacent determinations, it is determined that the state of the camera cover 2 has changed.

[0080] That is, in some embodiments, the controller 3 periodically acquires the detection signal generated by the detection unit 7 and determines the current state of the camera cover 2 based on the detection signal. When the current state of the camera cover 2 is determined to be different in two adjacent determinations, it is determined that the state of the camera cover 2 has changed. When it is determined that the state of the camera cover 2 changes from the closed state to the open state, the corresponding target function is activated.

[0081] In some embodiments, as described above, the detection unit 7 includes an infrared emitter 71 and an infrared receiver 72. The inner surface of the camera cover 2 is provided with a reflective structure 22. When the camera cover 2 is in a closed state, at least the projection of the infrared emitter 71 on one side of the camera cover 2 is located within the area of ​​the reflective structure 22, and the infrared emitter 71 is used to emit infrared light towards one side of the camera cover 2 to achieve the detection function. The controller 3 is used to periodically acquire the light intensity signal of the infrared light received by the infrared receiver 72, and determines that the camera cover 2 has transitioned from a closed state to an open state if the infrared intensity was previously determined to be greater than or equal to a first threshold, and if the current infrared intensity is determined to be less than or equal to a second threshold.

[0082] In some embodiments, as described above, in addition to responding to the operation of activating a preset function and controlling the execution of corresponding operations based on the state of the camera cover 2, the controller 3 can also respond to the operation of activating a preset function and control the execution of corresponding operations based on the state of the camera cover 2.

[0083] In some embodiments, when the controller 3 responds to the operation of activating a preset function and controls the corresponding operation based on the state of the camera cover 2, including controlling the activation of the corresponding target function, when the controller 3 responds to the operation of activating a preset function and controls the output of prompt information based on the state of the camera cover 2, and the camera cover changes from a closed state to an open state under the user's operation, the controller 3 further controls the activation of the target function.

[0084] In some embodiments, the controller 3 further determines whether the target function has been enabled, for example, whether it is different from the preset function. If the controller 3 determines that the target function has not been enabled, it responds to the camera cover 2 changing from the closed state to the open state and controls the corresponding target function to be enabled.

[0085] In some embodiments, the controller 3 responds to the operation of activating a preset function by controlling the corresponding operation according to the state of the camera cover 2, and may also include: responding to the camera cover 2 changing from an open state to a closed state by controlling the shutdown of the corresponding target function.

[0086] That is, in some embodiments, when the controller 3 determines that the camera cover 2 changes from the open state to the closed state, it can control the corresponding target function to be turned off, thereby achieving the automatic shutdown of the target function and improving the user experience.

[0087] Therefore, the electronic device 100 in this application, by adding a camera cover 2, can effectively protect the camera 1 by covering it when closed, and when open, the camera cover 2 is located outside the optical path of the camera 1 without affecting its normal use. Furthermore, in this application, the controller 3 can respond to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, and / or can respond to changes in the state of the camera cover 2 by controlling the execution of corresponding operations, thereby ensuring the normal execution of preset functions and / or improving the intelligence / automation of control.

[0088] Please see Figure 5 This is a flowchart of a control method in some embodiments of this application. The method is applied to an electronic device, which includes a camera and a camera cover. The camera cover can be in a closed state and an open state. In the closed state, the camera cover is located within the optical path of the camera to cover it; in the open state, it is located outside the optical path of the camera. The method includes steps that are not limited to the following steps, and the order in which they are executed is not limited to the following order. The method includes: 51: In response to the operation of activating the preset function, control the execution of the corresponding operation according to the state of the camera cover, and / or, in response to the change in the state of the camera cover, control the execution of the corresponding operation.

[0089] Therefore, in this application, by adding a camera cover, the camera cover can cover the camera in the closed state, thus effectively protecting the camera. In the open state, the camera cover is located outside the camera's optical path and does not affect the normal use of the camera. Furthermore, in this application, in response to the operation of activating a preset function, the corresponding operation is controlled and executed according to the state of the camera cover, and / or, the corresponding operation is controlled and executed in response to changes in the state of the camera cover. This ensures the normal execution of the preset function and / or enhances the intelligence / automation of the control.

[0090] Please see Figure 6 ,for Figure 5 Step 51 is a sub-flowchart in some embodiments.

[0091] like Figure 6 As shown, in some embodiments, step 51 includes: 511: In response to the operation of enabling preset functions, determine the current state of the camera cover; 513: When the camera cover is closed, control output a prompt message to prompt the camera cover to be opened; the preset function is the function that needs to be executed when the camera cover is open.

[0092] That is, in some embodiments, "responding to the operation of enabling a preset function, controlling the execution of a corresponding operation based on the state of the camera cover, and / or, responding to a change in the state of the camera cover, controlling the execution of a corresponding operation" or "responding to the operation of enabling a preset function, controlling the execution of a corresponding operation based on the state of the camera cover" may include: responding to the operation of enabling a preset function, determining the current state of the camera cover; and when the camera cover is in a closed state, controlling the output of a prompt message to prompt the camera cover to be opened; wherein, the preset function is a function that needs to be executed when the camera cover is in an open state.

[0093] Therefore, in this application, when responding to or receiving an operation to enable the preset function, if the camera cover is in a closed state, the control outputs a prompt message to remind the user to open the camera cover 2. This can promptly remind the user to open the camera cover, avoid affecting the normal use of the preset function, or even improve the user experience of the preset function.

[0094] In some embodiments, preset functions may include a shooting function.

[0095] In some embodiments, the electronic device further includes an antenna radiator for supporting the transmission and reception of electromagnetic wave signals in a preset frequency band. At least a portion of the camera cover is a metal area made of a metallic material, which is electrically connected to the antenna radiator. The preset function includes the ability to communicate in the preset frequency band.

[0096] In some embodiments, the preset frequency band is a satellite communication frequency band.

[0097] In some embodiments, the electronic device further includes a detection unit. When the camera cover is in a closed state, the detection unit is located within the coverage area of ​​the camera cover. The detection unit is used to detect whether the camera cover is in a closed or open state and generate a corresponding detection signal. Determining the current state of the camera cover includes: acquiring the detection signal generated by the detection unit; and determining the current state of the camera cover based on the detection signal.

[0098] In some embodiments, the detection unit includes an infrared emitter and an infrared receiver. The inner surface of the camera cover is provided with a reflective structure. When the camera cover is in a closed state, at least the projection of the infrared emitter on one side of the camera cover is located within the area of ​​the reflective structure, and the infrared emitter is used to emit infrared light towards one side of the camera cover to achieve the detection function. Acquiring the detection signal generated by the detection unit includes acquiring the light intensity signal of the infrared light received by the infrared receiver. Determining the current state of the camera cover based on the detection signal includes: determining that the camera cover is in a closed state when the corresponding infrared intensity is greater than or equal to a first threshold; and determining that the camera cover is in an open state when the corresponding infrared intensity is less than or equal to a second threshold, wherein the second threshold is less than the first threshold.

[0099] In some embodiments, the infrared transmitter is also used to emit infrared light for implementing infrared control functions, the preset functions including infrared control functions.

[0100] In some embodiments, the frequency of the infrared light emitted by the infrared emitter for the detection function is different from the frequency of the infrared light used for the infrared control function.

[0101] Please see Figure 7 ,for Figure 5 Step 51 in some embodiments is another sub-flowchart.

[0102] like Figure 7 As shown, in some embodiments, step 51 may include: 515: Responds to the camera cover changing from a closed state to an open state, controls the activation of the corresponding target function.

[0103] Therefore, when the camera cover changes from a closed state to an open state, the corresponding target function can be quickly activated, improving the user experience.

[0104] In some embodiments, the target function includes any one of the following: a function pre-configured by the user; a function determined based on the user's usage habits; and a default function.

[0105] In other words, the target function can be a function pre-configured by the user. For example, the user can pre-configure the function that is activated when the camera cover is switched from closed to open. Alternatively, the target function can be a function determined based on user habits. For example, the function activated most frequently when the user switches the camera cover from closed to open can be counted and selected as the target function. Or, the target function can be determined by combining the current time with historical user data, identifying the function activated most frequently within the same time period. Alternatively, the target function can also be a default function, i.e., the function that is most frequently used by default in the system configuration, such as the camera function.

[0106] In some embodiments, the electronic device further includes a detection unit. When the camera cover is in a closed state, the detection unit is located within the coverage area of ​​the camera cover. The detection unit is used to detect whether the camera cover is in a closed state or an open state and generate a corresponding detection signal. The method further includes: periodically acquiring the detection signal generated by the detection unit and determining the current state of the camera cover based on the detection signal; when the current state of the camera cover is determined to be different in two adjacent determinations, it is determined that the state of the camera cover has changed.

[0107] In some embodiments, the detection unit includes an infrared emitter and an infrared receiver. The inner surface of the camera cover 2 is provided with a reflective structure. When the camera cover is in a closed state, at least the projection of the infrared emitter on one side of the camera cover is located in the area where the reflective structure is located, and the infrared emitter is used to emit infrared light towards one side of the camera cover to achieve the detection function. "Periodically acquiring the detection signal generated by the detection unit and determining the current state of the camera cover based on the detection signal; determining that the state of the camera cover has changed when the current state of the camera cover is different in two adjacent determinations" includes: periodically acquiring the light intensity signal of the infrared light received by the infrared receiver, and determining that the camera cover has changed from a closed state to an open state when the infrared intensity was previously determined to be greater than or equal to a first threshold based on the light intensity signal, and the current infrared intensity is determined to be less than or equal to a second threshold based on the light intensity signal.

[0108] Please see Figure 8 ,for Figure 5 Step 51 is another sub-flowchart in some embodiments.

[0109] like Figure 8 As shown, in some embodiments, step 51 may include: 515: Responds to the camera cover changing from a closed to an open state, controlling the activation of the corresponding target function; and 517: When the camera cover changes from an open state to a closed state, control the shutdown of the corresponding target function.

[0110] That is, in some embodiments, when the controller 3 determines that the camera cover 2 changes from the open state to the closed state, it can control the corresponding target function to be turned off, thereby achieving the automatic shutdown of the target function and improving the user experience.

[0111] Step 517 can be executed before or after step 515, depending on whether the current camera cover is transitioning from an open state to a closed state or from a closed state to an open state.

[0112] Please see Figure 9 ,for Figure 5 Step 51 is another sub-flowchart in some embodiments.

[0113] like Figure 9 As shown, in some embodiments, step 51 includes: 511: In response to the operation of enabling preset functions, determine the current state of the camera cover; 513: When the camera cover is closed, control output a prompt message to prompt the camera cover to be opened; the preset function is the function that needs to be executed when the camera cover is open.

[0114] 515: Responds to the camera cover changing from a closed state to an open state, controls the activation of the corresponding target function.

[0115] That is, in some embodiments, in addition to responding to the operation of activating a preset function and controlling the corresponding operation according to the state of the camera cover 2, it is also possible to respond to the operation of activating a preset function and control the corresponding operation according to the state of the camera cover.

[0116] In some embodiments, responding to the camera cover changing from a closed state to an open state, controlling the activation of the corresponding target function includes: responding to the camera cover changing from a closed state to an open state, first determining whether the target function has been activated, and if it is determined that the target function has not been activated, then controlling the activation of the corresponding target function.

[0117] In some embodiments, the aforementioned steps may also be included after step 515. Figure 8 Step 517.

[0118] Among them, the aforementioned Figures 5-9 The electronic device used in the control method described herein can be the electronic device 100 in any of the foregoing embodiments. Figures 5-9The steps in the control method described herein can all be functional operations performed by the controller 3 of the electronic device 100. The content of both the control method and the electronic device 100, including the related technical solutions and effects, can be referred to each other. Among them, the aforementioned... Figures 5-9 When the electronic device used in the control method described herein is the electronic device 100 in any of the foregoing embodiments, more specific details about the electronic device can be found in the foregoing. Figures 1-5 The relevant description of the electronic device 100 will not be repeated here.

[0119] Please see Figure 10 This is another structural block diagram of the electronic device 100 in some embodiments of this application. For example... Figure 9 As shown, the electronic device 100 may also include a memory 101 and a processor 102.

[0120] In some embodiments, the memory 101 of the electronic device 100 stores a program that is invoked by the processor 102 to execute the steps of the method in any of the foregoing embodiments.

[0121] For example, the program is used by processor 102 to perform the following steps: In response to the operation of activating preset functions, control the execution of corresponding operations based on the state of the camera cover, and / or, in response to changes in the state of the camera cover, control the execution of corresponding operations.

[0122] For details of the other method steps that the program is used to execute after being called by the processor 102, please refer to the foregoing. Figures 5-9 The relevant content of the diagram will not be elaborated here.

[0123] The electronic device 100 may also include other components, which are not described here as they are not relevant to the improvements in this application.

[0124] The electronic devices in this application may include handheld devices such as mobile phones and tablets, as well as in-vehicle devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of user equipment (UE), mobile station (MS), terminal device, etc.

[0125] The memory 101 can be an optical disc, USB flash drive, flash memory card, solid-state drive, micro hard drive, memory card, etc. The controller 3 can be a central processing unit, digital signal processor, microcontroller, etc., and the processor 102 can also be a central processing unit, digital signal processor, microcontroller, etc. The controller 3 and processor 102 can be the same or different, or they can be integrated into a single processing chip.

[0126] This application also provides a computer-readable storage medium storing a program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes the aforementioned electronic device. The computer-readable storage medium may be the aforementioned memory 101, or other storage media such as optical discs, USB flash drives, flash memory cards, etc.

[0127] For example, the program causes the computer to perform the following steps: responding to an operation to enable a preset function, controlling the execution of corresponding operations based on the state of the camera cover, and / or, responding to a change in the state of the camera cover, controlling the execution of corresponding operations.

[0128] For details of the other methods and steps that the program enables the computer to perform, please refer to the foregoing. Figures 5-9 The relevant content of the diagram will not be elaborated here.

[0129] This application also provides a chip that, after calling a program, executes some or all of the steps of any of the methods described in the above method embodiments. For example, after calling a program, the chip executes the following steps: responding to an operation to enable a preset function, controlling the execution of corresponding operations based on the state of the camera cover, and / or, responding to a change in the state of the camera cover, controlling the execution of corresponding operations.

[0130] For details regarding the other method steps executed by the chip after calling the program, please refer to the foregoing. Figures 5-9 The relevant content of the diagram will not be elaborated here.

[0131] Therefore, according to the control method and electronic device provided in this application, by adding a camera cover 2, the camera cover 2 can cover the camera 1 in the closed state, thus effectively protecting the camera 1. In the open state, the camera cover 2 is located outside the optical path of the camera 1, without affecting the normal use of the camera 1. Furthermore, in this application, the controller 3 can respond to the operation of activating a preset function by controlling the execution of corresponding operations based on the state of the camera cover 2, and / or can respond to changes in the state of the camera cover 2 by controlling the execution of corresponding operations, thereby ensuring the normal execution of the preset function and / or improving the intelligence / automation of the control.

[0132] The above embodiments mainly describe the solutions of the embodiments of this application from the perspective of the method execution process in conjunction with the hardware framework. It is understood that, in order to achieve the above functions, the electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0133] The various devices and products described in the above embodiments include modules / units, which may be software modules / units, hardware modules / units, or may be partly software modules / units and partly hardware modules / units. For example, for various devices or products that apply or integrate chips, each module / unit can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs running on the integrated processor inside the chip, while the remaining modules / units can be implemented using hardware methods such as circuits; for various devices or products that apply or integrate chip modules, each module / unit can be implemented using hardware methods such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, at least some modules / units can be implemented using software programs running on the integrated processor inside the chip module, while the remaining modules / units can be implemented using hardware methods such as circuits; for various devices or products that apply or integrate terminals, each module / unit can be implemented using hardware methods such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components within the terminal, or at least some modules / units can be implemented using software programs running on the integrated processor inside the terminal, while the remaining modules / units can be implemented using hardware methods such as circuits.

[0134] This application embodiment can divide an electronic device into functional units based on the method example. For example, each function can be divided into its own functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0135] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may include an electronic device.

[0136] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0137] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0138] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0139] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0140] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0141] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0142] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0143] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An electronic device, comprising: The electronic device comprises: a camera; a camera cover plate, which can be in a closed state and an open state, wherein the camera cover plate is in the light path of the camera in the closed state to cover the camera, and is out of the light path of the camera in the open state; and a controller, which is configured to control corresponding operations according to the state of the camera cover plate in response to an operation of starting a preset function, and / or control corresponding operations in response to a change in the state of the camera cover plate.

2. The electronic device of claim 1, wherein, The controller controls corresponding operations according to the state of the camera cover plate in response to an operation of starting a preset function, which comprises: The controller controls to output prompt information to prompt to open the camera cover plate when the camera cover plate is in the closed state in response to an operation of starting a preset function. The preset function is a function that needs to be executed when the camera cover plate is in the open state.

3. The electronic device of claim 2, wherein, The electronic device further comprises an antenna radiator, which is configured to support the transmission and reception of electromagnetic wave signals in a preset frequency band, at least a part of the camera cover plate is a metal region made of a metal material, the metal region is electrically connected with the antenna radiator, and the preset function comprises a function of communicating in the preset frequency band.

4. The electronic device of claim 2, wherein, The electronic device further comprises a detection unit, which is located in the covering area of the camera cover plate when the camera cover plate is in the closed state, and is configured to detect whether the camera cover plate is in the closed state or the open state and generate a corresponding detection signal. The controller is connected with the detection unit, and is configured to acquire the detection signal generated by the detection unit and determine the current state of the camera cover plate according to the detection signal.

5. The electronic device of claim 4, wherein, The detection unit comprises an infrared emitter and an infrared receiver, and the inner surface of the camera cover plate is provided with a reflective structure. When the camera cover plate is in the closed state, at least the projection of the infrared emitter on the side of the camera cover plate is located in the area where the reflective structure is located, and the infrared emitter is configured to emit infrared light for detection function towards the side of the camera cover plate. The controller is configured to acquire the light intensity signal of the infrared light received by the infrared receiver, and determine that the camera cover plate is in the closed state when the corresponding infrared intensity is greater than or equal to a first threshold value according to the light intensity signal, and determine that the camera cover plate is in the open state when the corresponding infrared intensity is less than or equal to a second threshold value according to the light intensity signal, wherein the second threshold value is less than the first threshold value.

6. The electronic device of claim 5, wherein, The infrared emitter is further configured to emit infrared light for implementing an infrared control function, and the preset function comprises the infrared control function.

7. The electronic device of claim 6, wherein, The frequency of the infrared light for detection function emitted by the infrared emitter is different from the frequency of the infrared light for implementing the infrared control function.

8. The electronic device of claim 1, wherein, The controller controls corresponding operations in response to a change in the state of the camera cover plate, which comprises: The controller controls to start a corresponding target function in response to the camera cover plate being switched from the closed state to the open state.

9. The electronic device of claim 8, wherein, The target function is any one of the following: A function pre-configured by a user; A function determined according to a user's usage habit; and A default function.

10. The electronic device of claim 8, wherein, The electronic device further comprises a detection unit, which is located in the covered area of the camera cover plate when the camera cover plate is in the closed state, and is configured to detect whether the camera cover plate is in the closed state or the open state and generate a corresponding detection signal. The controller is connected with the detection unit, configured to periodically acquire the detection signal generated by the detection unit, and determine the current state of the camera cover plate according to the detection signal. When the current states of the camera cover plate determined by the controller at two adjacent times are different, it is determined that the state of the camera cover plate has changed.