CN112882626B - Display control method, electronic device and storage medium - Google Patents

Display control method, electronic device and storage medium Download PDF

Info

Publication number
CN112882626B
CN112882626B CN202110191782.1A CN202110191782A CN112882626B CN 112882626 B CN112882626 B CN 112882626B CN 202110191782 A CN202110191782 A CN 202110191782A CN 112882626 B CN112882626 B CN 112882626B
Authority
CN
China
Prior art keywords
display
display interface
display area
data
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110191782.1A
Other languages
Chinese (zh)
Other versions
CN112882626A (en
Inventor
祝鹤林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110191782.1A priority Critical patent/CN112882626B/en
Publication of CN112882626A publication Critical patent/CN112882626A/en
Application granted granted Critical
Publication of CN112882626B publication Critical patent/CN112882626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The application discloses a display control method, electronic equipment and a storage medium, wherein the method is applied to the electronic equipment, and the electronic equipment comprises a first body and a second body which are connected through a rotating shaft; the first body is provided with a first display area; the second body is provided with a second display area, the electronic equipment at least comprises a first state and a second state, in the first state, the opening and closing angle of the rotating shaft is 0, the first display area and the second display area are oppositely arranged, in the second state, the opening and closing angle is 360 degrees, and the second display area are oppositely arranged; controlling a target icon to be displayed in a first display interface loaded in a first display area at least in response to a first condition; wherein the first condition comprises that the opening and closing angle is larger than 180 degrees; the target icon is icon data corresponding to an external control device of the electronic equipment; when the external control device is detected to move, the moving area of the control target icon is the first display interface.

Description

Display control method, electronic device and storage medium
Technical Field
The present application relates to the field of information technology, and in particular, to a display control method, an electronic device, and a computer-readable storage medium.
Background
When the dual screen notebook computer is in the Tent Mode (Tent Mode), the user can present data to the customer through the display screen facing the customer, in which case the user desires that the cursor of the mouse of the notebook computer is displayed only in the screen facing himself, not on the display screen facing the customer. However, in practical applications, the cursor of the mouse may often appear on the display screen facing the client, which also easily causes a false deletion and false alteration operation on the data presented to the client.
Disclosure of Invention
Based on the above problem, an embodiment of the present application provides a display control method, which is capable of controlling a display area of a target icon corresponding to an external control device to be a first display interface loaded on a first display area of a first body when an included angle between the first body and a second body of an electronic device is greater than 180 degrees, and even if the external control device moves, a moving area of a target cursor is still the first display interface, so that an operation of limiting the target icon corresponding to the external control device on the first display interface is achieved, and misoperation of client data caused by random movement of the target cursor and random switching of the display areas is reduced.
The technical scheme provided by the embodiment of the application is as follows:
the embodiment of the application provides a display control method, which is applied to electronic equipment, wherein the electronic equipment comprises a first body and a second body which are connected through a rotating shaft; a first display area is arranged in the first body; the second body is provided with a second display area, the electronic equipment at least comprises a first state and a second state, in the first state, the opening and closing angle of the rotating shaft is 0, the first display area and the second display area are arranged oppositely, in the second state, the opening and closing angle is 360 degrees, and the second display area are arranged oppositely; the method comprises the following steps:
controlling a target icon to be displayed in a first display interface loaded in the first display area in response to at least a first condition; wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; the target icon is icon data corresponding to an external control device of the electronic equipment;
and when the external control device is detected to move, controlling the moving area of the target icon to be the first display interface.
In some embodiments, after controlling the moving area of the target icon to be the first display interface, the method further includes:
under the condition that a second condition is met, controlling the target icon to be displayed in a second display interface loaded in the second display area; wherein the second condition comprises that a specified operation and/or a specified gesture is detected.
In some embodiments, the specifying operation comprises at least one of:
the target icon is moved to a designated area of the first display interface;
designating touch operation on the first display interface or the second display interface; the designated touch operation is a touch operation of which the duration exceeds a first threshold and the number of touch points exceeds a second threshold.
In some embodiments, the control target icon is displayed in a first display interface loaded in the first display area, including:
acquiring first data through an acquisition device of the electronic equipment;
and controlling the target icon to be displayed in the first display interface when a specified object is included in the first data and the first display interface faces the specified object.
In some embodiments, the designated object comprises the external control device.
In some embodiments, after controlling the moving area of the target icon to be the first display interface, the method further includes:
under the condition that a third condition is met, controlling the display area of the target icon to be switched to a second display interface loaded in the second display area; and the third condition comprises that the external control device selects a designated icon displayed on the first display interface.
In some embodiments, after controlling the moving area of the target icon to be the first display interface, the method further includes:
controlling a display area of the second data selected by the external control device to be the first display interface;
controlling a display area of third data to be a second display interface loaded by the second screen; wherein the security level of the second data is different from the security level of the third data; the second display interface can receive and respond to touch operation.
In some embodiments, the method further comprises:
under the condition that the external control device selects the designated area of the first display interface, controlling the display area of fourth data to be switched to the first display interface; controlling a display area of the fifth data to be switched to the second display interface; the fourth data comprises data displayed by a second display interface loaded in the second display area; and the fifth data comprises data displayed by the first display interface.
The embodiment of the application also provides electronic equipment, wherein the electronic equipment comprises a detection device, a display control device, a first body and a second body which are connected through a rotating shaft; a first display area is arranged in the first body; a second display area is arranged in the second body; the electronic equipment at least comprises a first state and a second state, wherein in the first state, the opening and closing angle of the rotating shaft is 0, the first display area and the second display area are arranged oppositely, in the second state, the opening and closing angle is 360 degrees, and the second display area are arranged oppositely;
the detection device is used for detecting the opening and closing angle;
the display control device is used for responding to at least a first condition and controlling a target icon to be displayed in a first display interface loaded in the first display area; wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; the target icon is icon data corresponding to an external control device of the electronic equipment;
the detection device is also used for detecting the state of the external control device;
the display control device is used for controlling the moving area of the target icon to be the first display interface when the detection device detects that the external control device moves.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program; the computer program is executable by a processor to implement a display control method as described in any of the preceding.
In the display control method provided by the embodiment of the application, the electronic device comprises a first body and a second body which are connected through a rotating shaft, wherein a first display area is arranged in the first body, a second display area is arranged in the second body, and the first display area and the second display area can be arranged oppositely or back to back; under the condition that the included angle between the first body and the second body is larger than 180 degrees, the display area of the target icon corresponding to the external control device and the moving area can be controlled to be the first display interface loaded in the first display area. That is to say, when the electronic device is in the tent mode, both the display area and the moving area of the target icon of the external control device may be controlled to be the first display interface, and compared with a scheme in which a cursor of a mouse is randomly switched between the first display interface and the second display interface in the related art, the display control method provided in the embodiment of the present application can reduce the probability of a misoperation on data displayed to a client.
Drawings
Fig. 1 is a schematic structural diagram of a first electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a first display control method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a second display control method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a principle that different data is displayed on a first display interface and a second display interface according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The present application relates to the field of information technologies, and in particular, to a display control method, an electronic device, and a computer-readable storage medium.
Two display screens of double screen notebook can open and shut along the pivot and rotate to two display screens can show different data simultaneously, therefore, in practical application, the double screen notebook is often used for showing data to the customer. When the included angle between the two display screens of the dual-screen notebook is greater than 180 degrees, the dual-screen notebook can be fixed on a plane through the supporting function of the bodies of the two display screens, and the working Mode of the notebook is generally called Tent Mode (Tent Mode).
In the case where the dual-screen notebook is in the tent mode, when a user uses the dual-screen notebook to present data to a client, the user usually wants that the display area and the movement area of the mouse cursor can be locked in the display screen facing to the user.
Based on the above problems, embodiments of the present application provide a display control method. The method is applied to the electronic equipment. By the display control method, the target cursor corresponding to the external control device can be limited on the first display interface loaded in the first display area of the electronic equipment, so that the probability of misoperation of the external control device on data displayed on the second display interface is reduced.
Fig. 1 is a schematic structural diagram of a first electronic device 1 according to an embodiment of the present disclosure.
As shown in fig. 1, the electronic apparatus 1 includes a first body 102 and a second body 103 connected by a hinge 101; a first display area is arranged in the first body 101; the second body 102 is provided with a second display area, the electronic device 1 at least comprises a first state and a second state, in the first state, the opening and closing angle of the rotating shaft 101 is 0, the first display area and the second display area are arranged oppositely, in the second state, the opening and closing angle is 360 degrees, and the second display area are arranged oppositely.
In one embodiment, the opening and closing angle of the rotating shaft 101 may be any angle between 0 degree and 360 degrees.
In one embodiment, the first display area may be a first display screen provided in the first body; the second display area may be a second display screen provided in the second body.
In one embodiment, the first display area and the second display area may be flexible screen display areas provided in the first body and the second body; illustratively, the flexible screen display area may be composed of a first display area and a second display area.
In one embodiment, in the second state, the first display region and the second display region are disposed opposite to each other, and in this case, the first display region and the second display region face opposite directions.
Fig. 2 is a schematic flowchart of a first display control method according to an embodiment of the present disclosure. It should be noted that the display control method may be implemented by a processor of the electronic device.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor.
As shown in fig. 2, the display control method may include steps 201 to 202:
step 201, at least responding to a first condition, and controlling a target icon to be displayed in a first display interface loaded in a first display area.
Wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; and the target icon is icon data corresponding to an external control device of the electronic equipment.
In one embodiment, the first condition may include an open-close angle being greater than 180 degrees but less than 360 degrees. At this time, the electronic device can be stably supported by the first body and the second body.
In one embodiment, the external control device of the electronic device may be at least one of a mouse, an external keyboard, and the like.
In one embodiment, there may be at least one external control device of the electronic device. For example, the electronic device may be externally connected with a first mouse and a second mouse, wherein the first mouse is connected to the electronic device in a wired connection manner; the second mouse is connected to the electronic equipment in a wireless connection mode.
In one embodiment, the target icon may be a cursor corresponding to the external control device.
In an embodiment, the control of the target icon to be displayed in the first display Interface loaded in the first display area may be implemented by setting the display area of the target icon in the target display Interface in combination with calling an Application Programming Interface (API) provided by an Operating System (OS) of the electronic device in the target display Interface where the target icon is to be displayed. The target display interface may be a first display interface.
Step 202, when the external control device is detected to move, controlling the moving area of the target icon to be a first display interface.
In one embodiment, the movement of the peripheral control device may include the peripheral control device sliding on a plane.
In one embodiment, the movement of the external control device may include a continuous movement or an intermittent movement of the external control device on a plane on which the external control device is placed.
In an embodiment, when the external control device moves, the moving area of the control target icon is the first display interface, and may be implemented by:
when the external control device moves, the position information of the target icon in the first display interface is obtained in real time, an API (application program interface) provided by the OS of the electronic equipment is called, and the changed position information is limited in the first display interface.
In the embodiment of the application, after the display area of the target cursor is determined to be the first display interface, various types of icons, toolbars and the like can be displayed in the first display interface, and the electronic device can provide various operation options for a user through the icons and the toolbars.
As can be seen from the above, in the display control method provided in the embodiment of the present application, the electronic device includes a first body and a second body connected by a rotating shaft, the first body is provided with a first display area, the second body is provided with a second display area, and the first display area and the second display area may be arranged oppositely or back to back; under the condition that the included angle between the first body and the second body is larger than 180 degrees, the display area of the target icon corresponding to the external control device and the moving area can be controlled to be the first display interface loaded in the first display area. That is to say, when the electronic device is in the tent mode, the display control method provided in the embodiment of the present application can control both the display area and the moving area of the target icon of the external control device to be the first display interface, and compared with a scheme in which a cursor of a mouse is randomly switched between the first display interface and the second display interface in the related art, the display control method provided in the embodiment of the present application can reduce the probability of a misoperation on data displayed to a client.
Based on the foregoing embodiments, a second display control method is provided in the embodiments of the present application. Fig. 3 is a flowchart illustrating a second display control method according to an embodiment of the present disclosure. As shown in fig. 3, the method may include steps 301 to 303:
step 301, in response to at least a first condition, displaying a control target icon in a first display interface loaded in a first display area.
Wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; and the target icon is icon data corresponding to an external control device of the electronic equipment.
Step 302, when the external control device is detected to move, controlling the moving area of the target icon to be a first display interface.
In the embodiment of the present application, step 302 may be implemented by step a1 to step a 2:
step A1, collecting first data through a collecting device of the electronic equipment.
In one embodiment, the acquisition device of the electronic device may be at least one of a sensor device, a sound signal acquisition device, an image acquisition device, and the like of the electronic device. The image capturing device may include a Red Yellow Blue (RGB) camera and an Infrared (IR) camera.
In one embodiment, there may be at least one acquisition device of the electronic device, and the acquisition devices may be respectively disposed at different positions of the electronic device.
In one embodiment, the capture device of the electronic device, such as the image capture device, may be disposed on only one body of the electronic device, such as the first body.
In one embodiment, the acquiring of the first data by the acquiring means of the electronic device may be an operation performed immediately if the first condition is satisfied.
In one embodiment, if the acquisition device does not acquire the first data satisfying the condition, the electronic device may control the acquisition device to acquire the first data a plurality of times.
In one embodiment, the first data may be at least one of angle data, sound data, image data, video data, and the like.
In step a2, when the first data includes the designated object and the first display interface is oriented toward the designated object, the control target icon is displayed on the first display interface.
In one embodiment, the designated object may be a current user of the electronic device.
In one embodiment, the designated object may be a user with designated characteristics. Illustratively, the designated characteristic may indicate that the user's clothing is at least one of formal clothing, such as a shirt, western style clothing, a tie, and the like.
In an embodiment, the designated object may also be an object whose number meets a requirement, for example, one object faces the first display interface, and a plurality of objects face the second display interface, where the object that the first display interface faces may be set as the designated object, and the first display interface is an interface that the target icon can display.
In one embodiment, when the image capturing device is disposed on only one body, for example, the first body, if the first data captured by the image capturing device includes a designated object, it may be determined that the target icon is displayed on the first display interface.
In one embodiment, if the image capturing device is disposed on the first body and the image capturing device does not capture the first data including the designated object, the electronic device may output a prompt message for prompting a user to set a display area of the target cursor. For example, the electronic device may also output additional information, which may include a way and/or method by which the user can set the target cursor, and the like.
In one embodiment, the image acquisition device is arranged on the first body, and the electronic device can perform object recognition on image data acquired by the image acquisition device, and determine the control target icon to be displayed in the first display interface according to the recognition result. Illustratively, the object recognition may include face recognition. For example, if the result of the face recognition indicates that the user facing the first ontology is an administrator user of the electronic device, it may be determined that the display area of the target cursor is a first display interface displayed in the first display area of the first ontology; correspondingly, if the face recognition result indicates that the user facing the first body is not the administrator user of the electronic device, the electronic device may output a prompt message of "user error, please re-identify".
In one embodiment, if one object faces the first display interface and one object faces the second display interface, further detection may be performed to determine the display area of the target cursor, for example, if a mouse is detected on one side of the first display interface or a hand of an operation control mouse is detected, the display area of the target cursor may be determined as the first display interface.
In one embodiment, the orientation of the first display interface towards the designated object may include at least one of the designated object facing the first display interface, or the designated object currently performing human-computer interaction through the first display interface.
In the embodiment of the application, the designated object comprises an external control device.
Accordingly, as long as the external control device is included in the first data and the first display interface faces the external control device, the target icon can be controlled to be displayed in the first display interface.
Through the above steps, the display control method provided in the embodiment of the present application can control the target icon to be displayed in the first display interface when the first data includes the designated object and the first display interface faces the designated object, so as to improve flexibility of controlling the display area of the target icon corresponding to the external control device.
In the embodiment of the present application, after step 302, the following operations may also be performed:
and under the condition that the third condition is met, the display area of the control target icon is switched to a second display interface loaded in the second display area.
And the third condition comprises that the external control device selects a designated icon displayed on the first display interface.
In one embodiment, the designated icon may be an icon corresponding to a function for controlling the target icon display area.
In one embodiment, the designated icon may be disposed at a designated location of the first display interface, such as the leftmost location of the toolbar.
In one embodiment, after the external control device selects the designated icon, in order to prevent a malfunction, the electronic device may further output a prompt message to prompt the user whether to switch the display area of the target icon to the second display interface. The prompt message may include options of "confirm switch" and "cancel switch", and may also include information for requesting the user to input account information.
Through the operation, under the condition that the external control device is detected to select the designated icon displayed on the first display interface, the electronic equipment can also control the display area of the target icon and switch to the second display interface loaded in the second display area, so that controllable and flexible switching of the display area of the target icon can be realized, and the requirements of various application occasions can be met.
In the embodiment of the present application, after the step 302, the steps B1 to B2 may be further performed:
and step B1, controlling the display area of the second data selected by the external control device to be a first display interface.
In one embodiment, the second data selected by the external control device may be at least one of text data, image data, audio data, video data, and the like.
In one embodiment, the displaying of the second data in the first display interface may be in a full screen form.
In an implementation manner, in the process of implementing the display control method provided by the embodiment of the present application, the second data may be displayed in a specific area in the first display interface, and other areas in the first display interface need to display some option icons, which may include, for example, the designated icon described in the foregoing embodiment, so as to provide a selection condition for switching display of the target icon in the first display interface and the second display interface.
And step B2, controlling the display area of the third data to be a second display interface loaded for the second screen.
Wherein the security level of the second data is different from the security level of the third data; and the second display interface can receive and respond to touch operation.
In one embodiment, the third data may be data selected by the external control device in the first display interface, and after the external control device selects the third data, the third data may be displayed on the second display interface by selecting an option for displaying the data on the second display interface from the option icons.
In this embodiment of the present application, the order of step B1 and step B2 may be adjusted, which is not limited in this embodiment of the present application.
Fig. 4 is a schematic diagram illustrating a principle that different data is displayed on the first display interface and the second display interface according to an embodiment of the present application.
In fig. 4, a first display interface 401 of the electronic device 1 faces a user 402; the second display interface 403 faces the customer 404; the external control device 405 faces the first display interface 401. In practical applications, the first display interface 401 displays the second data to the user 402, and the second display interface 403 displays the third data to the client 404.
In an embodiment of the application, the security level of the second data is different from the security level of the third data, and may indicate that the second data is data specific to the user 402, and the third data indicates data prepared by the user 402 for the client 404. That is, the second data has higher privacy or business confidentiality than the third data.
In the embodiment of the application, although the target icon is displayed in the first display interface, the second display interface can still receive and respond to the touch operation input by the customer, so that the customer can conveniently view data in the second display interface in multiple ways and multiple ways.
The display control method provided by the embodiment of the application can further comprise the following steps:
under the condition that the external control device selects the designated area of the first display interface, controlling the display area of the fourth data to be switched to the first display interface; and controlling the display area of the fifth data to be switched to the second display interface.
The fourth data comprises data loaded in the second display area and displayed on the second display interface; and the fifth data comprises data displayed by the first display interface.
In one embodiment, the designated area may be a specific area in the first display interface for responding to switching of the data display area, and for example, the designated area may be located in a corner area of the first display interface, so that the probability of misoperation of a user can be reduced.
In one embodiment, the designated area may output a prompt manner such as flashing or animation jumping to prompt a user to connect a target cursor corresponding to the control device externally and select an operation that can be performed by the designated area, so as to reduce misoperation of the designated area by the user.
In one embodiment, the designated area may be a screen hotspot of the first display interface.
In one embodiment, the fourth data may further include an area currently not displayed in the second display area. Illustratively, the fourth data may have been loaded in the second display region, but in a background display state. The background display state may be a minimized display state.
In an embodiment, the fifth data may further include data that is not currently displayed on the first display interface. For example, the fifth data may include data that is not currently loaded in the first display interface, and may also include data that is displayed in the background in the first display interface.
In one embodiment, when the external control device selects the designated area, the display areas of the plurality of fourth data may be controlled to be switched to the first display interface, and the display areas of the plurality of fifth data may be controlled to be switched to the second display interface. For example, taking the example of controlling the display areas of the plurality of fifth data to be switched to the second display interface, the display mode of the plurality of fifth data in the second display interface may include any one of the following:
creating a plurality of windows in the second display interface, wherein each window displays a fifth datum;
creating a window on the second display interface, and displaying a plurality of fifth data in the window;
and creating a window in the second display interface, displaying a fifth data in the window, adding other fifth data into the message queue, and displaying other fifth data according to a preset sequence under the condition that the touch operation is detected.
Through the operation, under the condition that the external control device is detected to select the designated area, the switching of the display areas of the data displayed on the first display interface and the data displayed on the second display interface can be controlled, so that a user can flexibly switch the data which needs to be displayed to a client, the range of the data displayed to the client is enriched, and the actual requirement of displaying the data to the client can be met.
The display control method provided by the embodiment of the application can further comprise the following steps:
and under the condition that the external control device selects the specific icon displayed in the first display interface, switching the display area of the sixth data into the first display interface.
And the sixth data comprises data loaded in the second display area and displayed on the second display interface.
In one embodiment, the sixth data may be data currently displayed on the second display interface.
In one embodiment, the sixth data may be data that is not displayed by the front end in the second display interface.
In one embodiment, the number of the sixth data may be plural.
In one embodiment, the specific icon may be an icon of an option displayed in the first display interface for recycling data presented to the customer.
Through the steps, when the display control method provided by the embodiment of the application is implemented, a user can timely retrieve the data displayed to the client when the client fully knows the currently displayed data or the client object does not know the currently displayed data of the electronic device in the process of displaying the data to the client, and the method provided by the embodiment can also timely display new data to the client, so that various data display requirements are met more flexibly.
And 303, displaying the control target icon in a second display interface loaded in the second display area under the condition that a second condition is met.
And the second condition comprises that a specified operation and/or a specified gesture is detected.
In one embodiment, the designating operation may be performed by the user through the external control device, for example, a combination of at least two keys operated by the user in the external control device is pressed, the user presses the designated key for a long time exceeding a preset time threshold, the user presses the designated key for a long time and continuously moves the external control device, and the like.
In an embodiment of the present application, the specifying comprises at least one of:
and moving the target icon to a designated area of the first display interface.
And performing specified touch operation on the first display interface or the second display interface. The designated touch operation is a touch operation of which the duration exceeds a first threshold and the number of touch points exceeds a second threshold.
In one embodiment, the designated area of the first display interface may be an area in which a designated icon is displayed, and exemplarily, moving the target icon to the designated area of the first display interface may include selecting the designated icon by the external control device.
In one embodiment, the designated area of the first display interface may be a screen hot area in the first display interface as described in the previous embodiment.
In one embodiment, the first threshold and the second threshold may be values fixedly set in the electronic device.
In one embodiment, the first threshold and the second threshold may be set by a user.
In one embodiment, the first threshold and the second threshold may be determined by the electronic device acquiring, learning, and summarizing the usage habit data of the user and analyzing the data.
In one embodiment, the designated touch operation may be a long-time multi-touch operation. Such as: and five fingers touch the first display interface or the second display interface at the same time, wherein the touch time exceeds 1 second. For example, after the designated touch operation ends, the switching operation of the display area of the target cursor may be suspended; until the relative form information of the two bodies in the electronic equipment is detected to be changed.
In some embodiments, the designated touch operation may be a designated sliding touch operation of the first display interface or the second display interface, for example, three fingers touch and stroke at the same time, so as to trigger switching of the display area of the target cursor.
Based on the foregoing embodiment, an embodiment of the present application further provides an electronic device, and fig. 5 is a schematic structural diagram of a second electronic device 5 provided in the embodiment of the present application.
As shown in fig. 5, the electronic device 5 includes a detection device 501, a display control device 502, and a first body and a second body connected by a rotation shaft; a first display area is arranged in the first body; a second display area is arranged in the second body; the electronic equipment at least comprises a first state and a second state, wherein in the first state, the opening and closing angle of the rotating shaft is 0, the first display area and the second display area are arranged oppositely, in the second state, the opening and closing angle is 360 degrees, and the second display area are arranged oppositely.
The detecting device 501 is used for detecting the opening and closing angle.
The display control device 502 is used for responding to at least a first condition and controlling the target icon to be displayed in the first display interface loaded in the first display area; wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; and the target icon is icon data corresponding to an external control device of the electronic equipment.
The detecting device 501 is further configured to detect a state of the external control device.
The display control device 502 is configured to control a moving area of the target icon to be a first display interface when the detection device detects that the external control device moves.
In some embodiments, the display control means 502 is configured to, if a second condition is satisfied, control the target icon to be displayed in the second display interface loaded in the second display area; and the second condition comprises that a specified operation and/or a specified gesture is detected.
In some embodiments, the specifying operation includes at least one of:
moving the target icon to a designated area of the first display interface;
designating touch operation on the first display interface or the second display interface; the designated touch operation is a touch operation of which the duration exceeds a first threshold and the number of touch points exceeds a second threshold.
In some embodiments, the electronic device 5 further comprises an acquisition means for acquiring the first data by an acquisition means of the electronic device;
and a display control unit 502 configured to display the control target icon on the first display interface when the first data includes the designated object and the first display interface is oriented to the designated object.
In some embodiments, the object is specified, including an external control device.
In some embodiments, the display control device 502 is configured to, when the third condition is satisfied, switch the display area of the control target icon to the second display interface loaded in the second display area; and the third condition comprises that the external control device selects a designated icon displayed on the first display interface.
In some embodiments, the display control device 502 is configured to control a display area of the second data selected by the external control device to be a first display interface; controlling a display area of the third data to be a second display interface loaded by a second screen; wherein the security level of the second data is different from the security level of the third data; and the second display interface can receive and respond to touch operation.
In some embodiments, the display control device 502 is configured to control the display area of the fourth data to be switched to the first display interface when the external control device selects the designated area of the first display interface; controlling the display area of the fifth data to be switched to a second display interface; the fourth data comprises data loaded in the second display area and displayed on the second display interface; and the fifth data comprises data displayed by the first display interface.
As can be seen from the above, the electronic device 5 provided in the embodiment of the present application includes a first body and a second body connected through a rotating shaft, the first body is provided with a first display area, the second body is provided with a second display area, and the first display area and the second display area may be arranged oppositely or back to back; under the condition that the included angle between the first body and the second body is larger than 180 degrees, the display area of the target icon corresponding to the external control device and the moving area can be controlled to be the first display interface loaded in the first display area. That is to say, when the electronic device 5 is in the tent mode, the display area and the moving area of the target icon of the external control device can be controlled to be both the first display interface, and compared with a scheme in which a cursor of a mouse is randomly switched between the first display interface and the second display interface in the related art, the display control method provided in the embodiment of the present application can reduce the probability of misoperation on data displayed to a client.
Based on the foregoing embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the display control method as described in any of the foregoing embodiments can be implemented.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
The methods disclosed in the method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in various product embodiments provided by the application can be combined arbitrarily to obtain new product embodiments without conflict.
The features disclosed in the various method or apparatus embodiments provided herein may be combined in any combination to arrive at new method or apparatus embodiments without conflict.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus necessary general hardware nodes, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A display control method is applied to an electronic device, wherein the electronic device comprises a first body and a second body which are connected through a rotating shaft; a first display area is arranged in the first body; the second body is provided with a second display area, the electronic equipment at least comprises a first state and a second state, in the first state, the opening and closing angle of the rotating shaft is 0, the first display area and the second display area are arranged oppositely, in the second state, the opening and closing angle is 360 degrees, and the first display area and the second display area are arranged oppositely; the method comprises the following steps:
controlling a target icon to be displayed in a first display interface loaded in the first display area in response to at least a first condition; wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; the target icon is icon data corresponding to an external control device of the electronic equipment;
and when the external control device is detected to move, controlling the moving area of the target icon to be the first display interface.
2. The method of claim 1, wherein the controlling the movement region of the target icon to be behind the first display interface further comprises:
under the condition that a second condition is met, controlling the target icon to be displayed in a second display interface loaded in the second display area; wherein the second condition comprises that a specified operation and/or a specified gesture is detected.
3. The method of claim 2, wherein the specified operation comprises at least one of:
the target icon is moved to a designated area of the first display interface;
designating touch operation on the first display interface or the second display interface; the designated touch operation is a touch operation of which the duration exceeds a first threshold and the number of touch points exceeds a second threshold.
4. The method of claim 1, wherein the control target icon is displayed in a first display interface loaded in the first display area, comprising:
acquiring first data through an acquisition device of the electronic equipment;
and controlling the target icon to be displayed in the first display interface when a specified object is included in the first data and the first display interface faces the specified object.
5. The method of claim 4, wherein the designated object comprises the off-board control device.
6. The method of claim 1, wherein the controlling the movement region of the target icon to be behind the first display interface further comprises:
under the condition that a third condition is met, controlling the display area of the target icon to be switched to a second display interface loaded in the second display area; and the third condition comprises that the external control device selects a designated icon displayed on the first display interface.
7. The method of claim 1, wherein the controlling the movement region of the target icon to be behind the first display interface further comprises:
controlling a display area of the second data selected by the external control device to be the first display interface;
controlling a display area of the third data to be a second display interface loaded by a second screen; wherein the security level of the second data is different from the security level of the third data; the second display interface can receive and respond to touch operation.
8. The method of claim 1, wherein the method further comprises:
under the condition that the external control device selects the designated area of the first display interface, controlling the display area of fourth data to be switched to the first display interface; controlling the display area of the fifth data to be switched to a second display interface; the fourth data comprises data displayed on a second display interface loaded in the second display area; and the fifth data comprises data displayed by the first display interface.
9. An electronic device, wherein the electronic device comprises a detection device, a display control device, a first body and a second body which are connected through a rotating shaft; a first display area is arranged in the first body; a second display area is arranged in the second body; the electronic equipment at least comprises a first state and a second state, wherein in the first state, the opening and closing angle of the rotating shaft is 0, the first display area and the second display area are arranged oppositely, in the second state, the opening and closing angle is 360 degrees, and the first display area and the second display area are arranged oppositely;
the detection device is used for detecting the opening and closing angle;
the display control device is used for responding to at least a first condition and controlling a target icon to be displayed in a first display interface loaded in the first display area; wherein the first condition comprises that the opening and closing angle is greater than 180 degrees; the target icon is icon data corresponding to an external control device of the electronic equipment;
the detection device is also used for detecting the state of the external control device;
the display control device is used for controlling the moving area of the target icon to be the first display interface when the detection device detects that the external control device moves.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium; the computer program is executable by a processor to implement the display control method according to any one of claims 1 to 8.
CN202110191782.1A 2021-02-19 2021-02-19 Display control method, electronic device and storage medium Active CN112882626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110191782.1A CN112882626B (en) 2021-02-19 2021-02-19 Display control method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110191782.1A CN112882626B (en) 2021-02-19 2021-02-19 Display control method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112882626A CN112882626A (en) 2021-06-01
CN112882626B true CN112882626B (en) 2022-09-23

Family

ID=76056639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110191782.1A Active CN112882626B (en) 2021-02-19 2021-02-19 Display control method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112882626B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009064068A (en) * 2007-09-04 2009-03-26 Necディスプレイソリューションズ株式会社 Information processor, and user interface control method and program
CN101937315A (en) * 2010-06-29 2011-01-05 上海复创计算机信息技术有限公司 Multi-screen display operation control system and method
CN101893991A (en) * 2010-07-08 2010-11-24 上海唯道网络信息技术有限公司 Multi-screen interactive self-service system and method
CN104461320B (en) * 2014-12-03 2017-11-24 合肥联宝信息技术有限公司 A kind of method and device that double mouse pointers are shown on computer computer double screen
CN117311946A (en) * 2017-10-17 2023-12-29 中兴通讯股份有限公司 Application switching method and device
CN110298207A (en) * 2019-06-25 2019-10-01 Oppo广东移动通信有限公司 Information display method and Related product
CN111459227A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Electronic device and display control method thereof

Also Published As

Publication number Publication date
CN112882626A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN106126077B (en) Display control method of application program icons and mobile terminal
CN107632895B (en) Information sharing method and mobile terminal
EP3661187B1 (en) Photography method and mobile terminal
EP3557395B1 (en) Information processing apparatus, information processing method, and computer program
CN107636595B (en) Method for starting second application by using first application icon in electronic equipment
CN107124508B (en) Position adjusting method and device of suspension control, terminal and readable storage medium
CN108710469B (en) Application program starting method, mobile terminal and medium product
CN107678644B (en) Image processing method and mobile terminal
US20230342025A1 (en) Simultaneous gesture and touch control on a display
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
KR20130093043A (en) Method and mobile device for user interface for touch and swipe navigation
CN107643912B (en) Information sharing method and mobile terminal
CN112148176B (en) Pendant control method and device, electronic equipment and readable storage medium
CN106354373B (en) Icon moving method and mobile terminal
JP7233109B2 (en) Touch-sensitive surface-display input method, electronic device, input control method and system with tactile-visual technology
WO2020052347A1 (en) Window adjustment method, mobile terminal and computer-readable storage medium
CN109388468A (en) Multiprogram window management method and device
US20140195935A1 (en) Information processing device, information processing method, and information processing program
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN108845756B (en) Touch operation method and device, storage medium and electronic equipment
CN114415886A (en) Application icon management method and electronic equipment
CN112882626B (en) Display control method, electronic device and storage medium
WO2023198064A1 (en) Application program starting method and apparatus, and electronic device and storage medium
WO2023103901A1 (en) Application management method and apparatus, and electronic device
CN109739422B (en) Window control method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant