Method for controlling electronic device and electronic device

By locking and unlocking the touch sensing of the display screen in the terminal device, according to the changes in the trigger signal and detection signal, the problem of accidental touch is solved and the user experience of the device is improved.

CN109683746BActive Publication Date: 2025-01-21LENOVO (BEIJING) LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN201811648574.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-30
Publication Date
2025-01-21
Estimated Expiration
2038-12-30

AI Technical Summary

Technical Problem

In the process of pursuing the maximum screen-to-body ratio, existing terminal devices have increased the occurrence of false touch events, and urgently need a technical solution that can avoid false touches.

Method used

By obtaining the trigger signal, the touch sensor of the display screen is locked in response so that the display screen does not respond to touch input; at the same time, based on the detection signal, the touch sensor of the display screen is unlocked so that it responds to touch input.

Benefits of technology

It effectively avoids accidental touches, ensures the normal use of electronic devices, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109683746B_ABST
    Figure CN109683746B_ABST
Patent Text Reader

Abstract

The present application provides a method for controlling an electronic device and an electronic device, including: obtaining a trigger signal; controlling the display screen of the electronic device in response to the trigger signal to lock the touch sensing of the display screen so that the display screen does not respond to the obtained touch input; obtaining a detection signal, the detection signal being used to characterize that the display screen of the electronic device moves relative to the body of the electronic device to one of at least two restricted positions; based on the detection signal, unlocking the touch sensing of the display screen. In the present application, the touch sensing of the display screen is locked by obtaining the trigger signal to avoid the occurrence of false touches, and when the display screen moves relative to the body to one of at least two restricted positions, the touch sensing of the display screen is unlocked so that the display screen responds to the touch input normally. Therefore, in the present application, the normal use of the electronic device is guaranteed while avoiding false touches, thereby significantly improving the user experience of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of terminal control, and more specifically, particularly relates to a method for controlling an electronic device and the electronic device. Background Art

[0002] As users' demands for terminal use increase, various types of terminals have repeatedly pursued the maximum screen-to-body ratio, which has increased the area occupied by the touch screen of the terminal but also increased the occurrence of false touch events.

[0003] Therefore, there is still an urgent need for a technical solution that can avoid accidental touches on a terminal. Summary of the invention

[0004] In view of this, this application provides the following solutions:

[0005] A method for controlling an electronic device, comprising:

[0006] Get a trigger signal;

[0007] In response to the trigger signal, controlling the display screen of the electronic device to lock the touch sensing of the display screen so that the display screen does not respond to the acquired touch input;

[0008] Obtaining a detection signal; wherein the detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to one of at least two limit positions;

[0009] Based on the detection signal, the touch sensing of the display screen is unlocked.

[0010] In the above method, preferably, obtaining the trigger signal comprises:

[0011] Obtaining touch input through a touch sensing component of the display screen;

[0012] If the touch input satisfies a preset touch condition and no first detection signal is obtained within a first time period, generating the trigger signal;

[0013] The first detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a first restricted position among at least two restricted positions.

[0014] The above method, preferably, obtaining the detection signal comprises:

[0015] A first detection signal is obtained, where the first detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a first limit position of at least two limit positions.

[0016] The above method, preferably, obtaining the detection signal comprises:

[0017] Obtaining a sensing parameter for characterizing ambient light through a first sensor in the body of the electronic device; wherein the first sensor is located in the body of the electronic device and the first sensor has a corresponding window on the body, and if the display screen of the electronic device is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed;

[0018] If the sensing parameter meets the first light condition, a first detection signal is generated.

[0019] The above method, preferably, obtaining a trigger signal comprises:

[0020] Obtaining a sensing parameter for characterizing ambient light through a first sensor in the body of the electronic device; wherein the first sensor is located in the body of the electronic device and the first sensor has a corresponding window on the body, and if the display screen of the electronic device is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed;

[0021] If the sensing parameter meets the second light condition, the trigger signal is generated.

[0022] The above method, preferably, obtaining the detection signal comprises:

[0023] A second detection signal is obtained, where the second detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a second limit position among the at least two limit positions.

[0024] In the above method, preferably, obtaining the detection signal comprises:

[0025] A sensing parameter for characterizing ambient light is obtained through a first sensor in the body of the electronic device; if the sensing parameter meets a first light condition, a second detection signal is generated.

[0026] The present application also provides an electronic device, comprising:

[0027] Display screen;

