Electronic equipment and control method of electronic equipment

By using sensors and image acquisition devices in foldable electronic devices to detect the angle and target object, and controlling the target device to adjust the resistance, the problem of damage to the foldable device body in the presence of hard objects is solved, and the user experience is improved.

CN120751046APending Publication Date: 2025-10-03LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510899529.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

During the folding process of a foldable electronic device, if there is a hard object between the two main bodies, it is easy to cause the main body to be damaged, affecting the user experience.

Method used

Upon receiving a signal, the target device switches from a first state to a second state, increasing or decreasing the rotational resistance between the first and second bodies to prevent damage to the bodies caused by hard objects. The device, which includes a brake, friction wheel, drive, and gear train, uses sensors and an image acquisition device to detect the angle and target object, adjusting the resistance to protect the bodies.

Benefits of technology

It effectively reduces damage to electronic devices caused by hard objects, improves user experience, and protects devices from damage through intelligent detection and resistance control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120751046A_ABST
    Figure CN120751046A_ABST
Patent Text Reader

Abstract

The invention provides electronic equipment and a control method of the electronic equipment, and is applied to the technical field of electronic equipment. The electronic equipment comprises a first body; the second body can rotate relative to the first body; the target device has a first state and a second state, in the first state, the target device enables the resistance of relative rotation between the first body and the second body to be first resistance, in the second state, the target device enables the resistance of relative rotation between the first body and the second body to be second resistance, and the second resistance is larger than the first resistance; the electronic equipment can control a target device to be switched from a first state to a second state based on a received first signal and a received second signal, and the first signal represents that an included angle between a first body and a second body of the electronic equipment is smaller than a preset threshold value or tends to decrease. The second signal represents that the target area of the first body and / or the second body has the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] The emergence of foldable electronic devices has improved the user experience. However, if a hard object is placed between the two main bodies of a foldable electronic device during folding, it can easily cause damage to the main body, greatly affecting the user experience. Summary of the Invention

[0003] In view of this, the present disclosure provides an electronic device and a control method of the electronic device.

[0004] According to a first aspect of the present disclosure, an electronic device is provided, comprising: a first body; a second body, wherein the second body and the first body are rotatable relative to each other; a target device, wherein the target device has a first state and a second state, wherein in the first state, the target device causes the resistance to relative rotation of the first body and the second body to be a first resistance, and in the second state, the target device causes the resistance to relative rotation between the first body and the second body to be a second resistance, and the second resistance is greater than the first resistance; the electronic device is capable of controlling the target device to switch from the first state to the second state based on receiving a first signal and a second signal, wherein the first signal indicates that the angle between the first body and the second body of the electronic device is less than a preset threshold or is decreasing, and the second signal indicates that a target area of ​​the first body and / or the second body has a target object, and the target object is a physical entity.

[0005] According to an embodiment of the present disclosure, the first sensor is used to detect a first reference signal, and the electronic device is configured to determine the angle between the first body and the second body based on the first reference signal, and generate a first signal when the angle is less than a preset threshold value, or determine the angle between the first body and the second body based on the first reference signal at multiple consecutive moments, and generate a first signal when the angle shows a decreasing trend at multiple consecutive moments.

[0006] According to an embodiment of the present disclosure, an image acquisition device is used to acquire a target image of a target area, where the target area is the area belonging to the angle between the first body and the second body, and the electronic device is configured to generate a second signal when the target image contains a target object; or a second sensor is used to generate a magnetic field, and the electronic device is configured to generate a second signal in response to a third signal detecting a change in the magnetic field; or a third sensor is arranged in a touch area of ​​the body, and the third sensor is used to sense the touch of the touch area to generate a touch signal, and the electronic device is configured to generate a second signal when the touch signal represents that the contact time between the target object and the touch area is greater than a preset threshold.

[0007] According to an embodiment of the present disclosure, the first processor is used to input the target image into the target model to obtain type information of the target object; when the type information belongs to a preset type, a second signal is generated, and the preset type characterization object's hardness can have an impact on the body, and the target model is executed by the processor.

[0008] According to an embodiment of the present disclosure, a second processor is configured to obtain an available resource value of the electronic device in response to receiving a first signal, the available resource value including a first resource value and a second resource value, the available resources of the second resource value being greater than the available resources of the first resource value; in response to the first resource value, determine that the frequency at which the image acquisition device acquires the target image of the target area is a first frequency; and in response to the second resource value, determine that the frequency at which the image acquisition device acquires the target image of the target area is a second frequency, the second frequency being greater than the first frequency.

[0009] According to an embodiment of the present disclosure, the electronic device can also control the electronic device to switch from the first state to the second state in response to the first moment, and generate a fourth signal when there is no target object in the target area at the second moment, the second moment is later than the first moment, and at the first moment and the second moment, the angle between the first body and the second body is less than a preset threshold or shows a decreasing trend; based on the received fourth signal, the electronic device is controlled to switch from the second state to the first state.

[0010] According to an embodiment of the present disclosure, it also includes: a connecting device, the first body and the second body are rotatably connected through the connecting device; the connecting device includes a first pivot, a second pivot and a gear set, the first body is connected to the first pivot, the second body is connected to the second pivot, the gear set includes: a first gear, which is arranged on the first pivot and circumferentially fixed to the first pivot, a second gear, which is arranged on the second pivot and circumferentially fixed to the second pivot, a transmission gear set, which is arranged between the first gear and the second gear, the transmission gear set is meshed with the first gear and the second gear respectively, and the first gear and the second gear are connected in reverse synchronous transmission through the transmission gear set; the target device includes: a brake member, the output end of the brake member is connected to the target gear in the transmission gear set, and when the electronic device is in the first state, the output end of the brake member rotates synchronously with the target gear In the second state, the braking member is used to generate a torque opposite to the current rotation direction of the target gear; or the target device includes: a friction wheel, which is in active contact with the target gear in the transmission gear set; a first driving member, which is connected to the friction wheel. In the first state, the first driving member is used to drive the friction wheel to move closer to or away from the target gear in the gear set. In the second state, the first driving member drives the friction wheel to abut against the target gear to increase the resistance to rotation of the target gear; or the target device includes: a cavity, the volume of the cavity can be changed; a second driving member is used to drive the cavity to expand and contract to change the volume of the cavity. In the first state, the second driving member drives the volume of the cavity to decrease, thereby reducing the contact area between the cavity and the pivot of the connecting device to reduce the resistance to relative rotation between the first body and the second body. In the second state, the second driving member drives the volume of the cavity to increase, thereby increasing the contact area between the cavity and the pivot of the connecting device to increase the resistance to relative rotation between the first body and the second body.

[0011] According to an embodiment of the present disclosure, in the second state, the target device prevents the first body and the second body from rotating relative to each other.

[0012] According to an embodiment of the present disclosure, the first display screen is arranged on a side of the first body close to the second body; the second display screen is arranged on a side of the second body close to the first body; the target area includes the first display screen and / or the second display screen.

