Equipment control method and electronic equipment

By responding to touch operations and adjusting the size parameters of the display device, the existing equipment control methods have solved the problems of poor intuitiveness and complex operation, and achieved a more intuitive and simple user interaction experience.

CN119987571APending Publication Date: 2025-05-13LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411999695.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Existing device control methods lead to poor user interaction intuitiveness and high operational complexity through physical keys or complex screen control interfaces.

Method used

In response to touch operations, touch information is obtained and the size parameters of the target display device are adjusted to realize intuitive device control. The method includes identifying touch displacement, movement direction and movement speed to control the telescopicity and display content of the display device.

Benefits of technology

It improves the intuitiveness of user interaction and simplicity of operation, reduces the complexity of user operations, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987571A_ABST
    Figure CN119987571A_ABST
Patent Text Reader

Abstract

The invention provides an equipment control method and electronic equipment. The method comprises the following steps: in response to a received touch operation for a touch device in the electronic equipment, obtaining touch information on the touch device; the electronic equipment comprises at least one touch device and at least one display device. Based on the touch information, determining a corresponding target display device, and adjusting a size parameter of the target display device between a first size parameter and a second size parameter; under the condition that the target display device is the first size parameter, at least part of the target display device can be stored in the first space; under the condition that the target display device is the second size parameter, the target display device can extend out of the first space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a device control method and an electronic device. Background Art

[0002] The current device control method is to control the display device of the electronic device through physical buttons, or to control the display device through options in the screen control interface of the system. Therefore, the current device control method is controlled through physical buttons, and the intuitiveness of interaction with the user is not high. And the current device control method is controlled through options in the screen control interface, which is relatively complicated, resulting in a poor user experience when controlling the device. Summary of the invention

[0003] The embodiments of the present application provide a device control method and an electronic device.

[0004] According to a first aspect of the present application, a device control method is provided, the method comprising: in response to receiving a touch operation on a touch device in an electronic device, obtaining touch information on the touch device; the electronic device comprises at least one touch device and at least one display device;

[0005] Based on the touch information, a corresponding target display device is determined, and a size parameter of the target display device is adjusted between a first size parameter and a second size parameter; when the target display device is of the first size parameter, at least a portion of the target display device can be accommodated in the first space; when the target display device is of the second size parameter, the target display device can extend from the first space.

[0006] According to an embodiment of the present application, the touch control device and the display device are located in the same body of the electronic device;

[0007] Alternatively, the touch device and the display device are located in different bodies of the electronic device;

[0008] The touch control device is any one of a touch control device including a display screen or a touch control panel.

[0009] According to an embodiment of the present application, the adjusting the size parameter of the target display device between the first size parameter and the second size parameter includes:

[0010] Determining a touch displacement based on touch information corresponding to the touch operation; the touch displacement represents a displacement amount of the touch operation on the touch device per unit time;

[0011] In response to the touch displacement satisfying a set displacement condition, a size parameter of the target display device is controlled to be adjusted between a first size parameter and a second size parameter.

[0012] According to an embodiment of the present application, the adjusting the size parameter of the target display device between the first size parameter and the second size parameter includes:

[0013] Based on the touch information, determining a moving direction of the touch operation corresponding to the touch information;

[0014] In response to the moving direction satisfying a set first direction condition, controlling the size parameter of the target display device to be adjusted from the first size parameter to the second size parameter;

[0015] In response to the moving direction satisfying a set second direction condition, the size parameter of the target display device is controlled to be adjusted from the second size parameter to the first size parameter; the first direction condition is different from the second direction condition.

[0016] According to an embodiment of the present application, the adjusting the size parameter of the target display device between the first size parameter and the second size parameter includes:

[0017] Based on the touch information, determining a moving speed of the touch operation corresponding to the touch information;

[0018] Based on the moving speed, determining an adjustment speed for adjusting a size parameter of the target display device between a first size parameter and a second size parameter;

[0019] Based on the determined adjustment speed, the size parameters of the target display device are adjusted.

[0020] According to one embodiment of the present application, the method further includes:

[0021] Obtaining the touch response mode currently in which the electronic device is located;

[0022] If the touch response mode is the first response mode, determining the corresponding target display device, and adjusting the size parameter of the target display device between the first size parameter and the second size parameter, wherein the first response mode is to control the size of the display device to change;

[0023] If the touch response mode is the second response mode, a corresponding target display device is determined, and the display content of the target display device is controlled. The second response mode is to control the display content of the display device.

[0024] According to one embodiment of the present application, the method further includes:

[0025] Receiving sensor data sent by a sensor of the electronic device;

[0026] Performing data analysis on the sensor data to obtain control instructions corresponding to the sensor data;

[0027] Based on the control instruction, a size parameter of the target display device is adjusted between a first size parameter and a second size parameter.

[0028] According to an embodiment of the present application, the method further includes:

[0029] Based on the touch information, determining a response area corresponding to the touch operation on the target display device;

