Display control method and electronic equipment

By determining the positional relationship and attribute information between the display screen and the input device, the display content and parameters of the display screen are automatically controlled, which solves the problem of difficult automatic settings when connecting a dual-screen device to a keyboard, and improves user experience and efficiency.

CN118796084APending Publication Date: 2024-10-18LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410870501.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-29
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

When a dual-screen or flexible screen electronic device is connected to a keyboard, the user needs to manually set the display display, which has a low degree of automation and affects the user's efficiency.

Method used

By determining the positional relationship between the display screen of the electronic device and the input device, and based on the relationship and the attribute information of the input device, the display content and parameters of the target display area of ​​the display screen are automatically controlled to ensure that the area of ​​the display screen is not covered by the input device. Automation settings.

Benefits of technology

It improves the user's efficiency, realizes the automatic setting of the display screen, eliminates the need for manual operation by the user, and enhances the degree of automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796084A_ABST
    Figure CN118796084A_ABST
Patent Text Reader

Abstract

The invention discloses a display control method and electronic equipment. The display control method comprises the steps that the position relation between a display screen of the electronic equipment and an input device is determined; and controlling display of a target display area of the display screen at least based on the position relationship and the attribute information of the input device, wherein the target display area is an area not covered by the input device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] For electronic devices with dual screens or flexible screens, when connecting a keyboard, the user is required to manually set the display screen, which has a low degree of automation and is relatively cumbersome, affecting the user's efficiency. Summary of the invention

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

[0004] In a first aspect, an embodiment of the present application provides a display control method, including:

[0005] Determining a positional relationship between a display screen of an electronic device and an input device;

[0006] The display of a target display area of ​​the display screen is controlled based at least on the positional relationship and the attribute information of the input device, the target display area being an area not covered by the input device.

[0007] In a possible implementation, determining the positional relationship between the display screen of the electronic device and the input device includes at least one of the following:

[0008] Determining the positional relationship through sensing data obtained by a target sensing component, wherein the target sensing component includes a sensor disposed on at least one of the display screen, the body where the display screen is located, or the input device;

[0009] Determining the positional relationship by means of an interface state of a connection interface provided on a body where the display screen is located;

[0010] Determining the positional relationship by a first input operation acting on the display screen;

[0011] Determining the positional relationship by a second input operation acting on the electronic device;

[0012] The position relationship is obtained through feedback information from an associated device, where the associated device is a device that establishes a first communication connection with the electronic device.

[0013] In a possible implementation, controlling the display of the target display area of ​​the display screen based at least on the positional relationship and the attribute information of the input device includes:

[0014] Obtaining attribute information of the input device;

[0015] Determine the target display area based on the positional relationship, and control display content and / or display parameters of the target display area based on the attribute information;

[0016] or,

[0017] The target display area is determined based on the positional relationship and the attribute information, and at least one of display content, display parameters, or display layout of the target display area is controlled.

[0018] In a possible implementation, obtaining the attribute information of the input device includes at least one of the following:

[0019] Identify image data of the input device acquired by an image sensor to obtain attribute information of the input device;

[0020] Matching the sensing data obtained by the target sensing component in the target database to obtain the attribute information of the input device;

[0021] After the input device is connected to a first connection interface of an electronic device, reading attribute information of the input device through the first connection interface;

[0022] Identify the description information for the input device input into the electronic device, and obtain the attribute information of the input device;

[0023] Obtaining attribute information of the input device based on feedback information from an associated device;

[0024] and / or,

[0025] Determining the target display area based at least on the positional relationship includes at least one of the following:

[0026] Determine the entire area of ​​the display screen that is not covered by the input device as the target display area;

[0027] In a case where the input device and the display screen have a first positional relationship, determining at least a portion of an area between a first edge of the input device and a third edge of the display screen as the target display area;

[0028] In a case where the input device and the display screen have a second positional relationship, determining at least a portion of an area between a second edge of the input device and a fourth edge of the display screen as the target display area;

[0029] In a case where the input device and the display screen have a third positional relationship, determining a first display area of ​​the display screen as the target display area, wherein the first display area and the input device have a third positional relationship or a fourth positional relationship;

[0030] An area of ​​the display screen that is not covered by the input device and matches the attribute information is determined as the target display area.

[0031] In a possible implementation, controlling the display content and / or display parameters of the target display area based on the attribute information includes at least one of the following:

[0032] Controlling the target display area to display a virtual input control matching the input device based on the attribute information, wherein a function of the virtual input control is the same as or different from a function of the input device;

[0033] Based on the attribute information, the target display area is controlled to display function options matching the input device, so as to realize input function switching in cooperation with the input device;

[0034] Based on the attribute information, control the target display area to switch from a current first display parameter to a second display parameter, where the second display parameter matches the appearance parameter of the input device or matches the second display area of ​​the display screen;

[0035] The interactive controls displayed in the target display area and the display layout between the interactive controls are controlled based on the attribute information and the positional relationship.

[0036] In a possible implementation, controlling the display content of the target display area based on the attribute information includes at least one of the following:

[0037] In a case where the attribute information indicates that the input device is a keyboard, displaying and outputting a virtual touchpad or a virtual keyboard matching the keyboard in the target display area;

[0038] In a case where the attribute information indicates that the input device is a touch pad, displaying and outputting a virtual keyboard or a virtual touch pad matching the touch pad in the target display area;

[0039] In a case where the attribute information indicates that the input device is a stylus pen, displaying and outputting function options matching the stylus pen in the target display area;

[0040] In the case where the attribute information indicates that the input device is a drawing board or a writing board, displaying and outputting corresponding tool options in the target display area;

[0041] and / or,

[0042] Controlling the display content of the target display area based on the attribute information and the position relationship includes at least one of the following:

[0043] In the case where the keyboard is placed in the first area of ​​the display screen, a virtual touchpad matching the keyboard is displayed in the second area of ​​the display screen, the second area is connected to the first area and is arranged in the first direction or the second direction of the first area;

[0044] When the touchpad is placed in the third area of ​​the display screen, a virtual keyboard matching the touchpad is displayed in the fourth area of ​​the display screen, and the fourth area is connected to the third area and is set in the first direction or the second direction of the third area.

