Electronic device and device control method

By combining a flexible screen, a light sensor, and an infrared sensor, the opening and closing of the flexible screen is automatically controlled by infrared light, solving the problem of damage to traditional electronic devices during manual operation and achieving safe and reliable operation of the flexible screen.

CN117041415BActive Publication Date: 2026-02-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311073186.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2026-02-06
Estimated Expiration
2043-08-23

AI Technical Summary

Technical Problem

Traditional folding and sliding electronic devices are prone to damage during manual operation by the user.

Method used

The system employs a combination of a flexible screen, a light sensor, and an infrared sensor. The light sensor receives infrared light emitted by the infrared sensor, and the controller automatically controls the opening and closing of the flexible screen based on the infrared light information received by the light sensor, thus avoiding manual operation.

Benefits of technology

This avoids damage to electronic devices caused by improper human operation and achieves safe and reliable opening and closing control of flexible screens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117041415B_ABST
    Figure CN117041415B_ABST
Patent Text Reader

Abstract

The application relates to an electronic device and a device control method. The electronic device comprises a flexible screen, a controller, a light sensor and an infrared sensor; the light sensor is used for receiving infrared light generated by the infrared sensor; the controller is used for determining user operation information according to the infrared light information received by the light sensor, and controlling the opening and closing of the flexible screen according to the user operation information. The electronic device can avoid the problem of electronic device damage caused by improper human operation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic devices, in particular to an electronic device and a device control method. BACKGROUND

[0002] With the development of terminal technology, the development of folding electronic devices and sliding electronic devices is also getting faster and faster. Folding electronic devices and sliding electronic devices have been widely used in people's daily life. In the traditional technology, for folding electronic devices, users realize the folding or unfolding of folding electronic devices through manual control. For sliding electronic devices, users also realize the screen rolling or unfolding of sliding electronic devices through manual control. However, the traditional method has the problem of easy damage to folding electronic devices or sliding electronic devices. SUMMARY

[0003] The embodiments of the present application provide an electronic device and a device control method, which can avoid the problem of easy damage to the folding or unfolding process of folding electronic devices and the screen rolling or unfolding process of sliding electronic devices.

[0004] In a first aspect, the embodiments of the present application provide an electronic device, which comprises a flexible screen, a controller, a light sensor and an infrared sensor;

[0005] The light sensor is configured to receive infrared light generated by the infrared sensor.

[0006] The controller is configured to determine user operation information according to the infrared light information received by the light sensor, and control the opening and closing of the flexible screen according to the user operation information.

[0007] In a second aspect, the embodiments of the present application provide a device control method applied to an electronic device, which comprises a flexible screen, a light sensor and an infrared sensor; the method comprises:

[0008] Obtaining infrared light information received by the light sensor;

[0009] Determining user operation information according to the infrared light information;

[0010] Controlling the opening and closing of the flexible screen according to the user operation information.

[0011] The electronic device and the device control method, the electronic device comprises a flexible screen, a controller, a light sensor and an infrared sensor, the light sensor can receive infrared light generated by the infrared sensor, the controller can determine user operation information according to frequency change information of the infrared light received by the light sensor, and the flexible screen is controlled to open and close according to the user operation information. Since the electronic device automatically controls the opening and closing of the flexible screen according to the frequency change information of the infrared light received by the light sensor in the process, the introduction of artificial operation in the opening and closing of the flexible screen is avoided, and the problem of damage to the electronic device caused by improper artificial operation is avoided. BRIEF DESCRIPTION OF DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0013] Figure 1 A structural schematic diagram of a sliding and rolling electronic device in an embodiment;

[0014] Figure 2 A structural schematic diagram of a sliding and rolling electronic device in another embodiment;

[0015] Figure 3 A structural schematic diagram of a folding electronic device in an embodiment;

[0016] Figure 4 A structural schematic diagram of a sliding and rolling electronic device in another embodiment;

[0017] Figure 5 A flowchart of a device control method in an embodiment;

[0018] Figure 6 A flowchart of a device control method in another embodiment;

[0019] Figure 7 A structural block diagram of a device control apparatus in an embodiment;

[0020] Figure 8 A structural block diagram of a device control apparatus in another embodiment;

[0021] Figure 9 A structural block diagram of a device control apparatus in another embodiment;

[0022] Figure 10 A structural block diagram of a device control apparatus in another embodiment;

[0023] Figure 11This is a diagram of the internal structure of an electronic device in one embodiment;

[0024] Explanation of reference numerals in the attached figures:

[0025] Flexible screen: 10; Light sensor: 20; Infrared sensor: 30; Mid-frame: 40; Detection area: 50. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0027] In one embodiment, such as Figure 1 As shown, an electronic device is provided, which includes a flexible screen 10, a controller, a light sensor 20, and an infrared sensor 30; the light sensor 20 is used to receive infrared light generated by the infrared sensor 30; the controller is used to determine user operation information based on the infrared light information received by the light sensor 20, and control the opening and closing of the flexible screen 10 based on the user operation information.

[0028] First, it needs to be explained that, Figure 1 The explanation uses a sliding electronic device as an example. Of course, Figure 1 The electronic device in the embodiment can also be a foldable electronic device. The infrared sensor 30 emits infrared light at a certain frequency. When a user's hand blocks the infrared sensor 30, the infrared light emitted by the infrared sensor 30 is reflected by the finger to the light sensor 20. The light sensor 20 can detect the infrared light emitted by the infrared sensor 30. When there is no object blocking the light, the light sensor 20 only detects ambient light. That is, in this embodiment, the infrared light information received by the light sensor 20 is generated by the infrared light produced when the user's hand blocks the infrared sensor 20.

[0029] Optionally, in this embodiment, the infrared light information received by the light sensor 20 can be the frequency change information of the infrared light, or it can be the sequence information of the infrared light received by the light sensor 20. The controller can determine the user operation information based on the infrared light information received by the light sensor, for example, it can determine the user operation direction and the user operation distance.

[0030] Optionally, in the embodiment, the electronic device can be a folding electronic device or a sliding electronic device, that is, in the embodiment, the electronic device can control the opening and closing of the flexible screen of the folding electronic device or the flexible screen of the sliding electronic device, which is not limited in the embodiment. It can be understood that when the electronic device is a folding electronic device, the opening and closing of the flexible screen of the folding electronic device can include the opening and closing direction and / or the opening and closing angle of the flexible screen of the folding electronic device; when the electronic device is a sliding electronic device, the opening and closing of the flexible screen of the sliding electronic device can include the opening and closing direction and / or the opening and closing distance of the flexible screen of the sliding electronic device.

[0031] The above-mentioned electronic device includes a flexible screen, a controller, a light sensor and an infrared sensor, the light sensor can receive infrared light generated by the infrared sensor, the controller can determine user operation information according to the infrared light information received by the light sensor, and control the opening and closing of the flexible screen of the electronic device according to the user operation information. Since the controller automatically controls the opening and closing of the flexible screen according to the infrared light information received by the light sensor in the process, it avoids introducing human operation in the opening and closing of the flexible screen, thereby avoiding the problem of damage to the electronic device due to improper human operation.

[0032] In the embodiment, the specific setting mode of the light sensor 20 and the infrared sensor 30 on the electronic device will be described in detail. In one embodiment, please continue to refer to the above Figure 1 The above-mentioned light sensor 20 and infrared sensor 30 are arranged on the middle frame 40 of the electronic device.

[0033] Among them, the middle frame 40 of the electronic device is the middle connection area between the front panel and the back cover of the electronic device, which is the side with the card slot and key interface of the electronic device, that is, in the embodiment, the light sensor 20 and the infrared sensor 30 are arranged on the side of the electronic device. Optionally, since the distance between the infrared sensor 30 and the light sensor 20 is relatively close, in order to avoid light leakage, a shield can be arranged between the infrared sensor 30 and the light sensor 20 to avoid light leakage of the infrared sensor 30.

[0034] In the embodiment, the light sensor and the infrared sensor in the electronic device are arranged on the middle frame of the electronic device, which avoids occupying other positions of the electronic device, ensures that the opening and closing of the flexible screen of the electronic device are controlled by the light sensor and the infrared sensor, and does not occupy too much position of the electronic device, nor increases the volume occupied by the electronic device.

[0035] In the embodiment, the specific setting mode of the light sensor 20 and the infrared sensor 30 on the middle frame will be described. In one embodiment, please continue to refer to the above Figure 1The infrared sensor 30 and the light sensor 20 can be arranged along the length direction of the middle frame 40 of the electronic device.