[0028] A body, the display screen can move relative to the body, and the display screen has at least two restricted positions relative to the body;

[0029] a processor, configured to obtain a trigger signal, and in response to the trigger signal, control the display screen to lock the touch sensing of the display screen, so that the display screen does not respond to the obtained touch input;

[0030] The processor is also used to obtain a detection signal; wherein the detection signal is used to indicate that the display screen of the electronic device moves relative to the body to one of at least two limit positions; based on the detection signal, the touch sensing of the display screen is unlocked.

[0031] The above electronic device preferably further includes:

[0032] A touch sensing component is arranged on the display screen;

[0033] The processor is specifically configured to: obtain a touch input through the touch sensing component; if the touch input satisfies a preset touch condition and the first detection signal is not obtained within a first time period, generate the trigger signal;

[0034] The first detection signal is used to indicate that the display screen moves relative to the body to a first restricted position among at least two restricted positions.

[0035] The above electronic device preferably further includes:

[0036] A first sensor is located in the body, and the first sensor has a corresponding window on the body, and if the display screen is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed;

[0037] The processor is specifically used to: obtain, through the first sensor, a sensing parameter for characterizing ambient light; and generate the trigger signal if the sensing parameter meets the light condition.

[0038] In the above electronic device, preferably, the processor obtains the trigger signal, including:

[0039] Obtaining touch input through a touch sensing component of the display screen;

[0040] If the touch input satisfies a preset touch condition and no first detection signal is obtained within a first time period, generating the trigger signal;

[0041] The first detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a first restricted position among at least two restricted positions.

[0042] In the above electronic device, preferably, the processor obtains the detection signal, including:

[0043] A first detection signal is obtained, where the first detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a first limit position of at least two limit positions.

[0044] In the above electronic device, preferably, the processor obtains the detection signal, including:

[0045] Obtaining a sensing parameter for characterizing ambient light through a first sensor in the body of the electronic device; wherein the first sensor is located in the body of the electronic device and the first sensor has a corresponding window on the body, and if the display screen of the electronic device is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed;

[0046] If the sensing parameter meets the first light condition, a first detection signal is generated.

[0047] In the above electronic device, preferably, the processor obtains the trigger signal, including:

[0048] Obtaining a sensing parameter for characterizing ambient light through a first sensor in the body of the electronic device; wherein the first sensor is located in the body of the electronic device and the first sensor has a corresponding window on the body, and if the display screen of the electronic device is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed;

[0049] If the sensing parameter meets the second light condition, the trigger signal is generated.

[0050] In the above electronic device, preferably, the processor obtains the detection signal, including:

[0051] A second detection signal is obtained, where the second detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a second limit position among the at least two limit positions.

[0052] In the above electronic device, preferably, the processor obtaining the detection signal includes:

[0053] A sensing parameter for characterizing ambient light is obtained through a first sensor in the body of the electronic device; if the sensing parameter meets a first light condition, a second detection signal is generated.

[0054] Compared with the prior art, the present application provides a method for controlling an electronic device, which controls the display screen of the electronic device to lock the touch sensing of the display screen under a trigger signal, so that the display screen does not respond to the acquired touch input, and unlocks the touch sensing of the display screen based on the detection signal under a detection signal, that is, when the display screen of the electronic device moves to one of at least two restricted positions relative to the body of the electronic device, so that the display screen responds to the acquired touch input. It can be seen that in the present application, the touch sensing of the display screen is locked by acquiring the trigger signal to avoid the occurrence of accidental touches, and when the display screen of the electronic device moves to one of at least two restricted positions relative to the body of the electronic device, the touch sensing of the display screen is unlocked, so that the display screen responds to the touch input normally. Therefore, in the present application, the normal use of the electronic device is guaranteed while avoiding accidental touches, thereby significantly improving the user experience of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0056] Figure 1 is a flow chart of a method for controlling an electronic device provided in Embodiment 1 of the present application;

[0057] Figure 2 and Figure 3 They are respectively exemplary diagrams of the embodiments of the present application;

[0058] Figure 4 This is a partial flow chart of Example 1 of the present application;

[0059] Figure 5-Figure 9 They are respectively another exemplary diagram of the embodiment of the present application;

[0060] Fig.10 This is another partial flow chart of Embodiment 1 of the present application;

[0061] Fig.11 A schematic diagram of the structure of an electronic device provided in Embodiment 2 of the present application;