[0045] In a possible implementation, the display screen includes a first display screen and a second display screen, and the controlling the display of the target display area of ​​the display screen based on the positional relationship and the attribute information of the input device includes at least one of the following:

[0046] When the keyboard is placed on the first display screen and the second display screen at the same time, displaying a virtual touchpad and / or a taskbar in the target display area;

[0047] In the case that the first display screen and the second display screen belong to different operating systems, a virtual input control providing the same function as the input device is displayed in the target display area.

[0048] In a possible implementation manner, controlling the display of the target display area of ​​the display screen based on the position relationship and the attribute information of the input device further includes at least one of the following:

[0049] Obtaining user portrait information of the current user, and controlling at least one of display content, display parameters or display layout of the target display area based on the user portrait information, the position relationship and the attribute information;

[0050] Obtaining current display content of the electronic device, and controlling at least one of display content, display parameters, or display layout of the target display area based on the current display content, the position relationship, and the attribute information;

[0051] Obtaining a usage scenario of the electronic device, and controlling at least one of display content, display parameters, or display layout of the target display area based on the usage scenario, the position relationship, and the attribute information;

[0052] Obtaining power information of the electronic device, and controlling at least one of display content, display parameters, or display layout of the target display area based on the power information, the position relationship, and the attribute information;

[0053] The device form of the electronic device is obtained, and at least one of the display content, display parameters or display layout of the target display area is controlled based on the device form, the positional relationship and the attribute information.

[0054] In a second aspect, an embodiment of the present application further provides an electronic device, including:

[0055] ontology;

[0056] A display screen disposed on the body and an input device capable of moving relative to the display screen so as to have a different positional relationship with the display screen;

[0057] A detection component, used to determine the positional relationship between the display screen and the input device;

[0058] The processor is at least used to control the display of a target display area of ​​the display screen based on the positional relationship and the attribute information of the input device, wherein the target display area is an area not covered by the input device.

[0059] In a possible implementation, the body includes a first body, a second body, and a rotating shaft supporting the rotational connection between the first body and the second body, and the display screen includes a first display screen disposed on the first body and a second display screen disposed on the second body;

[0060] The input device includes a detachably connected keyboard and touch pad;

[0061] Wherein, when the keyboard is placed in the first area of ​​the first display screen, a virtual touchpad corresponding to the keyboard can be displayed in the second area of ​​the first display screen, and the second area is connected to the first area and is arranged in the first direction or the second direction of the first area;

[0062] When the touchpad is placed in the third area of ​​the first display screen, a virtual keyboard matching the touchpad can be displayed in the fourth area of ​​the first display screen, and the fourth area is connected to the third area and is arranged in the first direction or the second direction of the third area;

[0063] and / or,

[0064] The first body and / or the rotating shaft is provided with a first interface for supplying power and / or transmitting data to the keyboard and / or the touchpad when the keyboard and / or the touchpad are plugged in. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0066] Figure 1 A flow chart of a display control method provided by the present application is shown;

[0067] Figure 2 A schematic diagram showing a target display area provided by the present application;

[0068] Figure 3 A schematic diagram showing another target display area provided by the present application;

[0069] Figure 4 A schematic diagram showing another target display area provided by the present application;

[0070] Figure 5 A schematic diagram showing a keyboard provided by the present application being placed on a first display screen and a second display screen at the same time;

[0071] Figure 6 A schematic diagram showing another keyboard provided by the present application being placed on a first display screen and a second display screen at the same time;

[0072] Figure 7 A schematic diagram showing another keyboard provided by the present application being placed on a first display screen and a second display screen at the same time;

[0073] Figure 8 A schematic diagram showing another keyboard provided by the present application being placed on a first display screen and a second display screen at the same time;

[0074] Fig. 9 A schematic diagram showing a keyboard provided by the present application placed on a folding screen;

[0075] Fig.10 A schematic structural diagram of an electronic device provided by the present application is shown. DETAILED DESCRIPTION

[0076] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0077] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0078] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0079] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0080] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.

[0081] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0082] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0083] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0084] At present, in order to meet the needs of users, more and more electronic devices are designed with dual screens or folding screens, and the display control method provided by this application is applied to the above electronic devices. To facilitate the understanding of this application, a display control method provided by this application is first introduced in detail.

[0085] Figure 1 A flow chart of a display control method provided in an embodiment of the present application is shown, wherein specific steps include S101 and S102.

[0086] S101, determining a positional relationship between a display screen of an electronic device and an input device.

[0087] In the embodiment of the present application, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a dual-screen laptop computer, a display, or a large-screen desktop device, etc. The display screen of the electronic device may be a dual-screen laptop computer, a foldable screen laptop computer, a display screen of a large-screen device, a display screen of a display, etc.

[0088] In a specific implementation, the electronic device is usually also equipped with an input device for use with the electronic device, such as a keyboard, an integrated keyboard and touchpad, a specific writing tablet, an input pen, a gesture recognition device, etc. In this embodiment, a detachable keyboard and touchpad design is provided, that is, only the keyboard part or the touchpad part can be selected to cooperate with the electronic device to realize related functions.

[0089] In the display control method of the embodiment of the present application, for an electronic device, the positional relationship between its display screen and the input device is determined. This positional relationship is mainly reflected in whether the input device covers part of the display area of ​​the display screen or whether there is a physical connection relationship with the connection interface of the body where the display screen is located. For example, when the input device is an integrated keyboard, the integrated keyboard can be physically connected to the display screen through a connecting line or a connecting interface; when the input device is an external keyboard and the external keyboard is placed in an area on the display screen, the positional relationship between the display screen and the input device is a covering relationship; when the input device is an external keyboard, an external touch panel or an external writing tablet, the above-mentioned input device can be electrically connected to the electronic device through a connecting pin, or it can be placed on the display area of ​​the display screen and wirelessly connected to the display screen or the host system of the electronic device. Of course, the positional relationship between the display screen and the input device can also include other relationships, and the embodiments of the present application do not exemplify them one by one here.

[0090] It should be noted that the input device on the electronic device may be one or more. For example, an electronic device with a detachable keyboard and a touch pad is provided with two input devices.