[0036] Optionally, in the embodiment, as an optional implementation, the following can be continued to refer to Figure 1 The electronic device can include at least two infrared sensors 30, the at least two infrared sensors 30 are grouped two by two, one light sensor 20 is arranged between the two infrared sensors 30 in the same group, and the infrared light generated by the two infrared sensors 30 in the same group is different in frequency information. The controller can determine the user operation information according to the frequency change information of the infrared light received by the light sensor 20, and control the opening and closing of the flexible screen 10 according to the user operation information. Optionally, in the embodiment, the controller can determine the user operation direction according to the frequency change information of the infrared light received by the light sensor 20, that is, the controller can determine the user operation direction according to which light sensor 20 first receives the infrared light generated by the infrared sensor 30. Further, the controller can determine the user operation distance according to the sequence information of the infrared light received by the light sensor 20, that is, the controller can determine the user operation distance according to which light sensor 20 receives the infrared light generated by the infrared sensor 30. It should be noted that

[0037] Optionally, as another optional implementation, as shown in Figure 2 The electronic device can include at least two light sensors 20, the at least two light sensors 20 are grouped two by two, one infrared sensor 30 is arranged between the two light sensors 20 in the same group, and the controller is used to determine the user operation information according to the sequence information of the infrared light received by the light sensor 20, and control the opening and closing of the flexible screen 10 of the electronic device according to the user operation information. Optionally, in the embodiment, the controller can determine the user operation direction according to the sequence information of the infrared light received by the light sensor 20, that is, the controller can determine the user operation direction according to which light sensor 20 first receives the infrared light generated by the infrared sensor 30 and which light sensor 20 receives the infrared light generated by the infrared sensor 30 later. Further, the controller can determine the user operation distance according to the sequence information of the infrared light received by the light sensor 20, that is, the controller can determine the user operation distance according to which light sensor 20 receives the infrared light generated by the infrared sensor 30. It should be noted that Figure 2 The description in the above embodiment is taken as an example of the electronic device being a sliding electronic device, of course, Figure 2The electronic device in the embodiment can also be a folding electronic device.

[0038] In the embodiment, the infrared sensor and the light sensor in the electronic device can be arranged along the length direction of the middle frame of the electronic device. The light sensor and the infrared sensor arranged on the middle frame of the electronic device can sensitively sense the hand operation of the user, ensuring that the electronic device can determine the user operation information according to the frequency information of the infrared light received by the light sensor, and control the opening and closing of the flexible screen of the electronic device according to the user operation information.

[0039] In the embodiment, another specific arrangement of the light sensor 20 and the infrared sensor 30 on the middle frame will be described. In one embodiment, as shown in Figure 3 , the light sensor 20 and the infrared sensor 30 are arranged along the thickness direction of the middle frame.

[0040] In the embodiment, when the light sensor 20 and the infrared sensor 30 of the electronic device are arranged along the thickness direction of the middle frame 40 of the electronic device, as an optional implementation, please continue to refer to Figure 3 , the electronic device can include a plurality of infrared sensors 30, the light sensor 20 is a strip-shaped component extending along the length direction of the middle frame 40, and the plurality of infrared sensors 30 are arranged along the length direction of the light sensor 20. Optionally, in the embodiment, the controller can determine the sequence in which the user's hand blocks the infrared sensor 30 according to the frequency change information of the infrared light received by the light sensor 20, so as to determine the user operation direction. Further, the controller can also determine which infrared sensors 30 are blocked by the user's hand according to the frequency change information of the infrared light received by the light sensor 20, so as to determine the user operation distance according to the number of infrared sensors 30 blocked by the user's hand.

[0041] Optionally, in the embodiment, as an optional implementation, the light emitting frequencies of the plurality of infrared sensors 30 included in the electronic device can respectively correspond to a plurality of different operation modes. The controller can switch to different operation modes when the light sensor 20 detects the light emitting frequencies of different infrared sensors 30. Taking an example in which the electronic device includes three infrared sensors 30, the light emitting frequencies of the three infrared sensors can respectively correspond to three operation modes, such as a silent mode, a vibration mode, and a ringing mode. Then, the controller can control the electronic device to switch to the corresponding operation mode according to the light emitting frequency of the infrared sensor detected by the light sensor 20. It should be noted that, Figure 3 The electronic device in the embodiment is taken as an example of a folding electronic device. Of course, Figure 3 The electronic device in the embodiment can also be a sliding electronic device.

[0042] In the embodiment, the light sensor and the infrared sensor in the electronic device are arranged in sequence along the thickness direction of the middle frame of the electronic device, avoiding occupying other positions of the electronic device, and the light sensor and the infrared sensor arranged on the middle frame of the electronic device can sensitively sense the hand operation of the user, ensuring the feasibility of determining the user operation information according to the frequency information of the infrared light received by the light sensor, and controlling the opening and closing of the flexible screen of the electronic device according to the user operation information.

[0043] In some scenarios, the electronic device also needs to know whether the infrared sensor is blocked by the hand of the user, to avoid false triggering caused by other objects passing by other than the hand of the user. In one embodiment, as shown in Figure 4 The electronic device also includes a specific absorption rate (SAR) detection area 50 of the antenna, and the light sensor 20 and the infrared sensor 30 are arranged in the detection area 50; the detection area 50 is used to determine whether the infrared sensor is blocked by the hand of the user according to the SAR of the electronic device.

[0044] First of all, it should be noted that, Figure 4 The electronic device is a slide-and-roll electronic device, and the electronic device can include at least two infrared sensors 30, which are grouped two by two, and a light sensor 20 is arranged between the two infrared sensors 30 in the same group, and the frequency information of the infrared light generated by the two infrared sensors 30 in the same group is different. It can be understood that, Figure 4 The electronic device in the embodiment can also be a foldable electronic device, Figure 4 The arrangement mode of the light sensor 20 and the infrared sensor 30 in the embodiment can also be other arrangement modes in the above embodiments.

[0045] The specific absorption rate (SAR) is the electromagnetic wave energy absorption ratio of the electronic device, which is used to quantify and measure the radiation of the electronic device. In the embodiment, the electronic device also includes a SAR detection area 50 of the antenna, and the light sensor 20 and the infrared sensor 30 are arranged in the detection area 50. When a non-user hand blocks this area and produces a sliding effect, the SAR of the antenna will not be triggered. The detection area 50 can determine whether the infrared sensor 30 is blocked by the hand of the user according to the SAR of the electronic device. When it is determined that the infrared sensor 30 is not blocked by the hand of the user, the light sensor 20 does not make a sliding judgment. When it is determined that the infrared sensor 30 is blocked by the hand of the user, the light sensor 20 will make a sliding judgment and receive the infrared light generated by the infrared sensor 20.

[0046] In this embodiment, the electronic device further comprises an electromagnetic wave specific absorption rate detection area of the antenna, and the light sensor and the infrared sensor are arranged in the detection area. The detection area can determine whether the infrared sensor is blocked by the user's hand according to the electromagnetic wave specific absorption rate of the electronic device, thereby avoiding the problem that other objects other than the user's hand swipe the electronic device to cause false triggering, and ensuring that the infrared light generated by the infrared sensor received by the light sensor is triggered by the user, and ensuring the accuracy of the electronic device in determining the user operation information according to the frequency change information of the infrared light received by the light sensor, and controlling the opening and closing of the flexible screen of the electronic device according to the user operation information.

[0047] Based on the same inventive concept, the embodiments of the present application also provide a device control method. In one embodiment, as shown in Figure 5 the device control method is provided. In this embodiment, the method is applied to an electronic device, which comprises a flexible screen, a light sensor and an infrared sensor. The method comprises the following steps:

[0048] S201, obtaining infrared light information received by the light sensor.

[0049] The infrared sensor can emit infrared light at a certain frequency. When the user's hand blocks the infrared sensor, the infrared light emitted by the infrared sensor is reflected to the light sensor by the finger. The light sensor can detect the infrared light emitted by the infrared sensor. When there is no object blocking, the light sensor only detects ambient light. That is, in this embodiment, the infrared light information received by the light sensor is generated by the infrared light generated by the user's hand blocking the infrared sensor.

[0050] Optionally, in this embodiment, the light sensor and the infrared sensor can be arranged on the middle frame of the electronic device. Optionally, the light sensor and the infrared sensor can be arranged along the length direction of the middle frame of the electronic device, or can be arranged in sequence along the thickness direction of the middle frame of the electronic device. This embodiment does not limit this. Optionally, in this embodiment, the electronic device can be provided with at least one infrared sensor and at least one light sensor. The emission frequencies of the infrared sensors can be different. The light sensor can send the received infrared light information to the controller of the electronic device.

[0051] Exemplarily, as shown in Figure 1As shown, the embodiment takes an electronic device provided with two infrared sensors 30 and one light sensor 20 as an example, wherein the light sensor 20 is arranged at the middle position of the two infrared sensors 30, the two infrared sensors have different emission frequencies, and the light sensor can determine whether the light source is from the infrared sensor 20 or environmental interference according to the received infrared light information. Also based on this, when the user slides the hand from top to bottom, the light sensor first detects the frequency of the infrared light emitted by the first infrared sensor 20, then detects the superimposed frequency of the infrared light emitted by the first infrared sensor 20 and the infrared light emitted by the second infrared sensor 20, and finally detects the frequency of the infrared light emitted by the second infrared sensor 20, thereby completing a detection cycle of the user's hand sliding action.

[0052] S202, determining the user operation information according to the infrared light information.

[0053] Optionally, in the embodiment, the infrared light information acquired by the electronic device can be the frequency change information of the infrared light received by the light sensor, or can also be the sequence information of the infrared light received by the light sensor, and the electronic device can determine the user operation information according to the infrared light information received by the light sensor, for example, can determine the user operation direction and the user operation distance.

[0054] S203, controlling the opening and closing of the flexible screen according to the user operation information.

[0055] Optionally, in the embodiment, the electronic device can be a folding electronic device or a sliding electronic device, that is, in the embodiment, the electronic device can control the opening and closing of the flexible screen of the folding electronic device, or can control the opening and closing of the flexible screen of the sliding electronic device, which is not limited in the embodiment. It can be understood that when the electronic device is a folding electronic device, the opening and closing of the flexible screen of the folding electronic device can include the opening and closing direction and / or the opening and closing angle of the flexible screen of the folding electronic device; when the electronic device is a sliding electronic device, the opening and closing of the flexible screen of the sliding electronic device can include the opening and closing direction and / or the opening and closing distance of the flexible screen of the sliding electronic device.

[0056] In the above device control method, the device control method is applied to an electronic device, the electronic device includes a flexible screen, a light sensor and an infrared sensor, the electronic device can acquire infrared light information received by the light sensor, so as to determine user operation information according to the infrared light information received by the light sensor, and then control the opening and closing of the flexible screen of the electronic device according to the user operation information. Since the electronic device automatically controls the opening and closing of the flexible screen according to the infrared light information received by the light sensor in the process, human operation is avoided in the opening and closing of the flexible screen, thereby avoiding the problem of damage to the electronic device due to improper human operation.

[0057] In this embodiment, the detailed embodiments of the electronic device controlling the opening and closing of the flexible screen of the electronic device according to the user operation information will be described. In one embodiment, S203 includes controlling at least one of the opening and closing direction, the opening and closing angle, and the opening and closing distance of the flexible screen according to the user operation information.

[0058] Optionally, in this embodiment, the user operation information can include the operation direction and / or the operation distance. When the electronic device is a folding electronic device, the electronic device can control the opening and closing direction of the flexible screen of the folding electronic device according to the operation direction in the user operation information, and / or control the opening and closing angle of the flexible screen of the folding electronic device according to the operation distance in the user operation information; when the electronic device is a sliding electronic device, the electronic device can control the opening and closing direction of the flexible screen of the sliding electronic device according to the operation direction in the user operation information, and / or control the opening and closing distance of the flexible screen of the sliding electronic device according to the operation distance in the user operation information.

[0059] Optionally, when the electronic device controls the opening and closing direction of the flexible screen according to the operation direction in the user operation information, if the operation direction in the user operation information is an operation direction from top to bottom, the electronic device can control the flexible screen to open, and if the operation direction in the user operation information is an operation direction from bottom to top, the electronic device can control the flexible screen to close.

[0060] Optionally, when the electronic device controls the opening and closing angle of the flexible screen according to the operation distance in the user operation information, different operation distances can correspond to different opening and closing angles, for example, the farther the operation distance, the greater the opening and closing angle, and the shorter the operation distance, the smaller the opening and closing angle. It can be understood that when the flexible screen of the electronic device is controlled to open according to the operation direction, the opening and closing angle is the opening angle when the flexible screen of the electronic device is controlled to open; when the flexible screen of the electronic device is controlled to close according to the operation direction, the opening and closing angle is the closing angle when the flexible screen of the electronic device is controlled to close.

[0061] Optionally, when the electronic device controls the opening and closing distance of the flexible screen according to the operation distance in the user operation information, different operation distances can correspond to different opening and closing distances, for example, the farther the operation distance, the farther the opening and closing distance, and the shorter the operation distance, the shorter the opening and closing distance. It can be understood that when the flexible screen of the electronic device is controlled to slide according to the operation direction, the opening and closing distance is the sliding distance when the flexible screen of the electronic device is controlled to slide; when the flexible screen of the electronic device is controlled to roll up according to the operation direction, the opening and closing distance is the rolling distance when the flexible screen of the electronic device is controlled to roll up.