[0062] Fig.12 and Fig.13 They are respectively another exemplary diagram of the embodiment of the present application;

[0063] Fig.14 and Fig.15 They are respectively another structural schematic diagram of the second embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0065] refer to Figure 1 , is a flow chart of a method for controlling an electronic device provided in the first embodiment of the present application, which is applicable to controlling an electronic device with a display screen to prevent accidental touch operations. The electronic device in this embodiment can be a device with a display screen and a body that can move relative to the display screen, such as a sliding cover mobile phone, a sliding cover game console or a player. Among them, the display screen can move relative to the body and can move to at least two restricted positions, such as Figure 2 The first limit position and the second limit position in the embodiment are as follows: the first limit position is: the display screen moves downward relative to the body, highlighting the position above the body, that is, the display screen is separated from the body, and the second limit position is: the display screen moves upward relative to the body, covering the position above the body, so that the display screen overlaps and closes with the body. The first limit position and the second display position can be switched based on the movement of the display screen relative to the body, such as Figure 3 As shown in , the display screen moves away from the main body, that is, moves downward and reaches a certain distance, entering the first restricted position; the display screen moves toward the main body, that is, moves upward and the display screen overlaps with the main body, entering the second restricted position.

[0066] In this embodiment, the method may include the following steps:

[0067] Step 101: Obtain a trigger signal.

[0068] Among them, the trigger signal can be a representation that the electronic device does not need to respond to the touch input performed by the user. For example, the user carries the electronic device in his hand while running or carries it on his arm with a strap. At this time, the user does not actually perform any touch operation on the electronic device; or the user carries the electronic device in his pocket. At this time, the user does not actually perform any touch input operation on the electronic device, etc. In this embodiment, the trigger signals caused by the above events are obtained.

[0069] Step 102: In response to the trigger signal, control the display screen of the electronic device to lock the touch sensing of the display screen so that the display screen does not respond to the acquired touch input.

[0070] In this embodiment, the display screen locks the touch sensing, which can be understood as: the display screen turns off the response function to the touch input, without affecting the display screen's function of displaying the content. For example, under the trigger signal, the display screen no longer responds to the touch input, but can still display notifications of new messages, can still display prompts for incoming calls, and so on.

[0071] Step 103: Obtain a detection signal.

[0072] The detection signal is used to indicate that the display screen of the electronic device moves to one of at least two limit positions relative to the body of the electronic device, such as Figure 2 The location shown in .

[0073] Step 104: Unlock the touch sensing of the display screen based on the detection signal.

[0074] Among them, unlocking the touch sensing of the display screen can be understood as: no longer locking the touch sensing of the display screen, so that the display screen can respond to the obtained touch input.

[0075] It should be noted that locking and unlocking the touch-sensitive display screen does not affect other functions of the display screen, such as screen display, caller ID, etc.

[0076] That is to say, in this embodiment, when the display screen of the electronic device is in a locked state and cannot respond to touch input, the touch sensing of the display screen can be unlocked by operating the relative movement between the display screen and the body and moving the display screen relative to the body to a corresponding restricted position.

[0077] It can be seen from the above scheme that a method for controlling an electronic device provided in the first embodiment of the present application, under a trigger signal, controls the display screen of the electronic device to lock the touch sensing of the display screen so that the display screen does not respond to the acquired touch input, and under a detection signal, that is, when the display screen of the electronic device moves to one of at least two restricted positions relative to the body of the electronic device, the touch sensing of the display screen is unlocked based on the detection signal so that the display screen responds to the acquired touch input. It can be seen that in this embodiment, the touch sensing of the display screen is locked by acquiring the trigger signal to avoid the occurrence of accidental touches, and when the display screen of the electronic device moves to one of at least two restricted positions relative to the body of the electronic device, the touch sensing of the display screen is unlocked so that the display screen responds to the touch input normally. Therefore, in the present application, the normal use of the electronic device is guaranteed while avoiding accidental touches, thereby significantly improving the user experience of the electronic device.

[0078] In one implementation, the present embodiment may obtain a trigger signal in the following manner: Figure 4 As shown in:

[0079] Step 401: obtaining touch input through a touch sensing component of a display screen.

[0080] The touch sensing component may be a component on the display screen that can receive a user's touch input, such as a touch panel, etc., or an inductive liquid crystal device that can receive input signals such as a contact or user's skin contact. The touch sensing component and the display panel of the display screen may be integrated or pressed together, such as Figure 5 As shown in , thus, the display screen has the function of receiving touch input through the touch sensing component while having the display function.

