Method and device for controlling movement of electronic equipment

By detecting the displacement change data of the movable screen body of the electronic device, determining the current screen shape and controlling its movement, the problem of users in the prior art that they need to find specific keys to achieve screen shape changes, and achieving convenient screen switching and optimized user experience.

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

Patent Information

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

AI Technical Summary

Technical Problem

The usage pattern of retractable screens or reel screens of existing electronic devices requires users to realize by finding specific keys, which is a single and complex method.

Method used

By obtaining the displacement change data of the movable screen body of the electronic device, determining the current screen usage pattern, and controlling the screen to move in the corresponding direction according to preset conditions, achieving convenient switching of the screen.

Benefits of technology

It provides a convenient way to control the movable screen to collapse or expand, improving the user's operating experience and avoiding the complexity of users' searching in multiple keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937890A_ABST
    Figure CN119937890A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for controlling movement of electronic equipment. The method comprises the following steps: acquiring displacement change data of a movable screen body of the electronic equipment; determining a current screen use form of the electronic equipment; if the screen is in a first use form and the displacement change data represents that the movement of the movable screen body meets a preset condition, controlling the movable screen body to move towards a first direction; if the screen is in a second use form and the displacement change data represents that the movement of the movable screen body meets a preset condition, controlling the movable screen body to move towards a second direction; wherein in the first use form and the second use form, the display areas of the screen are different in size; the first direction is opposite to the second direction, the first direction is the direction changing from the first use form to the second use form, and the second direction is the direction changing from the second use form to the first use form.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a control technology for electronic equipment, and more specifically, to a control method and device for the movement of an electronic equipment. Background Art

[0002] Electronic devices with retractable screens or scroll screens are becoming more and more popular with users due to their variable usage forms and scalability of display areas. Currently, the change of the screen usage form of the above electronic devices usually requires users to trigger specific buttons, which is a relatively simple and complex method for users, requiring users to find and locate specific buttons from many buttons. Summary of the invention

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

[0004] In a first aspect, the present application provides a method for controlling movement of an electronic device, the method comprising:

[0005] Obtaining displacement change data of a movable screen body of an electronic device;

[0006] Determining the current screen usage state of the electronic device;

[0007] If the screen is in the first usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, controlling the movable screen body to move in a first direction;

[0008] If the screen is in the second usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, controlling the movable screen body to move in a second direction;

[0009] Among them, in the first usage form and the second usage form, the display area size of the screen is different; the first direction and the second direction are opposite, the first direction is the direction of change from the first usage form to the second usage form, and the second direction is the direction of change from the second usage form to the first usage form.

[0010] In a possible implementation, the preset condition is that the displacement exceeds a predetermined threshold.

[0011] In a possible implementation, it also includes:

[0012] During the movement from the first usage form to the second usage form, or from the second usage form to the first usage form, obtaining a touch signal for the movable screen panel;

[0013] Based on the touch signal, the movement of the movable screen body is controlled so that the movable screen is in an unfolded state between the first use state and the second use state.

[0014] In a possible implementation, controlling the movement of the movable screen body based on the touch signal includes:

[0015] Based on the touch signal, the movement of the movable screen body is stopped.

[0016] In a possible implementation, controlling the movement of the movable screen body based on the touch signal includes:

[0017] Based on the touch signal, determining a sliding parameter of the touch signal, the sliding parameter including at least one of a sliding direction, a sliding distance, and a sliding speed, the sliding direction being the same as the first direction or the second direction;

[0018] The movable screen body is controlled to move according to the sliding parameters of the touch information, and the movement parameters of the movable screen include at least one of a moving direction, a moving distance, and a moving speed.

[0019] In a possible implementation, a touch signal for the movable screen panel is obtained, including a touch signal input to the movable screen panel and a touch signal input to a touch device of an electronic device, wherein the electronic device includes a movable screen and a touch device.

[0020] In a possible implementation, it also includes:

[0021] Obtaining first detection data of a first sensor installed on a screen body of the electronic device, wherein the screen body includes the movable screen body;

[0022] If the first detection data indicates that the movement amplitude of the screen body exceeds the amplitude threshold, the displacement change data is not responded to.

[0023] In a possible implementation, the electronic device further includes a non-screen body, the non-screen body is hingedly connected to the screen body, and further includes:

[0024] Obtaining second detection data of a second sensor installed on the non-screen body;