[0062] In this embodiment, the electronic device can accurately control at least one of the opening and closing direction, the opening and closing angle, and the opening and closing distance of the flexible screen of the electronic device according to the determined user operation information, so that at least one of the opening and closing direction, the opening and closing angle, and the opening and closing distance of the flexible screen is controlled according to the user operation information, the control of the flexible screen can be consistent with the user operation information, and it is ensured that the operation of the flexible screen of the electronic device is consistent with the user's intention.

[0063] In some scenarios, the infrared light received by the light sensor can also not be triggered by the user, but caused by a false trigger. Therefore, before obtaining the frequency change information of the infrared light received by the light sensor, the electronic device can first determine whether the infrared sensor is blocked by the user's hand. In one embodiment, the electronic device further includes an electromagnetic wave specific absorption rate detection area of the antenna, and the light sensor and the infrared sensor are arranged in the detection area, as shown in Figure 6 The above method can further include:

[0064] S301, determining whether the infrared sensor is blocked by the user's hand according to the SAR of the electronic device.

[0065] In this embodiment, in order to avoid false triggering caused by other objects sliding across the electronic device in addition to the user's hand, the electromagnetic wave specific absorption rate (SAR) of the electronic device can be used as an auxiliary judgment. When a non-human hand blocks the infrared sensor and produces a sliding effect, the SAR of the antenna of the electronic device will not be triggered, and the light sensor will not make a sliding judgment at this time. When the user's hand blocks the infrared sensor and produces a sliding effect, the SAR of the antenna of the electronic device will be triggered, and the light sensor will make a sliding judgment at this time. That is, in this embodiment, the electronic device can determine whether the infrared sensor is blocked by the user's hand according to whether the electromagnetic wave SAR of the electronic device is triggered.

[0066] S302, if yes, performing the step of obtaining the infrared light information received by the light sensor.

[0067] In this embodiment, after the electronic device determines that the infrared sensor is blocked by the user's hand, the electronic device will perform the step of S201 to obtain the infrared light information received by the light sensor.

[0068] In this embodiment, the electronic device can accurately determine whether the infrared sensor is blocked by the user's hand according to the electromagnetic wave specific absorption rate of the electronic device, avoid the frequency change of the infrared light received by the light sensor caused by false triggering of other objects, and accurately control the opening and closing of the flexible screen of the electronic device according to the infrared light information received by the light sensor in the case where the infrared sensor is determined to be blocked by the user's hand, thereby avoiding false triggering control of the flexible screen of the electronic device.

[0069] In some scenarios, the electronic device can further control the electronic device according to the user operation information. In one embodiment, the method further includes: controlling the volume of the electronic device according to the user operation information; or controlling the brightness of the flexible screen according to the user operation information.

[0070] In the embodiment, after determining the user operation information according to the infrared light information received by the light sensor, the electronic device can further control the volume of the electronic device according to the user operation information, or control the brightness of the flexible screen according to the user operation information.

[0071] Optionally, the electronic device can determine whether to increase the volume of the electronic device or decrease the volume of the electronic device according to the direction information of the infrared light information received by the light sensor, and can determine the volume value to be increased or the volume value to be decreased according to the distance information of the infrared light information received by the light sensor.

[0072] Optionally, the electronic device can determine whether to increase the brightness of the screen of the electronic device or decrease the brightness of the screen of the electronic device according to the direction information of the infrared light information received by the light sensor, and can determine the brightness value to be increased or the brightness value to be decreased according to the distance information of the infrared light information received by the light sensor.

[0073] In the embodiment, the electronic device can control the volume of the electronic device or control the brightness of the flexible screen according to the user operation information, which enriches the diversity of the operation of the electronic device, avoids the inconvenience of controlling the volume of the electronic device or the brightness of the screen of the electronic device through the protruding keys of the electronic device, and makes the operation more convenient and simple.

[0074] It should be understood that, although each step in the flowchart involved in the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0075] Based on the same inventive concept, the embodiment of the present application further provides a device control apparatus for implementing the device control method. The apparatus provides a solution to the implementation scheme as described in the above method, and therefore the specific limitations in one or more device control apparatus embodiments provided below can refer to the limitations of the device control method described above, which will not be described here again.

[0076] In one embodiment, as shown in Figure 7 A device control apparatus is provided, applied to an electronic device, the electronic device comprising a flexible screen, a light sensor and an infrared sensor; the apparatus comprises: an acquisition module 10, a first determination module 11 and a first control module 12. The acquisition module 10 is configured to acquire infrared light information received by the light sensor. The first determination module 11 is configured to determine user operation information according to the infrared light information. The first control module 12 is configured to control the opening and closing of the flexible screen according to the user operation information.

[0077] Optionally, in one embodiment, the user operation information comprises an operation direction and / or an operation distance.

[0078] The device control apparatus provided in the embodiment can execute the method embodiments described above, and has similar implementation principles and technical effects, which will not be described here again.

[0079] Based on the above embodiment, as shown in Figure 8 Optionally, the first control module 12 comprises a control unit 121, wherein the control unit 121 is configured to control at least one of the opening and closing direction, the opening and closing angle and the opening and closing distance of the flexible screen according to the user operation information.

[0080] The device control apparatus provided in the embodiment can execute the method embodiments described above, and has similar implementation principles and technical effects, which will not be described here again.

[0081] Based on the above embodiment, the electronic device can be a slide and roll electronic device, and the control unit 121 is specifically configured to control the opening and closing direction of the flexible screen according to the operation direction; and / or control the opening and closing distance of the flexible screen according to the operation distance.

[0082] The device control apparatus provided in the embodiment can execute the method embodiments described above, and has similar implementation principles and technical effects, which will not be described here again.

[0083] Based on the above embodiment, the electronic device can be a folding electronic device, and the control unit 121 is specifically configured to control the opening and closing direction of the flexible screen according to the operation direction; and / or control the opening and closing angle of the flexible screen according to the operation distance.

[0084] The device control apparatus provided in the embodiment can execute the method embodiments, and has similar implementation principles and technical effects, which will not be described here again.

[0085] On the basis of the above-mentioned embodiment, optionally, the electronic device further includes an electromagnetic wave specific absorption rate detection area of the antenna, and the light sensor and the infrared sensor are both arranged in the detection area, as shown in Figure 9 The above-mentioned apparatus further includes a second determination module 13 and an execution module 14. The second determination module 13 is configured to determine whether the infrared sensor is blocked by the user's hand according to the SAR of the electronic device. The execution module 14 is configured to execute the step of acquiring the infrared light information received by the light sensor in the case that the infrared sensor is determined to be blocked by the user's hand.

[0086] On the basis of the above-mentioned embodiment, optionally, as shown in Figure 10 The above-mentioned apparatus further includes a second control module 15. The second control module 15 is configured to control the volume of the electronic device according to the user operation information, or control the brightness of the flexible screen according to the user operation information.

[0087] The modules in the above-mentioned device control apparatus can be all or partially realized by software, hardware and combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to execute the operations corresponding to the above-mentioned modules.

[0088] In one embodiment, an electronic device is provided, and an internal structure diagram thereof can be as shown in Figure 11As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through the system bus, the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capability. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the electronic device is used to exchange information between the processor and the external device. The communication interface of the electronic device is used to communicate with the external terminal in a wired or wireless manner. The wireless manner can be realized through WIFI, mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to realize a device control method. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0089] Those skilled in the art can understand that, Figure 11 The skilled in the art can understand that,

[0090] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0091] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0092] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. An electronic device, comprising: The electronic device comprises a flexible screen, a controller, a light sensor and an infrared sensor; the light sensor and the infrared sensor are arranged on a middle frame of the electronic device; The light sensor is configured to receive infrared light; the infrared light is generated by the infrared sensor being shielded by a user's hand; The controller is configured to determine user operation information according to frequency variation information and / or sequence information of the infrared light received by the light sensor, and control opening and closing of the flexible screen according to the user operation information; wherein the controller determines the user operation information in the following manner: The controller is configured to determine a sequence of the infrared light received by the light sensor according to the frequency variation information of the infrared light received by the light sensor, determine a user operation direction according to the sequence of the received infrared light, and / or the controller is configured to determine a number of the light sensors receiving the infrared light according to the frequency variation information of the infrared light received by the light sensor, determine a user operation distance according to the number of the light sensors receiving the infrared light; the infrared sensor is at least two, the at least two infrared sensors are grouped two by two, one infrared sensor is arranged between the two infrared sensors in the same group, and the frequency information of the infrared light generated by the two infrared sensors in the same group is different; the infrared sensor and the light sensor are arranged in a length direction of the middle frame; or, The controller is configured to determine a user operation direction according to sequence information of the infrared light received by the light sensor, and / or the controller is configured to determine a number of the light sensors receiving the infrared light according to the sequence information of the received infrared light, and determine a user operation distance according to the number of the light sensors receiving the infrared light; the light sensor is at least two, the at least two light sensors are grouped two by two, one infrared sensor is arranged between the two light sensors in the same group; the infrared sensor and the light sensor are arranged in a length direction of the middle frame; or, The controller is configured to determine a sequence of the infrared sensor being shielded by the user's hand according to the frequency variation information of the infrared light received by the light sensor, determine a user operation direction according to the sequence of the infrared sensor being shielded by the user's hand, and / or the controller is configured to determine a number of the infrared sensors being shielded by the user's hand according to the frequency variation information, and determine a user operation distance according to the number of the infrared sensors being shielded by the user's hand; the infrared sensor is a plurality of, the light sensor is a strip-shaped component extending in a length direction of the middle frame, and the plurality of infrared sensors are arranged in sequence along the length direction of the light sensor; the light sensor and the infrared sensor are arranged in sequence in a thickness direction of the middle frame.

