Detection method, detection device, electronic equipment, support and electronic equipment assembly

By obtaining and judging the first light information of the received light, the electronic device is automatically controlled to be in the preset mode, solving the problem of cumbersome operation in the prior art, and achieving the effect of simplifying operation and improving user experience.

CN119402578APending Publication Date: 2025-02-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411538509.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

In the prior art, users need to manually operate the electronic device to be set on the bracket and put it in a preset mode, which makes the operation cumbersome and reduces the user experience.

Method used

By acquiring the first light ray information of the received light, it is determined whether it meets the preset condition. When the condition is met, the automatic control electronic device is in the preset mode. This method uses the cooperation of the light sensor and the processor to realize automatic detection and control.

Benefits of technology

Simplifies user operations, omits the steps of manual settings and mode switching, improves the user experience, and is implemented through existing light sensors and processors without the need to add new components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402578A_ABST
    Figure CN119402578A_ABST
Patent Text Reader

Abstract

The invention provides a detection method, a detection device, electronic equipment, a bracket and an electronic equipment assembly. The detection method comprises the following steps: acquiring first light information of received light; when the first light information meets a preset condition, controlling the electronic equipment to be in a preset mode; wherein when the first light information meets a preset condition, the electronic equipment is arranged on the bracket. According to the detection method provided by the invention, only the first light information of the received light needs to be acquired, and then whether the first light information meets the preset condition is judged. When the first light information meets the preset condition, it can be considered that the electronic equipment is arranged on the support, and the electronic equipment can be controlled to be in the preset mode. In other words, the electronic device can judge whether the electronic device is arranged on the support at the moment only according to the first light information of the received light, if the electronic device is arranged on the support, the electronic device can be automatically in the preset mode, and the operation that a user manually operates the electronic device to be in the preset mode is omitted.
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 a detection method, a detection device, an electronic device, a bracket and an electronic device component. Background Art

[0002] Mobile phones and other electronic devices are increasingly used by users in daily life due to their diverse functions and convenience. For example, users can use their mobile phones to watch videos, listen to music, etc. Users usually adjust their mobile phones to the corresponding mode and then place them on the stand to get a better audio-visual experience, but the above operation is relatively cumbersome. Summary of the invention

[0003] In view of this, the first aspect of the present application provides a detection method, which comprises:

[0004] Acquire first light information of received light;

[0005] When the first light information meets a preset condition, the electronic device is controlled to be in a preset mode; wherein, when the first light information meets the preset condition, it indicates that the electronic device is disposed on a bracket.

[0006] The detection method provided in the first aspect of the present application only needs to obtain the first light information of the received light, and then determine whether the first light information meets the preset conditions. When the first light information meets the preset conditions, it can be considered that the electronic device has been set on the bracket, and the electronic device can be controlled to be in the preset mode. The above content can also be understood as the electronic device only needs to determine whether the electronic device has been set on the bracket at this time based on the first light information of the received light. If the electronic device has been set on the bracket, the electronic device can be automatically placed in the preset mode, omitting the user's manual operation to put the electronic device in the preset mode.

[0007] A second aspect of the present application provides a detection device, the detection device comprising:

[0008] An acquisition unit, the acquisition unit is used to acquire first light information of the received light;

[0009] A control unit, when the first light information meets a preset condition, the control unit is used to control the electronic device to be in a preset mode; wherein, when the first light information meets the preset condition, it indicates that the electronic device is set on the bracket.

[0010] The detection device provided in the second aspect of the present application, through the mutual cooperation between the acquisition unit and the control unit, enables the acquisition unit to acquire the first light information of the received light. When the first light information meets the preset conditions, it can be considered that the electronic device has been set on the bracket, and the control unit can directly control the electronic device to be in the preset mode, omitting the user's manual operation to put the electronic device in the preset mode.

[0011] The third aspect of the present application provides an electronic device, which is used to be set on a bracket. The electronic device includes a light sensor and a processor. The light sensor is used to emit light to the bracket. The light sensor is also used to receive received light formed by the reflection of the emitted light on the bracket. The processor is used to execute the detection method provided in the first aspect of the present application.

[0012] The electronic device provided in the third aspect of the present application, when the electronic device is set on the bracket, the light sensor can emit a transmission light to the bracket, the bracket can reflect the transmission light and form a receiving light, and the receiving light can be emitted to the light sensor to be received by the light sensor. The light sensor sends the first light information of the received light to the processor, and then the processor can automatically determine that the electronic device has been set on the bracket by executing the detection method provided in the first aspect of the present application, and automatically put the electronic device into a preset mode.

[0013] In summary, the present application automatically determines whether the electronic device has been set on the bracket through the cooperation between the optical sensor and the processor. When the electronic device has been set on the bracket, the electronic device is automatically in the preset mode, and the user's manual operation to put the electronic device in the preset mode is omitted. In addition, the optical sensor and the processor are existing components in the electronic device. The present application does not need to add new components. Only the existing components can be used to realize that when the electronic device is set on the bracket, the electronic device is automatically in the preset mode, and the user's manual operation to put the electronic device in the preset mode is omitted.

[0014] In a fourth aspect of the present application, a bracket is provided, comprising a bracket body and a reflecting portion arranged on the end side of the bracket body, wherein the bracket body is used to fix the electronic device, the reflecting portion is used to correspond to the optical sensor in the electronic device, and the reflecting portion is also used to reflect the emitted light emitted by the optical sensor; wherein the emitted light is reflected on the reflecting portion and forms a received light, and the received light can be received by the optical sensor.

[0015] The fourth aspect of the present application provides a bracket, wherein the bracket body is used to fix the electronic device, and the reflective portion is used to cooperate with the light sensor of the electronic device, and when the light sensor emits an emission light, the emission light can be reflected on the reflective portion and form a receiving light. When the receiving light is emitted to the light sensor, the electronic device can automatically determine that the electronic device has been set on the bracket, and automatically put the electronic device into a preset mode.

[0016] In summary, the present application adds a reflective portion and utilizes the reflective portion to cooperate with the electronic device to automatically put the electronic device into a preset mode when the electronic device is set on a bracket, thereby omitting the user's manual operation of putting the electronic device into the preset mode.

[0017] A fifth aspect of the present application provides an electronic device assembly, which includes the electronic device provided in the third aspect of the present application and the bracket provided in the fourth aspect of the present application, wherein the electronic device is arranged on the bracket.

[0018] The electronic device assembly provided in the fifth aspect of the present application, by adopting the electronic device provided in the third aspect of the present application and the bracket provided in the fourth aspect of the present application, when the electronic device is set on the bracket, the electronic device can be automatically placed in a preset mode, thereby omitting the user's manual operation to place the electronic device in the preset mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the implementation modes of the present application, the drawings required for use in the implementation modes of the present application will be described below.

[0020] Figure 1 Schematic diagram of an electronic device in one embodiment of the present application.

[0021] Figure 2 This is a schematic diagram of a bracket in one embodiment of the present application.

[0022] Figure 3 It is a schematic diagram of an electronic device assembly when the electronic device is disposed on a bracket in one embodiment of the present application.

[0023] Figure 4 Schematic diagram of the process of the detection method in one embodiment of the present application.

[0024] Figure 5 This is a process flow chart included in S200 in one embodiment of the present application.

[0025] Figure 6 This is a process flow chart of S200 in another embodiment of the present application.

[0026] Figure 7 This is a schematic diagram of a stent in an undeployed state according to an embodiment of the present application.

[0027] Figure 8 For electronic devices set Figure 7 Schematic diagram of the bracket shown.

[0028] Fig. 9 This is a schematic diagram of a bracket in an expanded state according to an embodiment of the present application.

[0029] Fig.10 For electronic devices set Fig. 9 Schematic diagram of the bracket shown.

[0030] Fig.11 This is a process flow chart of S200 in another embodiment of the present application.

[0031] Fig.12 This is a schematic diagram of an electronic device assembly when the electronic device is disposed on a bracket in another embodiment of the present application.

[0032] Fig.13 This is a process flow chart included before S100 in one embodiment of the present application.

[0033] Fig.14 This is a process flow chart before S100 in another embodiment of the present application.

[0034] Fig.15 This is a process flow chart before S100 and after S100 in one embodiment of the present application.

[0035] Fig.16 Schematic diagram of the electronic structure of the detection device in the first embodiment of the present application.

[0036] Fig.17 This is a schematic diagram of an electronic device in another embodiment of the present application when it is in an outward folded state.

[0037] Fig.18 for Fig.17 A schematic diagram of an electronic device shown is set on a bracket.

[0038] Fig.19 This is a schematic diagram of an electronic device in another embodiment of the present application when it is in an unfolded state.

[0039] Fig. 20 for Fig.19 A schematic diagram of an electronic device shown is set on a bracket.

[0040] Fig.21 This is a schematic diagram of a bracket in another embodiment of the present application.

[0041] Fig. 22 This is a schematic diagram of a bracket in another embodiment of the present application.

[0042] Fig.23 This is a schematic diagram of a bracket in another embodiment of the present application.

[0043] Fig.24 This is a schematic diagram of an electronic device assembly when the electronic device is disposed on a bracket in another embodiment of the present application.

[0044] Fig.25 This is a schematic diagram of a stent in another embodiment of the present application when it is in an unexpanded state.

[0045] Fig.26 For electronic devices set Fig.25 Schematic diagram of the bracket shown.

[0046] Fig. 27 This is a schematic diagram of a bracket in another embodiment of the present application when it is in an expanded state.

[0047] Fig.28 For electronic devices set Fig. 27 Schematic diagram of the bracket shown.

[0048] Fig.29 This is a schematic diagram of a bracket in another embodiment of the present application.

[0049] Description of labels:

[0050] Electronic device-1, bracket-2, electronic device component-3, detection device-4, acquisition unit-4a, control unit-4b, emitted light-L1, received light-L2, light sensor-10, infrared LED-11, light sensor-12, processor-20, bracket body-31, reflecting part-32, first sub-reflecting part-32a, second sub-reflecting part-32b, reflecting surface-320, groove-321, main part-322, reflecting part-323, slide groove-324, support member-33, filling part-34, posture sensor-40, first shell-51, second shell-52, flexible screen-60, auxiliary screen-70. DETAILED DESCRIPTION