[0030] Obtaining a pressure parameter corresponding to the touch operation;

[0031] Determining a touch gesture corresponding to the touch operation based on the response area and the pressure parameter;

[0032] In response to the touch gesture matching a set first type of reference gesture, a size parameter of the target display device is controlled to be adjusted between a first size parameter and a second size parameter.

[0033] According to an embodiment of the present application, the method further includes:

[0034] Based on the set gesture recognition parameters, performing touch gesture recognition on the touch information to obtain a touch gesture corresponding to the touch operation;

[0035] In response to the touch gesture matching a set second type of reference gesture, controlling the target display device to switch between a first display state and a second display state;

[0036] In the first display state, the backlight module of the display device is in an off state and the touch device corresponding to the display device is in a touch wake-up mode; in the second display state, the backlight module of the display device is in an on state and the touch device corresponding to the display device is in a touch response mode.

[0037] According to a second aspect of the present application, there is provided an electronic device, comprising: a touch control device, configured to receive a touch control operation and generate corresponding touch control information;

[0038] A display device, wherein a size parameter of the display device can be adjusted between a first size parameter and a second size parameter;

[0039] A controller is used to obtain touch information on the touch device; based on the touch information, determine the corresponding target display device, and adjust the size parameter of the target display device between the first size parameter and the second size parameter; when the target display device is of the first size parameter, at least part of the target display device can be stored in the first space; when the target display device is of the second size parameter, the target display device can extend from the first space. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become readily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:

[0041] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0042] Figure 1 The processing flow diagram of the device control method provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0043] Figure 2 The processing flow diagram of the device control method provided in the embodiment of the present application is shown in FIG. Figure 2 ;

[0044] Figure 3 The processing flow diagram of the device control method provided in the embodiment of the present application is shown in FIG. Figure 3 ;

[0045] Figure 4 The processing flow diagram of the device control method provided in the embodiment of the present application is shown in FIG. Figure 4 ;

[0046] Figure 5 The processing flow diagram of the device control method provided in the embodiment of the present application is shown in FIG. Figure 5 ;

[0047] Figure 6 The application scenario of the device control method provided in the embodiment of the present application is shown Figure 1 ;

[0048] Figure 7 The application scenario of the device control method provided in the embodiment of the present application is shown Figure 2 ;

[0049] Figure 8 An optional schematic diagram of an electronic device provided in an embodiment of the present application is shown;

[0050] Fig. 9The schematic diagram of the structure of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0051] Fig.10 The schematic diagram of the structure of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 2 . DETAILED DESCRIPTION

[0052] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions 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 only 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 those skilled in the art without creative work are within the scope of protection of the present application.

[0053] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0054] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0056] The processing flow in the device control method provided in the embodiment of the present application is described. Figure 1 , Figure 1 This is a schematic diagram of the processing flow of the device control method provided in the embodiment of the present application. Figure 1 , will combine Figure 1 Steps S101-S102 are shown for explanation.

[0057] Step S101, in response to receiving a touch operation on a touch device in an electronic device, obtaining touch information on the touch device; the electronic device includes at least one touch device and at least one display device.

[0058] In some embodiments, the touch device may include: a component on an electronic device for receiving a user's touch input. The specific touch device may include: a touch screen and a touch pad. The embodiments of the present application do not limit the specific touch device. The display device may include: a component on an electronic device for displaying images and information. The touch information may include: data generated when an operation is performed by the touch device. The touch information may specifically include: the position of the touch operation and the pressure of the touch operation.

[0059] As an example, the electronic device may be an electronic device such as a laptop computer, a mobile phone, a tablet computer, and a roll-up screen TV. The electronic device may also include other electronic devices, which are not limited in the embodiments of the present application. The touch device may be located on the same body of the electronic device as the display device, the touch device covers the display device, or the touch device is located on one side of the display device. The touch device and the display device may be located on different bodies of the electronic device, the touch device is a touch device including a display screen, or the touch device is a touchpad.

[0060] Step S102, based on the touch information, determine the corresponding target display device, and adjust the size parameter of the target display device between the first size parameter and the second size parameter; when the target display device is of the first size parameter, at least part of the target display device can be stored in the first space; when the target display device is of the second size parameter, the target display device can extend from the first space.

[0061] In some embodiments, the target display device may be one of a plurality of display devices in an electronic device. The target display device may be a flexible screen. The target display device may also be a retractable screen. Adjusting the size parameter of the target display device between the first size parameter and the second size parameter may include: controlling the target display device to switch between a first state and a second state, wherein in the first state, the size parameter of the target display device is the first size parameter; and in the second state, the size parameter of the target display device is the second size parameter. The switching speed of the target display device switching between the first state and the second state may be controlled based on the touch information. Adjusting the size parameter of the target display device between the first size parameter and the second size parameter may also include: controlling the size parameter of the target display device to be any size parameter between the first size parameter and the second size parameter. The size parameter of the target display screen may be related to the touch displacement corresponding to the touch information.