[0025] If the second detection data indicates that the movement amplitude of the non-screen body exceeds a second set value, the displacement change data is not responded to.

[0026] In a possible implementation, it also includes:

[0027] Get the morphology lock status data;

[0028] If the shape locking state data indicates that the current screen uses shape locking, the displacement change data is not responded to.

[0029] A second aspect of the present application provides a device for controlling movement of an electronic device, the device comprising:

[0030] A data acquisition module, used to obtain displacement change data of a movable screen body of an electronic device;

[0031] A form determination module, used to determine the current screen usage form of the electronic device;

[0032] A movement control module, configured to control the movable screen body to move in a first direction when the screen is in a first use state and the displacement change data indicates that the movement of the movable screen body meets a preset condition; and to control the movable screen body to move in a second direction when the screen is in a second use state and the displacement change data indicates that the movement of the movable screen body meets a preset condition;

[0033] Among them, in the first usage form and the second usage form, the display area size of the screen is different; the first direction and the second direction are opposite, the first direction is the direction of change from the first usage form to the second usage form, and the second direction is the direction of change from the second usage form to the first usage form. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] 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 only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0035] Figure 1 A flow chart of a control method for moving an electronic device disclosed in an embodiment of the present application;

[0036] Figure 2 An exemplary diagram of a first usage form and a second usage form of an electronic device disclosed in an embodiment of the present application;

[0037] Figure 3 A flow chart of another method for controlling movement of an electronic device disclosed in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of the structure of a control device for moving an electronic device disclosed in an embodiment of the present application;

[0039] Figure 5A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 ordinary technicians in this field without creative work are within the scope of protection of this application.

[0041] Figure 1 This is a flow chart of a control method for moving an electronic device disclosed in an embodiment of the present application. Figure 1 The solution shown is applied to electronic devices with variable display screen size, that is, electronic devices with variable screen display area size. Figure 1 As shown, the control method for moving the electronic device may include:

[0042] Step 101: Obtain displacement change data of a movable screen body of an electronic device.

[0043] The movable screen may be a part of the screen of the electronic device, and this part of the movable screen area has different usage modes. For example, in a first usage mode, the movable screen is in a completely retracted or hidden state. In this usage mode, the movable screen is stored or hidden in a first space of the electronic device, and the display output content of the electronic device is only displayed in the part of the screen that cannot be hidden or retracted; in a second usage mode, the movable screen extends out from the first space and is in an expanded state, and the display output content of the electronic device is displayed in the original display area and the extended movable screen area.

[0044] The control method for the movement of the electronic device described in this embodiment is a method for controlling the use form of the screen of the electronic device, which controls the use form of the screen by detecting the movement of the movable screen body of the electronic device. First, it is necessary to obtain the displacement change data of the movable screen body of the electronic device. The displacement change data can be obtained by detecting a linear encoder or other displacement detection sensor installed near the movable screen body.

[0045] The electronic device may be in the form of a computer, a mobile phone, a tablet, a television, a projector, etc.

[0046] Step 102: Determine the current screen usage mode of the electronic device and proceed to step 103 or step 104.

[0047] The current screen usage form of the electronic device may be the first usage form or the second usage form. It should be noted that the first usage form indicates that the movable screen is completely retracted or completely hidden, and the second usage form indicates that the movable screen is in an expanded state, but the expanded state here may be a fully expanded state (corresponding to the maximum expanded position of the movable screen) or a semi-expanded state (corresponding to the movable screen being in a position between the fully retracted and maximum expanded positions). Figure 2 The first and second usage forms of the electronic device are shown in the figure, wherein in the second usage form, the movable screen is extended, and the overall display area of ​​the screen is significantly larger than the screen display area in the first usage form. Figure 2 Understand the relevant content.

[0048] The current screen usage state of the electronic device can be obtained based on the detection of the linear encoder. Specifically, the screen usage state is determined based on the displacement of the movable screen relative to the corresponding position of the fully retracted state.

[0049] Step 103: If the screen is in the first usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, the movable screen body is controlled to move in a first direction.

[0050] The preset condition may be that the movement of the movable screen body exceeds a preset threshold, and the preset threshold in this embodiment may be a first threshold, such as 3 mm. In the first use mode, the movable screen is in a fully retracted state, and when the displacement change data indicates that the movement of the movable screen body meets the preset condition, the movable screen body is controlled to move in the unfolding direction (the first direction).