[0051] The following are preferred implementations of the present application. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application, and these improvements and modifications are also considered to be within the scope of protection of the present application.

[0052] Please refer to Figure 1-Figure 4 , Figure 1 Schematic diagram of an electronic device in one embodiment of the present application. Figure 2 This is a schematic diagram of a bracket in one embodiment of the present application. Figure 3It is a schematic diagram of an electronic device assembly when the electronic device is disposed on a bracket in one embodiment of the present application. Figure 4 1 is a flow chart of a detection method in an embodiment of the present application. The detection method provided in this embodiment includes S100 and S200. S100 and S200 are described in detail as follows.

[0053] S100, obtaining first light information of the received light L2.

[0054] S200 , when the first light information meets a preset condition, controlling the electronic device 1 to be in a preset mode; wherein, when the first light information meets the preset condition, it indicates that the electronic device 1 is disposed on the bracket 2 .

[0055] In the prior art, if a user wants to place the electronic device 1 on the bracket 2 and put the electronic device 1 in various preset modes, the user needs to manually put the electronic device 1 in the preset mode first, and then place the electronic device 1 on the bracket 2. Alternatively, the electronic device 1 is first placed on the bracket 2, and then the electronic device 1 is placed in the preset mode. However, no matter which method is used, the user needs to perform at least two steps, which makes the user operation more cumbersome and reduces the user experience.

[0056] This embodiment provides a new detection method that can simplify user operations. Specifically, the first light information of the received light L2 can be obtained first. The received light L2 can be external light, or it can be light reflected back after being emitted by the electronic device 1 itself. These light rays can all be projected to the electronic device 1 and thus received by the electronic device 1, and the received light L2 carries the first light information, and the electronic device 1 can obtain the first light information in these received light rays L2. As for the specific content of the first light information, this application will be introduced in detail later.

[0057] Then, it can be determined whether the first light information meets certain preset conditions. When the first light information does not meet the preset conditions, it indicates that the electronic device 1 is not set on the bracket 2, and no operation is required on the electronic device 1. When the first light information meets the preset conditions, it indicates that the electronic device 1 is already on the bracket 2, and the electronic device 1 can be controlled to be in the preset mode. As for how to determine whether the first light information meets certain preset conditions, or what the specific content of the preset conditions is, this application will be described in detail later.

[0058] In summary, the detection method provided in this embodiment can detect whether the electronic device 1 has been set on the bracket 2, so the above detection method can also be called a method for detecting the bracket 2. The electronic device 1 can determine whether the electronic device 1 has been set on the bracket 2 at this time only based on the first light information of the received light L2. If the electronic device 1 has been set on the bracket 2, the electronic device 1 can be automatically placed in the preset mode, omitting the user's manual operation to place the electronic device 1 in the preset mode, simplifying the operation process and improving the user experience.

[0059] Optionally, the electronic device 1 provided in this embodiment includes but is not limited to mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, personal computers (PCs), personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc. This embodiment does not limit the types of electronic devices 1 and only uses mobile phones for schematic illustration.

[0060] Optionally, the preset condition may be pre-stored in the memory of the electronic device 1, and the processor 20 retrieves and compares it in real time; or the preset condition may be manually input by the user; or the preset condition may be information obtained by the processor 20 from the network.

[0061] Optionally, the preset mode includes but is not limited to a drama watching mode, a music listening mode, a car mode, a game mode, a bracket 2 mode, etc. This embodiment is only schematically described in the drama watching mode. In addition, the above-mentioned electronic device 1 being in the preset mode can be understood as the electronic device 1 being already in the drama watching mode, and when the electronic device 1 is set on the bracket 2, it is still in the drama watching mode. Or it can also be understood that the electronic device 1 is originally in a standby state, or in other modes such as a game mode. When the electronic device 1 is set on the bracket 2, the electronic device 1 enters the drama watching mode, for example, entering the drama watching application or even opening the playback page.

[0062] Please refer to Figure 5 , Figure 5 1 is a process flow chart included in S200 in one embodiment of the present application. In this embodiment, the first light information includes light intensity and duration, and S200 includes S210 when the first light information meets the preset conditions. S210 is described in detail as follows.

[0063] S210: When the light intensity is greater than the preset light intensity and the duration is greater than the preset duration, the first light information meets the preset condition.

[0064] The first light information of the received light L2 may include the intensity of the received light L2 and the duration of the received light L2. According to the intensity and duration of the received light L2, it can be determined whether the first light information meets the preset condition. Specifically, when the intensity of the received light L2 is greater than the preset intensity and the duration of the received light L2 is greater than the preset duration, it can be determined that the first light information meets the preset condition. Based on this, it can be determined that the electronic device 1 has been set on the bracket 2, and the electronic device 1 can be controlled to be in the preset mode, which improves the accuracy of the judgment.

[0065] The preset light intensity may be stored in advance in the memory of the electronic device 1, and the processor 20 retrieves and compares it in real time; or the preset light intensity may be manually input by the user; or the preset light intensity may be information obtained from the network by the processor 20. Optionally, the preset light intensity may be 12000-15500. Specifically, the preset light intensity may be 12000, 13000, 14000, 15000, or 15500.

[0066] Similarly, the preset duration may be stored in advance in the memory of the electronic device 1, and the processor 20 retrieves and compares in real time; or the preset duration may be manually input by the user; or the preset duration may be information obtained by the processor 20 from the network. Optionally, the preset duration is 0.5s-1s. Specifically, the preset duration may be 0.5s, 0.6s, 0.7s, 0.8s, 0.9s, or 1s.

[0067] It is worth noting that in the related art, whether the electronic device 1 is close to the user's ear is usually judged based on the light intensity in the first light information, for example, the electronic device 1 is put into screen-off mode during a call when the user puts the mobile phone close to the ear. However, at this time, the light intensity in the first light information is less than the preset light intensity, for example, the light intensity is usually less than 5000. In other words, the preset light intensity provided by this embodiment is much greater than the light intensity of the application scenario when judging whether the electronic device 1 is close to the ear, and is also greater than the threshold of the light intensity in other application scenarios, thereby avoiding the mistaken belief that the electronic device 1 has been placed on the bracket 2 in other scenarios, so that the electronic device 1 is in the preset mode, avoiding false triggering, and improving the anti-fool effect.

[0068] At the same time, on the basis of making the light intensity greater than the preset light intensity, the duration must also be greater than the preset duration, thereby avoiding false triggering caused by simply using light intensity for judgment. For example, if light intensity is used alone for judgment, if the electronic device 1 is suddenly in a strong light environment for a short time (for example, within a period less than the preset duration), it will be determined that the electronic device 1 has been placed on the bracket 2, so that the electronic device 1 is in the preset mode, thereby causing false triggering.

[0069] In summary, this embodiment uses the combination of light intensity and duration to determine whether the first light information meets the preset condition, which not only has high judgment accuracy, but also reduces the probability of false triggering.

[0070] Please refer to Figure 6 , Figure 6 2 is a process flow chart of S200 in another embodiment of the present application. In this embodiment, when the first light information meets the preset condition, S200 includes S220 and S230. S220 and S230 are described in detail as follows.

[0071] S220 , obtaining a receiving saturation value of the optical sensor 10 .

[0072] S230, when the light intensity is greater than the preset light intensity and the duration is greater than the preset duration, the first light information meets the preset condition; wherein the preset light intensity is not greater than the receiving saturation value and not less than 0.8 times of the receiving saturation value.

[0073] In the electronic device 1, a light sensor 10 can be used to receive the light L2. The light sensor 10 includes but is not limited to a proximity light sensor 10, a distance sensor, etc. Each light sensor 10 has a corresponding receiving saturation value, and the receiving saturation value can be understood as the value of the maximum light intensity that the light sensor 10 can receive. For example, in the above judgment process, when the light intensity is greater than the preset light intensity, the preset light intensity can be set to be no greater than the receiving saturation value and no less than 0.8 times the receiving saturation value. In other words, the preset light intensity can be set within a range close to the receiving saturation value, or reach the saturation value, so that the receiving saturation value is used as the evaluation standard of the light intensity. As for each light sensor 10 having different receiving saturation values, this embodiment will not be described in detail. Specifically, the preset light intensity is 0.8 times, 0.85 times, 0.9 times, 0.95 times, and 1.0 times the receiving saturation value. For example, in a type of light sensor 10, the receiving saturation value is 15258, and the preset light intensity can be 12206-15258.

[0074] In summary, in the detection process of this embodiment, when the light intensity approaches the receiving saturation value or reaches the receiving saturation value, and the duration is greater than the preset duration, it can be determined that the first light information meets the preset conditions. Using the receiving saturation value as the criterion for judging the light intensity can further improve the accuracy of the judgment, distinguish the detection method of this embodiment from other detection methods, and prevent daily false triggering. For example, in other application scenarios, the light intensity is usually less than 0.8 times the receiving saturation value, such as 0.3 times, 0.4 times, etc. of the receiving saturation value, so it will not be determined that the electronic device 1 has been set on the bracket 2 in other application scenarios.

[0075] Please refer to Figure 7-Figure 11 , Figure 7This is a schematic diagram of a stent in an undeployed state according to an embodiment of the present application. Figure 8 For electronic devices set Figure 7 Schematic diagram of the bracket shown. Fig. 9 This is a schematic diagram of a bracket in an expanded state according to an embodiment of the present application. Fig.10 For electronic devices set Fig. 9 Schematic diagram of the bracket shown. Fig.11 This is a process flow chart included in S200 in another embodiment of the present application. In this embodiment, the bracket 2 includes a bracket body 31, a reflective portion 32 and a support member 33. The support member 33 is rotatably connected to the bracket body 31 and movably connected to the reflective portion 32. When the support member 33 rotates relative to the bracket body 31, the support member 33 can drive the reflective portion 32 to move. When the first light information meets the preset conditions, S200 includes S240, S250, and S260. Among them, S240, S250, and S260 are described in detail as follows.

[0076] S240, obtaining the light intensity at the first moment.

[0077] S250, obtaining the light intensity at a second moment, the light intensity at the first moment is smaller than that at the second moment.