[0013] A second aspect of the present disclosure provides a method for controlling an electronic device, comprising: controlling the electronic device to switch from a first state to a second state based on receiving a first signal and a second signal; the first signal indicates that the angle between the first body and the second body of the electronic device is less than a preset threshold or is decreasing, and the second signal indicates that the target area of ​​the first body and / or the second body has a target object, and the target object is a physical entity; in the first state, the resistance to the relative rotation of the first body and the second body of the electronic device is a first resistance, and in the second state, the resistance to the relative rotation between the first body and the second body of the electronic device is a second resistance, and the second resistance is greater than the first resistance.

[0014] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0016] Figure 1 The figure schematically shows the overall structure of an electronic device according to an embodiment of the present disclosure;

[0017] Figure 2 The structure diagram of the electronic device according to the embodiment of the present disclosure is schematically shown, wherein a target object is located between a first body and a second body;

[0018] Figure 3 Schematically shows a schematic diagram of a connection structure between a connecting device and a target device according to an embodiment of the present disclosure;

[0019] Figure 4 Schematically shows a structural diagram of a gear set according to an embodiment of the present disclosure;

[0020] Figure 5 The following schematically shows a structural diagram of a target device according to an embodiment of the present disclosure;

[0021] Figure 6 Schematically shows a structural diagram of a target device according to another embodiment of the present disclosure;

[0022] Figure 7 The principle diagram of the electronic device control method according to an embodiment of the present disclosure is schematically shown.

[0023] [Description of Reference Numerals]

[0024] 100. Electronic device; 110. First body; 120. Second body; 130. Connecting device; 131. First pivot; 132. Second pivot; 133. Gear set; 1331. First gear; 1332. Second gear; 1333. Third gear; 1331. Fourth gear; 140. Target device; 141. Braking member; 142. Friction wheel; 143. First driving member; 144. Cavity; 145. Second driving member; 200. Target object;

[0025] S. Target area. DETAILED DESCRIPTION

[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0028] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0029] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0030] The embodiments of the present disclosure provide an electronic device and a control method for the electronic device. Before introducing the technical solutions provided by the embodiments of the present disclosure, the related technologies involved in the present disclosure are first described.

[0031] The emergence of foldable electronic devices has improved the user experience. However, if a hard object is placed between the two main bodies of a foldable electronic device during folding, it can easily cause damage to the main body, greatly affecting the user experience.

[0032] For example, foldable electronic devices can not only unfold to provide a larger display screen for users when using the electronic device, but also fold to make the entire device smaller when not in use, making it easier for users to carry. During the folding process of foldable electronic devices, if there is a hard object between the two screens, it is easy to cause the screen to break, which will greatly affect the user experience.

[0033] The following will be passed Figures 1 to 6 The electronic device according to the embodiment of the present disclosure is described in detail.

[0034] Figure 1 The figure schematically shows the overall structure of an electronic device according to an embodiment of the present disclosure. Figure 2 A structural diagram of an electronic device according to an embodiment of the present disclosure is schematically shown, wherein a target object is located between a first body and a second body.

[0035] like Figure 1 and 2 As shown, the electronic device 100 of this embodiment includes a first body 110 , a second body 120 and a target device 140 .

[0036] The first body 110 and the second body 120 are relatively rotatable.

[0037] The target device 140 has a first state and a second state. In the first state, the target device 140 makes the resistance to relative rotation between the first body and the second body a first resistance. In the second state, the target device 140 makes the resistance to relative rotation between the first body and the second body a second resistance, and the second resistance is greater than the first resistance.

[0038] The electronic device 100 is capable of controlling the target device 140 to switch from a first state to a second state based on receiving a first signal and a second signal, wherein the first signal indicates that the angle between the first body 110 and the second body 120 of the electronic device is less than a preset threshold or is decreasing, and the second signal indicates that the target area S of the first body 110 and / or the second body 120 has a target object, and the target object 200 is a physical entity.

[0039] For example, the electronic device 100 can be a foldable, openable, or flippable terminal. The electronic device 100 includes a first body 110 and a second body 120 that are foldable relative to each other. The first body 110 and the second body 120 are rotatably connected. That is, the first body 110 can rotate relative to the second body 120 to allow the first body 110 and the second body 120 to have different angles between them. For example, the electronic device 100 can be a laptop computer, a foldable screen mobile phone, a tablet computer with a rotating keyboard, a dual-screen flip laptop computer, etc.

[0040] The first body 110 and the second body 120 may be two parts of the electronic device 100 that can rotate relative to each other. The first body 110 and the second body 120 may be of the same or different types. For example, if the electronic device 100 is a laptop computer, the first body 110 may be the body where the laptop keyboard is located, and the second body 120 may be the body where the laptop display is located. If the electronic device 100 is a dual-screen flip laptop computer, the first body 110 may be the body where one display screen of the dual-screen flip laptop computer is located, and the second body 120 may be the body where the other display screen of the dual-screen flip laptop computer is located.

[0041] The target device 140 may be a structure capable of changing the resistance to the relative rotation between the first body 110 and the second body 120. For example, the target device 140 may be a brake motor or the like.

[0042] The first signal may be generated when the angle between the first body 110 and the second body 120 during relative rotation is less than a preset threshold (e.g., 30 degrees). Alternatively, the first signal may be generated when the angle between the first body 110 and the second body 120 during relative rotation is decreasing (e.g., decreasing from 90 degrees to 60 degrees). The present embodiment does not specifically limit the value of the preset threshold, and the value of the preset threshold may be adjusted based on actual needs.

[0043] The preset threshold is a fixed trigger threshold set by the user or at the factory in the electronic device. The preset threshold can be changed by the user or can be a fixed and unchangeable value. The user can change the preset threshold in the program capable of outputting the first signal in the electronic device;

[0044] The preset threshold can be any angle value set by the user, such as 30 / 40 / 50 / 60 degrees, etc., but the present application is not limited thereto, that is, those skilled in the art can adjust or set it according to specific needs.

[0045] A decreasing angle trend occurs when the angle between the first and second bodies of an electronic device decreases over multiple consecutive moments. For example, a decreasing angle trend could occur when the angle between the first and second bodies changes from 60 degrees to 30 degrees from a first moment to a second moment. Alternatively, it could occur when the angle changes from 120 degrees to 90 degrees. In other words, the angle decreases over time.

[0046] The target object 200 can be an entity that can cause damage to the body and / or object during the folding process of the two bodies. For example, the target object 200 can be a rigid body, such as a keyboard, a pen, etc. Taking the electronic device as a dual-screen notebook as an example, if the target object 200 is a keyboard, if the two display screens of the dual-screen flip notebook are folded, the keyboard can easily cause the display screens to break. The target object 200 can also be a flexible body, such as human tissue, flowers, etc. If the target object 200 is a user's finger, if the two bodies are folded, the finger can easily be pinched by the two bodies. There can be one target object 200 or multiple target objects 200 in the target area S at the same time.