2. The electronic device of claim 1, wherein, The electronic device further comprises a specific absorption rate (SAR) detection area of an antenna, and the light sensor and the infrared sensor are arranged in the detection area; The detection area is configured to determine whether the infrared sensor is shielded by the user's hand according to a SAR of the electronic device.

3. The electronic device of claim 1, wherein, A shield is arranged between the infrared sensor and the light sensor.

4. A device control method characterized by, The method is applied to the electronic device of any one of claims 1-3, and the electronic device comprises a flexible screen, a light sensor and an infrared sensor; the method comprises: acquiring infrared light received by the light sensor; the infrared light is generated by the infrared sensor being shielded by a user's hand; determining user operation information according to frequency variation information and / or sequence information of the infrared light; controlling opening and closing of the flexible screen according to the user operation information; wherein the manner of determining the user operation information comprises: determining a sequence of the infrared light received by the light sensor according to frequency variation information of the infrared light received by the light sensor, determining a user operation direction according to the sequence of the received infrared light, and / or determining a number of light sensors receiving the infrared light according to the frequency variation information of the infrared light received by the light sensor, and determining a user operation distance according to the number of light sensors receiving the infrared light; the infrared sensor is at least two, the at least two infrared sensors are grouped two by two, one light sensor is arranged between the two infrared sensors in the same group, and the frequency information of the infrared light generated by the two infrared sensors in the same group is different; the infrared sensor and the light sensor are arranged in a length direction of the middle frame; or determining a user operation direction according to sequence information of the infrared light received by the light sensor, and / or determining a number of light sensors receiving the infrared light according to the sequence information of the received infrared light, and determining a user operation distance according to the number of light sensors receiving the infrared light; the light sensor is at least two, the at least two light sensors are grouped two by two, one infrared sensor is arranged between the two light sensors in the same group; the infrared sensor and the light sensor are arranged in a length direction of the middle frame; or determining a sequence of the infrared sensor being shielded by the user's hand according to frequency variation information of the infrared light received by the light sensor, determining a user operation direction according to the sequence of the infrared sensor being shielded by the user's hand, and / or determining a number of infrared sensors being shielded by the user's hand according to the frequency variation information, and determining a user operation distance according to the number of infrared sensors being shielded by the user's hand; the infrared sensor is a plurality of, the light sensor is a strip-shaped component extending in a length direction of the middle frame, and the plurality of infrared sensors are arranged in sequence along the length direction of the light sensor; the light sensor and the infrared sensor are arranged in sequence in a thickness direction of the middle frame.

5. The method of claim 4, wherein, The electronic device is a slide-and-roll electronic device, and the controlling of the opening and closing of the flexible screen according to the user operation information comprises at least one of: controlling an opening and closing direction of the flexible screen according to the operation direction; controlling an opening and closing distance of the flexible screen according to the operation distance.

6. The method of claim 4, wherein, The electronic device is a folding electronic device, and the controlling of the opening and closing of the flexible screen according to the user operation information comprises at least one of: controlling an opening and closing direction of the flexible screen according to the operation direction; controlling an opening and closing angle of the flexible screen according to the operation distance.

7. The method according to any one of claims 4 to 6, characterized in that, The electronic device further comprises a specific absorption rate (SAR) detection area of an antenna, and the light sensor and the infrared sensor are arranged in the detection area. According to the SAR of the electronic device, it is determined whether the infrared sensor is blocked by a hand of a user. If yes, the step of acquiring the infrared light information received by the light sensor is performed.

8. The method according to any one of claims 4 to 6, characterized in that, The method further comprises: controlling a volume of the electronic device according to the user operation information; or controlling a brightness of the flexible screen according to the user operation information.

Citation Information

Patent Citations

  • Information processing method and electronic equipment

    CN104656976A