[0078] S260, when the light intensity at the first moment is not greater than the preset light intensity, the light intensity at the second moment is greater than the preset light intensity, and the duration after the second moment is greater than the preset duration, the first light information meets the preset conditions; wherein, when the first light information meets the preset conditions, it indicates that the electronic device 1 is arranged on the bracket 2, and the bracket 2 is in the unfolded state.

[0079] The bracket 2 mentioned in this embodiment may include a bracket body 31, a reflective portion 32 and a support member 33. The bracket body 31 is used to fix the electronic device 1, and the reflective portion 32 has the function of reflecting light. The reflective portion 32 is arranged at the end side of the bracket body 31. When the electronic device 1 fixes the bracket body 31, the reflective portion 32 is mainly used to cooperate with the optical sensor 10 in the electronic device 1 to reflect the emission light L1 emitted by the optical sensor 10 to form a receiving light L2, and the receiving light L2 can also be emitted to the optical sensor 10 to be received by the optical sensor 10.

[0080] The support member 33 can be used as a support foot of the bracket 2, and can be rotatably connected to the bracket body 31, so that the support member 33 can be retracted or unfolded relative to the bracket body 31. When the support member 33 is unfolded to make the bracket 2 in an unfolded state, the stability of the electronic device 1 set on the bracket 2 can be improved. In addition, the reflective portion 32 in this embodiment is not fixed, but is movably connected to the support member 33. In other words, the support member 33 can also be movably connected to the reflective portion 32 that cooperates with the optical sensor 10 of the electronic device 1.

