A control method and electronic device

CN115174718BActive Publication Date: 2026-09-22LENOVO (BEIJING) LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210772509.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2026-09-22
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

[0002]为了满足用户对大屏幕的使用需求,市面上出现的折叠手机越来越受欢迎,但是,目前的折叠手机只能实现自身设备功能,而在一些特定场景下不能实现除自身设备功能以外的特定功能,导致折叠手机的功能不够广泛

Benefits of technology

[0047]本申请提供的控制方法及电子设备,通过检测电子设备的第一本体和第二本体之间的角度参数;根据所述角度参数控制电子设备的目标部件处于工作状态,以实现目标部件在角度参数下对应的目标功能。如此,可以在电子设备处于不同场景下时,根据第一本体和第二本体之间的角度参数实现设备本身功能以外的不同特定功能,以满足用户在不同场景下的使用需求,扩大了折叠设备的功能范围。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115174718B_ABST
    Figure CN115174718B_ABST
Patent Text Reader

Abstract

The application provides a control method, which comprises: obtaining a target parameter, the target parameter being used to represent an angle parameter between a first body of an electronic device and a second body which is rotationally connected with the first body; determining a target component of the electronic device according to the angle parameter, the target component comprising a first part located at the first body and a second part located at the second body; and controlling the target component to be in a working state based on a target strategy, wherein the first part of the target component being in the working state and the second part of the target component being in the working state satisfy the angle parameter to achieve a target function corresponding to the target strategy. Meanwhile, the application also provides an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to control technology, and more particularly to a control method and electronic device. Background Technology

[0002] To meet users' demand for large screens, foldable phones are becoming increasingly popular. However, current foldable phones can only perform their own device functions and cannot perform specific functions in certain scenarios, resulting in a limited range of functions. Summary of the Invention

[0003] In view of this, embodiments of this application aim to provide a control method and an electronic device.

[0004] To achieve the above objectives, the technical solution of this application is implemented as follows:

[0005] According to one aspect of this application, a control method is provided, the method comprising:

[0006] Obtain target parameters, which are used to characterize the angular parameters between the first body of the electronic device and the second body rotatably connected to the first body;

[0007] The target component of the electronic device is determined based on the angle parameter, and the target component includes a first part located in the first body and a second part located in the second body;

[0008] The target component is controlled to be in a working state based on the target strategy, wherein the first part of the target component is in a working state and the second part of the target component is in a working state to satisfy the angle parameter in order to realize the target function corresponding to the target strategy.

[0009] In the above scheme, determining the target component of the electronic device based on the angle parameter includes:

[0010] If the angle parameter satisfies the first angle condition, the sound-emitting component of the electronic device is determined to be the target component. The sound-emitting component includes a first sound-emitting component located on the first body and a second sound-emitting component located on the second body.

[0011] The method of controlling the target component to be in a working state based on the target strategy includes:

[0012] Based on the target strategy, the first sound-emitting component on the first body emits a first set of sound wave signals, and the second sound-emitting component on the second body emits a second set of sound wave signals; wherein the first set of sound wave signals and the second set of sound wave signals propagate in opposite directions, and have the same amplitude and frequency;

[0013] The phase difference between the two sets of sound waves corresponding to the first set of sound wave signals and the second set of sound wave signals is adjusted so that the two sets of sound waves vibrate the air in the spatial range corresponding to the angle parameter, forming an airflow, so as to realize the heat dissipation function corresponding to the target strategy.

[0014] The method in the above scheme further includes:

[0015] If the electrical energy parameter received by the electronic device is greater than or equal to the electrical energy threshold, the angle parameters of the first body and the second body are controlled to meet the first angle condition.

[0016] In the above scheme, determining the target component of the electronic device based on the angle parameter includes:

[0017] If the angle parameter satisfies the second angle condition, the touch screen of the electronic device is determined to be the target component. The touch screen includes a first screen located on the first body and a second screen located on the second body.

[0018] The method of controlling the target component to be in a working state based on the target strategy includes:

[0019] Based on the target strategy, the first screen is controlled to detect the first touch point information generated by the first object in the first touch area of ​​the first body, and the second screen is controlled to detect the second touch point information generated by the first object in the second touch area of ​​the second body; wherein, the first object is located within the spatial range corresponding to the angle parameter formed by the first body and the second body.

[0020] The size parameters of the first object are determined based on the first touch point information, the second touch point information, and the angle parameters.

[0021] In the above scheme, determining the size parameters of the first object based on the first touch point information, the second touch point information, and the angle parameters includes:

[0022] The first touch point position of the first object in the first touch area is determined based on the first touch point information, the second touch point position of the first object in the second touch area is determined based on the second touch point information, and the folding position of the first touch area and the second touch area is determined based on the angle parameter.

[0023] Determine a first length parameter between the first touch point position and the folding position, and determine a second length parameter between the second touch point position and the folding position;

[0024] The size parameters of the first object are determined based on the first length parameter, the second length parameter, and the angle parameter.

[0025] In the above scheme, determining the target component of the electronic device based on the angle parameter includes:

[0026] If the angle parameter satisfies the third angle condition, the image acquisition component and at least part of the display screen of the electronic device are determined to be the target component; the image acquisition component is located in the first body and / or the second body;

[0027] The method of controlling the target component to be in a working state based on the target strategy includes:

[0028] Based on the target strategy, the system controls at least a portion of the display screen to display a target image, and controls the image acquisition unit to acquire images of the target image displayed on at least a portion of the display screen of the electronic device, thereby obtaining first image parameters of the at least a portion of the display screen;

[0029] Extract the display parameters of at least a portion of the display screen from the first image parameters;

[0030] The display parameters are compared with the preset display parameters of at least a portion of the display screens;

[0031] If the comparison results indicate that at least a portion of the display screens exhibits color cast, the color output parameters of at least a portion of the display screens are adjusted.

[0032] In the above scheme, determining the target component of the electronic device based on the angle parameter includes:

[0033] If the angle parameter satisfies the fourth angle condition, the image acquisition component and at least part of the display screen of the electronic device are determined to be the target component; the image acquisition component is located in the first body and / or the second body;

[0034] The method of controlling the target component to be in a working state based on the target strategy also includes:

[0035] Based on the target strategy, control at least a portion of the display screen to emit a first light signal, and control the image acquisition component to acquire an image of a second object located on at least a portion of the display screen, thereby obtaining second image parameters of the second object;

[0036] The second image parameter is compared with the third image parameter of the at least part of the display screen;

[0037] The transmittance of the second object is determined based on the comparison results.

[0038] In the above scheme, before comparing the second image parameter with the third image parameter of at least a portion of the display screen, the method further includes:

[0039] The image acquisition unit is controlled to acquire images of at least a portion of the display screen that emits the first light signal, thereby obtaining the third image parameters of the at least a portion of the display screen.

[0040] In the above scheme, obtaining the target parameters includes:

[0041] The target parameters are obtained based on data acquired from the sensors of the electronic device.

[0042] According to another aspect of this application, an electronic device is provided, comprising:

[0043] first ontology;

[0044] The second body is rotatably connected to the first body;

[0045] A first sensor is disposed on the first body or the second body and is used to obtain target parameters; the target parameters are used to characterize the angle parameters between the first body and the second body.

[0046] A controller, disposed on the first body or the second body and connected to the first sensor, is used to control a target component of the electronic device to be in a working state based on a target strategy. The target component includes a first part located on the first body and a second part located on the second body. The working state of the first part of the target component and the working state of the second part of the target component satisfy the angle parameter to achieve the target function corresponding to the target strategy.

[0047] The control method and electronic device provided in this application detect the angle parameter between the first body and the second body of the electronic device; and control the target component of the electronic device to be in a working state according to the angle parameter, so as to realize the target function corresponding to the target component under the angle parameter. In this way, different specific functions beyond the function of the device itself can be realized according to the angle parameter between the first body and the second body when the electronic device is in different scenarios, so as to meet the user's usage needs in different scenarios and expand the functional range of the foldable device. Attached Figure Description

[0048] Figure 1 This is a schematic diagram illustrating the flow implementation of the control method in this application;

[0049] Figure 2 This is a functional illustration of the electronic device in this application. Figure 1 ;

[0050] Figure 3 This is a functional illustration of the electronic device in this application. Figure 2 ;

[0051] Figure 4 This is a functional illustration of the electronic device in this application. Figure 3 ;

[0052] Figure 5 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 1 ;

[0053] Figure 6 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 2 ;

[0054] Figure 7 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 3 ;

[0055] Figure 8 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 4 ;

[0056] Figure 9 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 5 ;

[0057] Figure 10 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 6 ;

[0058] Figure 11 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 7 . Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other. The steps shown in the flowcharts can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0060] As mentioned above, current foldable phones can only perform their own basic functions and cannot perform specific functions beyond those functions, resulting in a limited range of functionalities. This application, however, expands the functionality of foldable phones by detecting the angle parameter between the first and second bodies of the electronic device and controlling a target component of the device to perform specific functions beyond its basic functions while satisfying this angle parameter.

[0061] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0062] Figure 1 This is a schematic diagram illustrating the flow implementation of the control method in this application, such as... Figure 1 As shown, it includes:

[0063] Step 101: Obtain target parameters, which are used to characterize the angle parameters between the first body of the electronic device and the second body rotatably connected to the first body;

[0064] In this application, the method can be applied to electronic devices with folding functionality, including but not limited to foldable phones, foldable tablets, foldable computers, foldable game consoles, foldable watches, etc. The electronic device can include at least a first body and a second body rotatably connected to the first body. By rotating the first body or the second body, the current form of the electronic device can be changed. For example, if the electronic device is currently in a folded form, controlling the rotation of the first body to open it by a target angle away from the second body can put the electronic device in an unfolded form; conversely, if the electronic device is currently in an unfolded form, controlling the rotation of the first body to close it by a target angle closer to the second body can put the electronic device in a folded form.

[0065] In this application, the electronic device may have at least one sensor, through which corresponding detection data can be obtained. Using the detection data obtained from the sensor of the electronic device, target parameters characterizing the first body and second body angles of the electronic device can be obtained.

[0066] In one implementation, the first body may have a magnetic field sensor (such as a Hall sensor), and the second body may have a magnet. The magnetic field sensor can obtain magnetic field detection data by detecting the magnetic field signal of the magnet.

[0067] Here, the magnetic field detection data can refer to the magnetic field strength value, current value, voltage value, etc., corresponding to the magnetic field signal.

