CN115424555A - Display control method and device - Google Patents

Display control method and device Download PDF

Info

Publication number
CN115424555A
CN115424555A CN202211212885.2A CN202211212885A CN115424555A CN 115424555 A CN115424555 A CN 115424555A CN 202211212885 A CN202211212885 A CN 202211212885A CN 115424555 A CN115424555 A CN 115424555A
Authority
CN
China
Prior art keywords
display unit
target display
state
target
indication
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.)
Pending
Application number
CN202211212885.2A
Other languages
Chinese (zh)
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 CN202211212885.2A priority Critical patent/CN115424555A/en
Publication of CN115424555A publication Critical patent/CN115424555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/04Display device controller operating with a plurality of display units

Abstract

The application provides a display control method and a display control device, wherein the method comprises the following steps: determining a first target display unit which needs to be in a closed state in two display units of the electronic equipment, wherein the first target display unit is any display unit of the electronic equipment; setting a use mode of the first target display unit to an unavailable state mode; and controlling the first target display unit to be in a closed state in response to the unavailable state mode of the first target display unit. The scheme of the application can reduce the possibility that the target display unit is started by mistake under the condition that the target display unit is not required to be started.

Description

Display control method and device
Technical Field
The present application relates to the field of display technologies, and in particular, to a display control method and apparatus.
Background
With the continuous development of electronic devices, electronic devices having two display screens are increasing. Such as a dual-screen notebook computer or a dual-screen mobile phone.
Under the condition that electronic equipment has two display screens, can often appear not needing to start two display screens simultaneously under, also can start two display screens, cause and show unusually.
Disclosure of Invention
The application provides a display control method and device.
The display control method comprises the following steps:
determining a first target display unit which needs to be in a closed state in two display units of the electronic equipment, wherein the first target display unit is any display unit of the electronic equipment;
setting a use mode of the first target display unit to an unavailable state mode;
controlling the first target display unit to be in an off state in response to the unavailable state mode of the first target display unit.
In one possible implementation manner, while determining that the first target display unit in the off state is required in two display units of the electronic device, the method further includes:
determining a second target display unit to be started in two display units of the electronic equipment, wherein the second target display unit is different from the first target display unit;
setting a usage mode of the second target display unit to an available state mode;
controlling to activate the second target display unit in response to a change of the usage mode of the second target display unit to an available state mode.
In yet another possible implementation manner, the setting the usage mode of the first target display unit to the unavailable state mode includes:
generating an unavailable indication for the first target display unit, the unavailable indication indicating to an operating system that the first target display unit is in an unavailable state mode;
the controlling the first target display unit to be in an off state in response to the unavailable state mode of the first target display unit includes:
in response to the unavailability indication, setting, by the operating system, the first target display unit to be in an unavailable state such that the first target display unit is in a closed state.
In yet another possible implementation manner, the setting the usage mode of the second target display unit to the available state mode includes:
generating an available indication for the second target display unit, the available indication for indicating to an operating system that the second target display unit is restored to an available state mode;
the controlling to activate the second target display unit in response to the usage mode of the second target display unit becoming the available state mode includes:
in response to the available indication, launching, by the operating system, the second target display unit.
In yet another possible implementation, the generating an unavailability indication for the first target display unit includes:
if the first target display unit is a first display unit of the electronic equipment, generating a first unavailable indication, wherein the first unavailable indication is used for indicating the first display unit to enter a non-working state;
and if the first target display unit is a second display unit of the electronic equipment, generating a second unavailable indication, wherein the second unavailable indication is used for indicating that the interface connection state of the second display unit is a disconnection state.
In yet another possible implementation, the generating an available indication for the second target display unit includes:
if the second target display unit is a first display unit of the electronic equipment, generating a first available indication, wherein the first available indication is used for indicating the first display unit to recover the working state;
and if the second target display unit is a second display unit of the electronic equipment, generating a second available indication, wherein the second available indication is used for indicating that the interface connection state of the second display unit is a connection state.
In yet another possible implementation manner, before generating the available indication for the second target display unit, the method further includes:
obtaining display identification data of the second target display unit;
the available indication carries display identification data of the second target display unit;
the starting the second target display unit through the operating system includes:
and starting the second target display unit through the operating system according to the display identification data of the second target display unit.
In yet another possible implementation manner, the electronic device includes: a first body and a second body rotatable with respect to each other;
the first display unit and the second display unit are respectively arranged on two parallel panels of the first body.
In another possible implementation manner, determining a second target display unit to be activated in two display units of the electronic device while determining that the first target display unit in the off state is required in the two display units of the electronic device includes:
and determining a first target display unit to be closed and a second target display unit to be started in two display units of the electronic equipment when the electronic equipment is detected to be accessed to an external display device.
Wherein, a display control apparatus comprises:
the display determination unit is used for determining a first target display unit which needs to be in a closed state in two display units of the electronic equipment, and the first target display unit is any display unit of the electronic equipment;
a first mode setting unit for setting a use mode of the first target display unit to an unavailable state mode;
a turn-off control unit for controlling the first target display unit to be in a turn-off state in response to the unavailable state mode of the first target display unit.
As can be seen from the above, in the present application, after determining that any one of the two display units of the electronic device needs to be the target display unit in the off state, the usage mode of the target display unit is set to the unavailable state mode. On the basis, the electronic equipment controls the target display unit to be in a closed state in response to the unavailable state mode of the target display unit, and after the target display unit is closed, if the use mode of the target display unit is not changed, the electronic equipment cannot start the target display unit, so that the situation that the target display unit is started by mistake under the condition that the target display unit is not required to be started can be reduced, and the situation that two display units of the electronic equipment are started simultaneously due to the mistake starting can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only the embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a display control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a display control method provided in an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a display control method provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an external structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a display control method provided in an embodiment of the present application in an application example;
FIG. 6 is a schematic diagram of an architecture of an electronic device provided in an embodiment of the application;
fig. 7 is a schematic diagram illustrating another component architecture of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a structural configuration of a display control apparatus 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any inventive step are within the scope of protection of the present application.
The electronic equipment applicable to the application is provided with the two display units, for example, the electronic equipment can be a double-screen notebook computer or a double-screen mobile phone, and the setting positions, the relative position relation and the like of the two display units in the electronic equipment can be unlimited.
The existing operating system has display configuration parameters, such as Extended Display Identification Data (EDID), for the two display units, so that the two display units can be always in a startup state.
As shown in fig. 1, which shows a schematic flow chart of a display control method provided in an embodiment of the present application, the method of the present embodiment may be applied to an electronic device, and the method of the present embodiment may include:
s101, a first target display unit which needs to be in a closed state in two display units of the electronic equipment is determined.
It is understood that, in different situations of the electronic device and different usage scenarios of the electronic device, the electronic device needs to control the display unit in the off state differently. Thus, the first target display unit may be any one of the display units of the electronic device. In the present application, the display unit that is currently required to be controlled in the off state is referred to as a first target display unit only for convenience of distinction.
In combination with different requirements of different use scenes, the first target display unit needs to be in a closed state, which can be divided into two cases.
One situation is that a first target display unit is currently in an on state but needs to be turned off, e.g. in some usage modes of the electronic device, it may only be necessary to turn on another display unit than the first target display unit, so it is necessary to turn off the first target display unit.
In yet another case, the first target display unit is currently in the off state, but needs to be maintained in the off state and cannot be actively activated by the electronic device.
By way of example:
in the case of an electronic device having two display screens, the operating system may use one display unit as an internal display screen and another display unit as an external display screen.
However, when the electronic device is externally connected to another display device and the display mode is set to the extended mode, the electronic device may use both the display unit of the external display screen and the externally connected display device as the extended display screen corresponding to the display unit of the electronic device as the internal display screen, so as to start the display unit of the electronic device as the external display screen.
Based on this, the display unit that is the external display screen can be determined as the display unit that needs to be in the off state before the electronic device starts the display unit. Of course, the electronic device may also be a display unit that is determined to be turned off after the display unit serving as the external display screen is turned on.
It is understood that, in practical applications, there are many possibilities of the conditions for determining the first target display unit and the manner how to determine the first target display unit, which is not limited in the present application.
S102, the using mode of the first target display unit is set to be the unavailable state mode.
In the present application, the usage pattern of the display unit is used to indicate: whether the display unit can be used or not is determined based on the physical mode of the display unit relative to the electronic device.
Accordingly, the setting of the usage mode of the first target display unit to the unavailable state mode indicates that: the first display unit is in a state of being unable to be used in the physical mode. On the basis, after the use mode of the first target display unit is set to the unavailable state mode, the electronic equipment determines that the first target display unit cannot be started due to the physical unavailability.
For example, after the first target display unit is determined by an Embedded Controller (EC) or other types of controllers on the electronic device, the usage mode of the first target display unit is set to the unavailable state mode.
It should be noted that, in the step S102, in order to enable the first target display unit to be in the off state, the usage mode of the first target display unit is set to the unavailable state mode, which is intended to enable the electronic device to consider that the first target display unit is currently physically unavailable, rather than actually changing the physical state or mode of the first target display unit relative to the electronic device.
It will be appreciated that there are many possibilities for the display unit in the electronic device to be physically disabled.
For example, it is considered that the display unit is physically disabled after the interface of the electronic device and the display unit is disconnected. Based on this, setting the use mode of the first target display unit to the unavailable state mode may be: the interface connection state of the first target display unit is set to a disconnection state.
Wherein the interface connection state is used for indicating the detected state of the connection interface of the display unit. The interface connection state can reflect whether the connection interface between the display unit and the electronic equipment is in a connection state or a disconnection state. Correspondingly, if the interface connection state is a disconnection state, it indicates that the connection interface of the display unit is in the disconnection state, so that the electronic device cannot output display content to the display unit.
For example, when the connection condition of the connection interface between the display unit and the electronic device is obtained based on hot plug detection, the interface connection state may be a hot plug detection state of the display unit (or referred to as a hot plug detection result). Whether the display unit is connected with the electronic equipment or not can be reflected by combining the hot plug detection state.
It should be noted that, in the present application, since the two display units of the electronic device belong to display units that the electronic device itself has, and there is no operation of performing hot plug or connection on interfaces of the two display units, the application does not need to disconnect the interface connection state between the first target display unit and the electronic device, but only generates setting information or configuration information for representing that the interface connection state of the first display unit is a disconnected state.
For another example, considering that the usage mode of the electronic device is such that the display unit of the electronic device is not suitable for the non-operating state of outputting the display content, the display unit is also in the unavailable state in practice. For example, the display unit being in the non-operating state may be used to indicate that the display unit enters a sleep state, an off state, or a standby state, etc. Taking an electronic device as an example of a notebook computer, in the prior art, when the notebook computer is in a closed state, a display unit facing a keyboard in the notebook computer cannot be used and enters a sleep state or a closed state. Based on this, in the present application, setting the usage mode of the first target display unit to the unavailable state mode may also be: the status mode of the first target display unit is set to a non-operation status mode.
It can be understood that after the first target display unit is in the non-operating state, the first target display unit is naturally in the unavailable state, and the electronic device can naturally control to close the first target display unit.
And S103, controlling the first target display unit to be in a closed state in response to the unavailable state mode of the first target display unit.
It will be appreciated that in the event that the first target display element is physically unavailable, the electronic device will trigger the turning off of the first target display element.
After the operating system closes a certain display unit, the operating system changes the information of the running state of the display unit maintained by the operating system, so that only one display unit is in a starting state in the same time period.
Unlike the conventional implementation mode in which the display unit is turned off by requesting the operating system, in the present application, by setting the usage mode of the first target display unit that needs to be in the off state to be in the unavailable state mode, the electronic device may turn off the first target display unit due to the physical unavailability of the first target display unit.
Meanwhile, because the first target display unit is set to be in the physically unavailable state mode, the operating system can not maintain the display configuration parameters of the first target display unit any more, and naturally, the operating system can not restart the first target display unit according to the display configuration parameters of the first target display unit, so that the display confusion caused by the fact that the operating system automatically starts the first target display unit can be reduced.
As can be seen from the above, in the present application, after determining that any one of the two display units of the electronic device needs to be the target display unit in the off state, the usage mode of the target display unit is set to the unavailable state mode. On the basis, the electronic equipment controls the target display unit to be in a closed state in response to the unavailable state mode of the target display unit, and after the target display unit is closed, if the use mode of the target display unit is not changed, the electronic equipment cannot start the target display unit, so that the target display unit can be prevented from being started by mistake under the condition that the target display unit is not required to be started, and the condition that two display units of the electronic equipment are started simultaneously due to false starting can be reduced.
It is understood that, in the case of an electronic device having two display units, the electronic device can control one display unit to be turned off and the other display unit to be turned on according to the mode of the electronic device and the usage requirement of the user. On this basis, the method and the device for displaying the second target display unit can determine the second target display unit to be started in the electronic equipment while determining the first target display unit needing to be closed in the electronic equipment, and start the second target display unit while closing the first target unit.
As shown in fig. 2, which shows another schematic flow chart of the display control method in the embodiment of the present application, the method of the present embodiment may include:
s201, a first target display unit to be closed and a second target display unit to be started in two display units of the electronic equipment are determined.
The first target display unit is any one of the two display units, and the second target display unit is different from the display unit of the first target display unit.
It is to be understood that the specific manner in which the electronic device determines the display unit to be turned on and off may not be limiting.
S202, the using mode of the first target display unit is set to be the unavailable state mode.
This step can be referred to the related description of the previous embodiment, and is not described herein again.
S203, the usage mode of the second target display unit is set to the available state mode.
As can be seen from the above description of the usage mode, the usage mode of the second target display unit is an available state mode, which indicates that the second target display unit is physically in a state that can be used for outputting display content.
It will be appreciated that there may be a plurality of instances of the available status mode, corresponding to the plurality of instances of the previously mentioned unavailable status mode.
For example, in one possible case, the setting of the use mode of the second target display unit to the available state mode may be: and setting the interface connection state of the second target display unit as a connection state. The connection state of the interface of the second target display unit can represent that the connection between the second target display unit and the connection interface of the electronic device is detected, so that it can be stated that the electronic device can output display content to the second target display unit, that is, the second target display unit is in an available state.
Of course, as can be seen from the foregoing description, since the second target display unit is a display unit that the electronic device has, only information indicating that the interface connection state is the connection state is generated here, for example, a high level signal is generated, and the interface connection state is indicated as connection by the high level signal.
In yet another possible case, the setting of the usage mode of the second target display unit to the available state mode may be: and setting the state mode of the second target display unit to be a recovery working state. When the display unit in the electronic device is restored to the working state, the display unit can be started, so that the display unit is physically in a state of being capable of being used.
The above is an example of two possible cases of setting the usage mode to the available state mode, and the present invention is also applicable to other setting modes that enable the electronic device to confirm that the display unit is physically available, and is not limited thereto.
It is understood that the sequence of steps S202 and S203 is not limited to that shown in fig. 2, and in practical applications, the two steps may be interchanged or may be executed synchronously, which is not limited thereto.
And S204, responding to the unavailable state mode of the first target display unit, and controlling the first target display unit to be in a closed state.
For example, the first target display unit may be turned off in this embodiment.
This step can be referred to the related description above and will not be described herein.
S205, in response to the usage mode of the second target display unit changing to the available state mode, controlling to start the second target display unit.
It is understood that in the case where the use mode of the second object display unit is changed to the available state mode, the electronic apparatus can confirm that the second object display unit is a physically available display unit, and naturally, can activate the second object display unit.
For example, the operating system controls the second target display unit to be activated in response to the usage mode of the second target display unit becoming the available state mode.
In a possible implementation manner, when the display unit is turned off, the operating system does not maintain the display parameters related to the display unit. Based on this, in order to start the second target display unit, the present application may further obtain display identification data of the second target display unit, where the display identification data is a parameter required for starting the display unit. For example, the display identification data may be Extended Display Identification Data (EDID).
Accordingly, the second target display unit may be activated according to the display identification data of the second target display unit.
It should be noted that steps S204 and S205 may be executed synchronously, or the order may be interchanged, which is not limited.
As can be seen from the above, according to the application, by setting the usage mode of the first target display unit to the unavailable state mode, the electronic device shuts down the first target display unit because the first target display unit is physically unavailable, and the electronic device naturally clears the maintained display configuration parameters of the first target display unit, so that the electronic device cannot restart the first target display unit without changing the usage mode of the first target display unit.
Meanwhile, the application enables the electronic device to start the second target display unit by setting the use mode of the second target display unit as the available state mode and enabling the electronic device to only maintain the display configuration parameters related to the display of the second target display unit after confirming that the second target display unit is physically recovered to the available state, so that the control of starting one display unit and stopping the other display unit of the electronic device in a manner different from the conventional manner is realized, and the simultaneous starting of a plurality of display units under the condition that the starting of a plurality of display units is not needed due to the starting mechanism of the operating system of the electronic device can be reduced.
It is understood that, in many cases, due to the limitation of the booting mechanism of the operating system itself on the electronic device, the operating system may erroneously boot the display unit of the electronic device in the prior art. Based on this, the scheme of the application sets the use mode of the display unit to be the unavailable state mode or the available state mode, so that the operating system can obtain the purpose that the display unit is in the available state mode or the unavailable state mode, and therefore one display unit of the electronic equipment is controlled to be started, and the other display unit is controlled to be stopped.
The following is presented in connection with one implementation possibility. Referring to fig. 3, which shows another schematic flow chart of the display control method according to the embodiment of the present application, the method according to the embodiment may include:
s301, a first target display unit to be closed and a second target display unit to be started in two display units of the electronic equipment are determined.
For example, in a possible implementation manner, it is detected that the electronic device is connected to the external display device, and a first target display unit to be turned off and a second target display unit to be turned on in two display units of the electronic device are determined.
The external display device is a display device connected outside the electronic device and independent of the electronic device, for example, the display device may be a mobile phone, a notebook computer, a television or other types of devices with display functions outside the electronic device.
By way of example:
as described above, in a case where the electronic device is connected to the external display device, the user may set the use of the external display device through the display setting options provided in the display menu of the electronic device. The display mode set by the user is assumed to be an "expansion" mode, and the "expansion" mode refers to an external display screen of the electronic device as an expansion screen of a display unit of the electronic device.
And under the condition that electronic equipment has two display elements, electronic equipment can regard a display element as built-in screen, regard another display element as external screen, consequently, electronic equipment can regard its display element as external screen and this external display equipment's display element all to confirm external display screen for electronic equipment can start the display element as external screen in this electronic equipment, makes electronic equipment can start two display screens simultaneously, but this does not accord with user's intention. Moreover, it may also cause display information in a display unit facing away from the user in the electronic apparatus to be leaked to others or the like. Therefore, when the electronic device is connected with the external display device, the display unit to be turned off and the display unit to be turned on in the electronic device need to be determined.
In yet another possible scenario, considering a display control mechanism based on an operating system in an electronic device, when the electronic device starts a specific application, the operating system may simultaneously turn on two display screens of the electronic device. Therefore, when the electronic equipment is detected to start the designated application, the first target display unit to be closed and the second target display unit to be started of the electronic equipment can be determined.
For example, when an electronic device launches a presentation (e.g., PPT) application, the operating system of the electronic device launches both display elements of the electronic device. In this case, a first target display unit to be turned off and a second target display unit to be turned on can be determined.
It is understood that, in the electronic device, which display unit needs to be specifically activated and which display unit needs to be deactivated may be determined in various ways, which is not limited. For example, the display unit currently facing the user in the electronic device may be determined as the second target display unit to be activated, and the display unit facing away from the user may be determined as the first target display unit to be deactivated. Of course, the user may instruct the display unit to be turned on or off by operation.
S302, an unavailable indication for the first target display unit is generated.
The unavailable indication is used for indicating that the first target display unit of the operating system is in an unavailable state mode.
For example, the unavailability indication may be generated by an embedded controller or other controller in the electronic device.
In the present application, the unavailable indication is not necessarily generated when the first target display unit is in the unavailable state mode, but is generated in order to enable the operating system to obtain information that the first target display unit is in the unavailable state mode.
For example, in one possible implementation, the unavailable indication may be used to instruct an operating system that the first target display unit enters an inactive state. The non-operating state indicated here may be understood as a state that the first target display unit is physically unavailable to enter due to a relative relationship of the first target display unit with respect to the electronic device or the like. For example, the non-working state indicated by the unavailable indication may be used to indicate that the first target display unit is unavailable due to the first target display unit facing the body where the keyboard is located in the aforementioned state of the notebook computer being closed, so that the first target display unit enters a dormant or closed state.
In yet another possible implementation, the unavailable indication may be used to indicate that the interfacing state of the first target display unit of the operating system is a disconnected state. Reference is made to the above-mentioned related description regarding the interface connection status.
It is to be understood that in the case of an electronic device having two display units, the present application may also employ different unavailable indications in combination with the positions and characteristics of the two display units in the electronic device relative to the electronic device.
For example, if the first target display unit is a first display unit of the electronic device, a first unavailable indication is generated, and the first unavailable indication is used for indicating that the first display unit enters a non-working state. If the first target display unit is a second display unit of the electronic device, a second unavailable indication is generated. The second unavailable indication is used for indicating that the interface connection state of the second display unit is a disconnection state.
The first display unit is one of the two display units of the electronic equipment, and the second display unit is the other display unit except the first display unit in the electronic equipment.
S303, generating an available indication for the second target display unit.
Wherein the available indication is used to instruct the operating system to restore the second target display unit to an available state mode. The availability indication may be generated, for example, by an embedded controller or other controller in the electronic device.
Similarly to the unavailable indication, the available indication is also only for the purpose of enabling the operating system to obtain information that the first target display unit is in the available state mode for the purpose of enabling the operating system to start the second target display unit.
Similarly, in a possible implementation, the available indication may be used to instruct the operating system to restore the operating state of the second target display unit, which may be referred to in the foregoing description of restoring the operating state.
In yet another possible implementation, the available indication may be used to indicate that the interface connection status of the second target display unit of the operating system is a connection status.
As with the unavailability indication above, different unavailability indications may also be generated for different display units of the electronic device. For example, if the second target display unit is a first display unit of the electronic device, a first available indication is generated, and the first available indication is used for indicating that the first display unit recovers the working state. And if the second target display unit is a second display unit of the electronic equipment, generating a second available indication, wherein the second available indication is used for indicating that the interface connection state of the second display unit and the electronic equipment is a connection state.
It is to be understood that, since the available indication and the unavailable indication are both for indicating information to the operating system, both the available indication and the unavailable indication may be directly or indirectly sent to the operating system, so that the operating system obtains information that the display unit of the electronic device is in the available state mode or the unavailable state mode.
In this application, specific forms of usable and unusable indications are possible. For example, a set detection signal may be used to carry a signal indicating availability or unavailability. For example, a Hot Plug Detect (HPD) signal may be used for both the available indication and the unavailable indication, wherein the unavailable indication is indicated when the HPD signal is low; and the HPD signal is high indicating an available indication.
S304, responding to the unavailable indication, the first target display unit is set to be in an unavailable state through the operating system, so that the first target display unit is in a closed state.
In the present application, since the unavailable indication indicates that the first target display unit is in the unavailable state mode, the operating system, in response to the unavailable indication, does not directly set the state of the first target display unit to the closed state in the conventional manner, but needs to perform the relevant operation in the unavailable state of the first target display unit to finally achieve the closing of the first target display unit.
For example, the setting of the first target display unit in the unavailable state may be deleting the maintained display configuration parameters of the first target display unit, and controlling to end the content output to the first target display unit so as to finally close the first target display unit.
For example, if the unavailable indication indicates that the interface connection state of the first target display unit is a disconnected state, the operating system may consider that the first target display unit is hot plugged and disconnected, and is no longer connected to the electronic device, and the operating system needs to end the display-related operation of the first target display unit, delete the display configuration parameters related to the first target display unit, and close the first target display unit.
S305, responding to the available indication, starting the second target display unit through an operating system.
It is understood that when the operating system turns off the display unit based on the unavailable indication, the display configuration parameters related to the display unit in the operating system are deleted. Therefore, after the operating system obtains the available indication, the second target display unit is started according to the operation flow of newly starting one display unit, and the second target display unit is controlled to be switched to be in the starting state based on the maintained display configuration parameters of the second target display unit.
For example, the indication may be used to indicate that the connection detection state of the second target display unit is a connection state, and the operating system needs to start the second target display unit according to a manner that the electronic device is externally connected to a display device.
It can be understood that, in this embodiment, the operating system only maintains the display configuration parameters of one display unit of the electronic device at the same time, and the display configuration parameters may include display identification data of the electronic device and other related display status information.
Based on this, in order to enable the operating system to close the first target display unit and simultaneously turn on the second target display unit more efficiently without restarting the operating system, the electronic device (e.g., a controller such as an embedded controller of the electronic device) in the application may further obtain display identification data, such as EDID data, of the second target display unit.
Correspondingly, the available indication may also carry display identification data of the second target display unit. Based thereon, the operating system may activate the second target display unit in accordance with the display identification data of the second target display unit in response to the available indication.
As can be seen from the above, in this embodiment, the operating system turns on one display unit of the electronic device and turns off another display unit of the electronic device, and the turned-off display unit is set to be in an unavailable state, so that the operating system can only maintain the display configuration parameters of the turned-on display unit. Because the operating system only maintains one display configuration parameter of the electronic equipment at the same time, the starting operation or disorder of the display units caused by the active starting of the two display units by the electronic equipment can be avoided.
In this application, there may be many possibilities for specific structural forms of the electronic device, and accordingly, there may also be many possibilities for relative positions between two display units in the electronic device and positions of two display units on the electronic device, which is not limited in this application.
For ease of understanding, the following description is made in connection with one possible external structure of an electronic device.
Fig. 4 is a schematic diagram showing an external structure of an electronic device in the embodiment of the present application.
As can be seen from fig. 4, the electronic device includes a first body 401 and a second body 402, which are rotatable with respect to each other. For example, the first body may rotate around the connecting shaft between the first body and the second body, and of course, the first body may also rotate in other manners relative to the second body, and the like, which is not limited thereto.
Wherein, the first surface of the first body 401 is provided with a first display unit 4011, and the second surface is provided with a second display unit 4012. As can be seen from fig. 4, the first surface and the second surface of the first body are two planes parallel to each other in the first body.
A keypad 4021 is provided on a first surface of the second body 402.
In the electronic device shown in fig. 4, the first display unit and the second display unit may have the same type of screen or different types of screens, which is not limited.
In the electronic device in fig. 4, the operating system of the electronic device may determine the first display unit as an internal display screen of the electronic device, and determine the second display unit as an external display screen of the electronic device.
On this basis, in order to control the electronic device to turn on only one display unit at the same time and turn off one display unit, the new manner of controlling the display unit to turn on and off as mentioned in the embodiment can be adopted.
The following describes the scheme of the present application by taking an implementation scenario as an example in conjunction with fig. 4.
Assume that the first display unit of the electronic device in fig. 4 is facing the user and the second display unit is facing away from the user at the present moment. In the case that the electronic device of fig. 4 is connected to an external display device, the first display unit facing the user needs to be controlled to be turned on, and the second display unit facing away from the user needs to be turned off. A specific implementation based on this scenario can be seen in fig. 5. As shown in fig. 5, the process may include:
s501, when it is detected that the electronic equipment is connected with the external display equipment, the controller determines a first display unit of the electronic equipment to be started and a second display unit of the electronic equipment to be closed.
The controller may be an embedded controller or other controllable chip.
And S502, the controller obtains the EDID information of the second display unit based on the stored EDID information of the first display unit and the second display unit.
S503, the controller transmits the first HPD signal for the first display unit and the EDID information for the second display unit to the operating system.
The first HPD signal is a high level signal, and indicates the hot plug connection between the first display unit and the electronic device or the recovery working state through the first HPD signal.
Referring to fig. 4, in the prior art, before the application, when the first body and the second body of the electronic device are closed (commonly referred to as a laptop lid state), the electronic device activates a Display off mechanism to turn off the first Display unit; and when the included angle between the first surface of the first body and the first surface of the second body is greater than a set threshold value, the display opening mechanism is started to open the first display unit. By means of the display closing mechanism and the display opening mechanism, the controller sends the first HPD signal indication to the operating system, so that the first display unit is indicated through the first HPD signal to finish the cover closing information due to the fact that the electronic device opens the shell of the first body, and the operating system can start the first display unit.
S504, the controller sends a second HPD signal for the second display unit to the operating system.
The second HPD signal may be a low level signal. The hot plug connection of the second display unit may be indicated to be disconnected by the second HPD signal.
And S505, the operating system responds to the first HPD signal and the second HPD signal, starts the first display unit according to the EDID signal of the first display unit, clears the display configuration parameters of the second display unit in a maintenance way, and closes the second display unit.
In order to facilitate understanding of the present solution, several possible component architectures of the electronic device in the present application are described below.
Fig. 6 is a schematic diagram illustrating a component architecture of an electronic device according to an embodiment of the present application.
As can be seen from fig. 6, the electronic device includes: a processor 601, a controller 602, a first display unit 603, and a second display unit 604.
Wherein, the processor 601 is at least used for running an operating system;
the processor 601 is connected to a first display unit 603 and a second display unit 604. For example, the first Display unit may be connected to a first Digital Display Interface (DDI) on the processor, and the second Display unit may be connected to the processor via a second DDI. Correspondingly, the first display unit and the second display unit can obtain a control instruction issued by the operating system through the connection with the processor, or perform other interactions with the operating system.
The controller 602 is connected to the processor, and based on the connection between the controller and the processor, the controller may report the usage patterns of the first display unit and the second display unit to an operating system running on the processor.
For example, in the case of an electronic apparatus having a first body and a second body that are rotatable with respect to each other, it is assumed that a first display unit is provided on a first surface facing the second body in the first body and a second display unit is provided on a second surface of the first body, the first surface of the first body being parallel to the second surface.
Meanwhile, if the operating system uses the first display unit as an internal display screen and the second display unit as an external display screen, the operating system may consider that the first display unit is disposed on the electronic device, and the second display unit is connected to the electronic device through a connection Interface such as a High Definition Multimedia Interface (HDMI).
In this case, as shown in fig. 6, the controller may cause the operating system to turn off or turn on the first display unit by transmitting an open/close cover indication signal to the operating system.
Specifically, when the controller determines that the first display unit needs to be closed, a cover closing indication signal for indicating that the electronic device is in a cover closing state may be transmitted to the operating system, so that the operating system closes the first display unit, and deletes the maintained display configuration parameters of the first display unit.
Correspondingly, if the controller determines that the first display unit needs to be started, a cover opening indication signal for indicating the electronic device to open the cover body can be transmitted to the operating system, and of course, the controller simultaneously transmits the EDID information of the first display unit to the operating system, so that the operating system starts the first display unit based on the EDID information of the first display unit.
For the second display unit, since the operating system may consider that the second display unit is connected to the electronic device through an interface such as HDMI, the controller may instruct the operating system to turn on or turn off the second display unit through the HPD signal for detecting the connection status of the interface such as HDMI, as shown in fig. 6 by the HPD signal transmitted by the controller to the processor.
Specifically, when the controller needs to close the second display unit, the controller may transmit a low-level HPD signal to the operating system, so that the operating system closes the second display unit, and deletes the maintained display configuration parameters of the second display unit. When the controller needs to turn on the second display unit, the controller may transmit a high-level HPD signal and the EDID information of the second display unit to the operating system, so that the operating system turns on the second display unit based on the EDID information of the second display unit.
It is understood that, as the technology is continuously developed, the built-in display screen of the electronic device may also be connected to the electronic device through an interface such as HDMI, and in this case, the operating system may also determine whether the first display unit is in the usable state by obtaining the HPD signal of the first display unit.
Correspondingly, when the controller needs to start or close the first display unit, the controller can also enable the operating system to start or close the first display unit by reporting the HPD signal of the first display unit to the operating system. As shown in fig. 7, for the first display unit and the second display unit, the controller may enable the operating system to turn on or turn off the corresponding display unit by transmitting a hot plug detect HPD signal (e.g., a first hot plug detect signal corresponding to the first display unit and a second hot plug detect signal corresponding to the second display unit in fig. 7) to the operating system.
The application also provides a display control device corresponding to the display control method.
As shown in fig. 8, which shows a schematic structural diagram of a display control apparatus provided in an embodiment of the present application, the apparatus of the present embodiment may include:
a display determination unit 801, configured to determine a first target display unit that needs to be in an off state in two display units of an electronic device, where the first target display unit is any display unit of the electronic device;
a first mode setting unit 802 for setting a use mode of the first target display unit to an unavailable state mode;
a turn-off control unit 803 for controlling the first target display unit to be in a turn-off state in response to the unavailable state mode of the first target display unit.
In another possible implementation manner, the first mode setting unit includes:
a first indication generating unit, configured to generate an unavailable indication for the first target display unit, where the unavailable indication is used to indicate that the first target display unit is in an unavailable state mode by an operating system;
a shutdown control unit comprising:
and the closing control subunit is used for responding to the unavailable indication, setting the first target display unit to be in an unavailable state through the operating system, and enabling the first target display unit to be in a closed state.
In another possible implementation manner, the first indication generating unit includes:
a first unavailable indication unit, configured to generate a first unavailable indication if the first target display unit is a first display unit of the electronic device, where the first unavailable indication is used to indicate that the first display unit enters a non-operating state;
a second unavailable indication unit, configured to generate a second unavailable indication if the first target display unit is a second display unit of the electronic device, where the second unavailable indication is used to indicate that an interface connection state of the second display unit is a disconnected state.
In a possible implementation manner, the display determination unit is further configured to determine, while determining that a first target display unit in an off state is required in two display units of the electronic device, a second target display unit to be activated in the two display units of the electronic device, where the second target display unit is different from the first target display unit;
a second mode setting unit for setting a use mode of the second target display unit to an available state mode;
a start control unit for controlling to start the second target display unit in response to a change of the usage mode of the second target display unit to an available state mode.
In another possible implementation manner, the second mode setting unit includes:
a second indication generating unit, configured to generate an available indication for the second target display unit, wherein the available indication is used to instruct an operating system to restore the second target display unit to an available state mode;
a start control unit comprising:
and the starting control subunit is used for responding to the available indication and starting the second target display unit through the operating system.
In another possible implementation manner, the second indication generating unit includes:
a first available indication unit, configured to generate a first available indication if the second target display unit is a first display unit of the electronic device, where the first available indication is used to indicate that the first display unit recovers to a working state;
a second available indication unit, configured to generate a second available indication if the second target display unit is a second display unit of the electronic device, where the second available indication is used to indicate that an interface connection state of the second display unit is a connection state.
In another possible implementation manner, the apparatus further includes:
an identification data obtaining unit configured to obtain display identification data of the second target display unit before the second indication generating unit generates the available indication for the second target display unit;
the available indication generated by the second indication generating unit carries the display identification data of the second target display unit;
and a start control subunit, configured to, when the second target display unit is started by the operating system, specifically, start the second target display unit by the operating system according to the display identification data of the second target display unit.
In yet another possible implementation manner, the electronic device includes: a first body and a second body rotatable with respect to each other;
the first display unit and the second display unit are respectively arranged on two parallel panels of the first body.
In yet another possible implementation manner, the display determination unit includes:
and the display determining subunit is used for detecting that the electronic equipment is connected to external display equipment, and determining a first target display unit to be closed and a second target display unit to be started in the two display units of the electronic equipment.
In another aspect, the present application further provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the display control method according to any one of the above embodiments.
The present application further proposes a computer program comprising computer instructions stored in a computer readable storage medium. A computer program for performing the display control method as in any one of the above embodiments when run on an electronic device.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. Also, the features described in the embodiments of the present specification may be replaced or combined with each other to enable one skilled in the art to make or use the present application. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A display control method, comprising:
determining a first target display unit which needs to be in a closed state in two display units of the electronic equipment, wherein the first target display unit is any display unit of the electronic equipment;
setting a use mode of the first target display unit to an unavailable state mode;
controlling the first target display unit to be in an off state in response to the unavailable state mode of the first target display unit.
2. The method of claim 1, while determining that the first target display unit in the off state is required in two display units of the electronic device, further comprising:
determining a second target display unit to be started in two display units of the electronic equipment, wherein the second target display unit is different from the first target display unit;
setting a usage mode of the second target display unit to an available state mode;
controlling to activate the second target display unit in response to a change of the usage mode of the second target display unit to an available state mode.
3. The method of claim 1, the setting the usage mode of the first target display unit to an unavailable state mode, comprising:
generating an unavailable indication for the first target display unit, the unavailable indication indicating to an operating system that the first target display unit is in an unavailable state mode;
the controlling the first target display unit to be in an off state in response to the unavailable state mode of the first target display unit includes:
in response to the unavailability indication, setting, by the operating system, the first target display unit to be in an unavailable state such that the first target display unit is in a closed state.
4. The method of claim 2, the setting the usage mode of the second target display unit to the available state mode, comprising:
generating an available indication for the second target display unit, the available indication for indicating to an operating system that the second target display unit is restored to an available state mode;
the controlling to activate the second target display unit in response to the usage mode of the second target display unit becoming the available state mode includes:
in response to the available indication, launching, by the operating system, the second target display unit.
5. The method of claim 3, the generating an unavailability indication for the first target display unit comprising:
if the first target display unit is a first display unit of the electronic equipment, generating a first unavailable indication, wherein the first unavailable indication is used for indicating the first display unit to enter a non-working state;
and if the first target display unit is a second display unit of the electronic equipment, generating a second unavailable indication, wherein the second unavailable indication is used for indicating that the interface connection state of the second display unit is a disconnection state.
6. The method of claim 4, the generating an available indication for the second target display unit comprising:
if the second target display unit is a first display unit of the electronic equipment, generating a first available indication, wherein the first available indication is used for indicating the first display unit to recover the working state;
and if the second target display unit is a second display unit of the electronic equipment, generating a second available indication, wherein the second available indication is used for indicating that the interface connection state of the second display unit is a connection state.
7. The method of claim 4, prior to generating the available indication for the second target display unit, further comprising:
obtaining display identification data of the second target display unit;
the available indication carries display identification data of the second target display unit;
the starting the second target display unit through the operating system includes:
and starting the second target display unit through the operating system according to the display identification data of the second target display unit.
8. The method of claim 5 or 6, the electronic device comprising: a first body and a second body rotatable with respect to each other;
the first display unit and the second display unit are respectively arranged on two parallel panels of the first body.
9. The method of claim 2, while determining that a first target display unit in an off state is needed in two display units of the electronic device, determining a second target display unit to be activated in the two display units of the electronic device, comprising:
and determining a first target display unit to be closed and a second target display unit to be started in two display units of the electronic equipment when the electronic equipment is detected to be accessed to an external display device.
10. A display control apparatus comprising:
the display determination unit is used for determining a first target display unit which needs to be in a closed state in two display units of the electronic equipment, and the first target display unit is any display unit of the electronic equipment;
a first mode setting unit for setting a use mode of the first target display unit to an unavailable state mode;
a turn-off control unit for controlling the first target display unit to be in a turn-off state in response to the unavailable state mode of the first target display unit.
CN202211212885.2A 2022-09-30 2022-09-30 Display control method and device Pending CN115424555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211212885.2A CN115424555A (en) 2022-09-30 2022-09-30 Display control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211212885.2A CN115424555A (en) 2022-09-30 2022-09-30 Display control method and device