[0081] It should be noted that the touch input obtained by the touch sensing component in this embodiment may be a touch input generated by a thermally sensitive object touching the display screen, such as a touch input generated by a user operating body such as a thumb touching the display screen, such as a touch input generated by a thermally sensitive object touching the display screen. Figure 6 As shown in ; or as the touch input generated by the user's thigh skin contacting the display screen when the electronic device is in the bottom pocket, such as Figure 7 as shown in .

[0082] Step 402: If the touch input satisfies a preset touch condition and the first detection signal is not obtained within a first time period, a trigger signal is generated.

[0083] The first detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a first limit position among at least two limit positions, such as Figure 2 The first limit position shown in . The first duration can be understood as: the duration from the moment when the touch input meets the touch condition, such as Figure 8 When the first detection signal indicating that the display screen moves to the first limit position relative to the body is not obtained within the first time period, a trigger signal is generated.

[0084] It should be noted that the touch condition may be: the area of ​​the touch region in the touch input is greater than or equal to the area threshold, for example, the area of ​​the touch region on the display screen by the user's thumb is greater than the area threshold, such as Figure 6 As shown in , it is obviously different from the touch area of ​​the thumb for sliding or clicking on the display screen; or, for example, the electronic device is in the bottom pocket, and the touch area of ​​the user's thigh on the display screen is greater than the area threshold, such as Figure 7 In this case, it can be determined that the touch input satisfies the touch condition, that is, the touch input indicates that the current touch input is not an input operation such as sliding or clicking the display screen by the user operating body.

[0085] Among them, the first duration can be pre-set, and the specific value can be realized based on the user's historical operation data. For example, the time spent by the user in pushing the display screen to move from the second limit position to the first limit position relative to the body is 1 second, 1.5 seconds, 0.7 seconds, etc. In this embodiment, the first duration can be set to 1.5 seconds. Therefore, when the touch input meets the touch condition and the first detection signal is not obtained within the first duration, it can be determined that the user's current operation on the electronic device is not an input operation such as the user's operating body sliding or clicking on the display screen, and further, within the first duration, the user is not received to push the display screen relative to the body to move to the first limit position. In this case, it can be determined that: the display screen and the body are in a closed state and there is no need to respond to the user's touch input. Therefore, in this embodiment, the trigger signal is responded to to control the display screen of the electronic device to lock the touch sensing function so that the display screen does not respond to the obtained touch input, thereby avoiding the situation where erroneous operation occurs due to responding to the touch input, thereby improving the user's experience of using the electronic device.

[0086] Based on the above implementation, in this embodiment, when obtaining the detection signal, it can be specifically achieved by obtaining a first detection signal, and the first detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to the first limit position of at least two limit positions, such as Figure 2 It can be seen that the first detection signal is a signal for detecting that the display screen of the electronic device is separated from the body of the electronic device and separated to the first limit position.

[0087] Therefore, in this embodiment, after the touch sensing of the display screen of the electronic device is locked under the trigger signal, when the first detection signal is obtained, it can be represented that the user separates the display screen from the body and performs the next operation, such as unlocking the display screen, answering the phone, etc., at which time the touch sensing of the display screen of the electronic device is unlocked.

[0088] It should be noted that the above unlocking the display screen refers to unlocking the screen lock of the display screen, which is to unlock the lock screen interface of the display screen, which is different from unlocking the touch sensing of the display screen.

[0089] For example, if the touch area of ​​the display screen of a mobile phone is greater than the area threshold in the touch input received, it indicates that the user may touch the display screen with the thumb of the mobile phone and perform certain sliding operations, such as the user holding the mobile phone in motion; or it indicates that the mobile phone may be placed in a shirt pocket and the display screen is close to the user's abdominal skin, resulting in the user's skin contact to generate a touch input with a touch area greater than the area threshold. In this embodiment, it is monitored whether a signal is received within a first time period that the display screen is separated from the body and moved to a first restricted position, that is, a first detection signal that the display screen is cut relative to the body: if the first detection signal is received within the first time period, it indicates that the user is using the thumb to push the display screen to move to the first restricted position relative to the body. At this time, the screen lock interface of the display screen is unlocked so that the display screen can respond to the touch input obtained subsequently; and if the first detection signal is not received within the first time period, it indicates that the display screen of the mobile phone is closed with the body, and the mobile phone is placed in the pocket and the false touch caused by skin contact occurs. At this time, in order to prevent false operation, the touch sensing of the display screen is locked in this embodiment so that the display screen does not respond to the obtained touch input.

[0090] Afterwards, when the display screen of the mobile phone is in touch-sensing lock, the display screen is in the second restricted position relative to the body. At this time, components on the body such as the earpiece and camera are in a blocked state. At this time, if a first detection signal that the display screen is scratched relative to the body is obtained, it can indicate that the user separates the display screen from the body and performs the next operation, such as the user pushes the display screen to scratch to unlock the display screen to view application data or the user pushes the display screen to scratch and answer the call, etc. At this time, the touch sensing of the mobile phone's display screen is unlocked so that the display screen can respond to the touch input obtained subsequently.

[0091] In another implementation, in this embodiment, when obtaining the first detection signal, it can be specifically implemented in the following manner:

[0092] First, a sensing parameter for characterizing ambient light is obtained through a first sensor on the body of the electronic device, wherein the first sensor is located inside the body of the electronic device, such as Fig. 9 As shown in , and the first sensor has a corresponding window on the body, if the display screen of the electronic device is in a first restricted position relative to the body, such as Figure 2 In the first restricted position in the embodiment, the window is completely exposed. Thus, the exposed window facilitates the first sensor to collect ambient light to obtain sensing parameters characterizing the ambient light, such as light intensity, light brightness or light color.

[0093] Afterwards, if the sensing parameter satisfies the first light condition, a first detection signal is generated. The first light condition may be a condition where the light intensity is higher than a first threshold value, and the first threshold value may be set based on the ambient light intensity. In this embodiment, if the sensing parameter obtained by the first sensor is monitored to satisfy the first light condition, then it can be determined that the window corresponding to the first sensor is definitely exposed, and at this time it can be determined that the display screen is in the first restricted position relative to the body, and then the first detection signal is generated at this time, which can indicate that the user separates the display screen from the body and performs the next operation, such as unlocking the display screen, answering a call, etc. At this time, the touch sensing of the display screen of the electronic device is unlocked.

[0094] In one implementation, the present embodiment may also obtain a trigger signal in the following manner: Fig.10 As shown in:

[0095] Step 1001: Obtain sensing parameters for characterizing ambient light through a first sensor in a body of an electronic device.

[0096] The first sensor is located inside the body of the electronic device, such as Fig. 9 As shown in , and the first sensor has a corresponding window on the body, if the display screen of the electronic device is in a first restricted position relative to the body, such as Figure 2 In the first restricted position in the embodiment, the window is completely exposed. Thus, the exposed window facilitates the first sensor to collect ambient light to obtain sensing parameters characterizing the ambient light, such as light intensity, light brightness or light color.

[0097] Step 1002: If the sensing parameter meets the second light condition, a trigger signal is generated.

[0098] Among them, the second light condition can be a condition where the light intensity is higher than the second threshold and lower than the first threshold, wherein the second threshold can be set according to the ambient light intensity. In this embodiment, if the sensing parameters obtained by the first sensor are monitored to meet the second light condition, then it can be determined that the window corresponding to the first sensor is exposed and not blocked by the display screen, but the window of the first sensor is still blocked by other objects, such as pockets and other clothes. At this time, it can be determined that the display screen is in the first restricted position relative to the body but is not in use by the user. Then, a trigger signal is generated at this time, and the touch sensing of the display screen is locked under the trigger signal, so that the display screen does not respond to touch input. Furthermore, in this embodiment, the screen interface of the display screen can also be locked under the trigger signal, and the display screen is off at this time.

[0099] Based on the above implementation, in this embodiment, when obtaining the detection signal, it can be specifically achieved by obtaining a second detection signal, and the second detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to the second limit position of at least two limit positions, such as Figure 2 It can be seen that the second detection signal is a signal for detecting that the display screen of the electronic device and the body of the electronic device are closed to the second limit position.

[0100] Therefore, in this embodiment, after the touch sensing of the display screen of the electronic device is locked under the trigger signal, when the second detection signal is obtained, it can be represented that the user closes the display screen and the body and performs the next operation, such as starting a game or selecting music to play, and the touch sensing of the display screen of the electronic device is unlocked at this time.

[0101] For example, when the sensing parameters of the ambient light collected by the first sensor set in the main body of the mobile phone meet the second light condition, such as the light intensity is lower than the second threshold, it indicates that the display screen of the mobile phone is separated from the main body and is in a relatively closed position, such as in a clothing pocket. At this time, in order to prevent the user's fingers from accidentally touching the mobile phone display screen in the pocket, the touch sensing of the display screen is locked in this embodiment so that the display screen does not respond to the touch input obtained.

[0102] Afterwards, when the display screen of the mobile phone is in touch-sensing lock, the display screen is in the first restricted position relative to the body. At this time, components on the body, such as the earpiece and camera, are in an unobstructed state. At this time, if a second detection signal that the display screen is closed relative to the body is obtained, it can represent that the user closes the display screen and the body and performs the next operation. For example, the user pushes the display screen to close to start a game or select music to play. At this time, the touch sensing of the mobile phone's display screen is unlocked so that the display screen can respond to the subsequent touch input.

[0103] In another implementation, in this embodiment, when obtaining the second detection signal, it can be specifically implemented in the following manner:

[0104] The sensing parameters for characterizing the ambient light are obtained through the first sensor on the body of the electronic device, and if the sensing parameters meet the first light condition, a second detection signal is generated. The first light condition may be a condition where the light intensity is higher than a first threshold value. In this embodiment, if it is monitored that the sensing parameters obtained by the first sensor meet the first light condition, it can be determined that the window corresponding to the first sensor is definitely exposed and not blocked, and at this time it can be determined that the display screen is in the first restricted position relative to the body, and then the second detection signal is generated, and the touch sensing of the display screen of the electronic device is unlocked.

[0105] For example, when the sensing parameters of the ambient light collected by the first sensor set in the main body of the mobile phone meet the second light condition, such as the light intensity is lower than the second threshold, it indicates that the display screen of the mobile phone is separated from the main body and is in a relatively closed position, such as in a clothing pocket. At this time, in order to prevent the user's fingers from accidentally touching the mobile phone display screen in the pocket, the touch sensing of the display screen is locked in this embodiment so that the display screen does not respond to the touch input obtained.

[0106] Afterwards, when the display screen of the mobile phone is in touch sensing lock, the display screen is in the first restricted position relative to the main body. At this time, components on the main body such as the earpiece and camera are in an unobstructed state. At this time, if a second detection signal is obtained that the sensing parameters of the ambient light meet the first light condition, it can be represented that the user takes the mobile phone out of the pocket of clothing and performs the next operation. At this time, the touch sensing of the display screen of the mobile phone is unlocked so that the display screen can respond to the touch input obtained subsequently, such as unlocking the display screen, answering the phone and other operations.

[0107] refer to Fig.11 , is a structural schematic diagram of an electronic device provided in Embodiment 2 of the present application, wherein the electronic device may be a device having a display screen and a main body that can move relative to the display screen, such as a sliding mobile phone, a sliding game console or a player, etc.

[0108] Specifically, the electronic device in this embodiment may include the following structure:

[0109] Display screen 1101;

[0110] The main body 1102 and the display screen 1101 can move relative to the main body 1102, and the display screen 1101 has at least two specific restricted positions relative to the main body 1102, such as Fig.12 The first limit position, at this time, the display screen 1101 and the body 1102 are in a separated state; Fig.13 The display screen 1101 and the main body 1102 are in a closed state.

[0111] The processor 1103 is used to obtain a trigger signal, and in response to the trigger signal, control the display screen 1101 to lock the touch sensing of the display screen 1101, so that the display screen 1101 does not respond to the obtained touch input.

[0112] Among them, the trigger signal can be a representation that the electronic device does not need to respond to the touch input performed by the user, for example, the user carries the electronic device in his hand while running or uses a fixed belt to carry it on his arm. At this time, the user does not actually touch the electronic device; or the user carries the electronic device in his pocket. At this time, the user will not actually touch the electronic device, and so on. In this embodiment, the trigger signal caused by the above events is obtained. The processor 1103 locks the touch sensing of the display screen 1101, which can be understood as: the display screen 1101 turns off the response function to the touch input, and does not affect the display screen 1101 The function of displaying content. For example, under the trigger signal, the display screen 1101 no longer responds to the touch input, but can still notify and display new messages, and can still prompt incoming calls, and so on.

[0113] In addition, the processor 1103 is also used to obtain a detection signal; wherein the detection signal is used to represent that the display screen 1101 of the electronic device moves relative to the body 1102 to one of at least two restricted positions; based on the detection signal, the touch sensing of the display screen 1101 is unlocked.