[0047] The target area S can be the physical area encompassed by the angle between the first body 110 and the second body 120. For example, if the angle between the first body 110 and the second body 120 is 20 degrees, the side of the angle can be the plane where the first and second bodies 110, 120 are close to each other. The target area S is the sector-shaped area between the first and second bodies 110, 120, when the angle is 20 degrees. The target object 200 can be located on the surface of the first body 110 or the second body 120, or between the first and second bodies 110, 120.

[0048] The second signal may be a signal generated when the target area S has the target object 200. For example, the second signal may be generated when a pen is placed on the surface of one of the display screens of a foldable dual-screen flip notebook; or the second signal may be generated when a user's hand is positioned between the two display screens of the foldable dual-screen flip notebook.

[0049] The target device 140 has a first state and a second state. In the first state, the target device may not increase the resistance to relative rotation between the first and second bodies. In the second state, the target device 140 may increase the resistance to relative rotation between the first and second bodies. The triggering condition for the state switching may be that the angle between the first and second bodies 110 and 120 reaches a preset threshold or shows a decreasing trend, and the target object 200 is located between the first and second bodies 110 and 120.

[0050] In the first state, the target device 140 may not apply additional resistance, apply less resistance, or apply power, so that the resistance during the rotation of the first body 110 relative to the second body 120 remains unchanged, or slightly increases or reduces the resistance to the relative rotation of the first body 110 and the second body 120. In the second state, the target device 140 may apply greater resistance, significantly increasing the resistance to the relative rotation of the first body 110 and the second body 120.

[0051] For example, in the first state, the resistance to relative rotation between the first body 110 and the second body 120 is a first resistance (10N). The target device 140 does not apply additional resistance, maintaining the first resistance (10N) for the relative rotation between the first body 110 and the second body 120. In the second state, the resistance to relative rotation between the first body 110 and the second body 120 is a third resistance (15N or 10N). The target device 140 applies additional resistance, increasing the third resistance (15N or 10N) to the second resistance (20N). It should be noted that the third resistance can be the same as or different from the first resistance.

[0052] A first signal is generated when the angle between the two displays of a foldable dual-screen flip notebook is 29 degrees. A second signal is generated when a pen is placed on the surface of one of the displays of the foldable dual-screen flip notebook. Upon receiving the first and second signals, the electronic device 100 controls the electronic device 100 to switch from the first state to the second state and controls the target device 140 to apply additional resistance, so that the resistance to relative rotation of the two displays (the second resistance) is greater than the resistance to relative rotation when the angle between the two displays is 40 degrees (the first resistance).

[0053] It can be understood that the working state of the electronic device 100 is switched by detecting the angle between the two bodies and detecting whether a target object exists. When there is a target object 200 in the target area S of the device, the target device 140 is controlled to increase the resistance to relative rotation between the two bodies, thereby reminding the user that the target object 200 and the body may affect each other, so as to reduce damage to the target object 200 or the body and improve the user experience.

[0054] In one embodiment, for example Figure 1 The electronic device 100 shown may include: a first sensor.

[0055] The first sensor is used to detect a first reference signal. The electronic device 100 is configured to determine the angle between the first body 110 and the second body 120 according to the first reference signal, and generate a first signal when the angle is less than a preset threshold.

[0056] For example, the first sensor may be a sensor capable of detecting the angle between the first body 110 and the second body 120. For example, the first sensor may be an angle sensor, a Hall sensor, a camera, a motion sensor, etc. If the electronic device 100 is automatically foldable, the first sensor may also be a drive motor, etc.

[0057] The first reference signal may be data monitored by the first sensor and used to determine the angle between the two bodies.

[0058] In one example, based on the gravitational acceleration vector (first reference signal) measured by the acceleration sensors in the display screen and keyboard bodies of a laptop computer, the angle between the two bodies is calculated to be 20°. Since 20° is less than 30° (a preset threshold), a first signal is generated.

[0059] In another embodiment, for example Figure 1 The first sensor of the electronic device 100 shown can also be used to determine the angle between the first body 110 and the second body 120 based on the first reference signal at multiple consecutive moments, and generate a first signal when the angle at multiple consecutive moments shows a decreasing trend.

[0060] In one example, based on the gravitational acceleration vector (first reference signal) measured by the acceleration sensors in the display screen and keyboard of a laptop computer at multiple consecutive moments, it is calculated that the angle between the two bodies changes from 120° to 90°, and the angle between the two bodies shows a decreasing trend, thereby generating a first signal.

[0061] In one embodiment, for example Figure 1 The electronic device 100 shown may include: an image acquisition device.

[0062] The image acquisition device is used to acquire a target image of a target area S, where the target area S is the area belonging to the angle between the first body 110 and the second body 120 . The electronic device 100 is configured to generate a second signal when the target image contains a target object 200 .

[0063] Exemplarily, the image acquisition device may be a camera, etc.

[0064] The target image may be image data of a target area S captured by an image capture device. When the angle between the first body 110 and the second body 120 changes, the target area S changes accordingly, and the angle at which the target image is captured also changes accordingly. That is, the image capture range of the image capture device must at least cover the target area S.

[0065] In one example, if the electronic device 100 is a laptop computer, a camera in the display screen can be used to capture a target image of the area between the display screen and the keyboard (target area S). The target image is analyzed, and if a pen (target object 200) is determined to be present in the target image, a second signal is generated.

[0066] In another embodiment, for example Figure 1 The electronic device 100 shown may include: a third sensor.

[0067] The third sensor is arranged in the touch area of ​​the main body. The third sensor is used to sense the touch of the touch area and generate a touch signal. The electronic device 100 is configured to generate a second signal when the touch signal represents that the contact time between the target object 200 and the touch area is greater than a preset threshold.

[0068] For example, the touch area can be an area of ​​the body that can be in contact with the user to generate information interaction. For example, the touch area can be a touch pad, a touch display screen, etc.

[0069] The third sensor can be a sensor that senses the relative position between the two bodies. For example, the third sensor can be a touch-sensitive electrode, such as a self-capacitive electrode or a mutual-capacitive electrode. The third sensor can also be an antenna-type sensing electrode, such as a near-field communication (NFC) electrode, a microwave sensor, or a millimeter-wave radar. If the electronic device 100 is a laptop computer, the third sensor can be a touch electrode of a touchpad located on the keyboard surface. If the electronic device 100 is a foldable phone or a foldable computer, the third sensor can be a touch electrode of a touch screen located on the display screen.

[0070] The touch signal can be a signal generated by a third sensor. For example, when the third sensor is a touch-sensitive electrode, the touch signal can be a sensing capacitance signal, such as a capacitance value. When the capacitance value is 10-50pF, the opening and closing angle of the two bodies is 0°-30°; when the capacitance value is less than 10pF, the opening and closing angle of the two bodies is greater than 30°. When the two bodies rotate relative to each other, causing the relative position between the two bodies to change, the distance between the two bodies changes, which can change the capacitance value or electromagnetic wave signal strength of the third sensor. The angle between the two bodies can be determined through an algorithm.

[0071] In one example, if electronic device 100 is a dual-screen flip laptop computer, and a pen is placed on the surface of one display screen, the pen can affect the capacitance information of the touch electrodes on the display screen, generating a touch signal. If the pen's contact with the display screen continues to generate the touch signal for a duration greater than a preset threshold (e.g., 10 seconds), a second signal is generated. If the pen's contact with the display screen continues to generate the touch signal for a duration less than the preset threshold (e.g., 10 seconds), the second signal is not generated.

[0072] In yet another embodiment, for example Figure 1 The electronic device 100 shown may include: a second sensor.

[0073] The second sensor is configured to generate a magnetic field. The electronic device 100 is configured to generate a second signal in response to a third signal detecting a change in the magnetic field.

[0074] Exemplarily, the second sensor may be a Hall sensor.

[0075] In one example, when electronic device 100 is a laptop computer, a Hall sensor on the keyboard side generates a magnetic field. A pen placed on the keyboard surface can affect the magnetic field of the Hall sensor, causing the magnetic field of the Hall sensor to change, generating a third signal. When electronic device 100 detects the third signal, it generates a second signal.

[0076] In other embodiments, it is also possible to determine whether the target area S has the target object 200 by using a contact sensor or an infrared sensor, and generate a second signal when it is detected that the target area S has the target object 200.

[0077] In one embodiment, for example Figure 1 The electronic device 100 shown may include: a first processor.

[0078] The first processor is used to input the target image into the target model to obtain type information of the target object 200; when the type information belongs to a preset type, a second signal is generated. The preset type characterization object's hardness can have an impact on the main body. The target model can be executed by the first processor or by other processors, such as a cloud processor, a processor of other devices, etc.

[0079] The first processor may be a computing unit of the electronic device. For example, the first processor may be a CPU, a GPU, an NPU, an MCU, etc.

[0080] Exemplarily, the type information of the target object 200 may be a classification identifier of the target object 200. For example, the target object 200 may be metal, ceramic, human tissue, paper, or the like.

[0081] The preset type can be a hard object that can cause a physical impact on the subject or object. For example, the impact may be crushing a display screen, scratching a screen, pinching a finger, etc. For example, the preset type can be metal, ceramic, human tissue, etc.

[0082] The target model can be a machine learning model that can recognize natural language and / or other inputs (such as audio and video, images, tables, etc.) input into the target model, and perform comprehensive language processing tasks such as analyzing semantics and answering questions, thereby generating output related to the input and / or responding to the input. The program of the target model can also be obtained by the following operations: obtaining multiple sample data, the sample data including historical images and historical type information of historical objects in the historical images; inputting the historical images into the target model to obtain prediction type information about the predicted objects in the historical images; adjusting the target model parameters according to the prediction type information of the predicted objects and the historical type information of the historical objects until the model converges to obtain a trained target model. However, the present application is not limited to this, that is, those skilled in the art can adjust or set according to specific needs.

[0083] In one example, if the electronic device 100 is a laptop computer, a camera in the display screen can be used to capture a target image of the area between the display screen and the keyboard (target area S). The target image is analyzed, and if the target object 200 in the target image is a pen, which falls into the metal category according to the preset types, a second signal is generated. If the target object 200 in the target image is a piece of paper, which does not fall into any of the preset types, no second signal is generated.

[0084] It is understandable that the target model is used to distinguish dangerous objects from non-dangerous objects to avoid transition triggering the state switching of the electronic device 100 and save resources.

[0085] In one embodiment, for example Figure 1 The electronic device 100 shown may include: a second processor.

[0086] The second processor is used to obtain an available resource value of the electronic device 100 in response to receiving the first signal, where the available resource value includes a first resource value and a second resource value, and the available resources of the second resource value are greater than the available resources of the first resource value; in response to the first resource value, determine that the frequency at which the image acquisition device acquires the target image of the target area S is a first frequency; in response to the second resource value, determine that the frequency at which the image acquisition device acquires the target image of the target area S is a second frequency, and the second frequency is greater than the first frequency.

[0087] For example, the available resource value may be a quantitative indicator of system resources currently allocable to the electronic device 100 to support image acquisition and processing functions. The available resource value may include at least one of the following: available computing power of the first processor and / or the second processor, battery power, memory, etc.

[0088] It should be noted that the first processor and the second processor may be the same processor or different processors.

[0089] In one example, if the angle between the two displays of a dual-screen flip laptop (29 degrees) is less than a preset threshold (30 degrees), a first signal is generated. Upon detecting the first signal, the available computing power of the CPU of the dual-screen flip laptop is obtained. If the available computing power of the CPU is 70% (a first resource value), the frequency at which the camera of the dual-screen flip laptop captures the target image of the target area S is determined to be 10ms / frame (a first frequency). If the available computing power of the CPU is 50% (a second resource value), the frequency at which the camera of the dual-screen flip laptop captures the target image of the target area S is determined to be 30ms / frame (a second frequency).

[0090] As the available resource value decreases, the frequency of the image acquisition device acquiring the target image of the target area S may also decrease. Alternatively, as the available resource value increases, the frequency of the image acquisition device acquiring the target image of the target area S may also increase.

[0091] It is understandable that, during the process of acquiring the target image, the frequency of acquiring the target area S image can be intelligently adjusted according to the available resources of the system to achieve dynamic resource scheduling.

[0092] In one embodiment, for example Figure 1 The electronic device 100 shown can also control the electronic device 100 to switch from the first state to the second state in response to the first moment, and generate a fourth signal when the target area S does not have the target object 200 at the second moment, the second moment is later than the first moment, and at the first moment and the second moment, the angle between the first body 110 and the second body 120 is less than the preset threshold or shows a decreasing trend; based on the received fourth signal, the electronic device 100 is controlled to switch from the second state to the first state.

[0093] In one example, at a first moment, if the angle between the two displays of a foldable dual-screen flip notebook is 29 degrees, a first signal is generated. Furthermore, if a pen is placed on the surface of one of the displays of the foldable dual-screen flip notebook, a second signal is generated. Upon receiving the first and second signals at the first moment, the electronic device 100 controls the electronic device 100 to switch from the first state to the second state. The target device 140 is activated to apply additional resistance to increase the resistance to relative rotation between the two displays. The electronic device 100 continuously detects the target object 200 within the target area S corresponding to the angle between the two bodies. At a second moment, if the angle between the two displays of the foldable dual-screen flip notebook is 25 degrees, and if it is detected that no pen is placed on the surface of one of the displays of the foldable dual-screen flip notebook, a fourth signal is generated. Upon receiving the fourth signal at the second moment, the electronic device 100 controls the electronic device 100 to switch from the second state to the first state. The target device 140 is deactivated to not apply additional resistance, allowing the two displays to rotate freely relative to each other.