[0081] During the rotation of the support member 33 relative to the bracket body 31, the reflective portion 32 may also move under the drive of the support member 33, for example, along a direction perpendicular to the arrangement direction of the reflective portion 32 and the bracket body 31 (eg Figure 7 The reflective portion 32 does not always correspond to the optical sensor 10, or the reflective portion 32 used to make the light intensity of the received light L2 greater than the preset light intensity does not always correspond to the optical sensor 10, thereby achieving different coordination effects with the optical sensor 10 at different positions. In this embodiment, the reflective portion 32 is only set to correspond to the optical sensor 10 when the bracket 2 is in the unfolded state. Therefore, when the electronic device 1 in this embodiment is set on the bracket 2, the optical sensor 10 will continuously receive the received light L2 because it is in the normally open state, resulting in different first light information of the received light L2 obtained by the optical sensor 10 during the rotation of the support member 33.

[0082] like Figure 8 As shown, during the unfolding process of the support member 33, the light intensity at the first moment can be obtained, such as Fig.10 As shown, the light intensity at the second moment is obtained, and the first moment is less than the second moment. In other words, the light intensity at the previous moment is obtained first, and then the light intensity at the next moment is obtained. If the light intensity at the first moment is not greater than the preset light intensity, it means that the reflective part 32 on the bracket 2 that matches the optical sensor 10 has not yet been set corresponding to the optical sensor 10, and the support member 33 has not yet been fully unfolded. Figure 7 If the light intensity at the second moment is greater than the preset light intensity, it means that the reflective portion 32 on the bracket 2 that matches the optical sensor 10 is set corresponding to the optical sensor 10 at this time, and because the reflective portion 32 has always corresponded to the optical sensor 10, when the duration after the second moment is greater than the preset duration, it can be determined that the bracket 2 is already in the unfolded state, such as Fig. 9 shown.

[0083] In summary, by cooperating between the movable reflective portion 32 on the bracket 2 and the electronic device 1, it can be determined whether the bracket 2 is in the unfolded state. When the electronic device 1 is set on the bracket 2, the electronic device 1 is in the preset mode only when the bracket 2 is in the unfolded state. When the bracket 2 is in the retracted state or in the unfolding process, the electronic device 1 is not in the preset mode, which further improves the accuracy of the judgment and avoids false triggering when the bracket 2 is not unfolded.

[0084] Optionally, the light intensity at the third moment can also be obtained, and the third moment is greater than the first moment and less than the second moment, that is, the third moment is between the first moment and the second moment. If the light intensity at the third moment is greater than the light intensity at the first moment and less than the light intensity at the second moment, in other words, the light intensity gradually increases from the first moment, the third moment to the second moment, which means that the reflective part 32 continuously cooperates with the optical sensor 10 during the movement, thereby continuously improving the light intensity. Until the second moment, the reflective part 32 corresponds to the optical sensor 10, so that the light intensity is greater than the preset light intensity and the duration is greater than the preset time, which means that the bracket 2 is already in the unfolded state, which can further improve the accuracy of the judgment.

[0085] Please refer to Figure 12-13 , Fig.12 This is a schematic diagram of an electronic device assembly when the electronic device is disposed on a bracket in another embodiment of the present application. Fig.13 1 is a process flow chart before S100 in one embodiment of the present application. In this embodiment, before S100 acquires the first light information of the received light L2, S10 and S20 are also included. S10 and S20 are described in detail as follows.

[0086] S10, acquiring posture information of the electronic device 1, where the posture information includes a placement state.

[0087] S20, when the placement state is an inverted state, controlling the electronic device 1 to be in a detection state.

[0088] In addition to the light sensor 10, the electronic device 1 also includes a posture sensor 40. The posture sensor 40 includes but is not limited to an accelerometer (A+G), an angle sensor, a direction sensor, a magnetic sensor, etc. In this embodiment, before obtaining the first light information of the received light L2, the posture information of the electronic device 1 can be obtained by using the posture sensor 40, wherein the posture information includes the placement state of the electronic device 1. The placement state refers to how the electronic device 1 is placed, and can generally include an upright state, an inverted state, etc. The upright state can be understood as the light sensor 10 and the front camera and other components are arranged upward, and the inverted state can be understood as the light sensor 10 and the front camera and other components are arranged downward.

[0089] This embodiment can detect the placement state of the electronic device 1 by acquiring posture information. If the placement state of the electronic device 1 is a non-inverted state, such as an upright device, this means that the electronic device 1 does not need to be in a detection state, that is, there is no need to acquire the first light information of the received light L2, and there is no need to judge the first light information. If the placement state of the electronic device 1 is an inverted state, this means that the electronic device 1 may be inverted on the bracket 2, so the electronic device 1 is controlled to be in a detection state, and then the first light information of the received light L2 is acquired, and subsequent judgments are made based on the first light information. If the first light information meets the preset conditions again, it is determined that the electronic device 1 is confirmed to be inverted on the bracket 2.

[0090] The electronic device 1 is usually used upright, and is rarely used upside down. When the electronic device 1 is detected to be upside down, the present embodiment can determine whether the electronic device 1 is upside down on the bracket 2 through the first light information, thereby further avoiding false triggering during daily use by the user, for example, avoiding false triggering of the preset mode due to strong light exposure when the electronic device 1 is used upright.

[0091] Please refer to Fig.12 and Fig.14 , Fig.14 This is a process flow chart before S100 in another embodiment of the present application. In this embodiment, the posture information also includes the tilt angle between the electronic device 1 and the horizontal plane, and before S100 acquires the first light information of the received light L2, S30 is also included. S30 is described in detail as follows.

[0092] S30, when the inclination angle between the electronic device 1 and the horizontal plane is greater than a preset angle and lasts for a preset time, the electronic device 1 is controlled to be in a detection state.

[0093] In addition to the placement state, the posture information may also include the tilt angle between the electronic device 1 and the horizontal plane. When the tilt angle between the electronic device 1 and the horizontal plane is 0, it means that the electronic device 1 is placed horizontally; when the tilt angle between the electronic device 1 and the horizontal plane is 90°, it means that the electronic device 1 is placed vertically; when the tilt angle between the electronic device 1 and the horizontal plane is 0-90°, it means that the electronic device 1 is tilted.

[0094] When the electronic device 1 is in an inverted state, if the inclination angle between the electronic device 1 and the horizontal plane is greater than a preset angle and the preset angle can last for a preset time, it is further determined that the electronic device 1 may be tilted and inverted on the bracket 2, so that the electronic device 1 is controlled to be in a detection state, and then the first light information of the received light L2 is obtained, and subsequent judgments are made based on the first light information. If the first light information meets the preset conditions again, it is determined that the electronic device 1 is confirmed to be tilted and inverted on the bracket 2. In other cases, it is not necessary to put the electronic device 1 in a detection state, obtain the first light information of the received light L2, and make a judgment on the first light information.

[0095] In summary, this embodiment can further improve the accuracy of judgment and avoid false triggering by coordinating the tilt angle between the electronic device 1 and the horizontal plane and the preset duration.

[0096] Optionally, the preset angle may be stored in advance in the memory of the electronic device 1, and the processor 20 retrieves and compares it in real time; or the preset angle may be manually input by the user; or the preset angle may be information obtained from the network by the processor 20. Further optionally, the preset angle is 45°-60°, for example, the preset angle may be 45°, 50°, 55°, 60°.

[0097] Optionally, the preset time length may be pre-stored in the memory of the electronic device 1, and the processor 20 retrieves and compares in real time; or the preset time length may be manually input by the user; or the preset time length may be information obtained from the network by the processor 20. Further optionally, the preset time length is 0.5s-1s, for example, the preset time length may be 0.5s, 0.6s, 0.7s, 0.8s, 0.9s, 1s.

[0098] Please refer to Figure 3 and Fig.15 , Fig.15 1 is a process flow chart of the process before S100 and after S100 in one embodiment of the present application. In this embodiment, before S100 acquires the first light information of the received light L2, S40 is also included. S40 is described in detail as follows.

[0099] S40, obtaining second light information of the emitted light L1.

[0100] After the first light information of the received light L2 is obtained in S100, S110 and S120 are further included. S110 and S120 are described in detail as follows.

[0101] S110, determining whether the received light L2 is reflected from the emitted light L1 according to the first light information and the second light information;

[0102] S120, when the received light L2 is reflected by the emitted light L1, the electronic device 1 is controlled to be in a detection state.

[0103] In addition to receiving the received light L2, the light sensor 10 can also emit the transmitted light L1. Specifically, the light sensor 10 includes an infrared LED 11 and a light sensor 12. The infrared LED 11 can emit the infrared transmitted light L1, and the light sensor 12 can receive the infrared received light L2. However, the infrared received light L2 received by the light sensor 12 may come from external infrared light, or from infrared light formed by the reflection of the infrared transmitted light L1.

[0104] This embodiment can first obtain the second light information of the emitted light L1, and then obtain the first light information of the received light L2. Then, by comparing the first light information with the second light information, it is determined whether the received light L2 is reflected by the emitted light L1. When the received light L2 is not reflected by the emitted light L1, it is determined that the received light L2 may come from the outside world, so there is no need to put the electronic device 1 in a detection state, and there is no need to make subsequent judgments on the first light information. When the received light L2 is reflected by the emitted light L1, it is determined that the received light L2 may be reflected from the bracket 2 or the user's face, ears and other parts, so the electronic device 1 can be controlled to be in a detection state. Then, it is determined whether the first light information meets the preset conditions, so as to determine whether the electronic device 1 is set on the bracket 2.

[0105] Specifically, the comparison can be made by frequency. The first light information includes the first frequency, and the second light information includes the second frequency. Whether the received light L2 is reflected by the emitted light L1 can be determined by whether the first frequency is equal to the second frequency. When the first frequency is equal to the second frequency, it can be determined that the received light L2 is reflected by the emitted light L1. When the first frequency is not equal to the second frequency, it can be determined that the received light L2 is not reflected by the emitted light L1.

[0106] In summary, by judging the relationship between the received light L2 and the emitted light L1, subsequent judgment is performed only when the received light L2 is reflected by the emitted light L1, thereby avoiding misjudgment of the electronic device 1 by daily external light, further improving the accuracy of the judgment and preventing false triggering.

[0107] Please refer to Fig.16 , Fig.16Schematic diagram of the electronic structure of the detection device in the first embodiment of the present application. The detection device 4 provided in this embodiment includes an acquisition unit 4a and a control unit 4b. The acquisition unit 4a is used to acquire the first light information of the received light L2. When the first light information meets the preset condition, the control unit 4b is used to control the electronic device 1 to be in a preset mode; wherein, when the first light information meets the preset condition, it indicates that the electronic device 1 is set on the bracket 2.

[0108] The detection device 4 provided in this embodiment, through the cooperation between the acquisition unit 4a and the control unit 4b, enables the acquisition unit 4a to acquire the first light information of the received light L2. When the first light information meets the preset conditions, it can be considered that the electronic device 1 has been set on the bracket 2, and the control unit 4b can directly control the electronic device 1 to be in the preset mode, omitting the user's manual operation to put the electronic device 1 in the preset mode.

[0109] In this embodiment, the first light information includes light intensity and duration. When the light intensity is greater than the preset light intensity and the duration is greater than the preset duration, the first light information meets the preset conditions, and the control unit 4b is used to control the electronic device 1 to be in the preset mode.

[0110] In this embodiment, the acquisition unit 4a is also used to acquire the receiving saturation value of the light sensor 10. When the light intensity is greater than the preset light intensity and the duration is greater than the preset duration, the first light information meets the preset condition; wherein the preset light intensity is not greater than the receiving saturation value and not less than 0.8 times the receiving saturation value. Then the control unit 4b is used to control the electronic device 1 to be in the preset mode.

[0111] In this embodiment, the bracket 2 on which the electronic device 1 is arranged includes a bracket body 31, a reflective portion 32 and a support member 33. The support member 33 is rotatably connected to the bracket body 31 and movably connected to the reflective portion 32. When the support member 33 rotates relative to the bracket body 31, the support member 33 can drive the reflective portion 32 to move. The acquisition unit 4a is also used to acquire the light intensity at the first moment, and the acquisition unit 4a is also used to acquire the light intensity at the second moment, and the first moment is less than the second moment.

[0112] When the light intensity at the first moment is not greater than the preset light intensity, the light intensity at the second moment is greater than the preset light intensity, and the duration after the second moment is greater than the preset duration, the first light information satisfies the preset condition; wherein, when the first light information satisfies the preset condition, it indicates that the electronic device 1 is set on the bracket 2, and the bracket 2 is in the unfolded state. Then the control unit 4b is used to control the electronic device 1 to be in the preset mode.

[0113] In this embodiment, before the acquisition unit 4a is used to acquire the first light information of the received light L2, the acquisition unit 4a is first used to acquire the posture information of the electronic device 1, and the posture information includes the placement state. When the placement state is an inverted state, the control unit 4b is also used to control the electronic device 1 to be in a detection state.

[0114] In this embodiment, the posture information also includes the inclination angle between the electronic device 1 and the horizontal plane, and the detection device 4 also includes a judgment unit. Before the acquisition unit 4a is used to acquire the first light information of the received light L2, the acquisition unit 4a is first used to acquire the second light information of the emitted light L1. After the acquisition unit 4a is used to acquire the first light information of the received light L2, the judgment unit is used to determine whether the received light L2 is reflected by the emitted light L1 according to the first light information and the second light information. When the received light L2 is reflected by the emitted light L1, the control unit 4b is used to control the electronic device 1 to be in a detection state.

[0115] Please refer again Figure 1 and Figure 3 The electronic device 1 provided in this embodiment is used to be set on the bracket 2. The electronic device 1 includes a light sensor 10 and a processor 20. The light sensor 10 is used to emit an emission light L1 to the bracket 2. The light sensor 10 is also used to receive a receiving light L2 formed by the reflection of the emission light L1 on the bracket 2. The processor 20 is used to execute the detection method provided in the above embodiment of the present application.

[0116] The electronic device 1 provided in this embodiment can be set on the bracket 2 for daily use. The electronic device 1 includes but is not limited to mobile terminals such as mobile phones, tablet computers, laptops, PDAs, personal computers (PCs), personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc. This embodiment does not limit the types of electronic devices 1 and only uses mobile phones for schematic illustration. For example, a mobile phone is set on the bracket 2 and is placed in a drama watching mode, a music listening mode, etc., to improve the user experience.

[0117] The electronic device 1 includes a light sensor 10 and a processor 20. The light sensor 10 includes but is not limited to a proximity light sensor, a distance sensor, etc. The light sensor 10 can emit an emission light L1 outward. When the electronic device 1 is set on the bracket 2, the light sensor 10 can emit the emission light L1 to the bracket 2. The emission light L1 can be reflected on the bracket 2 to form a receiving light L2. The reflected receiving light L2 can be emitted toward the light sensor 10 and finally received by the light sensor 10. The receiving light L2 carries the first light information. The light sensor 10 sends the received first light information of the receiving light L2 to the processor 20. Then, the processor 20 can automatically determine whether the electronic device 1 has been set on the bracket 2 by executing the detection method provided in the above embodiment of the present application. When the electronic device 1 has been set on the bracket 2, the electronic device 1 is automatically controlled to be in a preset mode.

[0118] In summary, this embodiment can automatically determine that the electronic device 1 has been set on the bracket 2 through the cooperation between the optical sensor 10 and the processor 20, and automatically put the electronic device 1 into the preset mode, omitting the manual operation of the user to put the electronic device 1 into the preset mode. In addition, the optical sensor 10 and the processor 20 are existing components of the electronic device 1, and the present application does not need to add new components. Only the existing components can be used to realize that when the electronic device 1 is set on the bracket 2, the electronic device 1 is automatically put into the preset mode, omitting the manual operation of the user to put the electronic device 1 into the preset mode.

[0119] Optionally, the optical sensor 10 is in a normally-on mode, so when the electronic device 1 is set on the bracket 2, it can automatically detect without any operation by the user, thereby improving convenience.

[0120] Please refer to Figure 17-Figure 18 , Fig.17 This is a schematic diagram of an electronic device in another embodiment of the present application when it is in an outward folded state. Fig.18 for Fig.17 Schematic diagram of an electronic device when it is set on a bracket. In this embodiment, the electronic device 1 further includes a first shell 51, a second shell 52, and a flexible screen 60, the flexible screen 60 is arranged on one side of the first shell 51 and the second shell 52, the light sensor 10 is arranged in the first shell 51 and close to the flexible screen 60, and the processor 20 is arranged in the first shell 51 or in the second shell 52. When the electronic device 1 is in an outward folded state, the flexible screen 60 arranged in the first shell 51 is arranged on the bracket 2, so that the light sensor 10 and the bracket 2 cooperate with each other, and the flexible screen 60 arranged in the second shell 52 is used to display the picture.

[0121] The electronic device 1 may be an electronic device 1 of a conventional size that does not change, such as an electronic device 1 with a hard display screen. When the electronic device 1 is arranged on the bracket 2, since the optical sensor 10 is usually arranged below the display screen, the display screen side needs to be abutted against the bracket 2, so that the optical sensor 10 cooperates with the bracket 2. Alternatively, the electronic device 1 may also be an electronic device 1 of a changeable size, such as a flexible electronic device.

[0122] Flexible electronic devices can be divided into many types. In one embodiment, the electronic device 1 further includes a first housing 51, a second housing 52, and a flexible screen 60. A portion of the flexible screen 60 is disposed on the first housing 51, and another portion is disposed on the second housing 52. When the first housing 51 and the second housing 52 are unfolded, the flexible screen 60 is flattened, and the electronic device 1 is in an unfolded state. When the first housing 51 and the second housing 52 are folded together, the two portions of the flexible screen 60 are also merged together, and the electronic device 1 is in a folded state.

[0123] The folded state can be divided into an outward folded state or an inward folded state. The outward folded state means that two parts of the flexible screen 60 are exposed, so that the flexible screen 60 can be seen when the electronic device 1 is in the folded state. The inward folded state means that two parts of the flexible screen 60 are blocked by the first shell 51 and the second shell 52, so that the flexible screen 60 cannot be seen when the electronic device 1 is in the folded state.

[0124] The optical sensor 10 can be disposed in the first housing 51 and close to the flexible screen 60, specifically below the flexible screen 60, and together with the front camera, close to the top of the first housing 51, similar to the structure of the existing electronic device 1. As for the processor 20, it can be disposed in the first housing 51 or in the second housing 52, as long as the processor 20 is electrically connected to the optical sensor 10.

[0125] The electronic device 1 provided in this embodiment can be in a shell state, that is, when the flexible screen 60 on the first shell 51 and the flexible screen 60 on the second shell 52 are both exposed, the flexible screen 60 provided on the first shell 51 can be set on the bracket 2, so that the optical sensor 10 located in the first shell 51 and below the flexible screen 60 cooperates with the bracket 2, and then detects that the electronic device 1 has been set on the bracket 2, so that the electronic device 1 is automatically in a preset mode, and the preset mode can display the picture on the flexible screen 60 on the second shell 52.

[0126] In summary, the flexible electronic device provided in this embodiment can detect that the electronic device 1 is set on the bracket 2 when the electronic device 1 is in the folded state, so that the electronic device 1 is automatically in the preset mode, and can also display the picture for the user to watch.

[0127] Please refer to Figure 19-20, Fig.19 This is a schematic diagram of an electronic device in another embodiment of the present application when it is in an unfolded state. Fig. 20 for Fig.19 Schematic diagram of an electronic device when it is set on a bracket. In this embodiment, the electronic device 1 further includes a first shell 51, a second shell 52, a flexible screen 60, and a secondary screen 70, the flexible screen 60 is arranged on one side of the first shell 51 and the second shell 52, the secondary screen 70 is arranged on the other side of the first shell 51, the light sensor 10 is arranged in the first shell 51 and close to the secondary screen 70, and the processor 20 is arranged in the first shell 51 or in the second shell 52; when the electronic device 1 is in the unfolded state, the secondary screen 70 arranged in the first shell 51 is arranged on the bracket 2, so that the light sensor 10 and the bracket 2 cooperate with each other, and the flexible screen 60 is used to display the picture.

[0128] In another embodiment, the electronic device 1 may include a sub-screen 70 in addition to the first housing 51, the second housing 52 and the flexible screen 60. The flexible screen 60 is still arranged on one side of the first housing 51 and the second housing 52, and the sub-screen 70 is a hard display screen. The sub-screen 70 may be arranged on the other side of the first housing 51, and the other side of the second housing 52 may be provided with a rear camera and other components. In other words, the electronic device 1 has screens on three sides, and only the other side of the second housing 52 is not provided with a display screen.

[0129] The optical sensor 10 can be disposed in the first housing 51 and close to the secondary screen 70, specifically below the secondary screen 70, and together with the front camera, close to the top of the first housing 51, similar to the structure of the existing electronic device 1. As for the processor 20, it can be disposed in the first housing 51 or in the second housing 52, as long as the processor 20 is electrically connected to the optical sensor 10.

[0130] The electronic device 1 provided in this embodiment can be in an unfolded state, that is, one side of the electronic device 1 is the unfolded flexible screen 60, the other side is the secondary screen 70, and the optical sensor 10 is located below the secondary screen 70. At this time, the secondary screen 70 of the first housing 51 can be set on the bracket 2, and the optical sensor 10 below the secondary screen 70 can cooperate with the bracket 2 to detect that the electronic device 1 has been set on the bracket 2, so that the electronic device 1 is automatically in a preset mode, and the preset mode can display the picture on the unfolded flexible screen 60.

[0131] In summary, the flexible electronic device of this embodiment can detect that the electronic device 1 is set on the bracket 2 when the electronic device 1 is in the unfolded state, so that the electronic device 1 is automatically in the preset mode, and can also display the picture for the user to watch. In other words, different types of flexible electronic devices can be put in different states to cooperate with the bracket 2, so that the electronic device 1 can be detected to be set on the bracket 2, so that the electronic device 1 is automatically in the preset mode, and can also display the picture for the user to watch.

[0132] This embodiment further provides a computer-readable storage medium, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the detection method provided in the above embodiment.

[0133] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a USB flash drive, a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0134] The present embodiment may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present embodiment.