[0114] The detection signal is used to indicate that the display screen 1101 of the electronic device moves to one of the at least two limit positions relative to the body 1102 of the electronic device, such as Fig.12 or Fig.13 The processor 1103 unlocking the touch sensing of the display screen 1101 can be understood as: no longer locking the touch sensing of the display screen 1101, so that the display screen 1101 can respond to the obtained touch input.

[0115] It should be noted that the touch-sensitive locking and unlocking of the display screen 1101 does not affect other functions of the display screen 1101, such as screen display, caller ID, etc.

[0116] That is to say, in this embodiment, when the display screen 1101 of the electronic device is in a locked state and cannot respond to touch input, the touch sensing of the display screen 1101 can be unlocked by operating the relative movement between the display screen 1101 and the main body 1102 and moving the display screen 1101 relative to the main body 1102 to a corresponding restricted position.

[0117] It can be seen from the above scheme that an electronic device provided in the second embodiment of the present application, under a trigger signal, controls the display screen of the electronic device to lock the touch sensing of the display screen so that the display screen does not respond to the acquired touch input, and under a detection signal, that is, when the display screen of the electronic device moves to one of at least two restricted positions relative to the body of the electronic device, the touch sensing of the display screen is unlocked based on the detection signal so that the display screen responds to the acquired touch input. It can be seen that in this embodiment, the touch sensing of the display screen is locked by acquiring the trigger signal to avoid the occurrence of accidental touches, and when the display screen of the electronic device moves to one of at least two restricted positions relative to the body of the electronic device, the touch sensing of the display screen is unlocked so that the display screen responds to the touch input normally. Therefore, in the present application, the normal use of the electronic device is guaranteed while avoiding accidental touches, thereby significantly improving the user experience of the electronic device.

[0118] In one implementation, Fig.14 As shown in , the electronic device may also include: a touch sensing component 1104, such as a touch panel, etc., which is arranged on the display screen 1101;

[0119] Correspondingly, the processor 1103 is specifically used to: obtain touch input through the touch sensing component 1104; if the touch input meets the preset touch conditions, such as the area of ​​the touch area is greater than the area threshold and the first detection signal representing that the display screen 1101 moves to the first restricted position of at least two restricted positions relative to the main body 1102 is not obtained within the first time period, such as the mobile phone is placed in the pocket and the fingers, legs or abdominal skin touch the display screen 1101 but the user does not actually perform a touch input operation on the display screen 1101, that is, a finger sliding operation and accidental touching of the pocket skin, a trigger signal is generated at this time to lock the touch sensing of the display screen 1101.

[0120] Correspondingly, the processor 1103 can unlock the touch sensing of the display screen 1101 by obtaining a first detection signal, wherein the first detection signal is used to characterize that the display screen 1101 of the electronic device moves relative to the body 1102 of the electronic device to a first restricted position among at least two restricted positions, such as when a user pushes the display screen 1101 to separate from the body 1102, a first detection signal is generated at this time, and then the touch sensing of the display screen 1101 is unlocked under the first detection signal.

[0121] Alternatively, the processor 1103 can obtain sensing parameters characterizing ambient light at the window position in the main body 1102 of the electronic device. If the display screen 1101 of the electronic device is in the first restricted position of at least two restricted positions relative to the main body 1102, the window is exposed. Thus, if the sensing parameters meet the first light condition, such as the light intensity is greater than the first threshold, it indicates that the user pushes the display screen 1101 to separate from the main body 1102 to expose the window. At this time, a first detection signal is generated, and the touch sensing of the display screen 1101 is unlocked under the first detection signal.

[0122] In another implementation, Fig.15 As shown in , the electronic device may also include: a first sensor 1105, located in the main body 1102, and the first sensor 1105 has a corresponding window 1106 on the main body 1102, if the display screen 1101 is in the first restricted position of at least two restricted positions relative to the main body 1102, the window 1106 is exposed.

[0123] Among them, the processor 1103 is specifically used to: obtain sensing parameters for characterizing ambient light through the first sensor 1105; if the sensing parameters meet the second light condition, such as the light intensity is lower than the first threshold but higher than the second threshold, it indicates that the electronic device display screen 1101 is separated from the main body 1102 but is covered by other objects such as clothing pockets. At this time, the user may not want to perform actual touch input operations, thereby generating a trigger signal to lock the touch sensing of the display screen 1101.