[0062] The method of the embodiment of the present application adjusts the size parameters of the display device in response to the user's touch operation, providing an intuitive interactive method, where the user can immediately see the device changes corresponding to the touch operation, thereby enhancing the intuitive feedback of the touch operation. There is no need to control the device through multi-level menus or complex key combinations, which simplifies the operation process, reduces the complexity of user operations, and improves the user experience.

[0063] In some embodiments, the processing flow of the device control method is shown as follows: Figure 2 ,like Figure 2 As shown, in step S102, adjusting the size parameter of the target display device between the first size parameter and the second size parameter may specifically include:

[0064] Step S201: determining a touch displacement based on touch information corresponding to the touch operation.

[0065] Step S202 , in response to the touch displacement satisfying a set displacement condition, controlling a size parameter of the target display device to be adjusted between a first size parameter and a second size parameter.

[0066] In this embodiment, the touch operation may include: touching, sliding and pressing the touch device. The embodiments of the present application do not limit the specific touch operations. The touch displacement may include the displacement of the touch point on the touch device per unit time. The first size parameter may include: the size parameter of the target display device in the retracted state. The second size parameter may include: the size parameter of the target display device in the fully extended state. When the touch displacement reaches a preset threshold, it is determined that the touch displacement meets the set displacement condition. The embodiments of the present application do not limit the specific threshold.

[0067] As an example, the touch device and the display device are located in the same body of the electronic device, and the touch device is a touch device including a display screen. When the user uses the electronic device, the user performs a sliding operation through the touch device covered on the display device, and the electronic device can detect the displacement of the touch point on the touch device per unit time, that is, the touch displacement. When the touch displacement reaches a preset threshold, the electronic device can determine that the touch displacement meets the set displacement condition. The electronic device controls the size parameter of the target display device to switch from the first size parameter to the second size parameter, or to switch from the second size parameter back to the first size parameter, and controls the size parameter of the target display device to be at the second size parameter, or at the first size parameter.

[0068] As an example, the touch device and the display device are located in different bodies of the electronic device, and the touch device is a touch pad. The user performs a touch operation on the touch device, and the electronic device determines the displacement of the touch point on the touch device per unit time, that is, the touch displacement. The touch displacement is associated with the size parameter of the target display device that the user wants to adjust. The electronic device controls the size parameter of the target display device to change within the range of the first size parameter and the second size parameter according to the touch displacement.

[0069] The method of the embodiment of the present application adjusts the size parameters of the display device by touch displacement, and can intuitively display the size parameter changes of the display device corresponding to the sliding operation, thereby enhancing the intuitive feedback of the touch operation. Through simple sliding operations, there is no need to remember complex commands or key combinations, which greatly reduces the complexity of device control. There is no need to control the device through multi-level menus or complex key combinations, which simplifies the operation process, reduces the complexity of user operations, and improves the user experience.

[0070] In some embodiments, the processing flow of the device control method is shown as follows: Figure 3 ,like Figure 3 As shown, in step S102, adjusting the size parameter of the target display device between the first size parameter and the second size parameter may specifically include:

[0071] Step S301: determining a moving direction of a touch operation corresponding to the touch information based on the touch information.

[0072] Step S302a: in response to the moving direction satisfying the set first direction condition, controlling the size parameter of the target display device to be adjusted from the first size parameter to the second size parameter.

[0073] Step S302b: in response to the moving direction satisfying the set second direction condition, controlling the size parameter of the target display device to be adjusted from the second size parameter to the first size parameter.

[0074] In this embodiment, the first direction condition is different from the second direction condition. For example, if the first direction condition is a leftward displacement, the second direction condition is a rightward displacement. If the first direction condition is an upward displacement, the second direction condition is a downward displacement. If the moving direction of the touch operation is the same as the first direction condition, it is determined that the moving direction satisfies the set first direction condition. If the moving direction of the touch operation is the same as the second direction condition, it is determined that the moving direction satisfies the set second direction condition.

[0075] As an example, the touch device and the display device are located in different bodies of the electronic device, and the touch device is a touch device including a display screen. The user performs a sliding operation through the touch device covered on the display device, and the electronic device can detect the displacement direction of the touch point on the touch device per unit time, that is, the moving direction of the touch operation. When the moving direction of the touch operation is the same as the first direction condition, the electronic device can determine that the moving direction satisfies the set first direction condition, and the electronic device controls the size parameter of the target display device to adjust from the first size parameter to the second size parameter; when the moving direction of the touch operation is the same as the second direction condition, the electronic device can determine that the moving direction satisfies the set second direction condition, and the electronic device controls the size parameter of the target display device to adjust from the second size parameter to the first size parameter.