[0068] Typically, this magnetic field sensor has three axes. Since the three axes are at different angles, the magnetic field signal emitted by the magnet in the spatial magnetic field has different magnetic field components on the three axes. By calculating the magnetic field components on the three axes, the angle parameters of the first and second bodies of the current electronic device can be obtained.

[0069] In another implementation, a first accelerometer can be provided on the first body and a second accelerometer can be provided on the second body. When the electronic device is at different folding angles, the gravity generated by the electronic device has different gravity components on the first accelerometer and the second accelerometer. The angle parameters of the first body and the second body of the current electronic device can be obtained by calculating the angle difference of the different gravity components.

[0070] Step 102: Determine the target component of the electronic device based on the angle parameter. The target component includes a first part located in the first body and a second part located in the second body.

[0071] Here, if the angle parameters of the first body and the second body satisfy the first angle condition, then the sound-emitting component of the electronic device is determined to be the target component. This sound-emitting component includes, but is not limited to, a speaker, a buzzer, and a loudspeaker. The sound-emitting component includes a first sound-emitting component located on the first body and a second sound-emitting component located on the second body.

[0072] Here, the electronic device may have a preset specific angle parameter. By comparing the obtained angle parameters of the first body and the second body with the specific angle parameter, if the comparison result indicates that the angle parameter is consistent with the specific angle parameter, it is determined that the angle parameters of the first body and the second body satisfy the first angle condition.

[0073] Alternatively, the angle difference between the angle parameter and a specific angle parameter can be calculated. If the angle difference is within a preset angle range, then the angle parameters of the first body and the second body are determined to satisfy the first angle condition.

[0074] For example, the electronic device has a preset angle parameter of 60 degrees. If the detected angle parameters of the first body and the second body are any between 59 and 61 degrees, then it is determined that the angle parameters of the first body and the second body satisfy the first angle condition.

[0075] In this application, if the angle parameters of the first body and the second body satisfy a second angle condition, then the touchscreen of the electronic device is determined to be the target component. The touchscreen includes a first screen located on the first body and a second screen located on the second body.

[0076] Here, the second angle condition can be the same as or different from the first angle condition. When the second angle condition is the same as the first angle condition, both the touchscreen and the sound-emitting component are referred to as target components, and both the sound-emitting component and the touchscreen can simultaneously perform the functions corresponding to those angle parameters. When the second angle condition is different from the first angle condition, the touchscreen is the target component, and it can perform the corresponding functions of the touchscreen under those angle parameters.

[0077] In this application, if the first screen of the first body and the second screen of the second body of the electronic device are a single, complete flexible screen, and if the angle parameters of the first body and the second body satisfy a third angle condition, then the image acquisition component and at least a portion of the display screen of the electronic device are determined to be the target component. Here, the image acquisition component includes, but is not limited to, a camera, and may be located on the first body and / or the second body.

[0078] If the first screen of the first body and the second screen of the second body of the electronic device are independent display screens, and if the angle parameters of the first body and the second body satisfy a third angle condition, then the image acquisition component and at least one display screen of the electronic device are determined to be the target component. Here, the at least one display screen determined to be the target component is located on a different body from the image acquisition component. For example, if the image acquisition component is located on the first body, then the at least one display screen is located on the second body, so as to ensure that the image acquisition component can acquire the image information of the display screen.

[0079] Here, the third angle condition can be the same as or different from the first and second angle conditions. When the third angle condition is the same as the first and second angle conditions, the touch screen, image acquisition component, and sound generation component are all referred to as target components, which can simultaneously realize the corresponding functions of the touch screen, image acquisition component, and sound generation component under the given angle parameters.

[0080] Step 103: Control the target component to be in working state based on the target strategy, wherein the first part of the target component is in working state and the second part of the target component is in working state to satisfy the angle parameter to realize the target function corresponding to the target strategy.

[0081] In this application, when the target component is the sound-emitting component of the electronic device, the target strategy may be to control the sound-emitting component of the electronic device to emit at least two sets of sound wave signals, and the two sets of sound wave signals may be interleaved. By adjusting the phase difference between the at least two sets of sound wave signals, the air in the space range corresponding to the at least two sets of sound wave signals is made to vibrate, thereby forming an airflow.

[0082] Specifically, the electronic device can control a first sound-emitting component on a first body to emit a first set of sound wave signals, and control a second sound-emitting component on a second body to emit a second set of sound wave signals, based on the target strategy. The first and second sets of sound wave signals propagate in opposite directions, have the same amplitude and frequency, and exhibit sound wave intersection. Then, the phase difference between the two sets of sound waves is adjusted so that they vibrate the air within the spatial range corresponding to the current angular parameters, forming airflow, thereby achieving the function of heat dissipation for the electronic device.

[0083] Here, as long as the phase difference between the two sets of sound waves is different at different points in time, it can cause vibration of the air in the spatial range corresponding to the current angle parameter, thus forming an airflow.

[0084] for example Figure 2 As shown, when the upper cover 10 and lower cover 20 of the mobile phone are folded to a preset angle (e.g., 65 degrees), the speaker 30 of the upper cover 10 and the speaker 40 of the lower cover 20 are controlled to output a set of specific ultrasonic signals respectively. The two sets of ultrasonic signals can cross each other. By continuously adjusting the phase between the two sets of sound wave signals, the air between the upper cover 10 and the lower cover 20 is made to vibrate, forming an airflow, which can then be used to help the mobile phone dissipate heat.

[0085] For example, for a 2K signal, the phase difference between the two sets of sound waves is 10 degrees at time T0, 20 degrees at time T1, and 30 degrees at time T3. Here, the phase difference is just an example; the key is that the phase difference between the two sets of sound waves is different at different time points.

[0086] In this application, the electronic device can also detect the electrical energy parameters (including but not limited to voltage, current, and power) of the battery during the current charging process, compare the electrical energy parameters with an electrical energy threshold, and if the comparison result indicates that the electrical energy parameter is greater than or equal to the electrical energy threshold, then control the angle parameters of the first body and the second body to meet the first angle condition.

[0087] For example, when a foldable phone is fast charging, the high charging power can cause the phone to overheat. To reduce this overheating, the fast charging current is reduced, resulting in slower charging. To address this issue, this application can control the top and bottom covers of the foldable phone to automatically fold at a specific angle (e.g., 65 degrees). This allows the speakers on the top and bottom covers to output specific sound wave signals. By adjusting the phase difference between these two sets of sound wave signals, a standing wave effect is created, which moves air and forms an airflow. Thus, in fast charging scenarios, the electronic device can achieve heat dissipation by using sound waves from its sound-emitting components to move air.

[0088] In this application, when the target component is a touch screen, the target strategy may be to control the touch screen of the electronic device to detect the touch point information generated by the first object touching the touch screen, and determine the size parameters of the first object through the touch point information.

[0089] Specifically, the electronic device can control the first screen of the first body to detect the first touch point information generated by the first object in the first touch area of ​​the first body, and control the second screen of the second body to detect the second touch point information generated by the first object in the second touch area of ​​the second body, based on the target strategy; wherein the first object is located within the spatial range corresponding to the angle parameter formed by the first body and the second body; and then determine the size parameter of the first object according to the first touch point information, the second touch point information and the angle parameter.

[0090] Here, the dimensional parameters of the first object include, but are not limited to, the diameter, height, length, etc. of the first object.

[0091] In this application, when the electronic device determines the size parameters of a first object based on first touch point information, second touch point information, and angle parameters, it can specifically determine the position of the first touch point of the first object corresponding to the first touch area based on the first touch point information, determine the position of the second touch point of the first object corresponding to the second touch area based on the second touch point information, and determine the folding position of the first touch area and the second touch area based on the angle parameters; then, based on the first touch point position and the folding position, it determines a first length parameter between the first touch point position and the folding position, and a second length parameter between the second touch point position and the folding position based on the second touch point position and the folding position; and finally, it determines the size parameters of the first object based on the first length parameter, the second length parameter, and the angle parameters.

[0092] like Figure 3As shown, a sphere 30 is placed between the upper cover 10 and the lower cover 20 of a folding phone. When the upper cover 10 and the lower cover 20 are folded at an angle C, an angle parameter is generated. Simultaneously, the sphere 30 can make contact with the first screen of the upper cover 10 and the second screen of the lower cover 20, respectively. The first screen of the upper cover 10 can detect touch point A generated by the contact between the sphere 30 and the first screen, and the second screen of the lower cover 20 can detect touch point B generated by the contact between the sphere 30 and the second screen. Here, the folding angle C is known. Therefore, the folding position of the touchscreen (i.e., the complete screen formed by the first and second touchscreens) can be determined when the upper cover 10 and the lower cover 20 are folded at angle C using an accelerometer or Hall sensor on the phone. By calculating the distance from the folding position of the touchscreen to touch point A, a first length parameter La can be obtained. By calculating the distance from the folding position of the touchscreen to touch point B, a second length parameter Lb can be obtained. The diameter of the sphere 30 can be calculated using La, Lb, and angle C.

[0093] In this application, the touchscreen of the electronic device allows for the measurement of the dimensions of objects of any shape, such as cuboids, cubes, triangular prisms, trapezoids, and so on.

[0094] like Figure 4 As shown, a cuboid 40 can be placed between the upper cover 10 and the lower cover 20 of the folding phone. When the upper cover 10 and the lower cover 20 are folded at angle C, one end of the top surface of the cuboid 40 can make contact with the first screen of the upper cover 10. Thus, the first screen of the upper cover 10 can detect the touch point A generated by the contact between the cuboid 40 and the first screen. The bottom surface of the cuboid 40 can make contact with the second screen of the lower cover 20. The second screen of the lower cover 20 can detect a line generated by the contact between the cuboid 40 and the second screen, which serves as touch point B. Here, since the folding angle C is known, the folding position of the touchscreen (i.e., the complete screen formed by the first and second touchscreens) can be determined by the accelerometer or Hall sensor on the phone when the upper cover 10 and the lower cover 20 are folded at angle C. The first length parameter La can be obtained by calculating the distance from the folding position of the touchscreen to touch point A, and the second length parameter Lb can be obtained by calculating the distance from the folding position of the touchscreen to touch point B. The height of the cuboid 40 can be calculated using La, Lb, and angle C.

[0095] Thus, the size of an object can be measured through the touchscreen of an electronic device.

[0096] In this application, when the target component is an image acquisition component and at least a partial display screen, the target strategy may be to control the at least partial display screen to display a target image, and to control the image acquisition component of the electronic device to acquire the target image displayed on the at least partial display screen of the electronic device. The comparison result between the acquired image parameters and the preset display parameters can determine whether the at least partial display screen has a color cast.

[0097] Specifically, the electronic device can control at least a portion of its display screen to display a target image based on a target strategy, and control the image acquisition unit to acquire images of the target image displayed on at least a portion of the display screen to obtain first image parameters of the at least a portion of the display screen; extract display parameters of the at least a portion of the display screen from the first image parameters; compare the display parameters with preset display parameters of the at least a portion of the display screen to obtain a comparison result; if the comparison result indicates that the display parameters are different from the preset display parameters, it is determined that the at least a portion of the display screen has a color cast, and the color output parameters of the at least a portion of the display screen are adjusted.

[0098] Here, the image acquisition component is usually a front-facing camera located on one side of the electronic device's display screen, while at least part of the display screen, which is the target component, is located on a different body from the image acquisition component. In this way, it can be ensured that the image acquisition component can capture the display image of the display screen.

[0099] For foldable devices, the display is typically an Organic Light-Emitting Diode (OLED) flexible screen. A drawback of OLEDs is that they are prone to color shifts after prolonged use. Current screen calibration methods usually involve manufacturers building a universal aging curve into the device, which users cannot calibrate themselves. This application, however, uses the device's front-facing camera to capture images of the display, obtaining the display's RGB display parameters. By comparing these parameters with the device's preset RGB parameters, it can determine if color shifts have occurred. If color shifts are present, the current ratio of the three RGB channels can be adjusted to restore the screen to its factory-set performance.

[0100] Here, users can independently test the display effect of the screen by capturing screen images with a camera every month, week, or any other time, without having to calibrate the screen only when there is a serious color cast, thus meeting the screen color cast calibration needs of different users.

[0101] To improve screen calibration accuracy when color distortion occurs, this electronic device allows for individual calibration of the R, G, and B channels, progressively increasing the adjustment coefficient for each channel. For example, if the red (R) channel in the RGB spectrum experiences attenuation, and its default current coefficient is 1, the coefficient can be adjusted to 1.1 initially. If attenuation persists, the coefficient can be increased to 1.2, and so on, until the display effect matches the device's factory settings. In this way, the device's image acquisition unit can perform real-time detection and calibration of the display screen's performance based on user needs.

[0102] In this application, the target component can also be the display screen and image acquisition component of the electronic device. When the target component is the display screen and image acquisition component of the electronic device, the target strategy can also be to control the display screen of the electronic device to output a first light signal, and control the image acquisition component to acquire images of the display screen of the electronic device and the second object respectively. The transmittance of the object can be determined by the acquired image parameters.

[0103] Specifically, the electronic device can control the display screen of the electronic device to emit a first light signal based on the target strategy, and control the image acquisition component to acquire an image of a second object located on the display screen when the display screen emits the first light signal, thereby obtaining a second image parameter of the second object; compare the second image parameter with a third image parameter of the display screen to obtain a comparison result; and determine the light transmittance of the second object based on the comparison result.

[0104] Here, the third image parameter of the display screen can be a preset image parameter or an image parameter acquired in real time.

[0105] When the third image parameter is a real-time acquired image parameter, the electronic device can also control the image acquisition component to acquire an image of the display screen emitting the first light signal under the same brightness condition before comparing the second image parameter with the third image parameter of the display screen, so as to obtain the third image parameter of the display screen. In this way, by acquiring images of the display screen and the object on the display screen respectively under the same brightness condition, the light transmittance of the object can be determined by comparing the acquisition parameters of the images.

[0106] For example, when the display emits white light, take an image of the display with the front camera of a foldable phone (the transmittance is 100%). When the object to be measured is placed on the display that emits white light, take another image of the object to be measured with the same camera (for example, the transmittance is 80%). By comparing the two images, you can determine that the transmittance of the object to be measured is 80%.

[0107] In this way, the transmittance of an object can be measured using the image acquisition component and display screen of an electronic device.

[0108] Here, when controlling the display screen to emit white light, it can be done by controlling the LEDs of the display screen to emit white light. In this case, the background of the display screen can be a pure white background. Of course, it is also possible to control the LEDs of the display screen to emit pure colors other than white light. Here, white light is preferred because white light has the best light transmittance.

[0109] The control method provided in this application detects the angle parameter between the first body and the second body of the electronic device. When the electronic device is in different scenarios, it can control the target component of the electronic device to be in working state according to the angle parameter between the first body and the second body, so as to realize the target function corresponding to the target component under the angle parameter. This target function is a function different from the function of the device itself, which can meet the user's usage needs in different scenarios and expand the functional range of the folding device.

[0110] Figure 5 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 1 ,like Figure 5 As shown, the electronic device includes:

[0111] The system comprises a first body 501, a second body 502, a first sensor 503, and a controller 504. The second body 502 is rotatably connected to the first body 501. The first sensor 503 can be disposed on either the first body 501 or the second body 502 to obtain target parameters, which are used to characterize the angle parameters between the first body 501 and the second body 502.

[0112] Here, the first sensor 503 can be a magnetic field sensor. When the first sensor 503 is disposed on the first body 501, a magnet is disposed on the second body 502; when the first sensor 503 is disposed on the second body 502, a magnet is disposed on the first body 501. By sensing the magnetic field signal of the magnet through the first sensor 503, detection data can be obtained. Based on this detection data, an angle parameter characterizing the relationship between the first body 501 and the second body 502 can be obtained.

[0113] Here, the detection data refers to at least one of the magnetic field strength value, current value, and voltage value corresponding to the magnetic field signal.

[0114] Here, the first sensor 503 can also be an acceleration sensor, including a first acceleration sensor located on the first body 501 and a second acceleration sensor located on the second body 502. Since the gravity generated by the mobile phone in different forms has different gravity components on different acceleration sensors, the target parameters characterizing the angle between the first body 501 and the second body 502 can be obtained through different gravity components.

[0115] The controller 504 is disposed on the first body 501 or the second body 501 and connected to the first sensor 503. It is used to control the target component (not shown in the figure) of the electronic device to be in working state based on the target strategy. The target component includes a first part located on the first body 501 and a second part located on the second body. When the first part of the target component is in working state and the second part of the target component is in working state, the target function corresponding to the target strategy can be realized by satisfying the angle parameter.

[0116] In a preferred embodiment, the electronic device further includes a processing component 505;

[0117] like Figure 6 As shown, the electronic device also includes a sound-emitting component; if the angle parameter satisfies the first angle condition, the processing component 505 determines that the sound-emitting component of the electronic device is the target component. Here, the sound-emitting component includes a first sound-emitting component 506 located on the first body 501 and a second sound-emitting component 507 located on the second body 502.

[0118] Here, the sound-producing component can specifically be a speaker.

[0119] In a preferred embodiment, the controller 504 can control the first sound-emitting component 506 on the first body 501 to emit a first set of sound wave signals and control the second sound-emitting component 507 on the second body 502 to emit a second set of sound wave signals based on the target strategy; wherein the first set of sound wave signals and the second set of sound wave signals have opposite propagation directions and the same amplitude and frequency.

[0120] The processing component 505 is used to adjust the phase difference between the two sets of sound waves corresponding to the first set of sound wave signals and the second set of sound wave signals, so that the two sets of sound waves vibrate the air in the spatial range corresponding to the angle parameter, forming an airflow, so as to realize the heat dissipation function corresponding to the target strategy.

[0121] Here, the processing component 505 only needs to adjust the phase difference between the two sets of sound waves so that the phase difference is different at different time points to achieve air movement. This can be combined with... Figure 2 and Figure 6 As shown.

[0122] In a preferred embodiment, if the electrical energy parameter received by the electronic device is greater than or equal to the electrical energy threshold, the controller 504 can also control the angle parameters of the first body 501 and the second body 502 to meet the first angle condition.

[0123] In this application, such as Figure 7 As shown, the electronic device also includes a touchscreen. If the angle parameter satisfies the second angle condition, the processing component 505 determines that the touchscreen of the electronic device is the target component, the touchscreen including a first screen 508 located on the first body 501 and a second screen 509 located on the second body 502;

[0124] Here, the first screen 508 and the second screen 509 can be a single flexible display.

[0125] Combination Figure 7 and Figure 3 , Figure 4 As shown, the controller 504 is further configured to control the first screen 508 to detect the first touch point information generated by the first object 30 or 40 in the first touch area of ​​the first body 501 based on the target strategy, and to control the second screen 509 to detect the second touch point information generated by the first object 30 or 40 in the second touch area of ​​the second body 502; wherein the first object 30 or 40 is located within the spatial range corresponding to the angle parameter formed by the first body 501 and the second body 502.

[0126] Processing component 505 is also configured to determine the size parameters of the first object based on the first touch point information, the second touch point information, and the angle parameters.

[0127] In a preferred embodiment, the processing component 505 is further configured to: determine the position of the first touch point of the first object in the first touch area based on the first touch point information; determine the position of the second touch point of the first object in the second touch area based on the second touch point information; determine the folding position of the first touch area and the second touch area based on the angle parameter; determine a first length parameter between the first touch point position and the folding position; determine a second length parameter between the second touch point position and the folding position; and determine the size parameter of the first object based on the first length parameter, the second length parameter, and the angle parameter.

[0128] In the preferred solution, such as Figure 8As shown, the electronic device also includes an image acquisition component. If the angle parameter satisfies a third angle condition, the processing component 505 determines that the image acquisition component 510 and at least a portion of the display screen of the electronic device are the target component; the image acquisition component 510 may be one or more, located in the first body 501 and / or the second body 502;

[0129] Here, the image acquisition component 510 may specifically be a front-facing camera located on the same side as the display screen 500 of the electronic device. At least a portion of the display screen, which is part of the target component, may be located on a different body from the image acquisition component, which is another part of the target component. For example, if the image acquisition component, which is part of the target component, is located on the first body 501, then at least a portion of the display screen, which is another part of the target component, is located on the second body 502. This ensures that the image acquisition component captures the image displayed on the display screen.

[0130] The controller 504 is used to control at least a portion of the display screen 500 to display a target image based on a target strategy, and to control the image acquisition unit 510 to acquire the target image of the display screen 500 of the electronic device to obtain the first image parameters of the display screen 500.

[0131] The processing component 505 is used to extract the display parameters of the display screen 500 from the first image parameters; and to compare the display parameters with the preset display parameters of the display screen 500; if the comparison result indicates that the display screen 500 has a color cast, the color output parameters of the display screen 500 are adjusted.

[0132] In the preferred solution, such as Figure 9 As shown, the controller 504 is also used to control at least a portion of the display screen of the display screen 500 to emit a first light signal based on the target strategy, and to control the image acquisition unit 510 to acquire an image of the second object A located on at least a portion of the display screen of the display screen 500, so as to obtain the second image parameters of the second object A.

[0133] The processing component 505 is used to compare the second image parameters with a third image parameter of at least a portion of the display screen of the display screen 500; and to determine the light transmittance of the second object A based on the comparison result.

[0134] In a preferred embodiment, the controller 504 is further configured to control the image acquisition component 510 to acquire an image of the display screen 500 that emits the first light signal, thereby obtaining the third image parameters of the display screen 500.

[0135] In a preferred embodiment, the processing component 505 is further configured to obtain the target parameter based on data obtained from the sensors of the electronic device.

[0136] It should be noted that the electronic device provided in the above embodiments is based on the same concept as the processing method embodiments provided above when performing device control. The specific implementation process can be found in the method embodiments, and will not be repeated here.

[0137] Figure 10 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 6 ,like Figure 10 As shown, the electronic device includes:

[0138] The acquisition unit 1001 is used to acquire target parameters, which are used to characterize the angle parameters between the first body of the electronic device and the second body rotatably connected to the first body.

[0139] The determining unit 1002 is configured to determine a target component of the electronic device based on the angle parameter, wherein the target component includes a first part located in the first body and a second part located in the second body;

[0140] Control unit 1003 is used to control the target component to be in a working state based on a target strategy, wherein the first part of the target component being in a working state and the second part of the target component being in a working state satisfy the angle parameter to achieve the target function corresponding to the target strategy.

[0141] In a preferred embodiment, the electronic device further includes: an adjustment unit 1004;

[0142] Specifically, if the angle parameter satisfies the first angle condition, the determining unit 1002 is used to determine the sound-emitting component of the electronic device as the target component, the sound-emitting component including a first sound-emitting component located on the first body and a second sound-emitting component located on the second body;

[0143] The control unit 1003 is specifically used to control the first sound-emitting component on the first body to emit a first set of sound wave signals based on the target strategy, and to control the second sound-emitting component on the second body to emit a second set of sound wave signals; wherein the first set of sound wave signals and the second set of sound wave signals have opposite propagation directions and the same amplitude and frequency;

[0144] The adjustment unit 1004 is used to adjust the phase difference between the two sets of sound waves corresponding to the first set of sound wave signals and the second set of sound wave signals, so that the two sets of sound waves vibrate the air in the spatial range corresponding to the angle parameter, forming airflow, so as to realize the heat dissipation function corresponding to the target strategy.

[0145] In a preferred embodiment, the acquisition unit 1001 is further configured to receive the electrical energy parameters of the battery of the electronic device in a charging state;

[0146] If the electrical energy parameter received by the electronic device is greater than or equal to the electrical energy threshold, the control unit 1003 is further configured to control the angle parameters of the first body and the second body to satisfy the first angle condition.

[0147] In a preferred embodiment, if the angle parameter satisfies the second angle condition, the determining unit 1002 is further configured to determine the touch screen of the electronic device as the target component, wherein the touch screen includes a first screen located on the first body and a second screen located on the second body;

[0148] The control unit 1003 is further configured to control the first screen to detect the first touch point information generated by the first object in the first touch area of ​​the first body based on the target strategy, and to control the second screen to detect the second touch point information generated by the first object in the second touch area of ​​the second body; wherein the first object is located within the spatial range corresponding to the angle parameter formed by the first body and the second body.

[0149] The determining unit 1002 is further configured to determine the size parameters of the first object based on the first touch point information, the second touch point information, and the angle parameters.

[0150] In a preferred embodiment, the determining unit 1002 is further configured to: determine the position of the first touch point of the first object in the first touch area based on the first touch point information; determine the position of the second touch point of the first object in the second touch area based on the second touch point information; determine the folding position of the first touch area and the second touch area based on the angle parameter; determine a first length parameter between the first touch point position and the folding position; determine a second length parameter between the second touch point position and the folding position; and determine the size parameter of the first object based on the first length parameter, the second length parameter, and the angle parameter.

[0151] In a preferred embodiment, the electronic device further includes: an extraction unit 1005 and a comparison unit 1006;

[0152] Specifically, if the angle parameter satisfies the third angle condition, the determining unit 1002 is further configured to determine that the image acquisition component and at least part of the display screen of the electronic device are the target component; the image acquisition component is located in the first body and / or the second body;

[0153] The control unit 1003 is further configured to control the at least part of the display screen to display a target image based on a target strategy, and to control the image acquisition component to acquire the target image displayed on the at least part of the display screen of the electronic device to obtain the first image parameters of the at least part of the display screen;

[0154] The extraction unit 1005 is used to extract the display parameters of at least a portion of the display screen from the first image parameters;

[0155] The comparison unit 1006 is used to compare the display parameters with preset display parameters of the at least part of the display screen;

[0156] If the comparison result indicates that at least a portion of the display screen has a color cast, the adjustment unit 1004 adjusts the color output parameters of at least a portion of the display screen.

[0157] The control unit 1003 is further configured to control the image acquisition component to acquire an image of a second object located on at least a portion of the display screen based on the target strategy, thereby obtaining second image parameters of the second object; wherein the display screen emits a first light signal;

[0158] The comparison unit 1006 is used to compare the second image parameter with the third image parameter of the at least part of the display screen;

[0159] The determining unit 1002 is used to determine the light transmittance of the second object based on the comparison result.

[0160] In a preferred embodiment, the control unit 1003 is further configured to control the image acquisition component to acquire an image of the display screen that emits the first light signal, thereby obtaining the third image parameters of the display screen.

[0161] In a preferred embodiment, the acquisition unit 1001 is further configured to obtain the target parameter based on data obtained from the sensors of the electronic device.

[0162] It should be noted that the electronic device provided in the above embodiments is only illustrated by the division of the above program modules when controlling the device. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the electronic device provided in the above embodiments and the processing method embodiments provided above belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0163] This application also provides an electronic device, which includes: a processor and a memory for storing a computer program capable of running on the processor.

[0164] When the processor runs the computer program, it executes any one of the method steps in the control method described above.

[0165] Figure 11 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 7Electronic device 1100 can be a foldable mobile phone, computer, digital broadcasting terminal, information transceiver, game console, tablet device, medical device, fitness equipment, personal digital assistant, and other terminals. Figure 11 The illustrated electronic device 1100 includes at least one processor 1101, a memory 1102, at least one network interface 1104, and a user interface 1103. The various components in the electronic device 1100 are coupled together via a bus system 1105. It is understood that the bus system 1105 is used to implement communication between these components. In addition to a data bus, the bus system 1105 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 11 The general labeled all buses as Bus System 1105.

[0166] The user interface 1103 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.

[0167] It is understood that memory 1102 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 1102 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0168] In this embodiment, the memory 1102 is used to store various types of data to support the operation of the electronic device 1100. Examples of such data include: any computer program used to operate on the electronic device 1100, such as the operating system 11021 and application program 11022; contact data; phonebook data; messages; pictures; audio, etc. The operating system 11021 includes various system programs, such as the framework layer, core library layer, driver layer, etc., used to implement various basic services and handle hardware-based tasks. The application program 11022 may include various applications, such as a media player, browser, etc., used to implement various application services. Programs implementing the methods of this embodiment may be included in the application program 11022.

[0169] The methods disclosed in the embodiments of this application can be applied to processor 1101, or implemented by processor 1101. Processor 1101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 1101 or by instructions in the form of software. The processor 1101 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 1101 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 1102. Processor 1101 reads the information in memory 1102 and completes the steps of the aforementioned method in conjunction with its hardware.

[0170] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0171] In an exemplary embodiment, this application also provides a computer-readable storage medium, such as a memory 1102 including a computer program, which can be executed by the processor 1101 of the electronic device 1100 to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM; it may also be various devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0172] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs any one of the method steps of the control method described above.

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

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

[0175] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0176] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0177] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0178] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method, the method comprising: Obtain the angular parameters between the first body of the electronic device and the second body rotatably connected to the first body; The system controls a first screen located on a first body to detect first touch point information generated by a first object in a first touch area of ​​the first body, and controls a second screen located on a second body to detect second touch point information generated by the first object in a second touch area of ​​the second body; wherein, the first object is located within the spatial range corresponding to the angle parameter formed by the first body and the second body; the first screen and the second screen are touch screens of electronic devices; The size parameters of the first object are determined based on the first touch point information, the second touch point information, and the angle parameters.

2. The method according to claim 1, wherein determining the size parameters of the first object based on the first touch point information, the second touch point information, and the angle parameters comprises: The first touch point position of the first object in the first touch area is determined based on the first touch point information, the second touch point position of the first object in the second touch area is determined based on the second touch point information, and the folding position of the first touch area and the second touch area is determined based on the angle parameter. Determine a first length parameter between the first touch point position and the folding position, and determine a second length parameter between the second touch point position and the folding position; The size parameters of the first object are determined based on the first length parameter, the second length parameter, and the angle parameter.

3. The method according to claim 1 or 2, obtaining the angle parameter, includes: The angle parameter is obtained based on data acquired from the sensors of the electronic device.

4. An electronic device, comprising: first ontology; The second body is rotatably connected to the first body; A first sensor is disposed on the first body or the second body, and is used to obtain the angle parameter between the first body and the second body; A controller, disposed on the first body or the second body and connected to the first sensor, is used to control a first screen located on the first body to detect first touch point information generated by a first object in a first touch area of ​​the first body, and to control a second screen located on the second body to detect second touch point information generated by the first object in a second touch area of ​​the second body; wherein, the first object is located within the spatial range corresponding to the angle parameter formed by the first body and the second body; the first screen and the second screen are touch screens of electronic devices; and the size parameters of the first object are determined according to the first touch point information, the second touch point information and the angle parameter.

Citation Information

Patent Citations

  • Display screen color calibration method and device, and medium

    CN111796783A

  • Sound channel switching method and device and electronic equipment

    CN113630695A

  • Control method and electronic equipment

    CN115190195A

  • Cooling device, heating device and electronic apparatus

    JP2001215067A

  • Electronic device for measuring size of object and method for operating same

    WO2025053380A1