Control method of movable display screen and related device

By receiving the trigger signal and monitoring the target limit switch status, the drive motor is controlled to ensure the accurate roll-up and deployment of the movable screen, and the image acquisition device is adjusted to adapt to screen size changes, thereby solving the control inaccurate and image acquisition in the prior art in the prior art. The problem of poor results enables precise control and efficient image acquisition.

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

Patent Information

Application Number
CN202411388727.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art cannot accurately control the rolling and deploying movement of the movable screen, resulting in failure and it is difficult to adjust the image acquisition device to adapt to screen size changes.

Method used

By receiving the trigger signal, generating a driving signal, controlling the driving motor, monitoring the target limit switch status to ensure accurate movement, and adjusting the image acquisition device to adapt to screen size changes, ensuring that the position and line of sight of the acquisition object in the image meet the preset conditions.

Benefits of technology

It realizes precise control of the movable screen, prevents inadequate roll-up and expansion actions, and improves the image acquisition effect and the service life of the display screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119296458A_ABST
    Figure CN119296458A_ABST
Patent Text Reader

Abstract

The invention discloses a control method for a movable display screen and a related device, and relates to the field of information processing, and the method comprises the steps: receiving triggering information for triggering the display screen to move; generating a driving signal according to the trigger information, wherein the driving signal is used for controlling a driving motor to operate so as to drive at least one end of the display screen to move; monitoring the state of a target limit switch in the display screen, wherein the target limit switch is a switch used for limiting the display screen from moving to a target position; on the basis that the state of the target limiting switch is switched from the first state to the second state, a first signal is generated, the target limiting switch is switched from the first state to the second state to represent that the movement position of the display screen is changed from the state not reaching the target position to the state reaching the target position, and the first signal is used for controlling a driving motor to stop running.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing, and in particular to a control method and related device for a movable display screen. Background Art

[0002] A movable screen is a rollable and movable display screen made using a flexible display screen. It can be rolled up and unfolded like a scroll to adjust the screen size.

[0003] In the prior art, a trigger signal is sent by the main control unit of the device to trigger the rolling / unrolling action of the movable screen. However, it is not possible to accurately control whether the rolling and unrolling actions of the movable screen are in place, which makes the movable screen prone to malfunction. Summary of the invention

[0004] A first aspect of the present application provides a method for controlling a movable display screen, comprising:

[0005] Receiving trigger information for triggering the display screen to move;

[0006] Generate a driving signal according to the trigger information, wherein the driving signal is used to control the operation of a driving motor to drive at least one end of the display screen to move;

[0007] monitoring a state of a target limit switch in the display screen, wherein the target limit switch is a switch for limiting movement of the display screen to reach a target position;

[0008] Based on the state of the target limit switch switching from the first state to the second state, a first signal is generated. The target limit switch switching from the first state to the second state indicates that the moving position of the display screen changes from never reaching the target position to reaching the target position. The first signal is used to control the drive motor to stop running.

[0009] In a possible implementation, after generating the driving signal according to the trigger information, the method further includes:

[0010] receiving target data sent by a linear encoder, wherein the target data is generated by the linear encoder based on the running state of the drive motor;

[0011] Analyzing the target data to obtain the operating state of the drive motor;

[0012] Based on the running state of the drive motor meeting the abnormal condition, generating a second signal, wherein the second signal is used to control the drive motor to stop running;

[0013] Based on the operating state of the drive motor not satisfying the abnormal condition, the step of monitoring the state of the target limit switch in the display screen is performed.

[0014] In a possible implementation, the method further includes:

[0015] Based on the change of the visible size of the screen triggered by the movement of the display screen of the electronic device, the relative position relationship between the image acquisition device and the acquisition object is obtained; the image acquisition device is arranged at one end of the body where the display screen of the electronic device is located, the display screen of the electronic device includes a display area that can be hidden, and the movement of the display screen can make the hidden display area visible;

[0016] Based on the relative positional relationship between the image acquisition device and the acquisition object, the first image acquired by the image acquisition device is adjusted so that the acquisition object displayed by the first image meets a preset condition.

[0017] In a possible implementation, adjusting the first image captured by the image capture device so that the captured object displayed by the first image meets a preset condition includes at least one of the following:

[0018] Adjusting the acquisition range of the image acquisition device so that the acquisition object displayed by the first image acquired by the image acquisition device meets the preset conditions;

[0019] The captured original image is intercepted and processed to obtain a first image, wherein the captured object displayed in the first image meets the preset conditions;

[0020] Among them, the acquisition object displayed in the first image acquired by the image acquisition device meets preset conditions, including at least one of the following: the position of the acquisition object in the first image is located in the central area of ​​the first image, and the line of sight direction of the acquisition object in the first image is the direction of looking at the screen.

[0021] In a possible implementation, controlling the movement of the display screen of the electronic device to trigger the change of the visible size of the screen includes:

[0022] Based on the first trigger instruction, controlling the display screen of the electronic device to move along a first direction so as to make a hidden display area in the display screen visible;

[0023] Based on a second trigger instruction, controlling the display screen of the electronic device to move along a second direction so that a visible display area of ​​the display screen is hidden, wherein the second direction is opposite to the first direction;

[0024] The electronic device comprises a first body and a second body, the display screen comprises a visible display area arranged on the first body and a hideable display area arranged on the second body, and the image acquisition device is located at one end of the first body.

[0025] In a possible implementation, intercepting the collected original image to obtain the first image includes:

[0026] Obtaining display parameters of the display screen after the change, wherein the display parameters correspond to the size of the display screen after the change;

[0027] Determining a target capture area according to the display parameters;

[0028] The original image is intercepted according to the target interception area to obtain a first image.

[0029] In a possible implementation, the method further includes:

[0030] Based on the received partition trigger instruction, determining a first display area and a second display area in the display screen according to the visible size of the screen, wherein the first display area and the second display area constitute a display area of ​​the display screen;

[0031] Controlling output of first display content in a first display area of ​​a display screen, and controlling output of second display content in a second display area of ​​the display screen, wherein a security requirement of the first display content is lower than a security requirement of the second display content;

[0032] Obtaining first display content output in the first display area;

[0033] The first display content is sent to a target device to control the target device to output the first display content.

[0034] In a possible implementation, the controlling to output the second display content in the second display area of ​​the display screen includes at least one of the following:

[0035] receiving a moving operation to move a target display interface to a second display area; and based on the moving operation, controlling the target display interface to be output in the second display area; or

[0036] Receive display setting parameters for setting a target display interface; and control the target display interface to be output in the second display area based on the display setting parameter representation.

[0037] A second aspect of the present application provides a control device for a movable display screen, comprising:

[0038] A receiving module, used for receiving trigger information for triggering the movement of the display screen;

[0039] A first generating module, configured to generate a driving signal according to the trigger information, wherein the driving signal is used to control the operation of the driving motor to drive at least one end of the display screen to move;

[0040] A monitoring module, used to monitor the state of a target limit switch in the display screen, wherein the target limit switch is a switch used to limit the movement of the display screen to reach a target position;

[0041] The second generating module is used to generate a first signal based on the state of the target limit switch switching from the first state to the second state. The switching of the target limit switch from the first state to the second state indicates that the moving position of the display screen changes from never reaching the target position to reaching the target position. The first signal is used to control the drive motor to stop running.

[0042] A third aspect of the present application provides a computer program product, comprising computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the method for controlling a movable display screen of the first aspect or any implementation of the first aspect.

[0043] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0044] The memory is used to store computer programs;

[0045] The processor is used to execute the computer program so that the electronic device can implement the method for controlling a movable display screen according to the first aspect or any implementation manner of the first aspect.

[0046] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the control method of the movable display screen of the above-mentioned first aspect or any implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0048] Figure 1 is a schematic diagram of a movable screen provided by the present application;

[0049] Figure 2 It is a flow chart of a method for controlling a movable display screen provided in an embodiment of the present application;

[0050] Figure 3 is a structural schematic diagram of a support structure in a display screen provided in an embodiment of the present application;

[0051] Figure 4 is another structural schematic diagram of a support structure in a display screen provided in an embodiment of the present application;

[0052] Figure 5 is a schematic diagram of a display screen provided in an embodiment of the present application moving to a target position;

[0053] Figure 6 is another schematic diagram of a display screen moving to a target position provided by an embodiment of the present application;

[0054] Figure 7 is a schematic diagram of a process for monitoring the operation of a drive motor provided in an embodiment of the present application;

[0055] Figure 8 is a schematic diagram of the principle of generating data by an encoder provided in an embodiment of the present application;

[0056] Fig. 9 is a schematic diagram of the system structure of an electronic device provided in an embodiment of the present application;

[0057] Fig.10 It is a flowchart of a process of adjusting an image acquisition device to acquire an image provided by an embodiment of the present application;

[0058] Fig.11 is a schematic diagram of the relative position relationship between the image acquisition device and the acquisition object provided in an embodiment of the present application;

[0059] Fig.12 is a schematic diagram of adjusting the acquisition range of the image acquisition device provided in an embodiment of the present application;

[0060] Fig.13 is a first image schematic diagram provided in an embodiment of the present application;

[0061] Fig.14 It is a schematic diagram of a flow chart of controlling the movement of a display screen of an electronic device to trigger a change in the visible size of the screen provided by an embodiment of the present application;

[0062] Fig.15 is a structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0063] Fig.16 is another structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0064] Fig.17 It is a schematic diagram of a process of intercepting and processing a captured original image to obtain a first image provided by an embodiment of the present application;

[0065] Fig.18 is a schematic diagram of a display screen provided in an embodiment of the present application;

[0066] Fig.19 It is a schematic diagram of a process for dividing a display screen into display partitions provided in an embodiment of the present application;

[0067] Fig. 20 is a schematic diagram of a display screen provided in an embodiment of the present application;

[0068] Fig.21 is a schematic diagram of a process of controlling output of a second display content in a second display area of ​​the display screen provided by an embodiment of the present application;

[0069] Fig. 22 is another flowchart of controlling the output of the second display content in the second display area of ​​the display screen provided by an embodiment of the present application;

[0070] Fig.23 is a structural schematic diagram of a control device for a movable display screen provided in an embodiment of the present application;

[0071] Fig.24 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0073] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0074] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0075] Figure 1 It is a schematic diagram of a movable screen provided in the present application, which shows two sizes of the screen before and after movement. In the present application, the movement includes the rolling in / out action of the display screen.

[0076] Among them, the Figure 1 The left figure is a schematic diagram of the display screen 101 before it moves (such as rolling in). Figure 1 The right figure in the figure is a schematic diagram of the display screen after it moves (such as rolling in). The visible screen size of the display screen before the movement is larger than the visible screen size after the movement. Figure 1 The area 1011 framed by the middle dotted line is an area that can be rolled in, and this area is hidden after the display screen moves.

[0077] It should be noted that this schematic diagram is only used to illustrate the comparison before and after the display screen moves. The display screen in this figure moves in the up and down directions, and is not used to limit the moving direction of the display screen. In actual applications, the display screen can move in the up and down directions as well as in the left and right directions. This application does not limit the moving direction of the display screen.

[0078] Figure 2 It is a flowchart of a control method for a movable display screen provided in an embodiment of the present application, which may include steps 201 to 204. These steps are described in detail below.

[0079] 201. Receive trigger information for triggering the movement of a display screen;

[0080] The display screen may be the display screen of the B side of a laptop computer, or may be the display screen of a separate display, which can be connected to a host chassis to serve as an external display screen of the host.

[0081] The control method of the movable display screen provided in the embodiment of the present application is executed by an electronic device. When the display screen is the display screen of the B side of the laptop computer, the electronic device refers to the laptop computer; when the display screen is used as a separate display, the electronic device includes a device consisting of a display and a host chassis. The electronic device is provided with a main control unit, which is used to control the movement of the display screen. Accordingly, all information related to the movement of the display screen is sent to the main control unit.

[0082] The trigger information may be obtained through an input device of the electronic device, and the input device may be a keyboard, a mouse, a touch screen, etc.

[0083] The trigger information may be a specific key signal, a combination hot key signal, a specific sliding gesture, etc. Different movement modes of the display screen correspond to different trigger information.

[0084] As an example, a function key (physical key or virtual key) is set in the electronic device for the movement of the display screen. For example, different function keys are set for different movement directions, and trigger information is generated based on the function key being clicked and triggered.

[0085] As an example, a hot key combination may be set in the electronic device for the movement of the display screen. For example, different hot key combinations may be preset for different movement directions, and trigger information may be generated based on the hot key combination being clicked and triggered.

[0086] As an example, a sliding gesture may be set in the electronic device for the movement of the display screen, such as presetting different sliding gestures for different moving directions, and generating trigger information based on receiving the corresponding sliding gesture.

[0087] 202. Generate a driving signal according to the trigger information, where the driving signal is used to control the operation of the driving motor to drive at least one end of the display screen to move;

[0088] The control of the display screen movement is determined based on the trigger information to adjust the visible size of the display screen.

[0089] When different triggering modes are set for different moving directions of the display screen, different triggering information can be obtained, and accordingly, a driving signal of the corresponding moving direction is generated according to the received triggering information.

[0090] The movement of the display screen is achieved by driving a motor to drive at least one end of the display screen to move.

[0091] As an example, a driving motor is provided at one end of the display screen, and the driving motor drives the same end of the display screen to move so as to hide a portion of the display area corresponding to the end.

[0092] Among them, if the electronic device is a laptop computer, since the laptop computer has the need to move the screen only when the user is using it, and the laptop computer presents a specific posture when the user is using it, therefore, if the electronic device is a laptop computer, after receiving the trigger information, the posture of the electronic device is also detected, and only when the posture of the electronic device is a posture that allows movement, the step 202 is triggered.

[0093] The allowed moving posture of the electronic device is that the screen (AB surface) and the base (CD surface) of the laptop computer present a specific angle range.

[0094] As an example, the specific angle range may be 90° to 120°.

[0095] The relative position of the screen and the base of the electronic device can be detected by sensors respectively arranged in the screen and the base. The sensor in the screen can detect the angle between the screen and the vertical direction, and the sensor in the base can detect the angle between the screen and the vertical direction.

[0096] The angle between the screen and the base of the laptop is calculated using the following formula (1):

[0097] (1)

[0098] Among them, base ∠z represents the angle between the base and the vertical direction, and screen ∠z represents the angle between the screen and the vertical direction.

[0099] If the angle between the screen and the base is within a specific angle range, it is determined that the posture of the electronic device is an allowed movement posture, and step 202 is executed.

[0100] The driving signal may include a speed control signal and a direction control signal, wherein the speed control signal is used to control the speed of the driving motor, and the direction control signal is used to control the movement direction of the driving motor.

[0101] In a possible implementation, the speed control signal adopts a PWM (Pulse Width Modulation) signal, and the speed of the drive motor is adjusted by changing the frequency of the PWM signal. The greater the frequency of the PWM signal, the greater the speed of the drive motor; the smaller the frequency of the PWM signal, the smaller the speed of the drive motor.

[0102] In a possible implementation, the direction control signal uses a GPIO (General-purpose input / output) signal, and different states of the GPIO signal correspond to different rotation directions. For example, when the GPIO signal is at a high level, the drive motor is controlled to rotate forward, and when the GPIO signal is at a low level, the drive motor is controlled to rotate reversely.

[0103] In a possible implementation, after the driving motor is running, the running condition of the driving motor is also monitored to show that the movement process of the screen is normal. Figure 7 The process of monitoring the operation of the drive motor is described in detail.

[0104] 203. Monitor the state of a target limit switch in the display screen, where the target limit switch is a switch for limiting the movement of the display screen to reach a target position;

[0105] Wherein, a limit switch is provided in the display screen, and the limit switch is used to limit the movement of the display screen to a specific position, and the specific position includes the farthest end and the nearest end of the movement.

[0106] Among them, different structures are arranged in the display screen according to different moving modes. Correspondingly, different limit switches need to be arranged according to different structures so as to detect whether the display screen moves to the target position.

[0107] The display screen is a rollable screen made of a flexible display screen, which is rolled up and unfolded like a scroll. The display screen can be rolled up from both ends to the middle, or from one end to the other.

[0108] Among them, when the display screen is rolled up from both ends to the middle to achieve movement of the display screen, it is necessary to detect the movement of the two ends; when the display screen is only rolled up from one end to the other end to achieve movement of the display screen, it is necessary to detect the movement of one rolled-up end.

[0109] Accordingly, when the display screen can be rolled up from both ends to the middle, limit switches can be set at both ends of the display screen to limit the movement of the two ends to reach the target position, which includes the position reached by rolling up and the position reached by unfolding.

[0110] Accordingly, when the display screen can be rolled up from one end to the other, a limit switch can be set at the rollable end of the display screen to limit the movement of the end to reach a target position, which includes the position reached when the end is rolled up and the position reached when it is unfolded.

[0111] The target limit switch is a switch that limits the target position when the display screen moves. When the movement of the display screen is that at least one end of the display screen is rolled up, the limit switch set to the limited position when the rolling up is determined is the target limit switch; when the movement of the display screen is that at least one end of the display screen is unfolded, the limit switch set to the limited position when the unfolding is determined is the target limit switch.

[0112] In a possible implementation, the display screen includes a flexible display screen and a supporting structure, and the supporting structure can support the flexible display screen. The shape change of the supporting structure drives the shape change of the flexible display screen, thereby realizing the movement of the display screen, resulting in a change in the visible size of the screen.

[0113] As an example, the support structure may be composed of two or more overlapping components. When the components overlap, the flexible display screen is rolled up, and when the components do not overlap and extend along the same plane, the flexible screen is unfolded.

[0114] Figure 3 1 is a schematic diagram of a supporting structure in a display screen provided by an embodiment of the present application. The structure in the schematic diagram is configured for the display screen to be rolled from one end to the other end, and includes a first part 301 and a second part 302. The first part and the second part can move relative to each other. In the schematic diagram, a contact member 3011 is provided at one end of the first part, and limit switches 3021-3022 are provided at both ends of the second part. When the first part and the second part overlap, one end of the flexible display screen of the display screen is rolled up. At this time, Figure 3 As shown in the middle left figure, the contact member 3011 provided in the first part contacts the limit switch 3022 at one end of the second part. When the first part and the second part extend along the same plane, the flexible display screen of the display screen unfolds. Figure 3 As shown in the middle right figure, the contact piece 3011 provided on the first part contacts the limit switch 3021 at the other end of the second part.

[0115] Correspondingly, when the movement of the display screen is to roll up one end, the limit switch 3022 is determined as the target limit switch; when the movement of the display screen is to unfold and roll up one end, the limit switch 3021 is determined as the target limit switch.

[0116] Figure 4 This is another structural schematic diagram of a support structure in a display screen provided in an embodiment of the present application. The structure in the schematic diagram is configured to roll the display screen from both ends to the middle, and includes a first part 401, a second part 402, and a third part 403. The first part and the second part can move relative to each other, and the third part and the second part can move relative to each other. In this schematic diagram, the second part serves as a fixed position structure, and the first part and the third part move toward the second part. In the schematic diagram, a contact piece 4021 is provided at one end of the second part, and limit switches 4011~4012 are provided at both ends of the first part, respectively. A contact piece 4022 is provided at the other end of the second part, and limit switches 4031~4032 are provided at both ends of the third part, respectively. When the first part and the second part overlap, and the third part and the second part overlap, both ends of the flexible display screen of the display screen are rolled up. At this time, as shown in FIG. Figure 4 As shown in the middle left figure, the contact member 4021 provided in the second part contacts the limit switch 4012 at one end of the first part, and the contact member 4021 provided in the first part contacts the limit switch 4032 at one end of the third part. When the first part, the second part and the third part extend along the same plane, the flexible display screen of the display screen unfolds. Figure 4 As shown in the middle right figure, the contact piece 4021 provided in the second part contacts the limit switch 4011 at the other end of the first part, and the contact piece 4022 provided in the second part contacts the limit switch 4031 at one end of the third part.

[0117] Correspondingly, when the movement of the display screen is to roll up at both ends, the limit switch 4012 and the limit switch 4032 are determined as the target limit switches; when the movement of the display screen is to unfold and roll up at both ends, the limit switch 4011 and the limit switch 4031 are determined as the target limit switches.

[0118] 204. Generate a first signal based on the state of the target limit switch switching from the first state to the second state. The target limit switch switching from the first state to the second state indicates that the moving position of the display screen changes from not reaching the target position to reaching the target position. The first signal is used to control the drive motor to stop running.

[0119] When the display screen moves to reach the target position, the state of the target limit switch is switched from the first state to the second state.

[0120] In a possible implementation, the limit switch may adopt a physical switch structure, referring to Figure 3 and Figure 4 In the structure, the limit switch contacts the contact piece and the state of the limit switch is switched.

[0121] As an example, the first state of the limit switch may be to output a high level, and the second state may be to output a low level. Accordingly, 1 is used to represent the first state, and 0 is used to represent the second state.

[0122] Among them, based on detecting that the state of the target limit switch switches from the first state to the second state, it can be determined that the moving position of the display screen has reached the target position, and accordingly, it is necessary to control the drive motor to stop running and stop moving the display screen.

[0123] Figure 5 1 is a schematic diagram of a display screen provided in an embodiment of the present application moving to a target position, wherein the movement of the display screen includes rolling up and unfolding from one end to the other end, wherein the first end 501 of the display screen is fixed, and the second end 502 is rolled up and unfolded. The left figure is a schematic diagram of rolling up, wherein a portion of the display screen is hidden, and the corresponding target position is a position where the second end 502 is completely hidden, and the right figure is a schematic diagram of unfolding, wherein no portion of the display screen is hidden, and the corresponding target position is a position where the second end 502 is completely unfolded, and the dotted line frame in the figure is an area that can be hidden.

[0124] Figure 6 This is another schematic diagram of the display screen moving to the target position provided by the embodiment of the present application. The movement of the display screen includes rolling up and unfolding from the two ends to the middle area. The middle position 601 of the display screen is fixed, and the two ends 602~603 can be rolled up and unfolded to the middle area respectively. Among them, the left figure is a schematic diagram when rolling up, part of the display screen is hidden, and the corresponding target position is the position where the two ends 602~603 are completely hidden. The right figure is a schematic diagram when unfolding, there is no hidden part in the display screen, and the corresponding target position is the position where the two ends 602~603 are completely unfolded. The dotted box in the figure is the area that can be hidden.

[0125] In a possible implementation, when the display screen is moved, the visible screen size of the display screen changes, which will cause the image acquisition device set at one end of the body where the display screen is located to move, resulting in the inability to capture a picture that meets the requirements. Therefore, it is necessary to adjust the image captured by the image acquisition device. Fig.10 The process of adjusting the image acquisition device to acquire images is described in detail.

[0126] In a possible implementation, after the movement of the display screen ends, the visible screen size of the display screen changes, and the display screen can be divided into display areas with different functions. Fig.19 The process of dividing the display screen into display areas is described in detail in .

[0127] In this embodiment, after receiving trigger information that triggers the movement of the display screen, a drive signal that controls the movement of the drive motor is generated based on the trigger information. The operation of the drive motor drives at least one end of the display screen to move, so as to change the visible size of the display screen. During the operation of the drive motor, the state of the target limit switch in the display screen is monitored. The target limit switch is a switch used to limit the movement of the display screen to reach the target position. If the state of the target limit switch is switched from a first state to a second state, indicating that the moving position of the display screen has changed from never reaching the target position to reaching the target position, a first signal is generated. The first signal is used to control the drive motor to stop running, thereby achieving accurate control of the moving position of the display screen and preventing the rolling and unfolding actions from being not in place or over-positioned.

[0128] Figure 7 It is a flowchart of monitoring the operation status of a drive motor provided in an embodiment of the present application, which may include steps 701 to 704. These steps are described in detail below.

[0129] 701. Receive target data sent by a linear encoder, where the target data is generated by the linear encoder based on the running state of the drive motor;

[0130] After the driving signal is generated to control the operation of the driving motor, the operation status of the driving motor is detected.

[0131] In this embodiment, a linear encoder is provided for the driving motor, and the linear encoder generates a corresponding data signal following the operation of the driving motor. Accordingly, the operating state of the driving motor can be analyzed based on the data signal generated by the linear encoder.

[0132] In this embodiment, the linear encoder adopts an absolute output working mode.

[0133] Among them, the drive motor pulls the flexible display screen to move during operation, driving the magnet belt in the linear encoder to move. The magnetic fields of the South Pole region and the North Pole region are evenly arranged in the magnet belt. When the magnet belt moves, the magnetic field of the linear encoder changes. The magnet range of the linear encoder is pre-divided into a specific number of coding ranges. The magnetic field change of the linear encoder corresponds to the movement speed of the drive motor, and the code can be uploaded according to a set time period. The code uploaded in each period corresponds to the movement of the drive motor in the period. The linear encoder uploads the coded data representing the change in the magnetic field, so that the main control unit of the electronic device can determine the operating status of the drive motor based on the coded data.

[0134] Figure 8 It is a schematic diagram of the encoder data generation provided by the embodiment of the present application, wherein the linear encoder is provided with a magnetic belt 801, on which a plurality of magnetic poles (south pole (S) and north pole (N)) are evenly arranged, and the corresponding range of a group of magnetic poles in the schematic diagram is 2mm (millimeter). Among them, the linear encoder adopts an absolute output working mode. The corresponding range of a group of magnetic poles is pre-divided into 4096 partitions, specifically corresponding to the encoding 0~4095, and the corresponding absolute output signal absolute output is 0~4095. The pulse output (PWM output) is 0~4097μs (microseconds). The drive motor rotates the magnetic belt in the linear encoder to move and cut the magnetic lines of force, wherein the number of electrical pulses (pluses / polepair) required for each pair of magnetic poles is recorded for the two positions AB, wherein the corresponding parameters of phase A and phase B are 256 (the number of electrical pulses required for each pair of magnetic poles), and the number of steps required for each pair of magnetic poles corresponding to phase A and phase B (steps / polepair) is 1024. There is also a marking (index) information for marking the magnetic pole pairs. This marking information is generated every time the magnetic belt moves over a group of magnetic pole pairs (1pluse / polepair). The double-headed arrow in the figure indicates the direction of movement of the magnetic belt.

[0135] Accordingly, the number of electric pulses required for each pair of magnetic poles, the number of steps required for each pair of magnetic poles, and the marking information can be sent to the main control unit as target data.

[0136] 702. Analyze the target data to obtain the operating state of the drive motor;

[0137] The main control unit has preset parsing rules, and the operating state of the corresponding drive motor is analyzed according to the target data sent by the linear encoder.

[0138] Among them, the drive motor gradually accelerates within a period of time after being turned on, and when it reaches the set speed, it can rotate at a relatively uniform speed to achieve normal operation.

[0139] Accordingly, the target data is analyzed to determine whether the movement of the magnetic belt in the linear encoder is uniform speed movement.

[0140] In a possible implementation, the target data obtained within a period of time after the drive motor is turned on may be discarded to prevent the startup process from affecting the judgment.

[0141] If the target data sent by the linear encoder indicates that the movement of the magnet belt is uniform, it is determined that the drive motor is operating normally, and it can be determined that the operating state of the drive motor does not meet the abnormal condition, and step 704 is executed.

[0142] If the target data sent by the linear encoder indicates that the movement of the magnet belt is not uniform, such as no movement, the drive motor cannot be started successfully, and the operating state of the drive motor meets the abnormal condition, and step 703 is executed.

[0143] In the process of moving the movable screen, two or more motors are arranged at one moving end, and the two or more motors move synchronously so that the display screen can move. Each driving motor corresponds to a linear encoder to generate target data related to the operation of the corresponding driving motor.

[0144] Accordingly, it can be determined whether the two or more motors move synchronously, specifically by analyzing the target data sent by each linear encoder to determine whether the moving speeds of the magnet belts of each linear encoder are the same. If they are the same, the motors are synchronized, otherwise the motors are not synchronized. The situation where the motors are not synchronized meets the abnormal condition, and step 703 is executed.

[0145] 703. Generate a second signal based on the operating state of the drive motor meeting an abnormal condition, where the second signal is used to control the drive motor to stop running;

[0146] If it is determined that the operating state of the drive motor meets an abnormal condition, in order to ensure a longer service life of the movable display screen, it is necessary to control the drive motor to stop running.

[0147] A second control signal is generated and sent to each driving motor to stop the display screen from moving.

[0148] Moreover, if the operating state of the drive motor meets the abnormal submission, it is also necessary to generate and output an alarm signal to alarm the abnormal operation of the drive motor, so that the user can understand the abnormal situation in time.

[0149] 704. Based on the fact that the operating state of the drive motor does not satisfy the abnormal condition, execute the step of monitoring the state of the target limit switch in the display screen.

[0150] Among them, if it is determined that the operating state of the drive motor does not meet the abnormal conditions and the display screen can move normally, the operating state of the drive motor continues to be monitored according to the target data received subsequently, and the state of the target limit switch in the display screen is monitored to reach the target position while the display screen can move normally.

[0151] Fig. 9 It is a schematic diagram of the system structure of the electronic device provided in an embodiment of the present application, including: a super button 901, an EC902 (Embedded Controller), a main control unit 903, a sensor 904, a motor driver chip 905, a stepper motor 906, a linear encoder 907, a linear motion module 908 and a limit switch 909.

[0152] The super button 901 is connected to the main control unit 903 via the EC 902 . When the super button 901 is triggered, a signal is generated to the EC 902 . The EC sends a trigger signal for triggering the movement of the display screen to the main control unit 903 .

[0153] The sensor 904 is connected to the main control unit 903 , and is used to detect the posture of the electronic device, such as the opening and closing angles of the screen (AB surface) and the base (CD surface) of the notebook computer.

[0154] Among them, the main control unit 903 is connected to the motor drive chip 905 through the TIMx pin, two GPIO pins and the Tx pin, the TIMx pin is the channel x for transmitting pulse signals between the main control unit 903 and the motor drive chip 905, the GPIOx pin is used to adjust the motor direction according to the high and low levels, the GPIOy pin is used to disable / enable the driver according to the high and low levels, and the Tx pin is used to transmit the configuration parameter message to the motor drive chip 905. The main control unit 903 determines whether to control the display screen to move or not based on the received trigger signal and the opening and closing angle.

[0155] The motor driver chip 905 is connected to the stepper motor 906 through two pairs of signal paths, which transmit A+, A-, B+, and B- signals respectively. The stepper motor 906 rotates according to the signal transmitted by the motor driver chip 905. The linear encoder 907907 feeds back the target data generated based on the running state of the driving stepper motor 906 to the main control unit 903, and the main control unit 903 can determine whether to control the stepper motor 906 to continue running or stop running through the motor driving signal according to the target data.

[0156] The stepper motor 906 drives the linear motion module 908 to move the display screen.

[0157] Among them, the linear motion module 908 and the limit switch, when the display screen moves to the target position, the limit switch state changes, the main control unit 903 monitors the limit switch state change, and generates a stop control signal to the motor drive chip 905 to stop the stepper motor 906 from running.

[0158] In this embodiment, the operation condition of the drive motor is monitored by a linear encoder. Specifically, target data sent by the linear encoder is received, and the target data is generated by the linear encoder based on the operation state of the drive motor; the target data is analyzed to obtain the operation state of the drive motor; based on the operation state of the drive motor satisfying an abnormal condition, a second signal is generated, and the second signal is used to control the drive motor to stop running; based on the operation state of the drive motor not satisfying the abnormal condition, the state of the target limit switch in the display screen is monitored, thereby realizing monitoring of the operation condition of the drive motor during the operation of the drive motor, so as to monitor the movement process of the display screen and improve the service life of the display screen.

[0159] Fig.10 It is a flowchart of a process for adjusting an image acquisition device to acquire an image provided by an embodiment of the present application, which may include steps 1001 to 1002. These steps are described in detail below.

[0160] 1001. Based on the change of the visible size of the screen triggered by the movement of the display screen of the electronic device, the relative position relationship between the image acquisition device and the acquisition object is obtained; the image acquisition device is arranged at one end of the body where the display screen of the electronic device is located, the display screen of the electronic device includes a display area that can be hidden, and the movement of the display screen can make the hidden display area visible;

[0161] The movement of the display screen of the electronic device can trigger a change in the visible size of the screen. Part of the display screen is a hidden display area. The movement can simplify the hidden display area. The visible size of the screen before the display screen changes is smaller than the visible size of the screen after the change. The visible size of the screen can refer to the aforementioned Figure 1 As shown in .

[0162] As an example, the visible screen sizes include 13.9'' (inch) and 16.7''. The 13.9'' screen has an aspect ratio of 5:4, including 2000×1600 pixels, and the 16.7'' screen has an aspect ratio of 8:9, including 2000×2350 pixels.

[0163] Among them, an image acquisition device is arranged at one end of the body where the display screen of the electronic device is located, and the image acquisition device can acquire images of the acquisition object.

[0164] Among them, if the visible screen size of the display screen changes during the image acquisition process of the acquisition object, the acquisition range of the image acquisition device will change, and the relative position relationship between the image acquisition device and the acquisition object will change, and this change will cause the image acquired by the image acquisition device for the acquisition object to be different.

[0165] Fig.11 1 is a schematic diagram of the relative position relationship between the image acquisition device and the acquisition object provided by the embodiment of the present application, including an electronic device 1101 and an acquisition object 1102. The acquisition object in the schematic diagram is a person. The electronic device includes an image acquisition device 11011 and a display screen 11012. The image acquisition device is located on the upper side of the display screen, and the display screen can change the visible size of the screen in the up and down directions. Among them, the left figure shows the relative position relationship between the image acquisition device and the acquisition object before the visible size of the screen changes, and the acquisition object is located in the central area of ​​the acquisition range of the image acquisition device. The right figure shows the relative position relationship between the image acquisition device and the acquisition object after the visible size of the screen changes, and the acquisition object is located in the lower area of ​​the acquisition range of the image acquisition device.

[0166] In one possible implementation, different changes in the visible screen size of the display screen may be based on different trigger instructions, and subsequent Fig.14 The process of controlling the change of the visible screen size of the display screen is described in detail.

[0167] 1002. Based on the relative positional relationship between the image acquisition device and the acquisition object, adjust the first image acquired by the image acquisition device so that the acquisition object displayed by the first image meets a preset condition.

[0168] The preset condition is to obtain a presentation effect of the captured object in the image before the visible size of the screen changes.

[0169] Among them, the change of the visible size of the display screen causes the relative position relationship between the image acquisition device and the acquisition object to change. If the image acquisition device continues to use the image processing method before the visible size of the screen changes, the acquisition object in the obtained image will not meet the preset conditions. Therefore, it is necessary to adjust the first image acquired by the image acquisition device so that the acquisition object displayed in the first image meets the preset conditions.

[0170] In a possible implementation, the adjusting the first image captured by the image capture device so that the captured object displayed by the first image meets a preset condition includes at least one of the following:

[0171] 1. adjusting the acquisition range of the image acquisition device so that the acquisition object displayed by the first image acquired by the image acquisition device meets the preset conditions;

[0172] 2. intercepting and processing the collected original image to obtain a first image, wherein the collected object displayed by the first image meets the preset conditions;

[0173] Among them, the acquisition object displayed in the first image acquired by the image acquisition device meets preset conditions, including at least one of the following: the position of the acquisition object in the first image is located in the central area of ​​the first image, and the line of sight direction of the acquisition object in the first image is the direction of looking at the screen.

[0174] The relative position relationship between the image acquisition device and the body can be changed, and the acquisition angle of the image acquisition device is adjustable. Accordingly, the acquisition range of the image acquisition device can be adjusted by adjusting the relative angle between the image acquisition device and the specific surface of the body where the display screen is located.

[0175] Among them, by adjusting the acquisition range of the image acquisition device, so that in the first image acquired by the image acquisition device, the position of the acquired object in the first image is located in the central area of ​​the first image, the presentation effect is consistent with the presentation effect before the visible size of the screen changes.

[0176] Fig.12 is a schematic diagram of adjusting the acquisition range of the image acquisition device provided in an embodiment of the present application, wherein: Fig.12 The middle left picture shows the acquisition range of the image acquisition device 1201 before the visible size of the screen changes, and the acquisition object 1202 is located in the central area of ​​the acquisition range; Fig.12 The middle figure shows the acquisition range of the image acquisition device 1201 after the visible size of the screen changes, and the acquisition object 1202 is located in the lower area of ​​the acquisition range; Fig.12 The middle right picture shows the acquisition range of the image acquisition device 1201 after adjustment, and the acquisition object 1202 is located in the central area of ​​the acquisition range.

[0177] Among them, if the acquisition angle of the image acquisition device is not adjustable, the original image captured by the image acquisition device can be captured, and the position of the object in the first image captured is located in the central area of ​​the first image, and the presentation effect is consistent with the presentation effect before the visible size of the screen changes.

[0178] In a possible implementation, an auto framing technology may be used to capture an original image captured by an image capture device, with the captured object being the focus, so that in the captured first image, the captured object is in the center area of ​​the first image.

[0179] In a possible implementation, the first image may be processed so that the sight line direction of the object captured in the first image is the direction of gazing at the screen.

[0180] When the acquisition object is a human face, eye tracking technology may be used to process the facial image in the first image so that the line of sight of the human face is in the direction of the screen.

[0181] Fig.13 is a first image schematic diagram provided in an embodiment of the present application, Fig.13 The left figure is a schematic diagram of an image before adjustment, in which the acquisition object 1301 is located in the lower half of the image, and the line of sight of the acquisition object is facing downward; Fig.13 The right figure is a schematic diagram of the first image after adjustment. In the image, the acquisition object 1301 is located in the central area of ​​the image, and the line of sight of the acquisition object is the direction of looking at the screen.

[0182] It should be noted that, in the present embodiment, the movement of the display screen can make the hidden display area visible, and the visible size of the screen changes from a smaller size to a larger size; similarly, the movement of the display screen makes the hideable display area change from visible to hidden, and the visible size of the screen changes from a larger size to a smaller size. The processing method in the present embodiment can also be adopted, and the specific processing process will not be elaborated herein.

[0183] In this embodiment, it also includes: based on the change of the visible size of the screen triggered by the movement of the display screen of the electronic device, the relative position relationship between the image acquisition device and the acquisition object is obtained; the image acquisition device is arranged at one end of the body where the display screen of the electronic device is located, the display screen of the electronic device includes a display area that can be hidden, and the movement of the display screen can make the hidden display area visible; based on the relative position relationship between the image acquisition device and the acquisition object, the first image acquired by the image acquisition device is adjusted so that the acquisition object displayed by the first image meets the preset conditions. By controlling the display screen to move to trigger the change of the visible size of the screen, the relative position relationship between the display device arranged at one end of the body where the display screen is located and the acquisition object changes, and the image acquired by the image acquisition device for the acquisition object before the visible size of the screen changes, the presentation effect of the first image acquired by the image acquisition device for the acquisition object is poor, and the first image acquired by the image acquisition device is adjusted so that the acquisition object displayed by the first image meets the preset conditions and is consistent with the presentation effect of the acquisition object displayed by the middle image before the visible size of the screen changes, thereby improving the image acquisition effect.

[0184] Fig.14 This is a flow chart of controlling the movement of the display screen of an electronic device to trigger the change of the visible size of the screen provided in an embodiment of the present application, which may include steps 1401 to 1402, and these steps are described in detail below.

[0185] 1401. Based on a first trigger instruction, control a display screen of an electronic device to move along a first direction so as to make a hidden display area in the display screen visible;

[0186] Among them, different moving directions of the display screen are controlled and executed based on different trigger instructions.

[0187] Among them, different buttons, combined hot keys and sliding gestures can be used to generate different trigger instructions.

[0188] After receiving a command, the control direction corresponding to the command can be determined to control the display screen to move along the corresponding direction.

[0189] The first direction is the direction in which the display screen is unfolded. When the display screen is rolled up and unfolded, a hidden display area in the display screen is made visible, thereby realizing a change from partially rolled up and hidden to fully unfolded.

[0190] 1402. Based on the second trigger instruction, control the display screen of the electronic device to move along a second direction so that a visible display area of ​​the display screen is hidden, and the second direction is opposite to the first direction;

[0191] The electronic device comprises a first body and a second body, the display screen comprises a visible display area arranged on the first body and a concealable display area arranged on the second body, and the image acquisition device is located at one end of the first body.

[0192] The second direction is the direction in which the display screen is rolled up. When the display screen is rolled up from being unfolded, the hideable display area in the display screen changes from being visible to being hidden, thereby realizing the change of the display screen from being fully unfolded to being partially rolled up and hidden.

[0193] Among them, in order to realize the change of the hideable area in the display area between visible and hidden, the electronic device is provided with a first body and a second body, the first body carries the visible display area of ​​the display screen, and the second body carries the hideable display area in the display screen. The display area in the first body is always visible, and the image acquisition device is located at one end of the first body. As the hideable display area in the display screen changes between hidden and visible, the size of the display screen also changes accordingly. Accordingly, the distance between the surfaces of the image acquisition device carrying the display screen will also change, which is the reason for the change in the relative position relationship between the image acquisition device and the acquisition object.

[0194] The first body and the second body may be connected via a rotating shaft, an image acquisition device is provided at one end of the first body, and the other end of the first body is connected to the second body via the rotating shaft.

[0195] The electronic device may be a notebook computer, the first body is the AB surface, the second body is the CD surface, the display screen is arranged on the A surface, and the hideable display area is hidden in the second body.

[0196] Among them, when the display area in the display screen is fully visible, the distance between one end and the other end of the first body is larger. When part of the display screen is hidden, the hidden part is supported by the second body, and the distance between one end and the other end of the first body is smaller.

[0197] Fig.15 is a schematic diagram of a structure of an electronic device provided in an embodiment of the present application, Fig.15 1 is a side view of an electronic device, which includes a first body 1501 and a second body 1502. The first body 1501 and the second body 1502 are rotatably connected, and a side 15021 of the second body adjacent to the first body can be provided with an input device, such as a key, a touch pad, etc. The first display area 15031 of the display screen 1503 is provided on the first body 1601, the second display area 15032 of the display screen is provided on the second body 1502, and the image acquisition device 1504 is provided on the first body. Fig.15 In the left figure, the second display area in the display screen is hidden, and the display screen is partially hidden; Fig.15 In the right figure, the second display area and the first display area in the display screen are displayed together, and the display screen is fully expanded.

[0198] The second body may be disposed in the first body, the second body is used to support the hidden area in the display screen, and the first body has a supporting space for supporting the second body.

[0199] Fig.16 is another structural schematic diagram of an electronic device provided in an embodiment of the present application, Fig.16 1 is a side view of an electronic device, which includes a first body 1601 and a second body 1602. The second body 1602 is disposed in the first body 1601. The first display area 16031 of the display screen 1603 is disposed on the first body 1601, the second display area 16032 of the display screen is disposed on the second body 1602, and the image acquisition device 1604 is disposed on the first body. Fig.16 In the left figure, the second display area in the display screen is hidden, and the display screen is partially hidden; Fig.16 In the right figure, the second display area and the first display area in the display screen are displayed together, and the display screen is fully expanded.

[0200] In this embodiment, the electronic device includes a first body and a second body, the display screen includes a visible display area set on the first body and a hideable display area set on the second body, and the image acquisition device is located on the first body. Based on the first trigger instruction, the display screen of the electronic device is controlled to move along the first direction to make the hidden display area in the display screen visible; based on the second trigger instruction, the display screen of the electronic device is controlled to move along the second direction to make the visible display area of ​​the display screen hidden, and the second direction is opposite to the first direction. By separately setting the visible display area and the hideable display area in the display screen on the first body and the second body of the electronic device, the display screen of the electronic device can be controlled to move along different directions when receiving different trigger instructions, so that the hideable display area in the display screen is hidden or visible, thereby realizing the change of the display screen between different sizes.

[0201] Fig.17 This is a flow chart of capturing and processing the collected original image to obtain a first image provided by an embodiment of the present application, which may include steps 1701 to 1703, and these steps are described in detail below.

[0202] 1701. Obtain display parameters of the display screen after the change, where the display parameters correspond to the size of the display screen after the change;

[0203] The display parameters may include display-related parameters such as the aspect ratio and number of pixels of the display screen.

[0204] When the visible size of the screen changes due to movement of the display screen of the electronic device, the display parameters of the display screen before the change are different from the display parameters after the change.

[0205] For example, the visible size of the screen before the display screen changes is smaller than the visible size of the screen after the change. Accordingly, the number of pixels before the display screen changes is less than the number of pixels after the change, and the aspect ratios of the two are also different; the visible size of the screen before the display screen changes is larger than the visible size of the screen after the change. Accordingly, the number of pixels before the display screen changes is more than the number of pixels after the change, and the aspect ratios of the two are also different.

[0206] The current capture rule used to capture the original image corresponds to the display parameters before the display screen changes, but the rule is not suitable for the display parameters after the display screen changes. Therefore, the original image needs to be captured based on the display parameters.

[0207] Among them, the display parameters of the display screen after the change are obtained, and the display parameters include various parameters required for capturing the image, which are not limited in this application.

[0208] 1702. Determine a target capture area according to the display parameter;

[0209] The capture rule is to use an automatic frame technology, and the automatic frame technology determines a target capture area according to the display parameters.

[0210] Among them, since the visible screen size before the display screen changes is different from the visible screen size after the change, the automatic photo frame technology can determine different clipping areas for the visible screen size before and after the change, and the clipping area corresponds to the visible screen size.

[0211] 1703. The original image is intercepted according to the target interception area to obtain a first image.

[0212] Wherein, based on the determined target interception area, the range where the acquisition object is located is determined in the original image, and the range is intercepted to obtain the first image.

[0213] In a possible implementation, the original image is a circular / hemispherical image acquired by an image acquisition device.

[0214] In the process of intercepting the original image to obtain the first image, it is also possible to combine Fig.10 The process shown is for processing the original image.

[0215] Among them, in the automatic photo frame technology, the capture range of a specific object in the image content can be set.

[0216] For example, the area from the top of the head to the chest of the person in the original image is captured to obtain the first image. Accordingly, for different screen visible sizes, in order to ensure that the captured portrait is not deformed, the acquisition ratio can be adjusted. For example, for a display screen with a larger aspect ratio, a larger area can be captured, and the area above the top of the head or below the chest in the original image is also captured to obtain a first image that better matches the display screen.

[0217] Fig.18 : is a schematic diagram of a display screen provided by an embodiment of the present application, in which a first image 1801 is presented, a display screen 1802 in the left figure is of a first size, and a display screen 1802 in the right figure is of a second size, the first size is larger than the second size, and the aspect ratios of the two are different. Among them, the aspect ratio of the first image in the left figure matches the display screen of the first size, the length ratio of the first image in the right figure matches the display screen of the second size, and the size of the first image in the left figure is larger than the size of the second image. Moreover, the aspect ratio of the first size is larger than the aspect ratio of the second size, and the top area of ​​the head of the portrait in the first image in the left figure is larger than the top area of ​​the head of the portrait in the first image in the right figure. Under the premise of ensuring that the aspect ratio of the first image is consistent with the aspect ratio of the display screen, the image in the image is not deformed.

[0218] In this embodiment, display parameters of the display screen after the change are obtained, and the display parameters correspond to the size of the display screen after the change; a target capture area is determined based on the display parameters; the original image is captured based on the target capture area to obtain a first image, and a target capture area is determined based on the display parameters after the change of the display screen, so as to capture the first image in the original image based on the target capture area, and parameters are adjusted according to the capture rules pre-set in the electronic device, so that the captured first image matches the screen visible size of the display screen after the change, thereby ensuring that the output display image presentation effect is better.

[0219] Fig.19 It is a flowchart of dividing a display screen into display partitions provided in an embodiment of the present application, which may include steps 1901 to 1904, and these steps are described in detail below.

[0220] 1901. Based on receiving a partition trigger instruction, determine a first display area and a second display area in the display screen according to a visible size of the screen, wherein the first display area and the second display area constitute a display area of ​​the display screen;

[0221] The partition trigger instruction may be generated based on a key value of a specific hot key combination, an input track, a key value of a function key, and the like.

[0222] As an example, the hot key combination may be set to be alt+w as a function key for triggering partitioning.

[0223] In a possible implementation, when the display screen is fully unfolded and the hidden display area in the display screen becomes visible, the display screen is responded to the received partition trigger instruction and is divided into two display areas.

[0224] Correspondingly, the display area that can be hidden in the display screen can be set as the second display area, and the display area that cannot be hidden in the display screen can be set as the first display area.

[0225] After receiving the partition trigger instruction, two display partitions of the display screen are determined according to the visible screen size of the current display screen.

[0226] In a possible implementation, the partition trigger instruction may carry partition information, and the display screen of the visible screen size is partitioned according to the partition information.

[0227] The two display areas in the display screen are respectively used to output different display contents.

[0228] Among them, when the display screen is rolled up or unfolded in the left-right direction, the first display area and the second display area can be arranged in the left-right direction of the display screen; when the display screen is rolled up or unfolded in the up-down direction, the first display area and the second display area can be arranged in the up-down direction of the display screen.

[0229] In a possible implementation, the area of ​​the first display region is larger than the area of ​​the second display region to ensure a display effect sent to a target device.

[0230] Fig. 20 is a schematic diagram of a display screen provided in an embodiment of the present application, including a first display area 2001 and a second display area 2002. Fig. 20 In the left figure, the two display areas are arranged on the left and right. Fig. 20 In the right picture, the two display areas are arranged up and down.

[0231] In a possible implementation, if no partition triggering instruction is received, all display contents in the display screen are sent to the target device, and the target device is controlled to output all display contents.

[0232] 1902. Controlling output of first display content in a first display area of ​​a display screen, and controlling output of second display content in a second display area of ​​the display screen, wherein a security requirement of the first display content is lower than a security requirement of the second display content;

[0233] Different display contents are distributed and output in the first display area and the second display area, and the security requirement of the first display content is lower than the security requirement of the second display content.

[0234] As an example, the content output by the first display area may be an application page with relatively low security requirements, such as a web conference page, a screen projection page, and the like.

[0235] The content outputted by the second display area is an application page with relatively high security requirements, such as an instant messaging application page, a user personal information page or other information.

[0236] In a possible implementation, the target display interface can be moved to the second display area to control the output of display content in the second display area. Fig.21 The process of controlling the output of the second display content in the second display area of ​​the display screen is described in detail.