[0051] Step 104: If the screen is in the second usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, the movable screen body is controlled to move in a second direction.

[0052] The preset condition in step 104 may also be that the movement amount of the movable screen body exceeds a preset threshold value. The book search preset threshold value in this embodiment may be a second threshold value. The second threshold value may be the same as the first threshold value or may be different from the first threshold value, such as 2 mm. In the second use form, the movable screen is in an unfolded state. When the displacement change data indicates that the movement of the movable screen body meets the preset condition, the movable screen body is controlled to move in the retracted direction (the second direction).

[0053] In the first usage mode and the second usage mode, the display area size of the screen is different, such as Figure 2The first direction is opposite to the second direction, the first direction is the direction from the first use form to the second use form, and the second direction is the direction from the second use form to the first use form. Figure 2 , the first direction may be an upward direction along the screen panel, and the second direction may be a downward direction along the screen panel. That is, no matter the screen of the electronic device is in the first usage form or the second usage form, if it is detected that the displacement change data of the movable screen body meets the preset conditions, the electronic device is controlled to switch between the first usage form and the second usage form.

[0054] The control method for the movement of an electronic device described in this embodiment provides a user with a convenient way to control the folding or unfolding of a movable screen. The implementation process of the solution involves physical interaction between the user and the device, thereby facilitating the user to control the use of the device while providing the user with a better control experience.

[0055] In the above embodiment, the preset condition may be that the displacement exceeds a predetermined threshold, and the preset condition may include a first condition and a second condition. Specifically, when the displacement change data indicates that the moving distance of the movable screen in the second direction exceeds the first threshold, it is determined that the first condition is met; when the displacement change data indicates that the moving distance of the movable screen in the second direction exceeds the second threshold, it is determined that the second condition is met.

[0056] Combination Figure 2 For example, when the movable screen is folded in the first space of the electronic device, that is, the screen of the electronic device is in the first usage form, the user presses the upper edge of the movable screen body (the upper edge of the display screen), generating a force acting downward along the screen panel (in the second direction), and the device detects the downward force and knows that the electronic device is in the first usage form, then controls the movable screen to move upward and unfold, switching to the second usage form. When the movable screen is in the unfolded state, that is, in the second usage form, the user also presses the upper edge of the movable screen body, generating a force acting downward along the screen panel, and the device detects the downward force and knows that the electronic device is in the second usage form, then controls the movable screen to move downward and fold.

[0057] In another implementation, when the displacement change data indicates that the moving distance of the movable screen in the first direction (upward along the screen panel) exceeds the first threshold, it can also be determined that the first condition is met. That is, when the user wants to control the movable screen to move upward and stretch out, although the movable screen body is pressed in the second direction (downward along the screen panel), the downward pressing force causes the movable screen body to generate an upward rebound force, and this rebound force causes the movable screen body to move upward for a distance, thereby generating a displacement in the first direction.

[0058] That is, the movement of the movable screen in the first direction may be triggered by the movable screen body receiving pressure in the second direction under the action of the rebound force. In this implementation, the moving path of the movable screen is to first sink a certain distance and then move upward a certain distance under the action of the rebound force.

[0059] The above content introduces the specific implementation of detecting the movement of the movable screen in different directions and then controlling the movement of the movable screen, which is convenient for technicians in the field to better understand and implement the technical solution of the present application.

[0060] In other implementations, the control method for the movement of an electronic device may further include: obtaining a touch signal for the movable screen panel during the movement from a first usage form to a second usage form, or from a second usage form to a first usage form; and based on the touch signal, controlling the movement of the movable screen body so that the movable screen is in an expanded state between the first usage state and the second usage state.

[0061] During the movement of the movable screen from the first usage form to the second usage form, or from the second usage form to the first usage form, the user may want the movable screen to stop at a certain intermediate position, or want the movable screen to restore to the state before the switching is triggered, which can be achieved by a touch signal on the movable screen panel.

[0062] Specifically, controlling the movement of the movable screen body based on the touch signal may include: stopping the movement of the movable screen body based on the touch signal.

[0063] That is, the user may feel that the movable screen is too large to be viewed when it is fully extended, and too small when it is fully retracted, and wants the movable screen to be in the extended state. Before the movable screen is extended to the second usage form or retracted to the first usage form, the user can trigger a set operation on the movable screen panel to stop the movable screen from moving and place it in a position corresponding to the desired screen size. The touch signal may be a single-click operation or a double-click operation.