[0091] S102, controlling display of a target display area of ​​the display screen at least based on the position relationship and attribute information of the input device, where the target display area is an area not covered by the input device.

[0092] After determining the positional relationship between the display screen and the input device, further determine whether the positional relationship between the display screen and the input device is an obstruction relationship. If so, determine at least a portion of the area on the display screen that is not obstructed by the input device as a target display area, wherein the target display area may be located in an area that is not obstructed by the input device and is adjacent to the input device, such as Figure 2 and Figure 3 The right side area or the upper and lower side areas of the input device shown may also be a margin area formed by the edge of the display screen that the input device does not cover, or an area specified by a user.

[0093] After determining the target display area, the display of the target display area of ​​the display screen is controlled based on at least the positional relationship and the attribute information of the input device, specifically, at least the display content (which controls or interfaces, windows, etc. are displayed), the display area (display position, etc.), the display layout (positional relationship between controls or windows, etc.), and the display parameters (brightness, resolution, transparency, color theme, skin, etc.) of the target display area are controlled. Here, the attribute information of the input device includes at least the type of the input device, the device identification, the device configuration, the appearance, and other information.

[0094] Optionally, when controlling the display of the target display area, user portrait information, the current display content of the electronic device, the usage scenario of the electronic device, the power information of the electronic device, and the device form of the electronic device, etc. can also be obtained, and then the display of the target display area is controlled based on one or more of the position relationship, attribute information of the input device, user portrait information, the current display content of the electronic device, the usage scenario of the electronic device, the power information of the electronic device, and the device form of the electronic device.

[0095] Furthermore, in the case where two input devices are provided on the electronic device, the target display area is controlled to perform different displays based on the relative position relationship between the two input devices.

[0096] In the display control method of the embodiment of the present application, the positional relationship between the display screen and the input device of the electronic device is determined in real time and automatically, and when the positional relationship between the display screen and the input device is an covering relationship, the display of the target display area is controlled at least based on the positional relationship between the display screen and the input device and the attribute information of the input device, without the need for manual settings by the user, thereby greatly improving the user's usage efficiency.

[0097] Furthermore, the positional relationship between the display screen of the electronic device and the input device is determined by at least one of the following methods.

[0098] First method

[0099] The positional relationship is determined by sensing data obtained by the target sensing component, and the target sensing component includes a sensor disposed in at least one of a display screen, a body where the display screen is located, or an input device. Optionally, the target sensing component includes at least one of a pressure sensor, a magnetic sensor, a touch sensor, a Hall sensor, a capacitive sensor, a resistive sensor, and an image sensor. In this case, the corresponding sensing data may include the collected pressure data, capacitive data, resistive data, magnetic flux, magnetic force, image, etc.

[0100] For example, when the target sensing component is an image sensor and the image sensor is set on a display screen, such as the B-side display screen of a laptop computer, the image sensor captures an image of the C-side screen, and then performs object recognition and spatial calculation on the image to obtain the positional relationship between the input device and the display screen.

[0101] In another example, a capacitive touch sensor and / or a pressure sensor is provided on the electronic device, which can collect touch capacitance data and / or pressure data of the display screen, and can calculate the position, area size, etc. of an input device placed on the touch display screen based on the touch capacitance data and / or pressure data.

[0102] Second method

[0103] The positional relationship is determined by the interface status of the connection interface provided on the body where the display screen is located. Usually, a plurality of different input / output interfaces (IO), i.e., connection interfaces, are provided on the device body of the electronic device. Different connection interfaces are used to connect different input devices, such as pogo pin, magnetic interface, USB / type-c, lightning interface, etc. In addition, the connection interface may also include a wireless communication interface. The interface status of the connection interface is monitored in real time, such as whether a handshake signal is received, whether it is switched from a high level to a low level, etc., so as to determine whether there is an input device connected to the electronic device based on the interface status. If so, the connection direction of the input device relative to the electronic device is determined based on the position of the connection interface in the electronic device, and then the positional relationship between the input device and the display screen is determined.

[0104] For example, a pogo pin is set at the lower edge between the C and D surfaces of the laptop computer, and a Bluetooth keyboard or touchpad can be connected through the pogo pin. After the pogo pin is connected, it can be determined based on the access signal that a Bluetooth keyboard or touchpad is connected, and then it can be determined that the Bluetooth keyboard or touchpad is set in the lower area of ​​the display screen or in the lower edge area of ​​the electronic device; a magnetic interface can be set on the right edge to place the stylus, and if the interface is plugged in, it can be determined that the stylus is on the right edge of the display screen, etc.

[0105] The third method

[0106] The positional relationship is determined by a first input operation acting on the display screen. Here, the first input operation may be a pre-set input operation, which is used to send an instruction to select an input device placement area, so that the electronic device responds to the instruction and sets the area corresponding to the first input operation as a placement area corresponding to the input device, and the placement area is used to place a physical keyboard or display a virtual keyboard or respond to a touch operation, etc.

[0107] For example, the first input operation is a circling action performed on the display screen. The user circles an area on the touch display screen for placing the input device. Based on the circling operation, the positional relationship between the input device and the display screen can be determined. Here, the positional relationship is an covering relationship, that is, the coverage area of ​​the input device on the display screen can be determined.

[0108] The fourth method

[0109] The positional relationship is determined by a second input operation acting on the electronic device. Here, the second input operation can be a voice operation, a gesture operation, etc. After obtaining the second input operation, the operation data can be parsed to determine the placement position of the input device, thereby determining the positional relationship with the display screen. For example, after a gesture operation pointing to the touch display screen is captured by a camera, the area circled by the gesture operation is determined, and the area is the area determined for placing the input device; therefore, the position of the circled area on the display screen can be determined by the gesture operation, thereby determining the cover area of ​​the input device such as a keyboard on the display screen.

[0110] The fifth method

[0111] The positional relationship is obtained through feedback information from an associated device, where the associated device is a device that establishes a first communication connection with the electronic device. For example, the associated device may be an external laptop, desktop, mobile phone, watch, etc., or an external input device such as a camera. Furthermore, the feedback information from the associated device may be information representing the placement position of the input device on the display screen, and the positional relationship between the display screen and the input device may be obtained based on the feedback information.