[0124] Correspondingly, the processor 1103 can unlock the touch sensing of the display screen 1101 by obtaining a second detection signal. At this time, the second detection signal is used to characterize that the display screen 1101 of the electronic device moves to the second restricted position of at least two restricted positions relative to the body 1102 of the electronic device. For example, if the user pushes the display screen 1101 and the body 1102 to close, it means that the user wants to use the electronic device. At this time, a second detection signal is generated, and the touch sensing of the display screen 1101 is unlocked under the second detection signal.

[0125] Alternatively, the processor 1103 can obtain sensing parameters for characterizing ambient light through the first sensor 1105 in the main body 1102 of the electronic device; if the sensing parameters meet the first light condition, such as the light intensity is higher than the first threshold, it indicates that the user takes the electronic device out of the pocket and wants to use the electronic device, while the display screen 1101 and the main body 1102 are still in a separated state, and a second detection signal is generated at this time, and then the touch sensing of the display screen 1101 is unlocked under the second detection signal to facilitate the user to perform touch input operations.

[0126] It can be seen that the mobile phone provided by the embodiment of the present application has a screen that can slide relative to the body, and determines whether it is in pocket mode by checking the large-area input and whether there is a sliding operation within a predetermined time through the touch area of ​​the display screen. If a large-area input is detected and there is no sliding operation within a predetermined time, then it is determined to be pocket mode. Thereby solving the problem that the ambient light sensor is blocked by the display screen (that is, the screen is in the second restricted position relative to the body, that is, the display screen is closed relative to the body) and the implementation cannot be determined by ambient light. In addition, the embodiment of the present application also discloses releasing the pocket mode by sliding the display screen itself, that is, releasing the disablement of touch sensing for the display screen.

[0127] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0128] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0129] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0130] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0131] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for controlling an electronic device, comprising: Get a trigger signal; In response to the trigger signal, controlling the display screen of the electronic device to lock the touch sensing of the display screen so that the display screen does not respond to the acquired touch input; Obtaining a detection signal; wherein the detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to one of at least two limit positions; Based on the detection signal, unlocking the touch sensing of the display screen; wherein locking and unlocking the touch sensing of the display screen does not affect the display function of the display screen; Get trigger signals, including: Obtaining a sensing parameter for characterizing ambient light through a first sensor in the body of the electronic device; wherein the first sensor is located in the body of the electronic device and the first sensor has a corresponding window on the body, and if the display screen of the electronic device is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed; If the sensing parameter meets the second light condition, generating the trigger signal; The detection signal is specifically used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to the second limit position of at least two limit positions.

2. The method according to claim 1, obtaining a detection signal, comprising: A second detection signal is obtained, where the second detection signal is used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to a second limit position among the at least two limit positions.

3. The method according to claim 1, wherein obtaining the detection signal comprises: Obtaining a sensing parameter for characterizing ambient light through a first sensor in a body of the electronic device; If the sensing parameter meets the first light condition, a second detection signal is generated.

4. An electronic device comprising: Display screen; A body, the display screen can move relative to the body, and the display screen has at least two restricted positions relative to the body; a processor, configured to obtain a trigger signal, and in response to the trigger signal, control the display screen to lock the touch sensing of the display screen, so that the display screen does not respond to the obtained touch input; The processor is further configured to obtain a detection signal; wherein the detection signal is used to indicate that the display screen of the electronic device moves relative to the body to one of at least two restricted positions; based on the detection signal, unlock the touch sensing of the display screen; wherein locking and unlocking the touch sensing of the display screen does not affect the display function of the display screen; Also includes: A first sensor is located in the body, and the first sensor has a corresponding window on the body, and if the display screen is in a first restricted position of the at least two restricted positions relative to the body, the window is exposed; The processor is specifically used to: obtain, through the first sensor, a sensing parameter for characterizing ambient light; and generate the trigger signal if the sensing parameter meets the light condition; The detection signal is specifically used to indicate that the display screen of the electronic device moves relative to the body of the electronic device to the second limit position of at least two limit positions.

Citation Information

Patent Citations

  • A method for locking a mobile phone keypad and a mobile phone

    CN102187646A

  • A mobile terminal and a method for controlling the interface of the mobile terminal.

    CN102299991A

  • Frameless ultrathin slide phone

    CN104994190A

  • Unintended activation proof mode canceling method, device, storage medium and mobile terminal

    CN108132751A

  • Handset

    CN201123011Y