[0064] The controlling the movement of the movable screen body based on the touch signal may further include: determining a sliding parameter of the touch signal based on the touch signal, the sliding parameter including at least one of a sliding direction, a sliding distance, and a sliding speed, the sliding direction being the same as the first direction or the second direction; controlling the movable screen body to move according to the sliding parameter of the touch information, the moving parameter of the movable screen including at least one of a moving direction, a moving distance, and a moving speed

[0065] In this implementation, the touch signal is a sliding signal. During the movement of the movable screen in the first direction or the second direction, the user may need to control the moving state of the movable screen, such as the moving direction, moving distance, moving speed, etc., based on their own needs. Among them, the moving direction allows the user to stop moving and move in the opposite direction by triggering a sliding signal in the opposite direction of the moving direction of the movable screen when the movable screen is accidentally unfolded or retracted; the moving distance allows the user to control the unfolding position of the movable screen more freely; the moving speed allows the movable screen to respond to the touch signal faster, or control the moving speed of the movable screen.

[0066] In one implementation, there may be multiple touch signals for the movable screen panel. For example, the user first controls the movable screen to stop moving through a first touch signal, and then controls the movable screen to continue moving in the previous moving direction or in the opposite direction of the previous moving direction through a second touch signal. This implementation allows the user to adjust the moving state of the movable screen more freely and accurately.

[0067] In each of the above implementations, obtaining a touch signal for the movable screen panel may include a touch signal inputted on the movable screen panel and a touch signal inputted on a touch device of an electronic device, wherein the electronic device includes a movable screen and a touch device. For example, in a mobile phone, which only includes a screen, a user can only input a touch signal on the screen panel, and in a laptop computer, a user can input a touch signal on the screen panel or on the touch pad of the laptop computer.

[0068] In actual applications, users may move electronic devices at any time, such as moving a mobile phone constantly when holding it, or moving a laptop originally placed at position A to position B, or adjusting the opening angle of the first body of the laptop (including the body of the display screen in a single-screen laptop). During the movement of the electronic device, the body of the movable screen may be displaced to a certain extent due to inertia or unconscious squeezing by the user. This displacement may be detected by the linear encoder and the corresponding control operation of controlling the movement of the movable screen body may be executed. However, this control operation is not the user's intention but is caused by an accidental touch.

[0069] In order to avoid accidental touches, in this embodiment, the data detected by the first sensor installed in the electronic device can be combined to comprehensively determine whether the movement of the movable screen body is triggered by the user's actual intention or whether it is caused by a specific action of the device (such as overall movement of the device, adjustment of the angle of part of the device body, etc.).

[0070] Therefore, the method for controlling the movement of the electronic device may further include a false touch determination process in addition to the steps described in the above embodiments. Figure 3 This is a flow chart of another method for controlling movement of an electronic device disclosed in an embodiment of the present application. Figure 3 As shown, the control method for moving the electronic device may include:

[0071] Step 301: Obtain displacement change data of a movable screen body of an electronic device.

[0072] Step 302: Obtain first detection data of a first sensor installed on a screen body of the electronic device, wherein the screen body includes the movable screen body.

[0073] For example, an acceleration sensor (the first sensor) is installed in the mobile phone. After obtaining the displacement change data of the movable screen body of the electronic device, the first detection data of the acceleration sensor is obtained synchronously. The first detection data can determine the movement state of the entire mobile phone.

[0074] For another example, when using a laptop computer, the user may adjust the opening angle of the screen body at any time. Usually, the user holds the frame of the screen body with his hand and then pushes it toward the back or inside of the screen. This operation may also cause the displacement of the movable screen body to change, causing the control method described in this application to be accidentally touched.

[0075] Step 303: Determine whether the movement amplitude of the screen body represented by the first detection data exceeds an amplitude threshold. If so, proceed to step 304; if not, proceed to step 305.

[0076] Step 304: prohibiting responding to the displacement change data.

[0077] If the first detection data represents that the movement amplitude of the screen body exceeds the amplitude threshold, it is considered that the displacement change of the movable screen is caused by the movement of the device. If the displacement change data is continued to be responded, it may cause a false touch and trigger a movement control operation of the movable screen body that does not meet the user's wishes. Therefore, in this case, it is prohibited to respond to any displacement change data.