[0094] Figure 3 Schematically shows a schematic diagram of a connection structure between a connecting device and a target device according to an embodiment of the present disclosure; Figure 4 The structural diagram of the gear set according to an embodiment of the present disclosure is schematically shown.

[0095] In some embodiments, Figure 1 The electronic device 100 further includes a connecting device 130 , through which the first body 110 and the second body 120 are rotatably connected.

[0096] For example, the connecting device 130 may be a connecting structure that enables relative rotation between the first body 110 and the second body 120. During rotation of the first body 110 relative to the second body 120, the connecting device 130 may provide a basic resistance to the rotation of the first body 110 relative to the second body 120. The first body 110 may be fixedly connected to one side of the connecting device 130, and the second body 120 may be fixedly connected to the other side of the connecting device 130. The first body 110 may be rotated relative to the second body 120 to achieve different angles between the first and second bodies 110, 120. For example, the connecting device 130 may be a hinge, a rotating shaft, or the like.

[0097] The connecting device 130 may have one or more connecting devices, such as Figure 1 As shown, there are two connecting devices 130, and the two connecting devices 130 can be arranged at intervals along the axis of relative rotation between the first body 110 and the second body 120. The first body 110 can be fixedly connected to the same side of the two connecting devices 130, and the second body 120 can be fixedly connected to the same other side of the two connecting devices 130.

[0098] In one embodiment, for example Figure 1 The connecting device 130 shown may include a first pivot 131 , a second pivot 132 and a gear set 133 .

[0099] like Figure 3 and 4 As shown, the first body 110 may be connected to the first pivot 131 , and the second body 120 may be connected to the second pivot 132 .

[0100] The gear set 133 may include a first gear 1331 , a second gear 1332 and a transmission gear set 133 .

[0101] The first gear 1331 may be disposed on the first pivot 131 and may be circumferentially fixed to the first pivot 131 so that the first gear 1331 may rotate synchronously with the first pivot 131 .

[0102] The second gear 1332 may be disposed on the second pivot 132 and may be circumferentially fixed to the second pivot 132 so that the second gear 1332 may rotate synchronously with the second pivot 132 .

[0103] The transmission gear set 133 may be disposed between the first gear 1331 and the second gear 1332. The transmission gear set 133 may mesh with the first gear 1331 and the second gear 1332, respectively. The first gear 1331 and the second gear 1332 may be connected in reverse synchronous transmission via the transmission gear set 133. "Reverse synchronous transmission" herein may mean that the two gears rotate synchronously and in opposite directions after being driven. For example, when one gear rotates clockwise, the other gear rotates counterclockwise.

[0104] The transmission gear set 133 includes a third gear 1333 and a fourth gear 1331 . The third gear 1333 is meshed with the first gear 1331 , and the fourth gear 1331 is meshed with both the third gear 1333 and the second gear 1332 .

[0105] When the first body 110, connected to the first pivot 131, rotates, the first pivot 131 drives the first gear 1331 to rotate, which in turn drives the third gear 1333 to rotate. The rotation direction of the third gear 1333 is opposite to that of the first gear 1331. Simultaneously, the third gear 1333 drives the fourth gear 1331 to rotate. The fourth gear 1331 also drives the second gear 1332 to rotate. The second gear 1332 also rotates in the opposite direction to that of the fourth gear 1331. Consequently, the fourth gear 1331 drives the second body 120, connected to the second pivot 132, to rotate. This means that the first body 110 and the second body 120 rotate in opposite directions.

[0106] The first gear 1331 and the second gear 1332 have the same number of teeth, and the gear ratio of the transmission gear set 133 is designed to be 1:1, ensuring that the two bodies rotate symmetrically. For example, when the first body 110 is opened 30°, the second body 120 rotates 30° in the opposite direction, and the total unfolding angle is 60°.

[0107] In one embodiment, for example Figure 1 The target device 140 shown may include a brake member 141 .

[0108] Continue to refer to Figure 3 The output end of the brake member 141 is connected to the target gear in the transmission gear set 133. When the electronic device 100 is in the first state, the output end of the brake member 141 rotates synchronously with the target gear. When the electronic device 100 is in the second state, the brake member 141 is used to generate a torque opposite to the current rotation direction of the target gear.

[0109] Illustratively, brake member 141 can be a device capable of outputting a braking force in the opposite direction of rotation of the target gear, thereby changing the rotational resistance of gear set 133. For example, brake member 141 can be a brake motor, electromagnetic brake, or the like. It should be noted that in a first state, the output end of the brake member can rotate synchronously with the rotation of the target gear, allowing the first body to rotate freely relative to the second body. In a second state, the output end of the brake member can output a braking force in the opposite direction of rotation of the target gear, thereby generating a resistance in the opposite direction of rotation of the target gear.

[0110] It should be noted that the torque generated by the brake member 141, which is opposite to the current rotational direction of the target gear, can be smaller than the torque in the current rotational direction of the target gear. In this case, the first body 110 and the second body 120 can still rotate in the original direction, but greater force is required for rotation. Alternatively, the torque can be equal to the current rotational direction of the target gear. In this case, the first body 110 and the second body 120 cannot rotate in the original direction, that is, the rotation between the first body 110 and the second body 120 is blocked.

[0111] For example, the brake member may be a brake motor, and the brake motor may be a servo motor.

[0112] The target gear may be any gear in the transmission gear set 133. The embodiment of the present disclosure does not limit this.

[0113] In one example, using the fourth gear 1331 as the target gear, the output end of the brake motor is connected to the center of the fourth gear 1331. When the angle between the two bodies of the electronic device 100 decreases and a pen is placed in the area within the angle, the electronic device 100 is controlled to switch from the first state to the second state. When the electronic device 100 is in the second state, due to the decreasing angle between the two bodies, the first gear 1331 rotates counterclockwise, causing the second gear 1332 to rotate clockwise. Simultaneously, the fourth gear 1331 also rotates counterclockwise. The brake motor is activated, driving the fourth gear 1331 to rotate clockwise, increasing the reverse torque of the fourth gear 1331's rotation and generating a resistance (clockwise) opposite to the original rotation direction of the fourth gear 1331 (counterclockwise), thereby increasing the resistance to closing between the first body 110 and the second body 120. Not only does it slow down the closing speed between the first body 110 and the second body 120 , but it can also remind the user that the target object 200 exists in the target area S between the first body 110 and the second body 120 when the closing resistance suddenly increases.

[0114] Figure 5 The figure schematically shows a structural diagram of a target device according to an embodiment of the present disclosure.

[0115] like Figure 5 As shown, in one possible implementation, Figure 5 The electronic device 100 is shown with Figure 3 The difference between the electronic device 100 shown is that the target device 140 includes a friction wheel 142 and a first driving member 143 .

[0116] The friction wheel 142 is in active contact with the target gear in the transmission gear set 133 .