[0135] Computer readable storage medium can be a tangible device that can keep and store instructions used by instruction execution device. Optionally, computer readable storage medium includes but is not limited to electrical storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device or any suitable combination of the above. Further optionally, computer readable storage medium (non-exhaustive list) includes: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as punch card or convex structure in groove with instructions stored thereon, and any suitable combination of the above. Computer readable storage medium used here is not interpreted as instantaneous signal itself, such as radio wave or other free propagating electromagnetic wave, electromagnetic wave propagated by waveguide or other transmission medium (for example, light pulse by optical fiber cable) or electrical signal transmitted by wire.

[0136] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0137] The computer program instructions for performing the operation of the present embodiment can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of computer-readable program instructions to personalize electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs), the electronic circuits can execute computer-readable program instructions, thereby realizing various aspects of the present embodiment.

[0138] Here, various aspects of the present embodiment are described with reference to the flow chart and / or block diagram according to the method, device and computer program product in the present embodiment. It should be understood that each square frame of the flow chart and / or block diagram and the combination of each square frame in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0139] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0140] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0141] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present embodiment.In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification.In some alternative implementations, the function marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings.For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in the opposite order sometimes, depending on the function involved.It should also be noted that each square frame in the block diagram and / or flow chart, and the combination of the square frames in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0142] As mentioned above, the present application provides a novel electronic device 1, and adopts a novel detection method to detect whether the electronic device 1 is set on the bracket 2, and automatically puts the electronic device 1 into a preset mode when the electronic device 1 is set on the bracket 2. Since the electronic device 1 includes a light sensor 10, the above detection method also uses the light sensor 10 for detection and judgment, so the present application also provides a novel bracket 2 designed for the light sensor 10.

[0143] Please refer again Figure 2-Figure 3The bracket 2 provided in this embodiment includes a bracket body 31 and a reflective portion 32 provided at the end side of the bracket body 31. The bracket body 31 is used to fix the electronic device 1. The reflective portion 32 is used to correspond to the optical sensor 10 in the electronic device 1. The reflective portion 32 is also used to reflect the emission light L1 emitted by the optical sensor 10. The emission light L1 is reflected on the reflective portion 32 to form a receiving light L2, and the receiving light L2 can be received by the optical sensor 10.

[0144] The bracket 2 is a component mainly used to support the electronic device 1, so as to provide the electronic device 1 with a position and angle that is convenient for the user to watch or use. The bracket 2 includes but is not limited to a vehicle bracket, a desktop bracket, a mobile phone case, etc. Specifically, the vehicle bracket can be fixed in the car, and the electronic device 1 can be set on the vehicle bracket, thereby providing the user with a position and angle that is convenient for the user to watch. The desktop bracket can be placed on a desktop, the ground, etc., and when the electronic device 1 is set on the bracket 2, the electronic device 1 can be tilted, thereby facilitating the user to watch and use. The mobile phone case can be set on the periphery of the electronic device 1, so that only the display screen of the electronic device 1 is exposed. Part of the mobile phone case can also be tilted on the desktop, the ground, etc., so that the electronic device 1 is tilted, thereby facilitating the user to watch and use.

[0145] The bracket 2 includes a bracket body 31 and a reflective portion 32. The bracket body 31 is mainly used to abut, fix and support the electronic device 1 to prevent the electronic device 1 from falling from the bracket body 31. In the related art, the bracket 2 only has the bracket body 31, that is, the bracket 2 in the related art only has the function of supporting and fixing the electronic device 1. Therefore, after the electronic device 1 is set on the bracket 2, the electronic device 1 cannot determine whether it has been set on the bracket 2, and thus cannot control the electronic device 1 to be in the preset mode, and the user needs to manually control the electronic device 1 to be in the preset mode.

[0146] In this embodiment, a reflective portion 32 may be additionally provided, and the reflective portion 32 may be disposed on the end side of the bracket body 31, for example, the reflective portion 32 may be disposed on the upper end side and / or the lower end side of the bracket body 31. The reflective portion 32 and the bracket body 31 may be an integrated structure or a split structure. When the reflective portion 32 and the bracket body 31 are a split structure, the reflective portion 32 may be fixed relative to the bracket body 31, or the reflective portion 32 may also be movable relative to the bracket body 31.

[0147] The reflector 32 is a component that has the function of reflecting light, so the reflector 32 can also be called a reflective structure. By designing the size of the bracket body 31 and the reflector 32, the reflector 32 can correspond to the light sensor 10 in the electronic device 1 when the electronic device 1 is set on the bracket 2. When the light sensor 10 sends the emission light L1 to the reflector 32 of the bracket 2, the emission light L1 can be reflected on the reflector 32 and form a receiving light L2, and the receiving light L2 can be emitted back to the light sensor 10. It can be received by the light sensor 10, so that the electronic device 1 can subsequently determine whether the electronic device 1 is set on the bracket 2 according to the received light L2. When the electronic device 1 has been set on the bracket 2, the electronic device 1 can be automatically placed in a preset mode.

[0148] The above content can also be understood as that in this embodiment, a reflective portion 32 capable of reflecting the emission light L1 emitted by the light sensor 10 is designed at the position of the bracket 2 corresponding to the light sensor 10 in the electronic device 1, so that the light sensor 10 can receive the receiving light L2 formed by the reflection of the emission light L1, and then use the electronic device 1 for subsequent judgment. For example, it can be judged whether the first light information of the receiving light L2 meets the preset conditions. If the first light information meets the preset conditions. Specifically, since the electronic device 1 is arranged on the bracket 2, the light intensity of the receiving light L2 reflected by the reflective portion 32 is relatively large, so it can be judged whether the light intensity is greater than the preset light intensity. At the same time, since the electronic device 1 is always arranged on the bracket 2, the large light intensity can always be continuously received, so it can also be detected whether the duration of the receiving light L2 is greater than the preset duration. When both of the above two conditions are met, it is determined that the electronic device 1 has been arranged on the bracket 2, so that the electronic device 1 is controlled to be in the preset mode.

[0149] In summary, this embodiment adds a reflective portion 32, and utilizes the reflective portion 32 to cooperate with the electronic device 1 to automatically put the electronic device 1 into a preset mode when the electronic device 1 is set on the bracket 2, thereby omitting the user's manual operation of putting the electronic device 1 into the preset mode.

[0150] Please refer to Figure 2 , Figure 21-22 , Fig.21 This is a schematic diagram of a bracket in another embodiment of the present application. Fig. 22 FIG. 3 is a schematic diagram of a bracket in another embodiment of the present application. In this embodiment, along the extension direction of the bracket body 31, the reflective portion 32 is disposed on at least one side of the bracket body 31. Figure 2D2 in the figure can also be understood as the height direction of the electronic device 1 when the electronic device 1 is set on the bracket 2, that is, the up-down direction. In this direction, the reflector 32 can be arranged on at least one side of the bracket body 31, in other words, the reflector 32 can be arranged on the upper side of the bracket body 31, or the reflector 32 can be arranged on the lower side of the electronic device 1, or the reflector 32 can be arranged on both the upper and lower sides of the electronic device 1.