[0078] Step 305: Determine the current screen usage mode of the electronic device and proceed to step 306 or step 307.

[0079] If the first detection data indicates that the movement amplitude of the screen body does not exceed the amplitude threshold, it is considered that the user has applied a relevant force to the movable screen body alone, causing the movable screen body to move, thereby detecting and obtaining displacement change data. In this case, the displacement change data can be responded to normally according to the set logic.

[0080] Step 306: If the screen is in the first usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, control the movable screen body to move in a first direction.

[0081] Step 307: If the screen is in the second usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, control the movable screen body to move in a second direction.

[0082] The control method for the movement of the electronic device described in this embodiment adds an anti-false touch mechanism on the basis of the original control logic, and specifically combines the movement state of the electronic device to determine whether the displacement change of the movable screen body is triggered by the user's real intention to change the screen usage form. This implementation can avoid false touches of the movable screen body movement control logic that may be caused by the movement of the electronic device during use, thereby optimizing the user experience.

[0083] In one implementation, the electronic device includes two bodies, namely a screen body and a non-screen body, such as a traditional single-display laptop computer, wherein the upper body is the screen body and the lower body with a keyboard area is the non-screen body, and the non-screen body is hingedly connected to the screen body.

[0084] The method for controlling the movement of an electronic device may further include: obtaining second detection data from a second sensor installed on the non-screen body; if the second detection data indicates that the movement amplitude of the non-screen body exceeds a second set value, not responding to the displacement change data.

[0085] It is understandable that when a user holds a laptop and places it on a support plane, due to inertia, the movable screen body may undergo a certain displacement due to inertia at the moment of placing it on the desktop, which may cause an erroneous touch of the control method described in this application. Therefore, in the implementation, the second detection data of the second sensor installed on the non-screen body can be obtained. If the second detection data indicates that the movement amplitude of the non-screen body exceeds the second set value, it means that the user is moving or moving the laptop as a whole, and the displacement of the movable screen body is caused by the overall movement of the laptop. In order to avoid erroneous touches, the displacement change data of the movable screen body will not be responded to.

[0086] In other implementations, the method for controlling the movement of an electronic device may further include: obtaining form locking state data; if the form locking state data indicates that the current screen uses form locking, not responding to the displacement change data.

[0087] When the user is using an electronic device, if he or she is sure that the movable screen has been adjusted to the position he or she needs, the lock of the current screen usage state can be triggered. If the current screen usage state is locked, no matter whether the movable screen has undergone displacement changes or whether the displacement change data meets the preset conditions, it will not respond to the displacement change data. Only after the screen usage state is unlocked will the displacement change data be responded to according to the set logic. This implementation enriches the user's control methods for the movement of the movable screen and can meet the user's diverse control needs.

[0088] 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.

[0089] The method is described in detail in the embodiments disclosed in the above-mentioned application. The method of the application can be implemented by various forms of devices. Therefore, the application also discloses a device, and a specific embodiment is given below for detailed description.

[0090] Figure 4 A schematic diagram of the structure of a control device for moving an electronic device disclosed in an embodiment of the present application. Figure 4 The device is applied to an electronic device with a variable display screen size, that is, an electronic device with a variable screen display area size. Figure 4 As shown, the control device 40 for moving the electronic device may include:

[0091] The data acquisition module 401 is used to obtain displacement change data of the movable screen body of the electronic device.

[0092] The form determination module 402 is used to determine the current screen usage form of the electronic device.

[0093] The mobile control module 403 is used to control the movable screen body to move in a first direction when the screen is in a first usage state and the displacement change data indicates that the movement of the movable screen body meets the preset conditions; and to control the movable screen body to move in a second direction when the screen is in a second usage state and the displacement change data indicates that the movement of the movable screen body meets the preset conditions.

[0094] Among them, in the first usage form and the second usage form, the display area size of the screen is different; the first direction and the second direction are opposite, the first direction is the direction of change from the first usage form to the second usage form, and the second direction is the direction of change from the second usage form to the first usage form.

[0095] The control device for moving the electronic device described in this embodiment provides a user with a convenient way to control the folding or unfolding of a movable screen. During the implementation of the solution, there is a somatosensory interaction between the user and the device, which not only facilitates the user to control the usage form of the device, but also brings the user a better control experience.

[0096] The specific implementation of the control device for moving the electronic device and the modules it contains, as well as other possible implementations can be found in the corresponding parts of the method embodiment, which will not be repeated here.

