CN114153304A - Control method, control equipment and storage medium - Google Patents

Control method, control equipment and storage medium Download PDF

Info

Publication number
CN114153304A
CN114153304A CN202111392468.6A CN202111392468A CN114153304A CN 114153304 A CN114153304 A CN 114153304A CN 202111392468 A CN202111392468 A CN 202111392468A CN 114153304 A CN114153304 A CN 114153304A
Authority
CN
China
Prior art keywords
frame buffer
control module
target object
control information
hardware
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
CN202111392468.6A
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 CN202111392468.6A priority Critical patent/CN114153304A/en
Publication of CN114153304A publication Critical patent/CN114153304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Abstract

The embodiment of the application discloses a control method, which comprises the following steps: determining an object needing to use a frame buffer area in a display screen of the electronic equipment as a first target object based on the first control information; determining an object currently using the frame buffer area as a second target object, and generating second control information for indicating to control the second target object to stop using the frame buffer area; sending the second control information to a second hardware control module so that the second hardware control module controls the second target object to stop using the frame buffer; the first hardware control module is different from the second hardware control module, and the second hardware control module is used for operating an operating system of the electronic device. The embodiment of the application also discloses the electronic equipment and a storage medium.

Description

Control method, control equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a control method, a device, and a storage medium.
Background
With the rapid development of computer network technology and the improvement of production technology, the computing operation capability of computer equipment is also widely improved and enhanced. Computer devices have had a major impact on the user's work, life, learning, and entertainment aspects. Currently, more and more users play various games on computer devices to relieve stress. In order to ensure the use experience effect of a user in the game playing process, various computer manufacturers adopt various improvement methods to improve the game performance, for example, a display card is selected to be directly connected as the output of a display screen of a computer device.
However, when the present computer device realizes the direct connection of the display card, it is realized through the frame buffer on the display screen circuit board (panel), and the power saving technology corresponding to the Central Processing Unit (CPU) also needs to be realized through the frame buffer, so, there is a conflict when the direct connection of the display card and the power saving technology all work, in order to ensure the user experience effect, when the display card is directly connected, the power saving technology of the CPU does not work, but does not solve the conflict of the direct connection of the display card and the power saving technology of the CPU so, because the power saving technology of the CPU does not work, the power consumption of the computer system is large.
Disclosure of Invention
To solve one or more aspects of the technical problem, embodiments of the present application provide a control method, a device, and a storage medium.
The technical scheme of the application is realized as follows:
in a first aspect, a control method is applied to a first hardware control module of an electronic device, and the method includes:
determining an object needing to use a frame buffer area in a display screen of the electronic equipment as a first target object based on the first control information;
determining an object currently using the frame buffer area as a second target object, and generating second control information for indicating to control the second target object to stop using the frame buffer area;
sending the second control information to a second hardware control module so that the second hardware control module controls the second target object to stop using the frame buffer; the first hardware control module is different from the second hardware control module, and the second hardware control module is used for operating an operating system of the electronic device.
Optionally, the method further includes:
if it is determined that the second target object does not use the frame buffer, generating third control information indicating that the frame buffer is not used for holding the second target object;
and sending the third control information to a second hardware control module so that the second hardware control module controls the second target object not to use the frame buffer.
Optionally, after sending the second control information or the third control information to the second hardware control module, the method further includes:
generating fourth control information for instructing to control the first target object to use the frame buffer;
and sending the fourth control information to a target information processing module to realize that the first target object uses the frame buffer.
Optionally, the first hardware control module is communicatively connected to a target pin on the display screen, and the method further includes:
detecting the signal state of the target pin;
if the signal state is the first state, determining an object using the frame buffer area as the second target object;
and if the signal state is the second state, determining that the second target object does not use the frame buffer.
Optionally, after sending the fourth control message to the target information processing module, the method further includes:
if the fifth control information is detected, generating sixth control information for indicating that the second target object is allowed to use the frame buffer;
and sending the sixth control information to the second hardware control module so that the second hardware control module controls the second target object to use the frame buffer based on the operation condition.
Optionally, the first target object is a video card direct connection, and the second target object is a panel self-refresh PSR.
Optionally, the method further includes:
detecting reference control information sent by the second hardware control module or the target information processing module; wherein the reference control information includes at least the first control information or the fifth control information.
Optionally, the first control information is used to instruct to start a target application program in the electronic device, and the fifth control information is used to instruct to close the target application program in the electronic device.
In a second aspect, an electronic device, the device comprising at least: the display device comprises a first hardware control module, a display screen comprising a frame buffer area and a second hardware control module; wherein:
the display screen is used for displaying display information;
the second hardware control module is used for operating an operating system of the electronic equipment;
the first hardware control module is configured to implement the steps of the control method according to any one of the above descriptions.
In a third aspect, a storage medium has stored thereon a control program which, when executed by a processor, implements the steps of the control method as defined in any one of the preceding claims.
According to the control method, the control device and the storage medium provided by the embodiment of the application, the first hardware control module applied to the electronic device determines that an object of a frame buffer area in a display screen of the electronic device is required to be used as a first target object based on first control information, determines that the object using the frame buffer area currently is a second target object, generates second control information for indicating that the second target object stops using the frame buffer area, and sends the second control information to the second hardware control module so that the second hardware control module controls the second target object to stop using the frame buffer area. Therefore, when the first target object needs to use the frame buffer area in the display screen, the second target object is controlled to stop using the frame buffer area through the first hardware control module, so that the first target object uses the frame buffer area, the problem that the display card is directly connected with the CPU in the existing computer equipment and conflicts with the CPU power saving technology is solved, the user use experience is improved, and meanwhile, the power consumption of the computer system is effectively reduced.
Drawings
Fig. 1 is a schematic flowchart of a control method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another control method provided in the embodiment of the present application;
fig. 3 is a schematic flowchart of another control method provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of a control method according to another embodiment of the present application;
fig. 5 is a schematic flowchart of another control method according to another embodiment of the present application;
fig. 6 is a schematic flowchart of another control method according to another embodiment of the present application;
fig. 7 is a schematic connection structure diagram of a control device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a control module 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.
An embodiment of the present application provides a control method, which is applied to a first hardware control module of an electronic device, and is shown in fig. 1, where the method includes the following steps:
step 101, determining an object needing to use a frame buffer in a display screen of the electronic equipment as a first target object based on the first control information.
In the embodiment of the present application, the first control information refers to state information of a certain application program. When the first hardware control module detects the first control information, the first hardware control module determines that an object of a frame buffer on a panel of a display screen of the electronic equipment which needs to be used currently is a first target object. That is, it has been set in advance that the object to use the frame buffer when the first control information is detected is the first target object.
And 102, determining that the object currently using the frame buffer is a second target object, and generating second control information for indicating to control the second target object to stop using the frame buffer.
In this embodiment of the present application, when it is detected that an object currently using a frame buffer is a second target object, the first hardware control module needs to generate second control information for controlling the second target object to stop using the frame buffer. The second control information may be event information. The first target object and the second target object are different, but both of them need to use a frame buffer on a panel of a display screen in the process of running. That is, the first target object and the second target object are both event objects that require the use of a frame buffer on the panel of the display screen.
And 103, sending second control information to the second hardware control module so that the second hardware control module controls the second target object to stop using the frame buffer.
The first hardware control module is different from the second hardware control module, and the second hardware control module is used for operating an operating system of the electronic equipment.
In the embodiment of the application, after the first hardware control module generates the second control information, the second control information is sent to the second hardware control module, and then the second hardware control module controls the second target object to stop using the frame buffer, so that the first target object uses the frame buffer. The second hardware control module may be a Central Processing Unit (CPU).
In the control method provided by the embodiment of the application, based on first control information, a first hardware control module applied to an electronic device determines that an object of a frame buffer area in a display screen of the electronic device is to be used as a first target object, determines that an object of a frame buffer area currently used is a second target object, generates second control information for instructing the second target object to stop using the frame buffer area, and sends the second control information to a second hardware control module, so that the second hardware control module controls the second target object to stop using the frame buffer area. Therefore, when the first target object needs to use the frame buffer area in the display screen, the second target object is controlled to stop using the frame buffer area through the first hardware control module, so that the first target object uses the frame buffer area, the problem that the display card direct connection and the power saving technology of the CPU conflict in the existing computer equipment is solved, the method for dynamically managing the display card direct connection and the power saving technology of the CPU is realized, and the power consumption of the computer system is effectively reduced while the user experience is improved.
Based on the foregoing embodiments, an embodiment of the present application provides a control method, which is applied to a first hardware control module of an electronic device, and is shown in fig. 2, where the method includes the following steps:
step 201, based on the first control information, determining that an object needing to use a frame buffer in a display screen of the electronic device is a first target object.
The first control information is used for indicating the starting of a target application program in the electronic equipment. The first target object is directly connected with the display card.
In this embodiment of the present application, the first hardware control module may be an Embedded Controller (EC). The first control information may be generated when a user starts an operation on a target application program in the electronic device, and the first control information may be sent by the second hardware control module to the first hardware control module. The target application may be, for example, an application that has a high demand on display performance of the display screen, and may be, for example, a scene-type game application.
When the first hardware control module detects the first control information, it is determined that an object needing to use a frame buffer area of a display screen of the electronic device is directly connected with a display card, that is, output information needs to be output to the display screen through the independent display card for displaying, so that the display performance of the target application program is ensured.
After the first hardware control module performs step 201, it can select to perform steps 202-203 or steps 204-205. If the object using the frame buffer at present is determined to be the second target object, the steps 202 to 203 are selected to be executed, and if the second target object is determined not to use the frame buffer, the steps 204 to 205 are selected to be executed.
Step 202, determining that the object currently using the frame buffer is the second target object, and generating second control information for instructing the second target object to stop using the frame buffer.
Wherein the second target object is a panel self-refresh PSR.
In this embodiment of the present application, if an object currently using a frame buffer is a second target object, namely, a Panel Self Refresh (PSR), the first hardware control module generates second control information, which is event information for instructing the PSR to stop using the frame buffer.
Step 203, sending second control information to the second hardware control module, so that the second hardware control module controls the second target object to stop using the frame buffer.
The first hardware control module is different from the second hardware control module, and the second hardware control module is used for operating an operating system of the electronic equipment.
In the embodiment of the application, the first hardware control module sends the second control information to the second hardware control module, so that the second hardware control module does not control the display screen to perform PSR operation, and thus, the PSR can stop using the frame buffer of the display screen, and at this time, the integrated display card in the second hardware control module does not output information to the display screen.
Step 204, if it is determined that the second target object does not use the frame buffer, generating third control information indicating that the frame buffer is not used for holding the second target object.
In the embodiment of the present application, when it is determined that the frame buffer not used by the second target object indicates that the frame buffer currently used by the second target object is the first target object, event information, i.e. third control information, for indicating that the frame buffer is not used by the second target object needs to be generated, that is, the first target object is enabled to occupy the used frame buffer. Therefore, the frame buffer area can not be used by the second target object while the first target object uses the frame buffer area, the possibility of conflict caused by the fact that the first target object and the second target object both use the frame buffer area is reduced, and the use experience of a user is guaranteed.
Step 205, sending third control information to the second hardware control module, so that the second hardware control module controls the second target object not to use the frame buffer.
In this embodiment, the first hardware control module sends the third control information to the second hardware control module, so that the second hardware control module does not switch to the second target object use frame buffer while the first target object uses the frame buffer.
Based on the foregoing embodiments, in other embodiments of the present application, referring to fig. 3, after the first hardware control module performs step 203 or step 205, the first hardware control module is further configured to perform steps 206 to 207:
step 206, fourth control information for indicating to control the frame buffer used by the first target object is generated.
In this embodiment of the present application, after the first hardware control module instructs the second hardware control module that the first target object needs to use the frame buffer, the first hardware control module generates fourth control information instructing to control the first target to exclusively use the frame buffer, where the fourth control information is feedback information for feeding back to the target information processing module.
Step 207, sending the fourth control information to the target information processing module to implement the frame buffer area used by the first target object.
In the embodiment of the application, the target information processing module at least comprises an independent display card. The first hardware control module sends the generated fourth control information to the target information processing module, so that the target information processing module outputs the display information to a display screen for display, and the display card is directly connected. Thus, the possibility that the PSR is directly connected with the display card and uses the frame buffer conflict is reduced.
Based on the foregoing embodiments, in other embodiments of the present application, the first hardware control module is communicatively connected to a target pin on a display screen, and correspondingly, as shown in fig. 4, before the first hardware control module performs step 202, the first hardware control module is further configured to perform steps 208 to 210:
and step 208, detecting the signal state of the target pin.
In the embodiment of the application, the first hardware control module is in hardware communication connection with a target pin on a panel of a display screen, and the target pin on the panel of the display screen is used for indicating an object currently using a frame buffer, that is, when different objects use the frame buffer, the output signals of the target pin are different. The signal status of the target pin may be information specifically indicating the use of a frame buffer or may be a corresponding high-low signal.
After the first hardware module performs step 208, step 209 or step 210 may be selectively performed according to the signal status. If the signal status is the first status, step 209 can be optionally performed, and if the signal status is the second status, step 210 can be optionally performed.
Step 209, if the signal status is the first status, determining that the object using the frame buffer is the second target object.
In the embodiment of the present application, when the detected signal state is a first state, the object using the frame buffer is determined to be a second target object, and the first state may be a high-level signal, for example. That is, when the second target object uses the frame buffer, the target pin of the panel of the display screen outputs a first state, for example, a high level signal.
Step 210, if the signal status is the second status, it is determined that the frame buffer is not used by the second target object.
In the embodiment of the present application, when the signal state is detected to be the second state, it is determined that the object using the frame buffer is not the second target object, and when the first state is the high level signal, the corresponding second state may be the low level signal. That is, the target pin of the panel of the display screen outputs a second state, for example, a low level signal, when it is not the second target object usage frame buffer, i.e., the first target object usage frame buffer. The first state is different from the second state, and may be determined according to an actual application scenario, which is not specifically limited herein.
Based on the foregoing embodiments, in other embodiments of the present application, referring to fig. 5, after the first hardware control module performs step 207, the first hardware control module is further configured to perform steps 211 to 212:
step 211, if the fifth control information is detected, generating sixth control information for indicating that the second target object is allowed to use the frame buffer.
And the fifth control information is used for indicating the closing of the target application program in the electronic equipment.
In this embodiment, after the first hardware module generates the control information to enable the second hardware control module to control the second target object not to use the frame buffer, if the first hardware module detects the fifth control information, the first hardware control module generates sixth control information for indicating that the second target object is allowed to use the frame buffer. The fifth control information may be event information that is generated by the second hardware control module to communicate with the first hardware module when the second hardware control module detects a control instruction for instructing to close a target application program running on the electronic device.
Step 212, sending sixth control information to the second hardware control module, so that the second hardware control module controls the second target object to use the frame buffer based on the operation condition.
In this embodiment of the present application, the first hardware module sends the generated sixth control information to the second hardware control module, and after receiving the sixth control information, the second hardware control module may control the second target object to use the frame buffer according to an actual operating condition.
Based on the foregoing embodiment, in another embodiment of the present application, referring to fig. 6, before the first hardware control module performs step 201, the first hardware control module is further configured to perform step 213:
and step 213, detecting the reference control information sent by the second hardware control module or the target information processing module.
Wherein the reference control information includes at least first control information or fifth control information.
In the embodiment of the application, the second hardware control module detects the running state of the target application program, generates the reference control information according to the running state of the target application program, and sends the reference control information to the first hardware module. In some application scenarios, when the target information processing module uses the request signal during detection, the target information processing module generates the reference control information and sends the reference control information to the first hardware control module.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
In the control method provided by the embodiment of the application, based on first control information, a first hardware control module applied to an electronic device determines that an object of a frame buffer area in a display screen of the electronic device is to be used as a first target object, determines that an object of a frame buffer area currently used is a second target object, generates second control information for instructing the second target object to stop using the frame buffer area, and sends the second control information to a second hardware control module, so that the second hardware control module controls the second target object to stop using the frame buffer area. Therefore, when the first target object needs to use the frame buffer area in the display screen, the second target object is controlled to stop using the frame buffer area through the first hardware control module, so that the first target object uses the frame buffer area, the problem that the display card direct connection and the power saving technology of the CPU conflict in the existing computer equipment is solved, the method for dynamically managing the display card direct connection and the power saving technology of the CPU is realized, and the power consumption of the computer system is effectively reduced while the user experience is improved.
Based on the foregoing embodiments, an embodiment of the present application provides an electronic device, which may be applied to the control method provided in the embodiments corresponding to fig. 1 to 6, and as shown in fig. 7, the electronic device 3 at least includes: a first hardware control module 31, a display screen 32 including a frame buffer, and a second hardware control module 33; wherein:
a display screen 32 for displaying display information;
a second hardware control module 33, configured to run an operating system of the electronic device;
a first hardware control module 31, configured to implement at least the following steps:
determining an object needing to use a frame buffer area in a display screen of the electronic equipment as a first target object based on the first control information;
determining an object currently using a frame buffer area as a second target object, and generating second control information for indicating to control the second target object to stop using the frame buffer area;
sending second control information to a second hardware control module so that the second hardware control module controls a second target object to stop using the frame buffer; the first hardware control module is different from the second hardware control module, and the second hardware control module is used for operating an operating system of the electronic equipment.
The first hardware control module is further used for realizing the following steps:
if the second target object is determined not to use the frame buffer, generating third control information for indicating that the frame buffer is not used for holding the second target object;
and sending third control information to the second hardware control module so that the second hardware control module controls the second target object not to use the frame buffer.
The first hardware control module is used for realizing the following steps after the step of sending the second control information or the third control information to the second hardware control module:
generating fourth control information for instructing to control the first target object to use the frame buffer;
and sending fourth control information to the target information processing module to realize that the first target object uses the frame buffer.
In other embodiments of the present application, the first hardware control module is communicatively connected to a target pin on the display screen, and the first hardware control module is further configured to implement the following steps:
detecting the signal state of a target pin;
if the signal state is the first state, determining that the object using the frame buffer area is a second target object;
and if the signal state is the second state, determining that the second target object does not use the frame buffer.
In other embodiments of the present application, after the first hardware control module executes the step of sending the fourth control message to the target information processing module, the first hardware control module is further configured to execute the following steps:
if the fifth control information is detected, generating sixth control information for indicating that the second target object is allowed to use the frame buffer;
and sending sixth control information to the second hardware control module so that the second hardware control module controls the second target object to use the frame buffer based on the running condition.
In other embodiments of the present application, the first target object is a graphics card direct connection, and the second target object is a panel self-refresh PSR.
In other embodiments of the present application, the first hardware control module is further configured to implement the following steps:
detecting reference control information sent by a second hardware control module or a target information processing module; wherein the reference control information includes at least first control information or fifth control information.
In other embodiments of the present application, the first control information is used to instruct to start a target application program in the electronic device, and the fifth control information is used to instruct to close the target application program in the electronic device.
The display screen 32, which includes a frame buffer, includes the panels of the display screen described previously. It should be noted that, for a specific implementation process of the steps executed by the processor in this embodiment, reference may be made to the implementation processes in the control method provided in the embodiments corresponding to fig. 1 to 6, and details are not described here again.
Based on the foregoing embodiments, an embodiment of the present application provides a control module connection schematic diagram for implementing a control method, which is shown in fig. 8 and includes: a display screen Panel (EDP Panel)41, a CPU 42, an EC 43, and a Discrete Graphics Processing Unit (DGPU) 44; the EDP Panel is in communication connection with the CPU, the CPU is in communication connection with the EC, the EC is in communication connection with the DGPU, and the EC is in communication connection with the EDP Panel through a target pin so as to enable the EC to determine a use object using a frame buffer area in the EDP Panel. The display screen panel is the panel of the display screen in the foregoing. Correspondingly, in the connection diagram of the control module shown in fig. 8, the following steps may be referred to for a specific flow of implementing the control method:
step a11, when the CPU detects that Dynamic Display Switching (DDS) needs to be initiated, the CPU sends a notification message to notify the EC to start the DDS immediately through an Advanced Configuration and Power Management Interface (ACPI).
And a12, after receiving the communication message sent by the CPU, the EC detects the pin state of the pin 35 of the EDP Panel.
Where EC is connected to EDP Panel, i.e., the target pin is the EDP Panel pin 35. Pin 35 is a General Purpose Input Output interface (GPIO). It should be noted that in some application scenarios, in step a11 and step a12, the independent graphics card may also send a notification message to the EC when the independent graphics card detects that display information needs to be output.
After the EC executes the step a12, the EC selects and executes the steps a 13-a 15 or the steps a 16-a 18 according to the pin status of the pin 35.
Step a13, if the EC determines that the pin status is a low level status, the EC generates an ACPI event 1, and sends the ACPI event 1 to the CPU through the ACPI communication channel, so as to inform the CPU that the PSR status is not allowed to be entered through the ACPI event 1.
Wherein, it is assumed that the low state is used to indicate that the EDP panel is not currently in the PSR state, i.e. the object of the frame buffer currently using the EDP panel is the DDS, i.e. the object of the frame buffer currently using the EDP panel is the independent graphics card.
Step a14, after receiving ACPI event 1, the CPU generates command 1 for indicating that the current non-PSR state is maintained, and sends command 1 to the EDP panel.
The CPU controls an integrated display card integrated in the CPU to maintain a current non-PSR state through a command 1.
Step a15, EC generates feedback information to DGPU, which informs the system is ready, DGPU can start DDS normal process flow.
Step a16, if the EC determines that the pin status is a high level status, the EC generates an ACPI event 2, and sends the ACPI event 2 to the CPU through the ACPI communication channel to notify the ACPI event 2 that the CPU needs to exit the PSR status.
The pin state is a high level state, which indicates that the EDP panel is currently in a PSR state initiated by the CPU, that is, a frame buffer of the EDP panel is currently used by a PSR event.
Step a17, after receiving ACPI event 2 sent by EC, CPU generates command 2 for instructing EDP panel to exit PSR state, and sends command 2 to EDP panel.
And step a18, the EDP panel receives the command 2, exits the PSR state, and repeatedly executes the steps a 14-a 15 to realize the start of the DDS.
Step a19, when DGPU detects DDS end signal, DGPU generates exit message that DDS can exit, and sends exit message to EC.
Step a20, after receiving the quit message, the EC generates an ACPI event 3 and sends the ACPI event 3 to the CPU via ACPI.
Step a21, after the CPU receives ACPI event 3, command 1 and command 2 are released.
Therefore, after the CPU releases the command 1 and the command 2, the PSR can be selected and used according to actual conditions, the DDS function is supported, the PSR can be enabled and controlled, the operation experience of a user is improved, the service life of a battery is effectively guaranteed, and the use power consumption of the system is reduced.
According to the electronic device provided by the embodiment of the application, the first hardware control module applied to the electronic device determines that an object of a frame buffer area in a display screen of the electronic device to be used is a first target object based on first control information, determines that the object using the frame buffer area currently is a second target object, generates second control information for indicating that the second target object stops using the frame buffer area, and sends the second control information to the second hardware control module, so that the second hardware control module controls the second target object to stop using the frame buffer area. Therefore, when the first target object needs to use the frame buffer area in the display screen, the second target object is controlled to stop using the frame buffer area through the first hardware control module, so that the first target object uses the frame buffer area, the problem that the display card direct connection and the power saving technology of the CPU conflict in the existing computer equipment is solved, the method for dynamically managing the display card direct connection and the power saving technology of the CPU is realized, and the power consumption of the computer system is effectively reduced while the user experience is improved.
Based on the foregoing embodiments, embodiments of the present application provide a computer-readable storage medium, referred to as a storage medium for short, where the computer-readable storage medium stores one or more programs to implement the implementation process in the control method provided in the embodiments corresponding to fig. 1 to 6, and details are not described here again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 is not intended to limit the scope of the present application.

Claims (10)

1. A control method is applied to a first hardware control module of an electronic device, and comprises the following steps:
determining an object needing to use a frame buffer area in a display screen of the electronic equipment as a first target object based on the first control information;
determining an object currently using the frame buffer area as a second target object, and generating second control information for indicating to control the second target object to stop using the frame buffer area;
sending the second control information to a second hardware control module so that the second hardware control module controls the second target object to stop using the frame buffer; the first hardware control module is different from the second hardware control module, and the second hardware control module is used for operating an operating system of the electronic device.
2. The method of claim 1, further comprising:
if it is determined that the second target object does not use the frame buffer, generating third control information indicating that the frame buffer is not used for holding the second target object;
and sending the third control information to a second hardware control module so that the second hardware control module controls the second target object not to use the frame buffer.
3. The method of claim 1 or 2, after sending the second or third control information to a second hardware control module, the method further comprising:
generating fourth control information for instructing to control the first target object to use the frame buffer;
and sending the fourth control information to a target information processing module to realize that the first target object uses the frame buffer.
4. The method of claim 1 or 2, the first hardware control module communicatively coupled with a target pin on the display screen, the method further comprising:
detecting the signal state of the target pin;
if the signal state is the first state, determining an object using the frame buffer area as the second target object;
and if the signal state is the second state, determining that the second target object does not use the frame buffer.
5. The method of claim 3, after sending the fourth control message to a target information processing module, the method further comprising:
if the fifth control information is detected, generating sixth control information for indicating that the second target object is allowed to use the frame buffer;
and sending the sixth control information to the second hardware control module so that the second hardware control module controls the second target object to use the frame buffer based on the operation condition.
6. The method according to any one of claims 1 to 2 and 5, wherein the first target object is a video card direct connection, and the second target object is a panel self-refresh PSR.
7. The method of claim 5, further comprising:
detecting reference control information sent by the second hardware control module or the target information processing module; wherein the reference control information includes at least the first control information or the fifth control information.
8. The method of claim 7, wherein the first control information is used for indicating starting of a target application program in the electronic device, and the fifth control information is used for indicating closing of the target application program in the electronic device.
9. An electronic device, the device comprising at least: the display device comprises a first hardware control module, a display screen comprising a frame buffer area and a second hardware control module; wherein:
the display screen is used for displaying display information;
the second hardware control module is used for operating an operating system of the electronic equipment;
the first hardware control module for implementing the steps of the control method according to any one of claims 1 to 8.
10. A storage medium having stored thereon a control program which, when executed by a processor, implements the steps of the control method according to any one of claims 1 to 8.
CN202111392468.6A 2021-11-23 2021-11-23 Control method, control equipment and storage medium Pending CN114153304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111392468.6A CN114153304A (en) 2021-11-23 2021-11-23 Control method, control equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111392468.6A CN114153304A (en) 2021-11-23 2021-11-23 Control method, control equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114153304A true CN114153304A (en) 2022-03-08

Family

ID=80457452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111392468.6A Pending CN114153304A (en) 2021-11-23 2021-11-23 Control method, control equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114153304A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140164757A1 (en) * 2012-12-11 2014-06-12 Apple Inc. Closed loop cpu performance control
CN106598514A (en) * 2016-12-01 2017-04-26 惠州Tcl移动通信有限公司 Method and system for switching virtual reality mode in terminal device
KR20170114625A (en) * 2016-04-05 2017-10-16 삼성전자주식회사 Device For Reducing Current Consumption and Method Thereof
CN108536503A (en) * 2018-03-15 2018-09-14 北京雷石天地电子技术有限公司 A kind of method and system of switching display content based on android system
CN110139002A (en) * 2018-02-09 2019-08-16 株式会社巨晶片 Image processing apparatus and image processing method
US20210014369A1 (en) * 2019-07-12 2021-01-14 Kyocera Document Solutions, Inc. Extension of remote frame buffer (rfb) protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140164757A1 (en) * 2012-12-11 2014-06-12 Apple Inc. Closed loop cpu performance control
KR20170114625A (en) * 2016-04-05 2017-10-16 삼성전자주식회사 Device For Reducing Current Consumption and Method Thereof
CN106598514A (en) * 2016-12-01 2017-04-26 惠州Tcl移动通信有限公司 Method and system for switching virtual reality mode in terminal device
CN110139002A (en) * 2018-02-09 2019-08-16 株式会社巨晶片 Image processing apparatus and image processing method
CN108536503A (en) * 2018-03-15 2018-09-14 北京雷石天地电子技术有限公司 A kind of method and system of switching display content based on android system
US20210014369A1 (en) * 2019-07-12 2021-01-14 Kyocera Document Solutions, Inc. Extension of remote frame buffer (rfb) protocol

Similar Documents

Publication Publication Date Title
US8233000B1 (en) System and method for switching between graphical processing units
US8405602B2 (en) Information processing apparatus and method of controlling the same
CN104076903A (en) Postponing suspend
US8259119B1 (en) System and method for switching between graphical processing units
CN105556417A (en) Electronic device for controlling power and method therefor
KR101483897B1 (en) Method and system for rapid entry into and for rapid exiting from sleep states for processors of a portable computing device
US20070050649A1 (en) Power saving electronic apparatus and method
US20120287042A1 (en) Portable terminal and display output method thereof
WO2023169171A1 (en) Process management and control method and apparatus, storage medium, and electronic device
JP2007035015A (en) Method for hot play of multimedia playing from hot key standby state
US20120291043A1 (en) Minimizing Resource Latency Between Processor Application States In A Portable Computing Device By Using A Next-Active State Set
CN103425525A (en) Switching method and electronic devices
KR102048897B1 (en) Backlight driving time controlling method, and apparatus thereof
EP4191408A1 (en) Method for accelerating launching of application, electronic device, and computer storage medium
US9652254B2 (en) System status control method and portable terminal
US20140089696A1 (en) Method for controlling power mode switching
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
TW201232246A (en) Portable electronic device and method for adjusting system performance thereof
CN114153304A (en) Control method, control equipment and storage medium
JP2011141818A (en) Graphic controller, information processing apparatus, and power saving method
CN104063278A (en) Method and electronic equipment for information processing
CN113805826B (en) Domestic platform-based integrated display and single display switching localization method
CN105224060A (en) A kind of computer run control method, device, circuit and computing machine
CN110958166A (en) Secondary equipment and information interaction method thereof
CN106960662B (en) Display method of display device, display device and Virtual Reality (VR) system

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