[0237] In a possible implementation, the display parameters of the target display interface can be preset to be displayed in the second display area. Accordingly, the target display interface can be automatically output in the second display area. Fig. 22The process of controlling the output of the second display content in the second display area of ​​the display screen is described in detail.

[0238] 1903. Obtain first display content output in the first display area;

[0239] The first display content of the first display area may be obtained by taking a screenshot.

[0240] 1904. Send the first display content to a target device to control the target device to output the first display content.

[0241] There is a data transmission channel between the electronic device and the target device. The electronic device and the target device can be connected by wire, such as a bus connection; the electronic device and the target device can be connected by wireless, such as a Bluetooth connection.

[0242] Among them, the first display content is sent to the target device through the data transmission channel between the electronic device and the target device, and the target device performs display output based on the received first display content, thereby realizing the screen projection output of the content displayed on the display screen of the electronic device on the target device.

[0243] Among them, the target device can be a peer device equipped with an application terminal, such as a terminal device of other participants in an online meeting, or a device used for screen projection.

[0244] In this embodiment, based on receiving a partition trigger instruction, according to the visible size of the screen, the first display area and the second display area in the display screen are determined, and the first display area and the second display area constitute the display area of ​​the display screen; the first display content is controlled to be output in the first display area of ​​the display screen, and the second display content is controlled to be output in the second display area of ​​the display screen, and the security requirement of the first display content is lower than the security requirement of the second display content; the first display content output in the first display area is obtained; the first display content is sent to the target device to control the target device to output the first display content. Partitioning the visible area of ​​the display screen is achieved, and content with different security requirements is output in different partitions. The first display content of the first display area also needs to be sent to the target device to control the target device to also output the first display content. The security requirement of the content output by the second display area is higher, and it is ensured that the content with higher security requirements will not be sent to other devices, thereby ensuring the security of the second display content.

[0245] Fig.21 It is a flow chart of controlling the output of the second display content in the second display area of ​​the display screen provided by an embodiment of the present application, which may include steps 2101~2102, and these steps are described in detail below.

[0246] 2101. Receive a moving operation of moving a target display interface to a second display area;

[0247] The target display interface is a display interface of an application with higher security requirements.

[0248] After the display screen is divided into two display areas, the target display interface is displayed in the first display area by default, and the display content in the display screen has not yet been sent to the target device. The operator can move the target display interface from the first display area to the second display area according to personal needs.

[0249] In one possible implementation, the moving operation may be performed by a sliding gesture, mouse input, etc. Accordingly, based on the sliding gesture or mouse input trajectory, it is determined that the starting position is the location of the target display interface in the first display area, and the end position is in the second display area. The moving operation is to move from the location of the target display interface in the first display area to the second display area.

[0250] 2102. Based on the moving operation, control the target display interface to be output in the second display area;

[0251] According to the moving operation, it can be determined that the target display interface is moved from the first display area to the second display area, and in response to the moving operation, the target display interface is controlled to be output in the second display area.

[0252] The second display area may only output the target display interface, and correspondingly, the target display interface may be fully displayed in the second display area for output.

[0253] Among them, the second display area can output multiple display interfaces. Accordingly, multiple display interfaces can be set to be output in partial areas of the second display area respectively, or the target display interface most recently moved to the second display area can be used as the foreground display interface, and the application of its display interface runs in the background.

[0254] In this embodiment, a moving operation to move the target display interface to the second display area is received; based on the moving operation, the target display interface is controlled to be output in the second display area, thereby enabling the operator to manually move the target display interface to the second display area, thereby ensuring that the target display interface with higher security requirements is only displayed in the second display area.

[0255] Fig. 22 This is another flowchart of controlling the output of the second display content in the second display area of ​​the display screen provided by an embodiment of the present application, which may include steps 2201~2202, and these steps are described in detail below.

[0256] 2201. Receive display setting parameters for setting a target display interface;

[0257] Among them, parameters are set in advance for each application, and specifically, parameters can be set for the display of its display interface.

[0258] The display setting parameters may be displayed in a specific area or a non-specific area, and the specific area is a display area with higher security.

[0259] Correspondingly, in this embodiment, the specific area is the second display area.

[0260] In a possible implementation, a display setting parameter of each application is used to set a private display or a non-private display, and a specific identifier is used to distinguish the set display mode.

[0261] Among them, after triggering and determining the two display areas, the operator manually sets the display setting parameters of the target display interface, and the display setting parameters may be a privacy display.

[0262] Among them, the display setting parameters of the display interface are non-private display by default, and the operator can modify it manually.

[0263] The display setting parameters may be set in advance for each application, and a specific identifier may be used to indicate whether the application is displayed privately or non-privately. When a certain application is started, the specific identifier of the application is obtained to determine how the display interface of the application is displayed.

[0264] Accordingly, after the display screen is divided into the first display area and the second display area, the display interface of one or more applications is determined to be private display according to the specific identification of each application currently displayed on the display screen. The display interface of the application displayed privately is used as the target display interface to perform subsequent step 2202.

[0265] 2202: Based on the display setting parameter representation being output in the second display area, control the target display interface to be output in the second display area.

[0266] The second display area of ​​the display screen is set as a privacy area, based on the display parameters of the target display interface determined in the aforementioned step to characterize it as a privacy display, the target display interface is controlled to be output in the second display area.

[0267] In this embodiment, display setting parameters for setting a target display interface are received; based on the display setting parameters representing the output in the second display area, the target display interface is controlled to be output in the second display area. By setting the display setting parameters of the target display interface, the target display interface is controlled to be output in the second display area represented by the display setting parameters, thereby setting the display interface for the application and controlling its output in the second display area, thereby ensuring that the target display interface with higher security requirements is only displayed in the second display area.

[0268] A method for controlling a movable display screen provided in an embodiment of the present application is introduced above. A device for executing the method for controlling a movable display screen will be introduced below.

[0269] Fig.23 2300 is a schematic diagram of a control device for a movable display screen provided in an embodiment of the present application. The control device 2300 for a movable display screen includes:

[0270] The receiving module 2301 is used to receive trigger information for triggering the movement of the display screen;

[0271] A first generating module 2302, configured to generate a driving signal according to the trigger information, wherein the driving signal is used to control the driving motor to drive at least one end of the display screen to move;

[0272] A monitoring module 2303 is used to monitor the state of a target limit switch in the display screen, where the target limit switch is a switch used to limit the movement of the display screen to reach a target position;

[0273] The second generating module 2304 is used to generate a first signal based on the state of the target limit switch switching from the first state to the second state. The target limit switch switching from the first state to the second state indicates that the moving position of the display screen changes from not reaching the target position to reaching the target position. The first signal is used to control the drive motor to stop running.

[0274] In a possible implementation, the method further includes:

[0275] A data receiving module, used for receiving target data sent by the linear encoder after generating a driving signal according to the trigger information based on the posture of the electronic device belonging to the allowed movement posture, wherein the target data is generated by the linear encoder based on the running state of the driving motor;

[0276] An analysis module, used for analyzing the target data to obtain the operating state of the drive motor;

[0277] A third generating module, configured to generate a second signal based on the operating state of the drive motor meeting an abnormal condition, wherein the second signal is used to control the drive motor to stop running;

[0278] Based on the fact that the operating state of the drive motor does not meet the abnormal condition, the monitoring module is triggered.

[0279] In a possible implementation, the method further includes:

[0280] An acquisition module, configured to acquire a relative positional relationship between an image acquisition device and an acquisition object based on a change in a visible screen size triggered by movement of a display screen of an electronic device; the image acquisition device is disposed at one end of a body where a display screen of the electronic device is located, the display screen of the electronic device includes a display area that can be hidden, and movement of the display screen can make the hidden display area visible;

[0281] The adjustment module is used to adjust the first image captured by the image capture device based on the relative position relationship between the image capture device and the capture object, so that the capture object displayed by the first image meets the preset conditions.

[0282] In a possible implementation, the adjustment module includes at least one of the following:

[0283] An adjustment unit, used for adjusting the acquisition range of the image acquisition device so that the acquisition object displayed by the first image acquired by the image acquisition device meets the preset conditions;

[0284] A capture unit, used to capture the captured original image to obtain a first image, wherein the captured object displayed in the first image meets a preset condition;

[0285] Among them, the acquisition object displayed in the first image acquired by the image acquisition device meets preset conditions, including at least one of the following: the position of the acquisition object in the first image is located in the central area of ​​the first image, and the line of sight direction of the acquisition object in the first image is the direction of looking at the screen.

[0286] In a possible implementation, the method further includes:

[0287] A control module, used for controlling the movement of the display screen of the electronic device to trigger the change of the visible size of the screen;

[0288] The control module comprises:

[0289] A first control unit, configured to control a display screen of the electronic device to move along a first direction based on a first trigger instruction, so as to make a hidden display area in the display screen visible;

[0290] a second control unit, configured to control the display screen of the electronic device to move along a second direction based on a second trigger instruction so as to hide a visible display area of ​​the display screen, wherein the second direction is opposite to the first direction;

[0291] The electronic device comprises a first body and a second body, the display screen comprises a visible display area arranged on the first body and a concealable display area arranged on the second body, and the image acquisition device is located at one end of the first body.

[0292] In a possible implementation, the interception unit is specifically configured to:

[0293] Obtaining display parameters of the display screen after the change, where the display parameters correspond to the size of the display screen after the change;

[0294] determining a target interception area according to the display parameter;

[0295] The original image is intercepted according to the target interception area to obtain a first image.

[0296] In a possible implementation, the method further includes:

[0297] A determination module, configured to determine, based on the received partition trigger instruction and according to the visible size of the screen, a first display area and a second display area in the display screen, wherein the first display area and the second display area constitute a display area of ​​the display screen;

[0298] A control module, used for controlling output of a first display content in a first display area of ​​a display screen, and controlling output of a second display content in a second display area of ​​the display screen, wherein a security requirement of the first display content is lower than a security requirement of the second display content;

[0299] An obtaining module, used for obtaining a first display content output in a first display area;

[0300] The sending module is used to send the first display content to a target device to control the target device to output the first display content.

[0301] In a possible implementation, the control module controls the output of the second display content in the second display area of ​​the display screen, including at least one of the following:

[0302] receiving a moving operation to move a target display interface to a second display area; and based on the moving operation, controlling the target display interface to be output in the second display area; or

[0303] Receive display setting parameters for setting a target display interface; and control the target display interface to be output in the second display area based on the display setting parameter representation.

[0304] It should be noted that, for the functional explanation of each component structure of the control device for a movable display screen provided in this embodiment, please refer to the explanation in the aforementioned method embodiment, which will not be repeated in this embodiment.

[0305] In this embodiment, after receiving trigger information that triggers the movement of the display screen, a drive signal that controls the movement of the drive motor is generated based on the trigger information. The operation of the drive motor drives at least one end of the display screen to move, so as to change the visible size of the display screen. During the operation of the drive motor, the state of the target limit switch in the display screen is monitored. The target limit switch is a switch used to limit the movement of the display screen to reach the target position. If the state of the target limit switch is switched from a first state to a second state, indicating that the moving position of the display screen has changed from never reaching the target position to reaching the target position, a first signal is generated. The first signal is used to control the drive motor to stop running, thereby achieving accurate control of the moving position of the display screen and preventing the rolling and unfolding actions from being not in place or over-positioned.

[0306] The present application also provides an electronic device in an embodiment. Fig.24 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Fig.24 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0307] like Fig.24 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 2401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 2402 or a program loaded from a storage device 2408 to a random access memory (RAM) 2403. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 2403. The processing device 2401, the ROM 2402, and the RAM 2403 are connected to each other via a bus 2404. An input / output (I / O) interface 2405 is also connected to the bus 2404.

[0308] Typically, the following devices may be connected to the I / O interface 2405: an input device 2406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 2407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 2408 including, for example, a memory card, a hard disk, etc.; and a communication device 2409. The communication device 2409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig.24An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0309] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any method for controlling a movable display screen provided in the embodiment of the present application.

[0310] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any method for controlling a movable display screen provided in an embodiment of the present application.

[0311] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0312] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0313] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0314] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A method for controlling a movable display screen, comprising: Receiving trigger information for triggering the display screen to move; Generate a driving signal according to the trigger information, wherein the driving signal is used to control the operation of a driving motor to drive at least one end of the display screen to move; monitoring a state of a target limit switch in the display screen, wherein the target limit switch is a switch for limiting movement of the display screen to reach a target position; Based on the state of the target limit switch switching from the first state to the second state, a first signal is generated. The target limit switch switching from the first state to the second state indicates that the moving position of the display screen changes from never reaching the target position to reaching the target position. The first signal is used to control the drive motor to stop running.

2. The control method of a movable display screen according to claim 1, after generating a driving signal according to the trigger information, further comprising: receiving target data sent by a linear encoder, wherein the target data is generated by the linear encoder based on the running state of the drive motor; Analyzing the target data to obtain the operating state of the drive motor; Based on the running state of the drive motor meeting the abnormal condition, generating a second signal, wherein the second signal is used to control the drive motor to stop running; Based on the operating state of the drive motor not satisfying the abnormal condition, the step of monitoring the state of the target limit switch in the display screen is performed.

3. The control method of the movable display screen according to claim 1, further comprising: Based on the change of the visible size of the screen triggered by the movement of the display screen of the electronic device, the relative position relationship between the image acquisition device and the acquisition object is obtained; The image acquisition device is arranged at one end of the body of the electronic device where the display screen is located, the display screen of the electronic device includes a display area that can be hidden, and the movement of the display screen can make the hidden display area visible; Based on the relative positional relationship between the image acquisition device and the acquisition object, the first image acquired by the image acquisition device is adjusted so that the acquisition object displayed by the first image meets a preset condition.

4. The control method of a movable display screen according to claim 3, wherein the adjusting the first image captured by the image capture device so that the captured object displayed by the first image meets a preset condition comprises at least one of the following: Adjusting the acquisition range of the image acquisition device so that the acquisition object displayed by the first image acquired by the image acquisition device meets the preset conditions; The captured original image is intercepted and processed to obtain a first image, wherein the captured object displayed in the first image meets the preset conditions; in, The acquisition object displayed in the first image acquired by the image acquisition device meets preset conditions, including at least one of the following: the position of the acquisition object in the first image is located in the central area of ​​the first image, and the line of sight of the acquisition object in the first image is the direction of looking at the screen.

5. The control method of a movable display screen according to claim 3, controlling the movement of the display screen of the electronic device to trigger the change of the visible size of the screen, comprises: Based on the first trigger instruction, controlling the display screen of the electronic device to move along a first direction so as to make a hidden display area in the display screen visible; Based on a second trigger instruction, controlling the display screen of the electronic device to move along a second direction so that a visible display area of ​​the display screen is hidden, wherein the second direction is opposite to the first direction; The electronic device comprises a first body and a second body, the display screen comprises a visible display area arranged on the first body and a hideable display area arranged on the second body, and the image acquisition device is located at one end of the first body.

6. According to the control method of the movable display screen of claim 4, the captured original image is intercepted to obtain the first image, comprising: Obtaining display parameters of the display screen after the change, wherein the display parameters correspond to the size of the display screen after the change; Determining a target capture area according to the display parameters; The original image is intercepted according to the target interception area to obtain a first image.

7. The control method of the movable display screen according to claim 1, further comprising: Based on the received partition trigger instruction, determining a first display area and a second display area in the display screen according to the visible size of the screen, wherein the first display area and the second display area constitute a display area of ​​the display screen; Controlling output of first display content in a first display area of ​​a display screen, and controlling output of second display content in a second display area of ​​the display screen, wherein a security requirement of the first display content is lower than a security requirement of the second display content; Obtaining first display content output in the first display area; The first display content is sent to a target device to control the target device to output the first display content.

8. The control method of a movable display screen according to claim 7, wherein the controlling output of the second display content in the second display area of ​​the display screen comprises at least one of the following: receiving a moving operation of moving the target display interface to the second display area; Based on the movement operation, controlling the target display interface to be output in the second display area; or Receive display setting parameters for setting a target display interface; Based on the display setting parameter representation being output in the second display area, the target display interface is controlled to be output in the second display area.

9. A control device for a movable display screen, comprising: A receiving module, used for receiving trigger information for triggering the movement of the display screen; A first generating module, configured to generate a driving signal according to the trigger information, wherein the driving signal is used to control the operation of the driving motor to drive at least one end of the display screen to move; A monitoring module, used to monitor the state of a target limit switch in the display screen, wherein the target limit switch is a switch used to limit the movement of the display screen to reach a target position; The second generating module is used to generate a first signal based on the state of the target limit switch switching from the first state to the second state. The switching of the target limit switch from the first state to the second state indicates that the moving position of the display screen changes from not reaching the target position to reaching the target position. The first signal is used to control the drive motor to stop running.

10. A computer program product, characterized in that The invention comprises computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the control method of the movable display screen as claimed in any one of claims 1 to 8.