[0112] The positional relationship between the display screen of the electronic device and the input device can be determined by one or more of the above five methods.

[0113] Furthermore, when controlling the display of the target display area of ​​the display screen based at least on the positional relationship and the attribute information of the input device, the attribute information of the input device can be obtained first, wherein the attribute information of the input device can be obtained through sensing data, image data, interface data, input data, or feedback data of an associated device. Afterwards, the target display area is determined based on the positional relationship. After the target display area is determined, the display content and / or display parameters of the target display area can be controlled only based on the attribute information; the target display area can also be determined in combination with the configuration information and / or display state of the display screen to ensure the rationality of the target display area and a better display effect. Different positional relationships and attribute information correspond to different display contents, different display positions, different display parameters, and different display layouts.

[0114] In addition, when controlling the display of a target display area of ​​a display screen at least based on the positional relationship and attribute information of an input device, it is also possible to determine attribute information such as the type and identification of the input device based on the image data or interface data obtained, and determine the target display area based on the positional relationship and the attribute information, and control at least one of the display content, display parameters or display layout of the target display area after determining the target display area on the display screen.

[0115] Optionally, the method of obtaining the attribute information of the input device includes at least one of the following:

[0116] The first way to obtain

[0117] Identify the image data of the input device acquired by the image sensor to obtain the attribute information of the input device. Here, the image sensor can be an image sensor set on the electronic device, or an image sensor connected to the electronic device for communication, etc. The image sensor can collect the image corresponding to the input device, and then obtain the type, device identification, appearance and other information of the input device through image object recognition, that is, obtain the attribute information of the input device.

[0118] The second way to obtain

[0119] The sensing data obtained by the target sensing component is matched in the target database to obtain the attribute information of the input device. Among them, the target sensing component includes a pressure sensor, an infrared radar, etc. Correspondingly, the sensing data includes the weight, size, shape, etc. of the input device, and then based on the obtained sensing data, the corresponding input device and the type, device identification, configuration information, appearance and other information of the input device are screened out from the target database to obtain the attribute information of the input device. Here, the target database can be a database stored locally in the electronic device or a cloud database.

[0120] The third way to obtain

[0121] After the input device is connected to the first connection interface of the electronic device, the attribute information of the input device is read through the first connection interface. Here, the first connection interface can be a Type-C interface, and can also be a connector such as a pogo pin, and a handshake signal is transmitted through a CC pin or a detection pin in the interface to obtain the attribute information of the input device such as a keyboard and / or a touchpad connected to the electronic device.

[0122] The fourth way to obtain

[0123] Identify the descriptive information for the input device input to the electronic device, and obtain the attribute information of the input device. In a specific implementation, the user can transmit the descriptive information of the input device to the electronic device in the form of voice, gesture, keyboard input, etc. Correspondingly, the descriptive information can be voice data, gesture image data, or string data, etc. The descriptive information is used to describe the purpose, type, device identification, appearance, etc. of the input device, and the attribute information of the input device can be obtained based on the descriptive information.

[0124] The fifth way to obtain

[0125] The attribute information of the input device is obtained based on the feedback information of the associated device. The feedback information may be the recognition result of the associated device, and accordingly, the associated device is an image acquisition device; the feedback information may also be the attribute description of the input device input by the user through the associated device, and accordingly, the associated device is a device capable of acquiring voice data, gesture image data or string data, which is not specifically limited in the embodiments of the present application.

[0126] After the attribute information of the input device is obtained, the target display area is determined based on at least the positional relationship by at least one of the following determination methods.

[0127] The first method of determination

[0128] The entire area of ​​the display screen that is not covered by the input device is determined as the target display area. The display screen can be a single screen or a dual screen. Based on this, when the display screen is a single screen, the target display area can be an area that is not covered by a keyboard, a touchpad, or a stylus, etc. For example, after placing a physical keyboard on a desktop large-screen device, the entire non-covered area of ​​the display screen of the large-screen device can be determined as the target display area. Or in other embodiments, only a partial area on the lower side or right side of the physical keyboard can be considered as the target display area. In the case of a dual-screen display screen, only the non-covered area of ​​the first display screen or the second display screen where the input device is placed can be determined as the target display area to display a virtual keyboard, a virtual touchpad or a taskbar, etc., and the other screen continues to be used to display the window interface of the application currently running on the electronic device, or the system desktop.

[0129] The second method of determination

[0130] In the case where the input device and the display screen have a first positional relationship, at least a portion of the area between the first edge of the input device and the third edge of the display screen is determined as the target display area. The first positional relationship indicates that the placement direction of the input device is consistent with the length and width direction of the display screen, and the area between the long edge of the keyboard or touchpad and the long edge of the display screen is determined as the target display area. For example, Figure 2A schematic diagram showing a target display area determined by using the determination method is shown.

[0131] It should be noted that Figure 2 The display screen in the folding screen may be an entire folding screen or a first display screen and a second display screen connected to each other. When the first position relationship indicates that the placement direction of the input device is consistent with the length and width direction of the first display screen, the area between the long edge of the keyboard or touchpad and the long edge of the first display screen may be used as the target display area, and the second display screen may also be used as the target display area. The embodiments of the present application do not specifically limit this.

[0132] The third determination method

[0133] In the case where the input device and the display screen have a second positional relationship, at least a portion of the area between the second edge of the input device and the fourth edge of the display screen is determined as the target display area. The second positional relationship means that the long side and the wide side of the input device correspond to the wide side and the long side of the display screen, respectively, that is, the long side of the keyboard or touchpad corresponds to the short side of the display screen. In this case, at least a portion of the area between the short side edge of the input device (that is, the second edge) and the short side edge of the display screen (that is, the fourth edge) is determined as the target display area. As an example, Figure 3 A schematic diagram showing a target display area determined by using the determination method is shown.

[0134] The fourth determination method

[0135] In the case where the input device and the display screen have a third position relationship, the first display area of ​​the display screen is determined as the target display area, wherein the first display area and the input device have a third position relationship or a fourth position relationship. Here, the third position relationship is a non-covering relationship, such as Figure 4 In the schematic diagram of the target display area shown, the input device and the display screen are in a tiled or spliced ​​relationship. The input device and the display screen are connected via connecting pins. The display area adjacent to the input device can be used as the target display area. Of course, the display area of ​​the entire display screen can also be used as the target display area.

[0136] Fifth determination method

[0137] The area of ​​the display screen that is not covered by the input device and matches the attribute information is determined as the target display area. For example, in the case of a dual-screen electronic device, the first display screen where the keyboard is placed can be determined as the target display area, and a virtual keyboard, virtual touchpad, etc. matching the keyboard can be displayed, and the window interface of the application currently running on the electronic device or the system desktop can be displayed on the other screen.

[0138] Here, after obtaining the attribute information of the input device and determining the target display area based on the positional relationship, the display content and / or display parameters of the target display area are controlled based on the attribute information, wherein the control method includes at least one of the following:

[0139] First control method

[0140] Based on the attribute information, the target display area is controlled to display a virtual input control that matches the input device, and the function of the virtual input control is the same as or different from the function of the input device. Optionally, if the input device is a keyboard, the corresponding virtual input control can be a keyboard or a virtual touchpad; if the input device is a touchpad, the corresponding virtual input control is a virtual keyboard and / or a virtual touchpad; if the input device is a complete set of keyboard and mouse, the corresponding virtual input control can be a virtual keyboard and / or a virtual touchpad in a nine-square grid, etc.

[0141] Among them, the function of the virtual input control is the same as the function of the input device, which indicates that the virtual input control and the input device are of the same type, such as the virtual input control and the input device are both keyboards, or the virtual input control and the input device are both touchpads, etc. Therefore, in the scenario where the display screen is dual screen or the electronic device has an external expansion screen, the virtual input control and the input device can respectively control different display areas for display.

[0142] Second control method

[0143] Based on the attribute information, the target display area is controlled to display the function options that match the input device, so as to realize the input function switching in cooperation with the input device. In a specific implementation, different input devices may have different function options. For example, the function options of a writing board include text color switching, text font switching, etc., and the function options of a stylus pen include line color switching, line thickness switching, etc. Based on this, the target display area may be controlled to display the function options that match the input device based on the attribute information of the input device, so that the user can quickly select the desired function.

[0144] The third control method

[0145] Based on the attribute information, the target display area is controlled to switch from the current first display parameter to the second display parameter, and the second display parameter matches the appearance parameter of the input device or matches the second display area of ​​the display screen. In practical applications, it can be considered to display a virtual touchpad that matches the physical keyboard in the target display area. In order to make the virtual touchpad match the appearance parameters of the physical keyboard, the virtual touchpad can be configured with a skin or display parameters that match the appearance of the physical keyboard so that the appearance of the virtual touchpad is consistent with that of the physical keyboard; or the display parameters of the virtual touchpad or the displayed virtual keyboard can be controlled to be consistent with or match the theme color of the application window or display content currently displayed in other display areas of the electronic device, or in order to facilitate distinction from other display areas, the skin or theme color of the virtual keyboard or virtual touchpad can be configured to be different from them.

[0146] Based on this, the display parameters of the target display area are switched based on the attribute information, such as switching from the current first display parameter to the second display parameter, and the second display parameter matches the appearance parameter of the input device or matches the second display area of ​​the display screen, thereby improving the user's viewing experience. Of course, the display parameters of the target display area can also be switched from the second display parameter to the first display parameter, so that the second display parameter is greatly different from the appearance parameter of the input device or greatly different from the second display area of ​​the display screen, thereby enabling the user to clearly distinguish the target display area from the second display area.

[0147] Fourth control method

[0148] Control the interactive controls displayed in the target display area and the display layout between the interactive controls based on the attribute information and the positional relationship. In order to facilitate the user to use the interactive controls, after obtaining the attribute information and the positional relationship, further determine the area in the target display area for displaying the interactive controls and the area corresponding to the area, for example, when the interactive control is a virtual keyboard, if the area for displaying the interactive controls is located at the lower edge of the target display area, and the shape of the area for displaying the interactive controls is a rectangle with upper and lower sides longer than left and right sides, then the virtual keyboard is controlled to be displayed in the form of a full keyboard; if the area for displaying the interactive controls is located at the left edge of the target display area, and the shape of the area for displaying the interactive controls is a rectangle with upper and lower sides similar to left and right sides, then the virtual keyboard is controlled to be displayed in the form of a nine-square grid, thereby improving the convenience of user operation.

[0149] Optionally, the display content of the target display area can also be controlled separately. As one example, controlling the display content of the target display area based on the attribute information includes at least one of the following:

[0150] 1) When the attribute information indicates that the input device is a keyboard, a virtual touchpad or virtual keyboard matching the keyboard is displayed and output in the target display area. Specifically, a virtual touchpad matching the keyboard is displayed and output in the target display area, so that the virtual touchpad can be used in conjunction with the keyboard to better meet input needs; a virtual keyboard matching the keyboard is displayed and output in the target display area, so that when the electronic device includes dual screens or the electronic device is connected to an external expansion screen, different display screens can be controlled by the keyboard and the virtual keyboard for display.

[0151] 2) When the attribute information indicates that the input device is a touchpad, a virtual keyboard or virtual touchpad matching the touchpad is displayed and output in the target display area. As described in 1), a virtual keyboard or virtual touchpad matching the touchpad is displayed and output, and the touchpad can be used in conjunction with the virtual keyboard or virtual touchpad in different scenarios, that is, a scenario in which the electronic device includes a single screen, a scenario in which the electronic device includes dual screens, or a scenario in which the electronic device is connected to an external expansion screen, etc.

[0152] 3) When the attribute information indicates that the input device is a stylus, the function options matching the stylus are displayed and output in the target display area. Here, the stylus has multiple function options, such as editing documents, drawing, and performing spatial control as a space mouse. In actual applications, when the input device is determined to be a stylus based on the attribute information, the function options of the stylus are controlled to be displayed in the target display area, so that the user can conveniently select the desired stylus function.