[0076] The method of the embodiment of the present application adjusts the size parameters of the display screen by identifying the moving direction of the touch operation, and can intuitively control the expansion and contraction of the display device by sliding in different directions, thereby enhancing the intuitiveness of the touch operation. There is no need to control the device through multi-level menus or complex key combinations, which simplifies the operation process, reduces the complexity of user operations, and improves the user experience.

[0077] In some embodiments, the processing flow of the device control method is shown as follows: Figure 4 ,like Figure 4 As shown, in step S102, adjusting the size parameter of the target display device between the first size parameter and the second size parameter may specifically include:

[0078] Step S401: determining a moving speed of a touch operation corresponding to the touch information based on the touch information.

[0079] Step S402: determining an adjustment speed for adjusting a size parameter of a target display device between a first size parameter and a second size parameter based on the moving speed.

[0080] In this embodiment, a set moving speed threshold is obtained; in response to the moving speed being less than or equal to the moving speed threshold, a first mapping relationship between the moving speed and the first adjustment speed is established, and the adjustment speed of adjusting the size parameter of the target display device between the first size parameter and the second size parameter is determined based on the first mapping relationship. In response to the moving speed being greater than the moving speed threshold, a second mapping relationship between the moving speed and the second switching speed is established, and the adjustment speed of adjusting the size parameter of the target display device between the first size parameter and the second size parameter is determined based on the second mapping relationship. The first adjustment speed is less than the second adjustment speed. The embodiment of the present application does not limit the specific moving speed threshold, nor does it limit the specific adjustment speed.

[0081] Step S403: adjusting the size parameters of the target display device based on the determined adjustment speed.

[0082] As an example, the electronic device may control the size parameter of the target display device to switch from the first size parameter to the second size parameter at the determined adjustment speed, or switch from the second size parameter back to the first size parameter at the determined adjustment speed. The adjustment speed is the speed at which the first size parameter and the second size parameter are switched.

[0083] As an example, when a user performs a touch operation on a touch device, the electronic device determines the displacement of the touch point on the touch device per unit time, i.e., the touch displacement. At the same time, the moving speed of the touch operation corresponding to the touch information is determined. Based on the moving speed, the adjustment speed of adjusting the size parameter of the target display device between the first size parameter and the second size parameter is determined. According to the value of the touch displacement, the electronic device adjusts the size parameter of the target display device to any corresponding size parameter between the first size parameter and the second size parameter at the determined adjustment speed.

[0084] The method of the embodiment of the present application adjusts the extension and retraction speed of the display device by the moving speed of the touch operation, and can intuitively display the rapid extension and retraction of the display screen caused by rapid sliding, thereby enhancing the intuitiveness of the touch operation. Without the need for complex settings, the display device can be quickly adjusted by simply adjusting the sliding speed as needed, thus simplifying the operation process, reducing the complexity of user operations, and improving the user experience.

[0085] In some embodiments, the device control method may also include: obtaining the touch response mode that the electronic device is currently in; if the touch response mode is the first response mode, determining the corresponding target display device, and adjusting the size parameter of the target display device between the first size parameter and the second size parameter, and the first response mode is to control the size of the display device to change; if the touch response mode is the second response mode, determining the corresponding target display device, controlling the display content of the target display device, and the second response mode is to control the display content of the display device.

[0086] In some embodiments, in response to the touch information satisfying the response condition, the target display device is determined to be the first display device. In response to the touch information not satisfying the response condition, the target display device is determined to be the second display device. The first display device and the second display device may be different display devices. The response condition may include conditions such as the position, strength, duration, and specific gesture of the touch. The embodiments of the present application do not limit the specific response conditions.

[0087] As an example, Fig.10As shown in (b), the electronic device may be a laptop computer, the B side of the laptop computer includes a touch screen, and the C side of the laptop computer may include a touch pad. If the touch response mode currently in which the laptop computer is located is the first response mode, the touch information on the touch pad is received, the corresponding target display device is determined to be the touch screen on the B side, and the size parameter of the touch screen included in the B side is adjusted between the first size parameter and the second size parameter. If the touch response mode currently in which the laptop computer is located is the second response mode, the touch information on the touch pad is received, the corresponding target display device is determined to be the touch screen on the B side, the cursor in the touch screen on the B side is controlled, and the display content is adjusted.

[0088] As an example, the electronic device may be a rollable screen TV, which includes a rollable touch screen. If the touch response mode currently in which the rollable screen TV is located is the first response mode, touch information on the rollable touch screen is received, it is determined that the corresponding target display device is the rollable touch screen, and the size parameter of the rollable touch screen is adjusted between the first size parameter and the second size parameter. If the touch response mode currently in which the rollable screen TV is located is the second response mode, touch information on the rollable touch screen is received, it is determined that the corresponding target display device is the rollable touch screen, the cursor in the rollable touch screen is controlled, and the displayed content is adjusted.