[0097] The control device for moving any one of the electronic devices described in the above embodiments includes a processor and a memory. The data acquisition module, form determination module, movement control module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to implement corresponding functions.

[0098] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.

[0099] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0100] In an exemplary embodiment, a computer-readable storage medium is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the control method for moving an electronic device.

[0101] In an exemplary embodiment, a computer program product is also provided, which can be directly loaded into the internal memory of a computer and contains software codes. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the control method for moving an electronic device as described above.

[0102] Furthermore, an embodiment of the present application provides an electronic device whose display screen has a variable size. Figure 5 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. Figure 5 As shown, the electronic device includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call the program instructions in the memory to execute the above-mentioned control method for the movement of the electronic device.

[0103] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0104] It should also 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.

[0105] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0106] 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.

Claims

1. A method for controlling movement of an electronic device, the method comprising: Obtaining displacement change data of a movable screen body of an electronic device; Determining the current screen usage state of the electronic device; If the screen is in the first usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, controlling the movable screen body to move in a first direction; If the screen is in the second usage state, and the displacement change data indicates that the movement of the movable screen body meets a preset condition, controlling the movable screen body to move in a second direction; Among them, in the first usage form and the second usage form, the display area size of the screen is different; the first direction and the second direction are opposite, the first direction is the direction of change from the first usage form to the second usage form, and the second direction is the direction of change from the second usage form to the first usage form.

2. The method for controlling movement of an electronic device according to claim 1, wherein: The preset condition is that the displacement exceeds a predetermined threshold.

3. The method for controlling movement of an electronic device according to claim 1, further comprising: During the movement from the first usage form to the second usage form, or from the second usage form to the first usage form, obtaining a touch signal for the movable screen panel; Based on the touch signal, the movement of the movable screen body is controlled so that the movable screen is in an unfolded state between the first use state and the second use state.

4. The method for controlling the movement of an electronic device according to claim 3, wherein the controlling the movement of the movable screen body based on the touch signal comprises: Based on the touch signal, the movement of the movable screen body is stopped.

5. The method for controlling the movement of an electronic device according to claim 3, controlling the movement of the movable screen body based on the touch signal, comprising: Based on the touch signal, determining a sliding parameter of the touch signal, the sliding parameter including at least one of a sliding direction, a sliding distance, and a sliding speed, the sliding direction being the same as the first direction or the second direction; The movable screen body is controlled to move according to the sliding parameters of the touch information, and the movement parameters of the movable screen include at least one of a moving direction, a moving distance, and a moving speed.

6. According to the control method for moving an electronic device according to claim 3, a touch signal for the movable screen panel is obtained, including a touch signal input to the movable screen panel and a touch signal input to a touch device of the electronic device, wherein the electronic device includes a movable screen and a touch device.

7. The method for controlling movement of an electronic device according to claim 1, further comprising: Obtaining first detection data of a first sensor installed on a screen body of the electronic device, wherein the screen body includes the movable screen body; If the first detection data indicates that the movement amplitude of the screen body exceeds the amplitude threshold, the displacement change data is not responded to.

8. The method for controlling the movement of an electronic device according to claim 7, wherein the electronic device further comprises a non-screen body, the non-screen body being hingedly connected to the screen body, and further comprising: Obtaining second detection data of a second sensor installed on the non-screen body; If the second detection data indicates that the movement amplitude of the non-screen body exceeds a second set value, the displacement change data is not responded to.

9. The method for controlling movement of an electronic device according to claim 1, further comprising: Get the morphology lock status data; If the shape locking state data indicates that the current screen uses shape locking, the displacement change data is not responded to.

10. A device for controlling movement of an electronic device, the device comprising: A data acquisition module, used to obtain displacement change data of a movable screen body of an electronic device; A form determination module, used to determine the current screen usage form of the electronic device; A movement control module, configured to control the movable screen body to move in a first direction when the screen is in a first use state and the displacement change data indicates that the movement of the movable screen body meets a preset condition; and to control the movable screen body to move in a second direction when the screen is in a second use state and the displacement change data indicates that the movement of the movable screen body meets a preset condition; Among them, in the first usage form and the second usage form, the display area size of the screen is different; the first direction and the second direction are opposite, the first direction is the direction of change from the first usage form to the second usage form, and the second direction is the direction of change from the second usage form to the first usage form.