Publications (1)

Publication Number Publication Date
CN115424555A true CN115424555A (en) 2022-12-02

Family

ID=84206113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211212885.2A Pending CN115424555A (en) 2022-09-30 2022-09-30 Display control method and device

Country Status (1)

Country Link
CN (1) CN115424555A (en)

Similar Documents

Publication Publication Date Title
US8970606B2 (en) Facilitating use of multiple graphics chips
US8001406B2 (en) Method and apparatus for managing power of portable information device
JP4918350B2 (en) Information processing apparatus, power supply control method, and program
CN108304282B (en) Control method of double BIOS and related device
US11086635B2 (en) Electronic device, method for controlling electronic device, and program
KR20010043130A (en) Initializing and restarting operating systems
US8169939B2 (en) Mobile computation device and data packet reception method thereof
US7808668B2 (en) Image forming system, user interface device and image forming apparatus
JP5948855B2 (en) Apparatus, program management method, program management program, and recording medium
JP5895385B2 (en) Image output apparatus and program thereof
JP2015170292A (en) semiconductor device
US20160187955A1 (en) Information processing apparatus, information processing method and computer program product
JP5206863B2 (en) Information processing apparatus, power supply control method, and program
TWI774145B (en) Host device and memory system
CN115424555A (en) Display control method and device
JPH10289040A (en) Information processor, state managing method and storage medium
KR101522401B1 (en) Mobile Terminal for connection with external device, and method for changing screen image thereof
TWI772795B (en) Computing device for tracking device state transitions and related storage medium
CN111159068B (en) Information processing method and electronic device
JP7159002B2 (en) An information processing apparatus including a device that is in an operation stop state according to an operation stop signal and that can shift to a power saving mode on condition that at least an operation stop signal is not input.
CN111316660B (en) Display device and method for operating the same
JP2023049067A (en) Information processing device and program
CN113254052A (en) Firmware upgrading method for ink screen hard decoding chip and terminal equipment
JPH11202963A (en) Computer loading device
JP5201231B2 (en) Information processing apparatus, information processing method, and program thereof

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