[0089] As an example, the electronic device may be a laptop or a mobile phone, and a body of the electronic device includes a touch screen, and a touch pad is also provided on one side of the body located with the touch screen, and the touch pad may be located on the same side as the touch screen, or may be located on the back side of the touch screen. If the touch response mode currently in which the electronic device is located is the first response mode, the touch information on the touch pad is received, the corresponding target display device is determined to be the touch screen, and the size parameter of the touch screen is adjusted between the first size parameter and the second size parameter. If the touch response mode currently in which the electronic device is located is the second response mode, the touch information on the touch pad is received, the corresponding target display device is determined to be the touch screen, the cursor in the touch screen is controlled, and the display content is adjusted.

[0090] As an example, Fig.10As shown in (a), the electronic device may be a laptop computer, the B side of the laptop computer includes a touch screen, and the C side of the laptop computer includes a touch screen. If the touch response mode currently in which the laptop computer is in is the first response mode, the touch information on the touch screen of the C side is received, the corresponding target display device is determined to be the touch screen of the B side, and the size parameter of the touch screen included in the B side is adjusted between the first size parameter and the second size parameter. If the touch response mode currently in which the laptop computer is in is the second response mode, the touch information on the touch screen of the C side is received, the corresponding target display device is determined to be the touch screen of the C side, the cursor in the touch screen of the C side is controlled, and the display content is adjusted.

[0091] The response mode of the touch screen can be switched between the first response mode and the second response mode through system settings and gesture recognition; the specific system setting switching may include: setting two options of the first response mode and the second response mode in the system setting interface, and switching between the first response mode and the second response mode according to the options. Shortcut key operation. The specific gesture recognition switching may include: controlling the response mode according to a customized touch gesture, for example, setting two-finger sliding as the first response mode and setting three-finger sliding as the second response mode.

[0092] The response mode of the touchpad can be switched in a variety of ways, such as a physical switch, a shortcut key combination, and a software interface of a driver. Specific physical switch switching may include: a physical switch provided near the touchpad controls the touchpad to be in a first response mode or in a second response mode. Specific shortcut key combinations may include: for example, setting a shortcut key (Fn+F6) to control the touchpad to be in a first response mode; setting a shortcut key (Fn+F9) to control the touchpad to be in a second response mode. Specific driver software interface switching may include: setting two options, the first response mode and the second response mode, in the software interface of the driver, and switching between the first response mode and the second response mode according to the options.

[0093] In this embodiment, by switching the touch response mode, the user can intuitively select the size parameters or display content of the control display device according to the current operation requirements, thereby enhancing the intuitiveness of the operation. There is no need to perform complex settings, simplifying the operation process, reducing the complexity of user operations, and improving the user experience.

[0094] In some embodiments, the device control method may also include: receiving sensor data sent by a sensor of the electronic device; performing data analysis on the sensor data to obtain control instructions corresponding to the sensor data; and adjusting a size parameter of the target display device between a first size parameter and a second size parameter based on the control instructions.

[0095] In this embodiment, the sensor data may include: image sensor data, ultrasonic sensor data, and temperature sensor data. The sensor data may also include other sensor data, which is not limited in the embodiment of the present application. Data analysis may include: extracting features from the sensor data to obtain feature vectors, and determining corresponding control instructions based on the feature vectors.

[0096] As an example, image sensor data sent by an image sensor of an electronic device is received; features are extracted from the image sensor data to obtain a gesture feature vector; gesture recognition is performed on the gesture feature vector to obtain a corresponding control instruction; and based on the control instruction, a size parameter of a target display device is adjusted between a first size parameter and a second size parameter.

[0097] In this embodiment, the size parameters of the display device are automatically adjusted by analyzing the sensor data, which can intuitively display that the device automatically responds to environmental changes, thereby enhancing the intuitiveness of the operation. There is no need to perform complex settings, which simplifies the operation process, reduces the complexity of user operations, and improves the user experience.

[0098] In some embodiments, the device control method may also include: determining a response area corresponding to the touch operation on the target display device based on touch information; obtaining pressure parameters corresponding to the touch operation; determining a touch gesture corresponding to the touch operation based on the response area and the pressure parameters; in response to the touch gesture matching a set first type of reference gesture, controlling a size parameter of the target display device to be adjusted between a first size parameter and a second size parameter.

[0099] In this embodiment, the first type of reference gesture can be used to control the size of the display device to change. A touch operation is received in a target window of a target display device, and a response area of ​​the touch operation is determined according to touch information corresponding to the touch operation; a pressure parameter related to the touch operation is obtained through a pressure sensor; when the area size corresponding to the response area accounts for a proportion of the target display device that exceeds a set proportion and the pressure parameter meets the pressure condition, the electronic device recognizes the corresponding touch gesture; when the touch gesture matches the preset first type of reference gesture, the electronic device automatically adjusts the size parameter of the target display device, and controls the size parameter of the target display device to be adjusted between the first size parameter and the second size parameter.

[0100] In this embodiment, by identifying the response area and pressure parameters of the touch operation to adjust the size parameters of the display device, the screen can be intuitively controlled through different touch modes, which enhances the intuitiveness of the touch operation. There is no need to perform complex settings, which simplifies the operation process, reduces the complexity of user operations, and improves the user experience.

[0101] In some embodiments, the processing flow of the device control method is shown as follows: Figure 5 ,like Figure 5 As shown, the device control method may further include:

[0102] Step S501: performing touch gesture recognition on touch information based on set gesture recognition parameters to obtain a touch gesture corresponding to the touch operation.

[0103] Step S502 : in response to the touch gesture matching the set second type reference gesture, controlling the target display device to switch between a first display state and a second display state.

[0104] In this embodiment, the gesture recognition parameters may include: pre-set parameters for recognition in the gesture recognition system. The gesture recognition parameters may specifically include parameters such as the shape, size, motion trajectory, speed and pressure of the gesture. The embodiments of the present application do not limit the specific gesture recognition parameters. The second type of reference gesture can be used to control the display state of the display device. In the first display state, the backlight module of the display device is in the off state and the touch device corresponding to the display device is in the touch wake-up mode; in the second display state, the backlight module of the display device is in the on state and the touch device corresponding to the display device is in the touch response mode. In the touch wake-up mode, the touch device can detect the user's touch and wake up the electronic device from a low power consumption state, but will not respond to specific touch operations. In the touch response mode, the touch device can not only detect the user's touch, but also respond to these touch operations and execute corresponding commands or functions.

[0105] The method of the embodiment of the present application controls the display state of the display device through gesture recognition, and can intuitively turn on or off the display device through specific gestures, thereby enhancing the intuitiveness of touch operation. The display device can be controlled through simple gestures, which simplifies the operation process. Gesture control provides a natural interaction method and improves the user experience.

[0106] refer to Figure 6 , application scenarios of the device control method provided in the embodiment of the present application Figure 1 , applied to device control of scroll screen laptops.

[0107] The B side of the scroll screen laptop can be a scroll touch screen. The scroll screen laptop may include: Touch Panel A1, Service A2, AI Chip A3, and Motor A4. Touch Panel A1 is used to receive touch operations and generate raw touch data. Motor A4 is used to adjust the size parameter of the scroll touch screen between a first size parameter and a second size parameter; when the scroll touch screen is set to the first size parameter, at least part of the scroll touch screen can be stored in the first space; when the scroll touch screen is set to the second size parameter, the scroll touch screen can extend from the first space.

[0108] After receiving the original touch data of the scroll touch screen sent by Touch Panel A1, Service A2 calculates the change of the coordinate value in the original touch data. When it detects that the coordinate value in the original touch data changes within a unit time, it calculates the offset value of the coordinate (X, Y). Where X = X2-X1, Y = Y2-Y1, (X2, Y2) is the current coordinate, (X1, Y1) is the historical coordinate, and (X, Y) is the offset value of the coordinate within a unit time of 100ms. Service A2 recognizes the sliding gesture based on the offset value and obtains the speed and direction of the gesture movement on the scroll touch screen. Based on the speed of the gesture movement, the motor speed is determined. According to the motor speed and the direction of the gesture movement, the corresponding control instruction is determined. The control instruction is sent to AI Chip A3. AI Chip A3 drives Motor A4 to run at the corresponding motor speed according to the control instruction, so that the size parameter of the scroll touch screen is adjusted between the first size parameter and the second size parameter.

[0109] refer to Figure 7 , application scenarios of the device control method provided in the embodiment of the present application Figure 2 , applied to device control of dual-screen laptops.

[0110] The B side of the dual-screen laptop can be a touch screen, and the C side of the dual-screen laptop can also be a touch screen. The scroll screen laptop may include: YBS (control system) B1, Touch Panel (touch panel) B2, MCU (microcontroller unit) B3, EC (embedded controller) B4, and Backlight (backlight module) B5. Touch Panel B2 is used to receive touch operations and generate touch information. EC B4 is used to control the display state of the touch screen. In the first display state, the Backlight B5 of the touch screen is in an off state and the touch screen is in a touch wake-up mode; in the second display state, the Backlight B5 of the display device is in an on state and the touch screen is in a touch response mode. In the touch wake-up mode, the touch screen can detect the user's touch and wake up the electronic device from a low power consumption state, but will not respond to specific touch operations. In the touch response mode, the touch screen can not only detect the user's touch, but also respond to these touch operations and execute corresponding commands or functions.

[0111] When Touch Panel B2 receives a touch operation corresponding to Palm, Touch Panel B2 sends the palm touch data and five-finger touch data corresponding to the touch operation to MCU B3. MCU B3 generates a corresponding first control instruction based on the palm touch data and the five-finger touch data, and sends the first control instruction to EC B4. EC B4 turns off the backlight module of the touch screen where the touch operation is located based on the first control instruction, and at the same time MCU B3 turns on the Filter function of the touch screen. At this time, the touch screen is in the first display state.

[0112] When the touch screen is in the first display state and Touch Panel B2 receives a touch operation corresponding to knock knock, Touch Panel B2 sends the knock touch data corresponding to the touch operation to MCU B3, and in response to the knock touch data matching the set second type reference gesture, the touch operation is identified as a knock knock gesture. After MCU B3 detects the knock knock gesture, it sends a second control instruction to EC B4, and EC B4 turns on the backlight module of the touch screen where the touch operation is located based on the second control instruction, and MCU B3 turns off the Filter function of the touch screen. At this time, the touch screen is in the second display state. Among them, the knock touch data matches the set second type reference gesture, which may include receiving two touch data within a certain period of time, and the time interval between the two touch data cannot exceed 1 second, and the positions of the two knocks cannot exceed 2 cm, and the corresponding touch operation is identified as a knock knock gesture.

[0113] If the touch screen on the B side of the dual-screen notebook is in the second display state, and the touch screen on the C side is in the first display state. The display state of the touch screen on the C side is adjusted to the second display state through the Win+P command or in the system setting interface. At this time, YBS B1 can generate a corresponding control instruction according to the adjusted display state, and send the control instruction to MCU B3. MCU B3 generates a corresponding second control instruction and sends the second control instruction to EC B4. EC B4 turns on the backlight module of the touch screen on the C side based on the second control instruction. At the same time, MCU B3 turns off the Filter function of the touch screen on the C side. At this time, the touch screen on the C side is in the second display state.

[0114] The following is a description of an exemplary structure of an electronic device 90 provided in an embodiment of the present application. In some embodiments, Figure 8 As shown, the electronic device 90 may include: a touch device 901, which can be used to receive touch operations and generate corresponding touch information; a display device 902, whose size parameters can be adjusted between a first size parameter and a second size parameter; a controller 903, which can be used to obtain touch information on the touch device 901; based on the touch information, determine the corresponding target display device, and adjust the size parameters of the target display device between the first size parameter and the second size parameter; when the target display device is the first size parameter, at least a portion of the target display device can be stored in the first space; when the target display device is the second size parameter, the target display device can extend from the first space.

[0115] In some embodiments, the touch device 901 and the display device 902 are located in the same body of the electronic device 90; or, the touch device 901 and the display device 902 are located in different bodies of the electronic device 90; the touch device 901 is any one of a touch device including a display screen or a touch pad.

[0116] In some embodiments, the controller 903 can be used to: determine the touch displacement based on the touch information corresponding to the touch operation; the touch displacement represents the displacement amount of the touch operation on the touch device 901 per unit time; in response to the touch displacement satisfying the set displacement condition, control the size parameter of the target display device to be adjusted between the first size parameter and the second size parameter.

[0117] In some embodiments, the controller 903 can be used to: determine the moving direction of the touch operation corresponding to the touch information based on the touch information; in response to the moving direction satisfying the set first direction condition, control the size parameter of the target display device to adjust from the first size parameter to the second size parameter; in response to the moving direction satisfying the set second direction condition, control the size parameter of the target display device to adjust from the second size parameter to the first size parameter; the first direction condition is different from the second direction condition.

[0118] In some embodiments, the controller 903 can be used to: determine the moving speed of the touch operation corresponding to the touch information based on the touch information; determine the adjustment speed of adjusting the size parameter of the target display device between the first size parameter and the second size parameter based on the moving speed; and adjust the size parameter of the target display device based on the determined adjustment speed.

[0119] In some embodiments, the controller 903 can also be used to: obtain the touch response mode that the electronic device 90 is currently in; if the touch response mode is the first response mode, determine the corresponding target display device, and adjust the size parameter of the target display device between the first size parameter and the second size parameter, and the first response mode is to control the size of the display device 902 to change; if the touch response mode is the second response mode, determine the corresponding target display device, and control the display content of the target display device, and the second response mode is to control the display content of the display device 902.

[0120] In some embodiments, the controller 903 can also be used to: receive sensor data sent by the sensor of the electronic device 90; perform data analysis on the sensor data to obtain control instructions corresponding to the sensor data; and adjust the size parameters of the target display device between the first size parameter and the second size parameter based on the control instructions.

[0121] In some embodiments, the controller 903 can be used to: determine the response area corresponding to the touch operation on the target display device based on the touch information; obtain the pressure parameters corresponding to the touch operation; determine the touch gesture corresponding to the touch operation based on the response area and the pressure parameters; in response to the touch gesture matching the set first type of reference gesture, control the size parameter of the target display device to be adjusted between the first size parameter and the second size parameter.

[0122] In some embodiments, the controller 903 can be used to: perform touch gesture recognition on touch information based on set gesture recognition parameters to obtain a touch gesture corresponding to the touch operation; in response to the touch gesture matching the set second type reference gesture, control the target display device to switch between a first display state and a second display state; in the first display state, the backlight module of the display device 902 is in an off state and the touch device 901 corresponding to the display device 902 is in a touch wake-up mode; in the second display state, the backlight module of the display device 902 is in an on state and the touch device 901 corresponding to the display device is in a touch response mode.

[0123] It should be noted that the description of the device in the embodiment of the present application is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, so it will not be repeated. Figures 1 to 9 The present invention can be understood by referring to the description of any one of the accompanying drawings.

[0124] According to an embodiment of the present application, the present application also provides an electronic device and a non-transitory computer-readable storage medium.

[0125] Fig. 9 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0126] like Fig. 9 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0127] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0128] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the device control method. For example, in some embodiments, the device control method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the device control method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the device control method in any other appropriate manner (e.g., by means of firmware).

[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0130] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0131] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0132] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0133] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0134] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0136] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0137] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A device control method, comprising: In response to receiving a touch operation on a touch device in the electronic device, obtaining touch information on the touch device; The electronic device comprises at least one touch device and at least one display device; Based on the touch information, determine a corresponding target display device, and adjust a size parameter of the target display device between a first size parameter and a second size parameter; when the target display device is of the first size parameter, at least a portion of the target display device can be stored in the first space; When the target display device has a second size parameter, the target display device can extend from the first space.

2. The method according to claim 1, wherein the touch control device and the display device are located in the same body of the electronic device; Alternatively, the touch device and the display device are located in different bodies of the electronic device; The touch control device is any one of a touch control device including a display screen or a touch control panel.

3. The method according to claim 1, wherein the step of adjusting the size parameter of the target display device between a first size parameter and a second size parameter comprises: Determining a touch displacement based on touch information corresponding to the touch operation; The touch displacement represents the displacement of the touch operation on the touch device per unit time; In response to the touch displacement satisfying a set displacement condition, a size parameter of the target display device is controlled to be adjusted between a first size parameter and a second size parameter.

4. The method according to claim 1, wherein the step of adjusting the size parameter of the target display device between a first size parameter and a second size parameter comprises: Based on the touch information, determining a moving direction of the touch operation corresponding to the touch information; In response to the moving direction satisfying a set first direction condition, controlling the size parameter of the target display device to be adjusted from the first size parameter to the second size parameter; In response to the moving direction satisfying a set second direction condition, the size parameter of the target display device is controlled to be adjusted from the second size parameter to the first size parameter; the first direction condition is different from the second direction condition.

5. The method according to claim 1, wherein the step of adjusting the size parameter of the target display device between a first size parameter and a second size parameter comprises: Based on the touch information, determining a moving speed of the touch operation corresponding to the touch information; Based on the moving speed, determining an adjustment speed for adjusting a size parameter of the target display device between a first size parameter and a second size parameter; Based on the determined adjustment speed, the size parameters of the target display device are adjusted.

6. The method according to claim 1, further comprising: Obtaining the touch response mode currently in which the electronic device is located; If the touch response mode is the first response mode, determining the corresponding target display device, and adjusting the size parameter of the target display device between the first size parameter and the second size parameter, wherein the first response mode is to control the size of the display device to change; If the touch response mode is the second response mode, a corresponding target display device is determined, and the display content of the target display device is controlled. The second response mode is to control the display content of the display device.

7. The method according to claim 1, further comprising: Receiving sensor data sent by a sensor of the electronic device; Performing data analysis on the sensor data to obtain control instructions corresponding to the sensor data; Based on the control instruction, a size parameter of the target display device is adjusted between a first size parameter and a second size parameter.

8. The method according to claim 1, further comprising: Based on the touch information, determining a response area corresponding to the touch operation on the target display device; Obtaining a pressure parameter corresponding to the touch operation; Determining a touch gesture corresponding to the touch operation based on the response area and the pressure parameter; In response to the touch gesture matching a set first type of reference gesture, a size parameter of the target display device is controlled to be adjusted between a first size parameter and a second size parameter.

9. The method according to claim 1, further comprising: Based on the set gesture recognition parameters, performing touch gesture recognition on the touch information to obtain a touch gesture corresponding to the touch operation; In response to the touch gesture matching a set second type of reference gesture, controlling the target display device to switch between a first display state and a second display state; In the first display state, the backlight module of the display device is in an off state and the touch device corresponding to the display device is in a touch wake-up mode; in the second display state, the backlight module of the display device is in an on state and the touch device corresponding to the display device is in a touch response mode.

10. An electronic device, comprising: A touch device, used to receive touch operations and generate corresponding touch information; A display device, wherein a size parameter of the display device can be adjusted between a first size parameter and a second size parameter; a controller, configured to obtain touch information on the touch device; determine a corresponding target display device based on the touch information, and adjust a size parameter of the target display device between the first size parameter and the second size parameter; when the target display device is of the first size parameter, at least a portion of the target display device can be stored in the first space; When the target display device has a second size parameter, the target display device can extend from the first space.