[0153] 4) When the attribute information indicates that the input device is a drawing board or a writing board, the corresponding tool options are displayed in the target display area. Similarly, the drawing board and the writing board each have multiple tool options. For example, the drawing board has the tool options such as the color palette, style, and theme required for the painting scene, and the writing board has the tool options such as the font and layout. When the input device is determined to be a drawing board or a writing board based on the attribute information, the target display area is controlled to display the tool options corresponding to the drawing board or the writing board, so that the user can conveniently select the desired tool for painting or writing.

[0154] In another example, controlling the display content of the target display area based on the attribute information and the position relationship includes at least one of the following:

[0155] When the keyboard is placed in the first area of ​​the display screen, a virtual touchpad matching the keyboard is displayed in the second area of ​​the display screen, and the second area is connected to the first area and is set in the first direction or the second direction of the first area. For example, the electronic device includes a first display screen and a second display screen connected to each other, and the first display screen is divided into an upper half screen and a lower half screen, and the upper half screen corresponds to the first area and the lower half screen corresponds to the second area, or the upper half screen corresponds to the second area and the lower half screen corresponds to the first area. Based on this, when the keyboard is placed in the upper half screen of the first display screen, the lower half screen is controlled to display a virtual touchpad matching the keyboard, and at this time, the first direction is the direction away from the second display screen; when the keyboard is placed in the lower half screen, the upper half screen is controlled to display a virtual touchpad matching the keyboard, and at this time, the second direction is the direction close to the second display screen.

[0156] When the touchpad is placed in the third area of ​​the display screen, a virtual keyboard matching the touchpad is displayed in the fourth area of ​​the display screen, and the fourth area is connected to the third area and is set in the first direction or the second direction of the third area. As in the above example, the electronic device includes a first display screen and a second display screen connected to each other, and the first display screen is divided into an upper half screen and a lower half screen, and the upper half screen corresponds to the first area and the lower half screen corresponds to the second area, or the upper half screen corresponds to the second area and the lower half screen corresponds to the first area. At this time, when the touchpad is placed in the upper half screen, the lower half screen is controlled to display a virtual keyboard matching the touchpad, and at this time, the first direction is the direction away from the second display screen; when the touchpad is placed in the lower half screen, the upper half screen is controlled to display a virtual keyboard matching the touchpad, and at this time, the second direction is the direction close to the second display screen.

[0157] In the above two embodiments, the display content of the target display area is controlled by attribute information and position relationship, that is, the keyboard and the virtual touchpad matching the keyboard are controlled to be displayed simultaneously in the area where the first display screen is located, and the touchpad and the virtual keyboard matching the touchpad are controlled to be displayed simultaneously in the area where the first display screen is located, which effectively improves the convenience of users operating the electronic device through the keyboard and the virtual touchpad.

[0158] In addition, in a scenario where the electronic device includes a first display screen and a second display screen that are rotatably connected, controlling the display of a target display area of ​​the display screen based on the position relationship and attribute information of the input device includes at least one of the following:

[0159] As an example, when the keyboard is placed on the first display screen and the second display screen at the same time, a virtual touchpad and / or a taskbar is displayed in the target display area. Figure 5 A schematic diagram is shown in which a keyboard is placed on a first display screen and a second display screen at the same time. In this case, the target display area can be the area of ​​the first display screen and the second display screen that is not covered by the keyboard, and the target display area is set to have only a display function. Figure 6Another schematic diagram shows that a keyboard is placed on a first display screen and a second display screen at the same time. In this example, the first display screen and the second display screen that are not covered by the keyboard and are not the target display area are set to have only display functions. At the same time, the target display area can be set to display a virtual touchpad and / or taskbar to improve the convenience of user use. Figure 7 and Figure 8 The keyboard shown is placed on the first display screen and the second display screen at the same time in the schematic diagram, and a virtual touchpad and / or taskbar is also displayed in the target display area.

[0160] In another example, when the first display screen and the second display screen belong to different operating systems, a virtual input control that provides the same function as the input device is displayed in the target display area. In a specific implementation, the electronic device can run two different operating systems to control different display screens through different operating systems. Based on this, if the first display screen and the second display screen belong to different operating systems, a virtual input control that provides the same function as the input device is set, such as if the input device is a keyboard, the virtual input control is set as a virtual keyboard, if the input device is a touchpad, the virtual input control is set as a virtual touchpad, etc., and then the input device and the virtual input control with the same function respectively respond to the use operations under different operating systems, thereby avoiding the confusion of the use operation caused by the user using the same input device to respond to different operations.

[0161] It is worth noting that for electronic devices with foldable screens, such as foldable screen notebooks, the input device is placed on a part of the entire screen of the electronic device. In this scenario, it is also applicable to control the display of the target display area of ​​the display screen based on the position relationship and the attribute information of the input device. Fig. 9 A schematic diagram of placing a keyboard on a folding screen is shown, and the details are not repeated here.

[0162] In another example, when controlling the display of the target display area, user portrait information, current display content of the electronic device, usage scenario of the electronic device, power information of the electronic device, and device form of the electronic device can also be obtained, and then the display of the target display area is controlled based on one or more of the position relationship, attribute information of the input device, user portrait information, current display content of the electronic device, usage scenario of the electronic device, power information of the electronic device, and device form of the electronic device. Based on this, controlling the display of the target display area of ​​the display screen based on the position relationship and attribute information of the input device also includes at least one of the following:

[0163] 1) Obtaining user portrait information of the current user, and controlling at least one of the display content, display parameters, or display layout of the target display area based on the user portrait information, position relationship, and attribute information. The user portrait information at least includes user habits or preferences, such as displaying content, content theme, display color, display transparency, and display layout that are more in line with the user's habits or preferences in the target display area. When the display content, display parameters, or display layout of the target display area is controlled based on the user portrait information, position relationship, and attribute information, it can be more in line with the user's habits or preferences, thereby improving the user's experience.

[0164] 2) Obtain the current display content of the electronic device, and control at least one of the display content, display parameters, or display layout of the target display area based on the current display content, positional relationship, and attribute information. Here, the electronic device itself can determine the current display content of the electronic device, such as a text editing interface, a painting interface, etc. It can also determine the running application. Based on this, it can determine at least one of the display content, display parameters, or display layout of the target display area based on the displayed content and / or application, etc., combined with the positional relationship and attribute information. For example, if the electronic device detects that the currently running application is a painting-related application, then the target display area can be controlled to display the corresponding tool options; if the electronic device detects that the currently displayed content is text editing, then the target display area is controlled to display a virtual keyboard, etc.