[0117] The first driving member 143 is connected to the friction wheel 142. In the first state, the first driving member 143 is used to drive the friction wheel 142 to approach or move away from the target gear in the gear set 133. In the second state, the first driving member 143 drives the friction wheel 142 to abut against the target gear to increase the resistance to the rotation of the target gear.

[0118] For example, the first driving member 143 can be a device that can drive the friction wheel 142 to perform linear motion, and control the contact and separation between the sheave wheel and the target gear. The first driving member 143 can be a micro linear motor or the like.

[0119] The contact surface of the friction wheel 142 is made of a high friction coefficient material (such as polyurethane rubber, with a friction coefficient μ≥0.5). When the friction wheel 142 contacts the target gear, it transmits resistance through friction, thereby increasing the resistance to the target gear's rotation.

[0120] It should be noted that in the first state, friction wheel 142 is away from the target gear, and there is a gap between friction wheel 142 and the target gear. Friction wheel 142 cannot affect the normal rotation of the target gear, allowing the first body to rotate freely relative to the second body. In the second state, friction wheel 142 is close to the target gear, and friction wheel 142 is in contact with the target gear. Friction wheel 142 can affect the normal rotation of the target gear. That is, the friction between friction wheel 142 and the target gear can act as a resistance in the opposite direction of rotation of the target gear.

[0121] In one example, taking the target gear as the fourth gear 1331, the friction wheel 142 is connected to the output end of the first driving member 143, and the first driving member 143 can drive the friction wheel 142 to contact or separate from the fourth gear 1331. When the angle between the two bodies of the electronic device 100 tends to decrease, and a pen is placed in the area where the angle between the two bodies belongs, the electronic device 100 is controlled to switch from the first state to the second state. When the electronic device 100 is in the second state, since the angle between the two bodies tends to decrease, the first gear 1331 rotates in the counterclockwise direction, the second gear 1332 rotates in the clockwise direction, and at the same time, the fourth gear 1331 rotates in the counterclockwise direction. When first driving member 143 is activated, it drives friction wheel 142 toward fourth gear 1331, compressing fourth gear 1331 and increasing the friction between them. This in turn transmits resistance to fourth gear 1331, generating resistance (clockwise) opposite to the original rotation direction (counterclockwise) of fourth gear 1331, thereby increasing the resistance to closing between first body 110 and second body 120. This not only slows down the closing speed between first body 110 and second body 120, but also, in the event of a sudden increase in closing resistance, alerts the user to the presence of target object 200 in target area S between first body 110 and second body 120.

[0122] It should be noted that the rotational resistance of the target gear can be adjusted by the degree of compression between the friction wheel 142 and the target gear.

[0123] Figure 6 The figure schematically shows a structural diagram of a target device according to another embodiment of the present disclosure.

[0124] like Figure 6 As shown, in one possible implementation, Figure 5 The electronic device 100 is shown with Figure 3 The difference between the electronic device 100 shown is that the target device 140 includes a cavity 144 and a second driving member 145 .

[0125] The cavity 144 has a volume that can be changed.

[0126] The second driving member 145 is used to drive the cavity 144 to expand and contract to change the volume of the cavity 144. In the first state, the second driving member 145 drives the volume of the cavity 144 to decrease, reducing the contact area between the cavity 144 and the pivot of the connecting device 130, thereby reducing the resistance to relative rotation between the first body 110 and the second body 120. In the second state, the second driving member 145 drives the volume of the cavity 144 to increase, increasing the contact area between the cavity 144 and the pivot of the connecting device 130, thereby increasing the resistance to relative rotation between the first body 110 and the second body 120.

[0127] Exemplarily, the cavity 144 may be a device whose volume can be changed, for example, an air bag or the like.

[0128] Second driver 145 can be a device that actively controls the volume change of cavity 144. Second driver 145 drives cavity 144 to expand and contract, dynamically adjusting the contact area between cavity 144 and the target gear, thereby varying the resistance to the target gear's rotation. For example, second driver 145 can be a micro air pump.

[0129] It should be noted here that as the contact area between the cavity 144 and the target gear increases, the resistance to the rotation of the target gear also increases.

[0130] It should be noted that in the first state, there is a gap between cavity 144 and the target gear, and cavity 144 cannot affect the normal rotation of the target gear, allowing the first body to rotate freely relative to the second body. In the second state, cavity 144 is in contact with the target gear and can affect the normal rotation of the target gear. In other words, the friction between cavity 144 and the target gear can act as resistance in the opposite direction of rotation of the target gear.

[0131] In one example, taking the target gear as the fourth gear 1331, the cavity 144 is connected to the second driving member 145, and the second driving member 145 can drive the cavity 144 to extend and retract to achieve a change in the contact area between the cavity 144 and the fourth gear 1331. When the angle between the two bodies of the electronic device 100 tends to decrease, and a pen is placed in the area where the angle between the two bodies belongs, the electronic device 100 is controlled to switch from the first state to the second state. When the electronic device 100 is in the second state, since the angle between the two bodies tends to decrease, the first gear 1331 rotates in the counterclockwise direction, the second gear 1332 rotates in the clockwise direction, and at the same time, the fourth gear 1331 rotates in the counterclockwise direction. When first driving member 143 is activated, second driving member 145 drives cavity 144 to expand, increasing the contact area between cavity 144 and fourth gear 1331. This increases the contact pressure between cavity 144 and fourth gear 1331, and thus increases the resistance to the rotation of fourth gear 1331. This generates resistance (clockwise) opposite to the original rotation direction (counterclockwise) of fourth gear 1331, thereby increasing the resistance to closing between first body 110 and second body 120. This not only slows down the closing speed between first body 110 and second body 120, but also, in the event of a sudden increase in closing resistance, alerts the user to the presence of target object 200 in target area S between first body 110 and second body 120.

[0132] In one embodiment, in the second state, the target device 140 prevents the first body 110 and the second body 120 from rotating relative to each other.

[0133] The torque of the resistance to relative rotation between the first body 110 and the second body 120 provided by the target device 140 is equal to the torque in the current rotation direction of the target gear. At this time, the first body 110 and the second body 120 cannot rotate in the original direction, that is, the rotation between the first body 110 and the second body 120 is stuck.

[0134] In one example, when the angle between the two bodies of the electronic device 100 decreases and a pen is placed within the area encompassing the angle, the electronic device 100 is controlled to switch from a first state to a second state. When the electronic device 100 is in the second state, due to the decreasing angle between the two bodies, the first gear 1331 rotates counterclockwise, causing the second gear 1332 to rotate clockwise. Simultaneously, the fourth gear 1331 also rotates counterclockwise. The brake motor is activated, driving the fourth gear 1331 clockwise, generating a second resistance (clockwise) opposite to the original rotation direction (counterclockwise) of the fourth gear 1331. This second resistance is equal to the force applied by the user to close the first and second bodies 110, 120. Consequently, the first and second bodies 110, 120 cannot close, maintaining a predetermined angle. This serves to alert the user that a target object 200 is present in the target area S between the first and second bodies 110, 120.

[0135] In some embodiments, continue to refer to Figure 1 , the electronic device 100 of this embodiment includes: a first display screen and a second display screen.

[0136] The first display screen is disposed on a side of the first body 110 close to the second body 120 ; the second display screen is disposed on a side of the second body 120 close to the first body 110 ; the target area S includes the first display screen and the second display screen.

[0137] In one example, the electronic device 100 is a dual-screen flip laptop computer. A first display screen is provided on a first body 110, and a second display screen is provided on a second body 120. When the angle between the first body 110 and the second body 120 is 180 degrees, the first and second displays are located in the same plane. When the angle between the first body 110 and the second body 120 is 0 degrees, the first and second displays are bonded to each other.

[0138] For example, the unique design of dual-screen flip laptops, featuring two displays, is gaining increasing popularity among consumers. Dual-screen flip laptops have two display screens on opposite sides of their bodies, lacking a physical keyboard. Instead, they come with a Bluetooth keyboard that can be placed on the display of one body to work with the virtual touchpad. If the user forgets to remove the Bluetooth keyboard from the display of the main body when closing the lid, it could become sandwiched between the two displays, potentially crushing the screens and impacting the user experience.

[0139] The following will be passed Figure 7 A method for controlling an electronic device according to an embodiment of the present disclosure is described in detail.

[0140] The method for controlling an electronic device of the embodiment includes the following steps: controlling the electronic device to switch from a first state to a second state based on receiving a first signal and a second signal.

[0141] The first signal indicates that the angle between the first body and the second body of the electronic device is less than a preset threshold or is decreasing, and the second signal indicates that the target area of ​​the first body and / or the second body has a target object, and the target object is a physical object.

[0142] In the first state, the resistance to relative rotation between the first body and the second body of the electronic device is a first resistance. In the second state, the resistance to relative rotation between the first body and the second body of the electronic device is a second resistance, which is greater than the first resistance.

[0143] For example, the control method of the electronic device of this embodiment can refer to the above Figure 1 and Figure 2 The description is not repeated here.

[0144] As described above, in one embodiment, the control method of the electronic device of this embodiment may further include the operation of determining the angle between the first body and the second body based on the first reference signal detected by the first sensor, and generating a first signal when the angle is less than a preset threshold.

[0145] As described above, in another embodiment, the control method of the electronic device of this embodiment may further include the operation of determining the angle between the first body and the second body at each moment based on the first reference signal detected by the first sensor at multiple consecutive moments, and generating a first signal when the angle at multiple consecutive moments shows a decreasing trend.

[0146] As described above, in one embodiment, the control method of the electronic device of this embodiment may further include the following operations: obtaining a target image of a target area, where the target area is the area through which the first body rotates relative to the second body; and generating a second signal when the target image contains a target object.

[0147] As described above, in another embodiment, the control method of the electronic device of this embodiment may further include an operation: in response to obtaining a touch signal for the touch area of ​​the first body or the second body, generating a second signal when the touch signal represents that the contact duration between the target object and the touch area is greater than a preset threshold.

[0148] As described above, in yet another embodiment, the method for controlling an electronic device of this embodiment may further include the operation of generating a second signal in response to a third signal detecting a change in the magnetic field of the second sensor.

[0149] As described above, in some embodiments, the control method of the electronic device of this embodiment may further include the following operations: inputting the target image into the target model to obtain type information of the target object; when the type information belongs to a preset type, generating a second signal, and the preset type characterization object's hardness can have an impact on the body.

[0150] As described above, in some embodiments, the control method of the electronic device of this embodiment may further include the following operations: in response to receiving a first signal, obtaining an available resource value of the electronic device, the available resource value including a first resource value and a second resource value, the available resources of the second resource value being greater than the available resources of the first resource value; in response to the first resource value, determining that the frequency at which the image acquisition device acquires the target image of the target area is a first frequency, and in response to the second resource value, determining that the frequency at which the image acquisition device acquires the target image of the target area is a second frequency, the second frequency being greater than the first frequency.

[0151] As described above, in some embodiments, the control method of the electronic device of this embodiment may further include operations: controlling the electronic device to switch from the first state to the second state in response to the first moment, generating a fourth signal when the target area does not have a target object at the second moment, the second moment is later than the first moment, and at the first moment and the second moment, the angle between the first body and the second body is less than a preset threshold or shows a decreasing trend; based on the received fourth signal, controlling the electronic device to switch from the second state to the first state.

[0152] For the description of the control method of the electronic device, reference may be made to the description of the electronic device 100 , which will not be repeated here.

[0153] As described above, in some embodiments, the method for controlling an electronic device of this embodiment may further include an operation of generating first prompt information in response to the electronic device switching from the first state to the second state.

[0154] Exemplarily, the first prompt information can be a voice announcement. For example, the first prompt information of "be careful of the object" can also be a buzzer sound.

[0155] In one example, during the closing process of the first body and the second body, if the angle between the first body and the second body is less than 60 degrees and a target object is detected in the target area between the first body and the second body, the electronic device is switched from the first state to the second state, the target device is activated to increase the resistance to the rotation of the first body relative to the second body, and a warning sound "Be careful of objects" is issued to remind the user that the closing operation is dangerous.

[0156] As described above, in some other embodiments, the method for controlling an electronic device of this embodiment may further include an operation of generating second prompt information in response to the electronic device switching from the first state to the second state.

[0157] For example, the second prompt information may be a pop-up window on the display screen: Danger.

[0158] In one example, if the electronic device is a dual-screen flip laptop computer, during the process of closing the first body and the second body, if the angle between the first body and the second body is less than 60 degrees, and a target object is detected in the target area between the first body and the second body, the electronic device is switched from the first state to the second state, the target device is activated to increase the resistance to the rotation of the first body relative to the second body, and a pop-up window "Danger" pops up on the display screen placed on the desktop.

[0159] In other embodiments, when the electronic device switches from the first state to the second state, the first prompt information and the second prompt information may be generated simultaneously to enhance the reminder to the user.

[0160] As described above, in some embodiments, when there is no target object between the first body and the second body, a shutdown signal is sent to the target device to shut down the target device.

[0161] In one example, after the electronic device switches from the first state to the second state, if it is detected that there is no target object in the target area, a shutdown signal is generated. According to the shutdown signal, the target device is controlled to be closed, so that the first body and the second body can rotate freely.

[0162] In order to facilitate the understanding of the control method of the electronic device according to the embodiment of the present disclosure, the following will be combined with Figure 7 A method for controlling an electronic device will be described.

[0163] Figure 7 The principle diagram of the electronic device control method according to an embodiment of the present disclosure is schematically shown.

[0164] like Figure 7 As shown, the control method of the electronic device of this embodiment may include operations S310 to S340.

[0165] In operation S310 , a usage status of an electronic device is monitored.