[0151] like Figure 2 As shown, when the reflective portion 32 can be disposed on the upper side of the bracket body 31, the electronic device 1 can be placed upright on the bracket 2, which conforms to the user's conventional usage and reduces the difficulty of detection. However, since the heights of electronic devices 1 of different models are different, and since the optical sensor 10 is usually disposed on the top of the electronic device 1, the height of the optical sensor 10 from the bottom is also different. If the reflective portion 32 is disposed on the upper side of the bracket body 31, the bracket 2 may not be able to adapt to electronic devices 1 of different models.

[0152] Based on this, in another embodiment, Fig.21 As shown, the reflective portion 32 may also be disposed on the lower side of the bracket body 31. As can be seen from the above content, since the optical sensor 10 in electronic devices 1 of different models is designed at the top, when the height of the electronic device 1 is different due to the different models, although the height of the optical sensor 10 from the bottom has a large deviation, the height of the optical sensor 10 from the top has a small deviation. Therefore, when the reflective portion 32 is disposed on the lower side of the bracket body 31, the electronic device 1 can be inverted on the bracket 2, so that the optical sensors 10 in electronic devices 1 of different models correspond to the reflective portion 32, thereby improving the adaptability range of the bracket 2 and the electronic device 1.

[0153] Furthermore, when the electronic device 1 is inverted, the optical sensor 10 can still correspond to the reflective portion 32 on the lower side, and the emission light L1 emitted by the optical sensor 10 can still be reflected on the bracket 2, and the reception light L2 formed by the reflection is emitted back to the optical sensor 10 to be received by the optical sensor 10. In addition, when the electronic device 1 is inverted, the placement state of the electronic device 1 can be detected before determining the first light information of the reception light L2, and the first light information is detected only when the electronic device 1 is inverted. It is even possible to detect the inclination angle between the electronic device 1 and the horizontal plane, and the first light information is detected only when the inclination angle between the electronic device 1 and the horizontal plane is greater than a preset angle and lasts for a preset time. This can further improve the accuracy of the detection and avoid false triggering.

[0154] In addition, in other embodiments, Fig. 22As shown, two reflective parts 32 can also be designed on the bracket body 31, and the two reflective parts 32 are arranged on opposite sides of the bracket body 31, that is, one reflective part 32 is arranged on the upper side of the bracket body 31, and the other reflective part 32 is arranged on the lower side of the bracket body 31, so that the bracket 2 can not only meet the user's usage habits, but also make the bracket 2 adapt to different models. For example, the user can first place the electronic device 1 upright on the bracket 2, so that the electronic device 1 is in a preset mode. If the model of the electronic device 1 is special, resulting in a large difference in the height of the electronic device 1 from the height of the commonly used electronic device 1, the electronic device 1 can be inverted on the bracket 2, so that the bracket 2 is adapted to the model, so that the electronic device 1 is in a preset mode. And in combination with the screen rotation function of the electronic device 1, the user can also watch the positive display screen.

[0155] Please refer again Figure 2 In this embodiment, the reflecting portion 32 has a reflecting surface 320 for reflecting the emitted light L1. The reflecting surface 320 is arc-shaped, and the opening direction of the arc-shaped reflecting surface 320 is used to face the electronic device 1, so that the receiving light L2 formed by the reflection can reach the light sensor 10.

[0156] The surface of the reflective portion 32 facing the electronic device 1 can reflect the emission light L1 emitted by the optical sensor 10, and this surface can be referred to as a reflective surface 320. In this embodiment, the reflective surface 320 can be designed to be arc-shaped, and the opening direction of the arc-shaped reflective surface 320 is used to face the electronic device 1. In other words, the reflective surface 320 forms a reflective concave structure, so that the receiving light L2 formed by the reflection of the reflective surface 320 can be more projected to the optical sensor 10, so that the optical sensor 10 receives more receiving light L2, thereby improving the accuracy of detection.

[0157] Optionally, the reflective portion 32 may be designed as an arc-shaped structure as a whole, so that the reflective surface 320 is also arc-shaped. Alternatively, the reflective portion 32 may be a rectangular structure or other structure as a whole, with only a groove 321 being provided on the reflective portion 32, and the bottom surface of the groove 321 being the reflective surface 320. This embodiment is only schematically described with the reflective portion 32 being an arc-shaped structure as a whole.

[0158] Optionally, the reflective surface 320 can be designed as a smooth reflective surface 320 to reduce diffuse reflection, so that more received light L2 can be projected to the optical sensor 10, further improving the accuracy of detection. As for the specific structure of the reflective surface 320, this embodiment will not be repeated again, as long as the received light L2 formed by reflection can be projected to the optical sensor 10.

[0159] It is worth noting that the arc mentioned above can be a smooth arc or a quasi-arc. Among them, the smooth arc can be understood as an arc structure with consistent curvature at various locations of the reflecting surface 320, and the quasi-arc can be understood as the curvatures at various locations of the reflecting surface 320 are different, but the difference is not large, and the overall structure is a similar arc structure. For example, the reflecting surface 320 is formed by a plurality of straight surfaces that are bent and connected in sequence. The reflecting surface 320 is not a smooth arc, but a plurality of straight surfaces can form a reflecting surface 320 similar to an arc. By designing the parameters of a plurality of surfaces, different reflection angles are provided on different surfaces, so that more models can be adapted, and more received light L2 can be projected to the light sensor 10.

[0160] Please refer to Fig.23 , Fig.23 Schematic diagram of a bracket in another embodiment of the present application. In this embodiment, the bracket 2 further includes a filling portion 34, which is disposed in a groove 321 formed by the arc-shaped reflective surface 320, and the filling portion 34 allows the emitted light L1 and the received light L2 to pass through.

[0161] Since the reflective surface 320 of the reflective portion 32 is arc-shaped, the arc-shaped reflective surface 320 can be surrounded to form a groove 321, or it can be understood that the groove 321 is for manufacturing a groove body opened by the reflective surface 320. Therefore, the present embodiment can also add a filling portion 34, which can be filled in the groove 321, and the material of the filling portion 34 can be designed so that the filling portion 34 does not affect the emission light L1 and the receiving light L2, that is, the emission light L1 emitted by the optical sensor 10 can pass through the filling portion 34 to the reflective surface 320, and be reflected on the reflective surface 320 to form the receiving light L2. The receiving light L2 can also pass through the filling portion 34 and be emitted back to the optical sensor 10.

[0162] In summary, the filling portion 34 in this embodiment is only used to fill and shield the reflective surface 320, and does not affect the transmission of the emitted light L1 and the received light L2. This can prevent the reflective surface 320 from being scratched by the user's fingers, the corners of the electronic device 1, or other external objects, which may cause the reflective surface 320 to be artificially or accidentally touched, thereby affecting the reflection performance and the detection accuracy, and improving the life of the bracket 2.

[0163] In this embodiment, the surface of the filling portion 34 facing away from the reflecting portion 32 is flush with the surface of the bracket body 31 used to abut the electronic device 1. On the basis of providing the filling portion 34, the surface of the filling portion 34 facing away from the reflecting portion 32 can also be flush with the surface of the bracket body 31 used to abut the electronic device 1. In this case, the filling portion 34 and the bracket body 31 can abut the electronic device 1 together, thereby improving the stability of the electronic device 1 on the bracket 2. In addition, making the surface of the filling portion 34 flush with the surface of the bracket body 31 can prevent the user from feeling the existence of the reflecting portion 32, and make the surface of the bracket 2 smooth, thereby improving the appearance performance of the bracket 2.

[0164] Please refer to Fig.24 , Fig.24 Schematic diagram of an electronic device assembly when the electronic device is arranged on a bracket in another embodiment of the present application. In this embodiment, along the arrangement direction perpendicular to the reflective portion 32 and the bracket body 31, the length of the reflective portion 32 is used to be greater than the size of the light sensor 10 in the electronic device 1. The bracket body 31 and the reflective portion 32 can be understood as being arranged up and down, so along the arrangement direction perpendicular to the reflective portion 32 and the bracket body 31, it is arranged horizontally left and right. In this direction, the length of the reflective portion 32 can be greater than the size of the light sensor 10, for example, the length of the reflective portion 32 is 5 times to 10 times that of the light sensor 10, or the length of the reflective portion 32 is equal to the width of the bracket body 31. In other words, the reflective portion 32 can cover the light sensor 10, for example, the reflective portion 32 can be made into a whole long strip of reflective portion 32. In this way, when the electronic device 1 is arranged on the bracket 2, even if the electronic device 1 is placed with a slight deviation, the reflective portion 32 of the bracket 2 can correspond to the light sensor 10 of the electronic device 1, and the stability of the electronic device 1 can also be improved. Furthermore, the optical sensors 10 in electronic devices 1 of different models may have slight deviations in the horizontal direction. By providing a longer reflective portion 32 , it can also be ensured that the optical sensors 10 of electronic devices 1 of different models are compatible.

[0165] Please refer to Figure 25-28 , Fig.25 This is a schematic diagram of a stent in another embodiment of the present application when it is in an unexpanded state. Fig.26 For electronic devices set Fig.25 Schematic diagram of the bracket shown. Fig. 27 This is a schematic diagram of a bracket in another embodiment of the present application when it is in an expanded state. Fig.28 For electronic devices set Fig. 27Schematic diagram of the bracket shown. In this embodiment, along the arrangement direction perpendicular to the reflective portion 32 and the bracket body 31, the reflective portion 32 includes a first sub-reflective portion 32a and a second sub-reflective portion 32b, and the smoothness of the reflective surface 320 of the first sub-reflective portion 32a is less than the smoothness of the reflective surface 320 of the second sub-reflective portion 32b, so that the light intensity of the received light L2 formed by the reflection of the first sub-reflective portion 32a is less than the light intensity of the received light L2 formed by the reflection of the second sub-reflective portion 32b; the bracket 2 also includes a support member 33, the support member 33 is rotatably connected to the bracket body 31, and is movably connected to the reflective portion 32, when the support member 33 rotates relative to the bracket body 31, the support member 33 can drive the reflective portion 32 to move along the arrangement direction perpendicular to the reflective portion 32 and the bracket body 31. Wherein, when the bracket 2 is in the undeployed state, the first sub-reflective portion 32a is used to correspond to the optical sensor 10, and when the bracket 2 is in the deployed state, the second sub-reflective portion 32b is used to correspond to the optical sensor 10.