[0165] 3) Obtaining the usage scenario of the electronic device, and controlling at least one of the display content, display parameters, or display layout of the target display area based on the usage scenario, positional relationship, and attribute information. In actual applications, the usage scenarios of electronic devices include game scenarios, office scenarios, meeting scenarios, and video scenarios, etc. For different usage scenarios, the display content, display parameters, or display layout of the target display area can be controlled based on the usage scenario, positional relationship, and attribute information. For example, when the usage scenario is a game scenario, the target display area can be controlled to display an operating control similar to a game controller adapted to the game scenario to increase the user's gaming experience; when the usage scenario is a meeting scenario, the target display area can be controlled to display an interactive control such as generating a meeting summary, and after the user operates the interactive control, the meeting summary is displayed. That is, the embodiments of the present application can be applicable to a variety of different application scenarios and have high versatility.

[0166] 4) Obtaining power information of the electronic device, and controlling at least one of the display content, display parameters or display layout of the target display area based on the power information, position relationship and attribute information. Among them, the power information at least includes the power status of the electronic device, such as the remaining power, and then based on the power information, that is, the power status, combined with the position relationship and attribute information, controlling at least one of the display content, display parameters or display layout of the target display area, such as the display brightness included in the display parameters. When the remaining power is less than the threshold, the display brightness of the target display area is controlled to be reduced to achieve the purpose of extending the battery life of the electronic device. Of course, the power information also includes whether the electronic device is connected to an external power supply, etc., which will not be repeated in the embodiments of the present application.

[0167] 5) Obtaining the device form of the electronic device, and controlling at least one of the display content, display parameters, or display layout of the target display area based on the device form, position relationship, and attribute information. Different electronic devices have different device forms, and the device forms generally include PC mode, book mode, and tent mode. For different device forms, at least one of the display content, display parameters, or display layout of the target display area is controlled in combination with the position relationship and attribute information, for example, the display layout is controlled. When the device form of the electronic device is book mode, the display layout can be set to Figures 5 to 8 Any one of .

[0168] In the embodiment of the present application, the display of the target display area of ​​the display screen is controlled based on the positional relationship between the display screen and the input device and the attribute information of the input device, which can ensure that the display of the target display area meets the user's needs, improve the user's usage efficiency and experience, and does not require manual settings by the user, with a high degree of automation.

[0169] As another example, the present application also provides an electronic device, Fig.10 FIG. 1 shows a schematic diagram of the structure of the electronic device. Fig.10 It can be seen that the electronic device includes a body 101, a display screen 102, an input device 103, a detection component (not shown) and a processor (not shown). Specifically, the display screen 102 is arranged on the body 101, the input device 103 can move relative to the display screen 102 so as to have different positional relationships with the display screen 102, the detection component is used to determine the positional relationship between the display screen 102 and the input device 103, and the processor is at least used to control the display of the target display area of ​​the display screen 102 based on the positional relationship and the attribute information of the input device 103, and the target display area is the area not covered by the input device 103.

[0170] In another example, the body 101 includes a first body 1011 , a second body 1012 and a rotating shaft 1013 that supports the rotational connection between the two, and the display screen 102 includes a first display screen 1021 disposed on the first body 1011 and a second display screen 1022 disposed on the second body 1012 .

[0171] In a specific implementation, the input device 103 includes a detachably connected keyboard and a touchpad. When the keyboard is placed in the first area of ​​the first display screen 1021, a virtual touchpad corresponding to the keyboard can be displayed in the second area of ​​the first display screen 1021, and the second area is connected to the first area and is arranged in the first direction or the second direction of the first area;

[0172] When the touchpad is placed in the third area of ​​the first display screen 1021, a virtual keyboard matching the touchpad can be displayed in the fourth area of ​​the first display screen 1021, and the fourth area is connected to the third area and is set in the first direction or the second direction of the third area.

[0173] In another example, the first body 1011 and / or the rotating shaft is provided with a first interface 1014 for supplying power and / or transmitting data to the keyboard and / or the touchpad when the keyboard and / or the touchpad are plugged in. Figure 4 In the example shown, the keyboard and / or touchpad is connected to the first interface 1014 on the first body 1011, that is, the keyboard and / or touchpad is provided with a second interface adapted to the first interface 1014. Through the first interface 1014 and the second interface, the keyboard and / or touchpad can be electrically connected to the first body 1011. At this time, the electronic device can release electrical energy to the keyboard and / or touchpad, that is, charge the keyboard and / or touchpad.

[0174] At this time, the keyboard and / or touchpad are tiled or spliced ​​with the first body 1011, that is, the keyboard and / or touchpad are tiled or spliced ​​with the first display screen 1021. Based on this, a partial area of ​​the first display screen 1021 can be controlled to display a virtual keyboard and / or virtual touchpad, so that the user can improve the convenience of operation through the combination of the keyboard and / or touchpad with the virtual keyboard and / or virtual touchpad.

[0175] Since the principle of solving the problem by the electronic device in the present application is similar to the above-mentioned display control method of the present application, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0176] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0177] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present application should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

[0178] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.

Claims

1. A display control method, comprising: Determining a positional relationship between a display screen of an electronic device and an input device; Display of a target display area of ​​the display screen is controlled based on at least the positional relationship and attribute information of the input device, the target display area being an area not covered by the input device.

2. The display control method according to claim 1, wherein: Determining the positional relationship between the display screen of the electronic device and the input device includes at least one of the following: Determining the positional relationship through sensing data obtained by a target sensing component, wherein the target sensing component includes a sensor provided on at least one of the display screen, the body where the display screen is located, or the input device; Determining the positional relationship by means of an interface state of a connection interface provided on the main body where the display screen is located; determining the positional relationship by a first input operation acting on the display screen; determining the positional relationship by a second input operation performed on the electronic device; The position relationship is obtained through feedback information from an associated device, where the associated device is a device that establishes a first communication connection with the electronic device.