[0166] In operation S320 , it is monitored whether an angle between the first body and the second body is less than a preset threshold.

[0167] In operation S330 , when the angle between the first body and the second body is less than a preset threshold, the target area of ​​the first body and / or the second body is continuously monitored to determine whether there is a target object.

[0168] When the angle between the first body and the second body is greater than or equal to the preset threshold, operation S310 is continued.

[0169] In operation S340 , when the target area has a target object, the electronic device is controlled to switch from the first state to the second state, and prompt information is generated.

[0170] In the case that the target area does not have the target object, operation S310 is continued.

[0171] In one example, the electronic device is a dual-screen flip laptop computer. During the use of the dual-screen flip laptop computer, the use status of the dual-screen flip laptop computer is continuously monitored, that is, the angle between the first display screen and the second display screen, and whether the target area between the angle between the first display screen and the second display screen has a target object are monitored. If it is detected that the angle between the first display screen and the second display screen is 59 degrees, which is less than the preset threshold value of 60 degrees, a first signal is generated. At the same time, it is detected that a pen is placed on the surface of the second display screen. A second signal is generated. After receiving the first signal and the second signal, the processor controls the electronic device to switch from the first state to the second state, controls the target device to apply additional resistance, increases the resistance to the relative rotation of the first body and the second body, and generates a voice prompt "Be careful of objects" to remind the user to be careful of objects pinching the screen during the closing process of the device.

[0172] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of this disclosure may be combined and / or coupled in various ways, even if such combinations and / or couplings are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or couplings are intended to fall within the scope of this disclosure.

[0173] The embodiments of the present disclosure are described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be used in combination to advantage. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. An electronic device comprising: first ontology; a second body, the second body being rotatable relative to the first body; a target device having a first state and a second state, In the first state, the target device causes the first body and the second body to have a first resistance to relative rotation. In the second state, the target device causes the first body and the second body to have a second resistance to relative rotation, and the second resistance is greater than the first resistance. The electronic device can control the target device to switch from a first state to a second state based on receiving a first signal and a second signal, wherein the first signal indicates that the angle between the first body and the second body of the electronic device is less than a preset threshold or is decreasing, and the second signal indicates that the target area of ​​the first body and / or the second body has a target object, and the target object is a physical entity.

2. The electronic device according to claim 1, comprising: a first sensor, configured to detect a first reference signal; The electronic device is configured to determine an angle between the first body and the second body according to a first reference signal, and generate a first signal when the angle is less than a preset threshold, or, The angle between the first body and the second body is determined according to the first reference signals at multiple consecutive moments, and a first signal is generated when the angle at the multiple consecutive moments shows a decreasing trend.

3. The electronic device according to claim 1, comprising: an image acquisition device for acquiring a target image of a target area, wherein the target area is an area including an angle between the first body and the second body, and the electronic device is configured to generate a second signal when the target image contains a target object; or a second sensor for generating a magnetic field, the electronic device being configured to generate a second signal in response to detecting a third signal indicating a change in the magnetic field; or A third sensor is arranged in the touch area of ​​the main body, and the third sensor is used to sense the touch of the touch area and generate a touch signal. The electronic device is configured to generate a second signal when the touch signal represents that the contact time between the target object and the touch area is greater than a preset threshold.

4. The electronic device according to claim 3, comprising: A first processor is configured to input the target image into a target model to obtain type information of the target object; In the case that the type information belongs to a preset type, a second signal is generated, where the preset type represents that the hardness of the object can have an impact on the body.

5. The electronic device according to claim 3, comprising: a second processor, configured to obtain, in response to receiving the first signal, an available resource value of the electronic device, the available resource value comprising a first resource value and a second resource value, the available resource of the second resource value being greater than the available resource of the first resource value; In response to the first resource value, the frequency at which the image acquisition device acquires the target image of the target area is determined to be a first frequency. In response to the second resource value, the frequency at which the image acquisition device acquires the target image of the target area is determined to be a second frequency, which is greater than the first frequency.

6. The electronic device according to claim 1, comprising: The electronic device controls the electronic device to switch from the first state to the second state in response to the first moment, and generates a fourth signal when the target area does not have a target object at the second moment, the second moment is later than the first moment, and at the first moment and the second moment, the angle between the first body and the second body is less than a preset threshold or shows a decreasing trend; based on the received fourth signal, the electronic device is controlled to switch from the second state to the first state.

7. The electronic device according to claim 1, further comprising: a connecting device, wherein the first body and the second body are rotatably connected via the connecting device; The connecting device includes a first pivot, a second pivot and a gear set, The first body is connected to the first pivot, and the second body is connected to the second pivot. The gear set includes: a first gear, disposed on the first pivot and circumferentially fixed to the first pivot; A second gear is disposed on the second pivot and is circumferentially fixed to the second pivot. A transmission gear set is provided between the first gear and the second gear, the transmission gear set is meshed with the first gear and the second gear respectively, and the first gear and the second gear are connected in reverse synchronous transmission through the transmission gear set; The target device includes: a brake member, wherein the output end of the brake member is connected to the target gear in the transmission gear set, and when the electronic device is in the first state, the output end of the brake member rotates synchronously with the target gear, and when the electronic device is in the second state, the brake member is used to generate a torque opposite to the current rotation direction of the target gear; or The target device includes: a friction wheel, in active contact with a target gear in the transmission gear set; a first driving member connected to the friction wheel, wherein in the first state, the first driving member is used to drive the friction wheel toward or away from the target gear in the gear set, and in the second state, the first driving member drives the friction wheel to abut against the target gear to increase the resistance to rotation of the target gear; or The target device includes: a cavity, the volume of which can be changed; The second driving member is configured to drive the cavity to expand and contract to change the volume of the cavity. In the first state, the second driving member drives the volume of the cavity to decrease, thereby reducing the contact area between the cavity and the pivot of the connecting device, thereby reducing the resistance to relative rotation between the first and second bodies. In the second state, the second driving member drives the volume of the cavity to increase, thereby increasing the contact area between the cavity and the pivot of the connecting device, thereby increasing the resistance to relative rotation between the first and second bodies. 8 . The electronic device according to claim 1 , wherein in the second state, the target device prevents the first body and the second body from rotating relative to each other.

9. The electronic device according to claim 1, comprising: a first display screen, disposed on a side of the first body close to the second body; a second display screen, disposed on a side of the second body close to the first body; The target area includes the first display screen and / or the second display screen.

10. A method for controlling an electronic device, comprising: Based on receiving the first signal and the second signal, controlling the electronic device to switch from the first state to the second state; The first signal indicates that the angle between the first body and the second body of the electronic device is less than a preset threshold or is decreasing, and the second signal indicates that a target object is present in the target area of ​​the first body and / or the second body, and the target object is a physical object; In the first state, the resistance to relative rotation between the first body and the second body of the electronic device is a first resistance. In the second state, the resistance to relative rotation between the first body and the second body of the electronic device is a second resistance, which is greater than the first resistance.