[0166] In addition to the bracket body 31 and the reflective portion 32, the bracket 2 may also include a support member 33. The support member 33 may serve as a support foot of the bracket 2 and may be rotatably connected to the bracket body 31, so that the support member 33 may be retracted or extended relative to the bracket body 31. When the support member 33 is extended to make the bracket 2 in an extended state, the stability of the electronic device 1 arranged on the bracket 2 may be improved. For example, when the support member 33 is extended, the bracket 2 is in a "human" shape. At this time, placing the electronic device 1 on the bracket 2 may not only improve the stability of the electronic device 1, but also allow the electronic device 1 to be tilted, which is convenient for users to watch and use.

[0167] In addition, the reflective portion 32 in this embodiment is not fixed, but is movably connected to the support member 33. In other words, the support member 33 can also be movably connected to the reflective portion 32 that cooperates with the optical sensor 10 of the electronic device 1. When the support member 33 rotates relative to the bracket body 31, the reflective portion 32 can be synchronously driven to move through the transmission structure and other components, specifically, the reflective portion 32 is moved along a direction perpendicular to the arrangement direction of the reflective portion 32 and the bracket body 31 (such as Fig.25 The movement along the left and right lateral directions can change the position of the reflecting part 32 and ensure the supporting performance of the bracket 2 for the electronic device 1.

[0168] Since the electronic device 1 remains stationary after being placed on the bracket 2, the optical sensor 10 also remains stationary. Therefore, the reflective portion 32 does not always correspond to the optical sensor 10 when moving, or the reflective portion 32 used to make the light intensity of the received light L2 greater than the preset light intensity does not always correspond to the optical sensor 10, and the reflective portion 32 may have different cooperation effects with the optical sensor 10 at different positions.

[0169] As can be seen from the above, the length of the reflective portion 32 is greater than the size of the optical sensor 10, so the reflective portion 32 can be divided into two sub-reflective portions 32 along its moving direction in this embodiment: a first sub-reflective portion 32a and a second sub-reflective portion 32b. Each sub-reflective portion 32 is provided with a reflective surface 320, but the smoothness of the reflective surface 320 of the first sub-reflective portion 32a is less than the smoothness of the reflective surface 320 of the second sub-reflective portion 32b. When the same emitted light L1 is projected onto the reflective surface, the light intensity of the received light L2 formed by the reflection of the first sub-reflective portion 32a is less than the light intensity of the received light L2 formed by the reflection of the second sub-reflective portion 32b. Therefore, the electronic device 1 can distinguish whether the optical sensor 10 corresponds to the first sub-reflective portion 32a or the second sub-reflective portion 32b by the light intensity, and then cooperate with the support member 33 to determine whether the bracket 2 is in the unfolded state.

[0170] Specifically, when the bracket 2 is in the retracted state or the bracket 2 is in the unfolded state, that is, in the unfolded state, at the previous moment when the electronic device 1 is set on the bracket 2, the optical sensor 10 corresponds to the first sub-reflection part 32a, and the first sub-reflection part 32a can make the intensity of the received light L2 formed by reflection not greater than the preset light intensity, so the first light information does not meet the preset condition, and the electronic device 1 will not be in the preset mode. However, when the bracket 2 is in the unfolded state, at this time, as the reflective part 32 moves, the second sub-reflection part 32b can correspond to the optical sensor 10, so at the next moment, the second sub-reflection part 32b can make the intensity of the received light L2 formed by reflection greater than the preset light intensity, so that the first light information meets the preset condition, and then the electronic device 1 is automatically in the preset mode.

[0171] In summary, the present embodiment designs a bracket 2 with a movable reflective portion 32, which can cooperate with the electronic device 1 to determine whether the bracket 2 is in an expanded state. When the electronic device 1 is set on the bracket 2, the electronic device 1 is in a preset mode only when the bracket 2 is in an expanded state. When the bracket 2 is in a retracted state or in the process of being expanded, the electronic device 1 is not in the preset mode, which further improves the accuracy of the judgment and avoids false triggering when the bracket 2 is not expanded.

[0172] Optionally, the reflective portion 32 further includes a third sub-reflective portion 32 between the first sub-reflective portion 32a and the second sub-reflective portion 32b, and the smoothness of the reflective surface 320 of the third sub-reflective portion 32 is greater than the smoothness of the reflective surface 320 of the first sub-reflective portion 32a, and less than the smoothness of the reflective surface 320 of the second sub-reflective portion 32b, so that the light intensity of the received light L2 formed by the third sub-reflective portion 32 is greater than the light intensity of the received light L2 formed by the first sub-reflective portion 32a, and less than the light intensity of the received light L2 formed by the second sub-reflective portion 32b. In this way, during the unfolding process of the bracket 2, the light intensity of the received light L2 received by the optical sensor 10 at different times gradually increases, and the process of the bracket 2 being unfolded can be judged. When the bracket 2 is fully unfolded, the second sub-reflective portion 32b can correspond to the optical sensor 10, so that the light intensity of the received light L2 is always greater than the preset light intensity, and the duration is greater than the preset duration, then it is judged that the bracket 2 is in the unfolded state, which can further improve the accuracy of the judgment.

[0173] Please refer again Figure 7-10 In this embodiment, the bracket 2 further includes a support member 33, which is rotatably connected to the bracket body 31 and movably connected to the reflective portion 32. When the support member 33 rotates relative to the bracket body 31, the support member 33 can drive the reflective portion 32 to move along a direction perpendicular to the arrangement of the reflective portion 32 and the bracket body 31. When the bracket 2 is in an undeployed state, the reflective portion 32 is used to be staggered with the optical sensor 10, and when the bracket 2 is in an unfolded state, the reflective portion 32 is used to correspond to the optical sensor 10.

[0174] In addition to the bracket body 31 and the reflective portion 32, the bracket 2 may also include a support member 33. The support member 33 may serve as a support foot of the bracket 2 and may be rotatably connected to the bracket body 31, so that the support member 33 may be retracted or extended relative to the bracket body 31. When the support member 33 is extended to make the bracket 2 in an extended state, the stability of the electronic device 1 arranged on the bracket 2 may be improved. For example, when the support member 33 is extended, the bracket 2 is in a "human" shape. At this time, placing the electronic device 1 on the bracket 2 may not only improve the stability of the electronic device 1, but also allow the electronic device 1 to be tilted, which is convenient for users to watch and use.

[0175] Furthermore, the reflective portion 32 in this embodiment is not fixed, but is movably connected to the support member 33. In other words, the support member 33 can also be movably connected to the reflective portion 32 that cooperates with the optical sensor 10 of the electronic device 1. When the support member 33 rotates relative to the bracket body 31, the reflective portion 32 can be synchronously driven to move through the transmission structure and other components, specifically, the reflective portion 32 moves in a direction perpendicular to the arrangement direction of the reflective portion 32 and the bracket body 31, that is, in a left-right lateral direction. Moving in the left-right lateral direction can not only change the position of the reflective portion 32, but also ensure the support performance of the bracket 2 for the electronic device 1.

[0176] Since the electronic device 1 remains stationary after being placed on the bracket 2, the optical sensor 10 also remains stationary. Therefore, the reflective portion 32 does not always correspond to the optical sensor 10 when moving, or the reflective portion 32 used to make the light intensity of the received light L2 greater than the preset light intensity does not always correspond to the optical sensor 10, and the reflective portion 32 may have different cooperation effects with the optical sensor 10 at different positions.

[0177] The length of the reflective portion 32 in the present embodiment along the arrangement direction perpendicular to the reflective portion 32 and the bracket body 31 is relatively small. The reflective portion 32 corresponds to the optical sensor 10 only when the bracket 2 is in the unfolded state. The reflective portion 32 does not correspond to the optical sensor 10 when the bracket 2 is in the retracted state or the bracket 2 is in the unfolded state, that is, the reflective portion 32 is not in the unfolded state. At this time, the reflective portion 32 and the optical sensor 10 are staggered. Therefore, when the electronic device 1 is set on the bracket 2 and the bracket 2 is in the unfolded process, since the reflective portion 32 does not correspond to the optical sensor 10, the light intensity of the received light L2 received by the optical sensor 10 is relatively small, for example, less than the preset light intensity, or even the received light L2 cannot be received, and the light intensity is 0 at this time. Therefore, the first light information does not meet the preset condition, and the electronic device 1 is not in the preset mode. However, when the bracket 2 is in the unfolded state, the movement of the reflecting part 32 can correspond to the light sensor 10. At this time, the emission light L1 emitted by the light sensor 10 can be reflected on the bracket 2 to form a receiving light L2. The light intensity of the receiving light L2 received by the light sensor 10 is greater than the preset light intensity, and can be received continuously, so that the duration is greater than the preset duration, so that the first light information meets the preset conditions, and it is determined that the bracket 2 is in the unfolded state, and then the electronic device 1 is controlled to be in the preset mode, which can further improve the accuracy of the judgment.

[0178] In summary, the two types of bracket 2 structures provided above can utilize the mobility of the reflective portion 32 to prevent the electronic device 1 from being in the preset mode when the bracket 2 is not unfolded, and the electronic device 1 is put into the preset mode only when the bracket 2 is in the unfolded state.

[0179] Please refer to Fig.29 , Fig.29 Schematic diagram of a bracket in another embodiment of the present application. In this embodiment, the reflective portion 32 includes a main body portion 322 and a reflective portion 323. The main body portion 322 is disposed at the end side of the bracket body 31. A slide groove 324 is disposed on the surface of the main body portion 322 close to the electronic device 1. The reflective portion 323 slides in the slide groove 324. The reflective portion 323 is used to reflect the emission light L1 emitted by the optical sensor 10.

[0180] As can be seen from the above, the reflective part 32 can achieve a moving effect after cooperating with the support member 33. Specifically, the reflective part 32 as a whole can move relative to the bracket body 31, or only a part of the reflective part 32 can move relative to the bracket body 31. For the solution in which only a part of the reflective part 32 moves relative to the bracket body 31, the reflective part 32 in this embodiment can be divided into a main part 322 and a reflective part 323, wherein the main part 322 can be arranged at the end side of the bracket body 31, mainly used to connect the bracket body 31. In addition, a slide groove 324 is provided on the surface of the main part 322 close to the electronic device 1, and the reflective part 323 can be arranged in the slide groove 324 and slide in the slide groove 324. The reflective part 323 is the part mentioned above for reflecting the emission light L1 emitted by the light sensor 10.

[0181] In other words, the reflective portion 32 in this embodiment does not slide as a whole relative to the bracket body 31. The main body 322 in the reflective portion 32 is fixed and can be provided with a slide groove 324. Only the reflective portion 323 slides, thereby ensuring the integrity of the bracket 2 as a whole. For example, when the bracket 2 is a mobile phone case, when the mobile phone case is placed on the mobile phone, a support member 33 is provided on the back of the mobile phone case. When the support member 33 is unfolded, the mobile phone will not automatically be in the preset mode, and the internal reflective portion 323 will not be detected from the appearance when sliding, and no holes will appear on the back of the mobile phone case, thereby improving the integrity of the mobile phone case. Only when the support member 33 is fully unfolded, the mobile phone case can be placed on the desktop, and the reflective portion 323 will correspond to the light sensor 10, and the mobile phone will automatically be in the preset mode.

[0182] Please refer again Figure 3 The electronic device assembly 3 provided in this embodiment includes the electronic device 1 provided in the above embodiment of the present application, and the bracket 2 provided in the above embodiment of the present application, and the electronic device 1 is arranged on the bracket 2.

[0183] The electronic device component 3 is a component composed of the above-mentioned electronic device 1 with the new detection method and the above-mentioned bracket 2 with the reflective portion 32. In other words, the electronic device 1 can be used alone as the protection object of the present application, the bracket 2 can also be used alone as the protection object of the present application, and the combination of the electronic device 1 and the bracket 2 can also be used alone as the protection object of the present application. The electronic device 1 and the bracket 2 have been introduced in detail above in this application, and this embodiment will not be repeated here. The electronic device component 3 provided in this embodiment adopts the electronic device 1 provided in the above embodiment of the present application, and the bracket 2 provided in the above embodiment of the present application. When the electronic device 1 is set on the bracket 2, the electronic device 1 can automatically be in a preset mode, omitting the operation of the user manually operating the electronic device 1 to be in the preset mode.

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

[0185] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0186] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be connected, detachably connected, or integrated. It can be mechanically connected or electrically connected. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific circumstances.