3. The display control method according to claim 1 or 2, wherein: Controlling the display of the target display area of ​​the display screen based at least on the positional relationship and the attribute information of the input device includes: obtaining attribute information of the input device; determining the target display area based on the positional relationship, and controlling display content and / or display parameters of the target display area based on the attribute information; or, The target display area is determined based on the positional relationship and the attribute information, and at least one of display content, display parameters, or display layout of the target display area is controlled.

4. The display control method according to claim 3, wherein: Obtaining attribute information of the input device includes at least one of the following: Identifying image data of the input device acquired by an image sensor to obtain attribute information of the input device; Matching the sensing data obtained by the target sensing component in the target database to obtain attribute information of the input device; After the input device is connected to a first connection interface of an electronic device, reading attribute information of the input device through the first connection interface; Identifying description information for the input device input into the electronic device, and obtaining attribute information of the input device; obtaining attribute information of the input device based on feedback information from an associated device; and / or, Determining the target display area based at least on the positional relationship includes at least one of the following: determining all areas of the display screen that are not covered by the input device as the target display area; In a case where the input device and the display screen have a first positional relationship, determining at least a portion of an area between a first edge of the input device and a third edge of the display screen as the target display area; When the input device and the display screen have a second positional relationship, determining at least a portion of an area between a second edge of the input device and a fourth edge of the display screen as the target display area; In a case where the input device and the display screen have a third positional relationship, determining a first display area of ​​the display screen as the target display area, wherein the first display area and the input device have a third positional relationship or a fourth positional relationship; An area of ​​the display screen that is not covered by the input device and matches the attribute information is determined as the target display area.

5. The display control method according to claim 3, wherein: Controlling the display content and / or display parameters of the target display area based on the attribute information includes at least one of the following: controlling the target display area to display a virtual input control matching the input device based on the attribute information, wherein a function of the virtual input control is the same as or different from a function of the input device; controlling the target display area to display function options matching the input device based on the attribute information, so as to implement input function switching in conjunction with the input device; controlling the target display area to switch from a current first display parameter to a second display parameter based on the attribute information, the second display parameter matching the appearance parameter of the input device or matching the second display area of ​​the display screen; The interactive controls displayed in the target display area and the display layout between the interactive controls are controlled based on the attribute information and the positional relationship. The display control method according to claim 3 , wherein: Controlling the display content of the target display area based on the attribute information includes at least one of the following: In a case where the attribute information indicates that the input device is a keyboard, displaying and outputting a virtual touchpad or a virtual keyboard matching the keyboard in the target display area; In a case where the attribute information indicates that the input device is a touchpad, displaying and outputting a virtual keyboard or a virtual touchpad matching the touchpad in the target display area; When the attribute information indicates that the input device is a stylus, displaying and outputting function options matching the stylus in the target display area; When the attribute information indicates that the input device is a drawing board or a writing board, displaying and outputting corresponding tool options in the target display area; and / or, Controlling the display content of the target display area based on the attribute information and the positional relationship includes at least one of the following: When the keyboard is placed in the first area of ​​the display screen, a virtual touchpad matching the keyboard is displayed in the second area of ​​the display screen, where the second area is connected to the first area and is arranged in the first direction or the second direction of the first area; When the touchpad is placed in the third area of ​​the display screen, a virtual keyboard matching the touchpad is displayed in the fourth area of ​​the display screen, and the fourth area is connected to the third area and is set in the first direction or the second direction of the third area.

7. The display control method according to claim 1, wherein: The display screen includes a first display screen and a second display screen, and controlling the display of the target display area of ​​the display screen based on the positional relationship and the attribute information of the input device includes at least one of the following: When the keyboard is placed on the first display screen and the second display screen at the same time, displaying a virtual touchpad and / or a taskbar in the target display area; In a case where the first display screen and the second display screen belong to different operating systems, a virtual input control providing the same function as the input device is displayed in the target display area.

8. The display control method according to claim 1 or 2, wherein the controlling the display of the target display area of ​​the display screen based on the positional relationship and the attribute information of the input device further comprises at least one of the following: Obtaining user portrait information of the current user, and controlling at least one of display content, display parameters, or display layout of the target display area based on the user portrait information, the positional relationship, and the attribute information; Obtaining current display content of the electronic device, and controlling at least one of display content, display parameters, or display layout of the target display area based on the current display content, the positional relationship, and the attribute information; Obtaining a usage scenario of the electronic device, and controlling at least one of display content, display parameters, or display layout of the target display area based on the usage scenario, the positional relationship, and the attribute information; obtaining power information of the electronic device, and controlling at least one of display content, display parameters, or display layout of the target display area based on the power information, the positional relationship, and the attribute information; The device form of the electronic device is obtained, and at least one of the display content, display parameters, or display layout of the target display area is controlled based on the device form, the positional relationship, and the attribute information.

9. An electronic device comprising: ontology; a display screen provided on the body and an input device capable of moving relative to the display screen so as to have a different positional relationship with the display screen; a detection component, configured to determine a positional relationship between the display screen and the input device; The processor is configured to control display of a target display area of ​​the display screen based on the positional relationship and attribute information of the input device, wherein the target display area is an area not covered by the input device.

10. The electronic device according to claim 9, wherein The body includes a first body, a second body and a rotating shaft supporting the rotation connection between the first body and the second body, and the display screen includes a first display screen provided on the first body and a second display screen provided on the second body; The input device includes a detachably connected keyboard and touchpad; Wherein, when the keyboard is placed in the first area of ​​the first display screen, a virtual touchpad corresponding to the keyboard can be displayed in the second area of ​​the first display screen, and the second area is connected to the first area and is arranged in the first direction or the second direction of the first area; When the touchpad is placed in the third area of ​​the first display screen, a virtual keyboard matching the touchpad can be displayed in the fourth area of ​​the first display screen, where the fourth area is adjacent to the third area and is arranged in the first direction or the second direction of the third area; and / or, A first interface is provided on the first body and / or the rotating shaft, for supplying power and / or transmitting data to the keyboard and / or the touchpad when the keyboard and / or the touchpad are plugged in.