[0187] The above describes the contents provided by the implementation methods of the present application in detail, and describes and illustrates the principles and implementation methods of the present application. These descriptions are only used to help understand the method and its core ideas of the present application. However, the contents of this specification should not be construed as limiting the present application, and those skilled in the art may make various changes and modifications to the present application without departing from the spirit and scope of the present application. These modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents.

Claims

1. A detection method, characterized in that: The detection method comprises: Acquire first light information of received light; When the first light information meets a preset condition, the electronic device is controlled to be in a preset mode; wherein, when the first light information meets the preset condition, it indicates that the electronic device is disposed on a bracket.

2. The detection method according to claim 1, characterized in that The first light information includes light intensity and duration, and when the first light information meets the preset condition, it includes: When the light intensity is greater than a preset light intensity and the duration is greater than a preset duration, the first light information satisfies the preset condition.

3. The detection method according to claim 2, characterized in that When the first light information meets a preset condition, the method includes: Get the receiving saturation value of the light sensor; When the light intensity is greater than the preset light intensity and the duration is greater than the preset duration, the first light information satisfies the preset condition; wherein the preset light intensity is not greater than the reception saturation value and not less than 0.8 times of the reception saturation value.

4. The detection method according to claim 2, characterized in that The bracket includes a bracket body, a reflective portion and a support member, wherein the support member is rotatably connected to the bracket body and movably connected to the reflective portion, and when the support member rotates relative to the bracket body, the support member can drive the reflective portion to move; when the first light information meets a preset condition, it includes: Acquiring the light intensity at a first moment; Acquire the light intensity at a second moment, the first moment being less than the second moment; When the light intensity at the first moment is not greater than the preset light intensity, the light intensity at the second moment is greater than the preset light intensity, and the duration after the second moment is greater than the preset duration, the first light information satisfies the preset condition; wherein, when the first light information satisfies the preset condition, it indicates that the electronic device is disposed on the bracket and the bracket is in an unfolded state.

5. The detection method according to claim 1, characterized in that Before obtaining the first light information of the received light, the method further includes: Acquire posture information of the electronic device, wherein the posture information includes a placement state; When the placement state is an inverted state, the electronic device is controlled to be in a detection state.

6. The detection method according to claim 5, characterized in that The posture information also includes an inclination angle between the electronic device and a horizontal plane. Before acquiring the first light information of the received light, the method further includes: When the inclination angle between the electronic device and the horizontal plane is greater than a preset angle and lasts for a preset time, the electronic device is controlled to be in the detection state.

7. The detection method according to claim 1, characterized in that Before obtaining the first light information of the received light, the method further includes: Acquire second light information of the emitted light; After obtaining the first light information of the received light, the method further includes: Determine whether the received light is reflected from the emitted light according to the first light information and the second light information; When the received light is reflected by the emitted light, the electronic device is controlled to be in a detection state.

8. A detection device, characterized in that: The detection device comprises: An acquisition unit, the acquisition unit is used to acquire first light information of the received light; A control unit, when the first light information meets a preset condition, the control unit is used to control the electronic device to be in a preset mode; wherein, when the first light information meets the preset condition, it indicates that the electronic device is set on the bracket.

9. An electronic device, characterized in that: The electronic device is used to be set on a bracket, and the electronic device includes a light sensor and a processor. The light sensor is used to emit light to the bracket, and the light sensor is also used to receive light formed by the reflection of the emitted light on the bracket. The processor is used to execute the detection method as described in any one of claims 1-7.

10. The electronic device according to claim 9, characterized in that: The electronic device also includes a first shell, a second shell, and a flexible screen, the flexible screen is arranged on one side of the first shell and the second shell, the light sensor is arranged in the first shell and close to the flexible screen, and the processor is arranged in the first shell or the second shell; when the electronic device is in an outward folded state, the flexible screen arranged in the first shell is arranged on the bracket, so that the light sensor and the bracket cooperate with each other, and the flexible screen arranged in the second shell is used to display the picture.

11. The electronic device according to claim 9, characterized in that: The electronic device also includes a first shell, a second shell, a flexible screen, and a sub-screen, the flexible screen is arranged on one side of the first shell and the second shell, the sub-screen is arranged on the other side of the first shell, the light sensor is arranged in the first shell and close to the sub-screen, and the processor is arranged in the first shell or in the second shell; when the electronic device is in an unfolded state, the sub-screen arranged in the first shell is arranged on the bracket, so that the light sensor and the bracket cooperate with each other, and the flexible screen is used to display the picture.

12. A bracket, characterized in that: The bracket includes a bracket body and a reflecting portion arranged on the end side of the bracket body, the bracket body is used to fix the electronic device, the reflecting portion is used to correspond to the light sensor in the electronic device, and the reflecting portion is also used to reflect the emission light emitted by the light sensor; wherein the emission light is reflected on the reflecting portion and forms a receiving light, and the receiving light can be received by the light sensor.

13. The bracket according to claim 12, characterized in that Along the extending direction of the bracket body, the reflecting portion is arranged on at least one side of the bracket body.

14. The bracket according to claim 12, characterized in that: The reflecting portion has a reflecting surface for reflecting the emitted light, the reflecting surface is arc-shaped, and the opening direction of the arc-shaped reflecting surface is used to face the electronic device, so that the receiving light formed by reflection can reach the light sensor.

15. The bracket according to claim 14, characterized in that The bracket further comprises a filling portion, wherein the filling portion is arranged in a groove formed by the arc-shaped reflecting surface, and the filling portion enables the emitted light and the received light to pass through.

16. The bracket according to claim 15, characterized in that The surface of the filling portion facing away from the reflecting portion is flush with the surface of the bracket body used for abutting against the electronic device.

17. The bracket according to claim 12, characterized in that: Along a direction perpendicular to an arrangement direction of the reflective portion and the bracket body, a length of the reflective portion is used to be greater than a size of the optical sensor in the electronic device.

18. The bracket according to claim 17, characterized in that Along the arrangement direction perpendicular to the reflecting part and the bracket body, the reflecting part includes a first sub-reflecting part and a second sub-reflecting part, the smoothness of the reflecting surface of the first sub-reflecting part is less than the smoothness of the reflecting surface of the second sub-reflecting part, so that the light intensity of the received light formed by the reflection of the first sub-reflecting part is less than the light intensity of the received light formed by the reflection of the second sub-reflecting part; the bracket also includes a supporting member, the supporting member is rotatably connected to the bracket body and movably connected to the reflecting part, and when the supporting member rotates relative to the bracket body, the supporting member can drive the reflecting part to move along the arrangement direction perpendicular to the reflecting part and the bracket body; Wherein, when the bracket is in an undeployed state, the first sub-reflecting portion is used to correspond to the light sensor, and when the bracket is in an unfolded state, the second sub-reflecting portion is used to correspond to the light sensor.

19. The bracket according to claim 12, characterized in that: The bracket further comprises a support member, the support member is rotatably connected to the bracket body and movably connected to the reflective portion, and when the support member rotates relative to the bracket body, the support member can drive the reflective portion to move along a direction perpendicular to the arrangement direction of the reflective portion and the bracket body; Wherein, when the bracket is in an undeployed state, the reflective portion is used to be staggered with the optical sensor, and when the bracket is in an unfolded state, the reflective portion is used to correspond to the optical sensor.

20. The bracket according to claim 18 or 19, characterized in that: The reflecting part includes a main body part and a reflecting part. The main body part is arranged on the end side of the bracket body. The main body part is provided with a slide groove on the surface close to the electronic device. The reflecting part slides in the slide groove. The reflecting part is used to reflect the emitted light emitted by the light sensor.

21. An electronic device component, characterized in that: The electronic device assembly comprises the electronic device as described in any one of claims 9 to 11, and the bracket as described in any one of claims 12 to 20, and the electronic device is arranged on the bracket.