CN115116410A - Display method, display device, electronic equipment and storage medium - Google Patents
Display method, display device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115116410A CN115116410A CN202110302885.0A CN202110302885A CN115116410A CN 115116410 A CN115116410 A CN 115116410A CN 202110302885 A CN202110302885 A CN 202110302885A CN 115116410 A CN115116410 A CN 115116410A
- Authority
- CN
- China
- Prior art keywords
- processor
- brightness parameter
- display
- screen
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application discloses a display method, a display device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method comprises the following steps: if the system in the running state is switched from the first system to the second system, acquiring a brightness parameter corresponding to the first system; and sending the brightness parameter to a second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter. The method realizes that the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and improves the visual experience of users.
Description
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a display method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of smart device technology and the gradual enrichment of smart device functions, more and more electronic devices are configured with dual systems. When the related dual systems are switched, the display characteristics of the intelligent device are also switched along with the switching, and the visual experience of a user is influenced.
Disclosure of Invention
The present application provides a display method, a display apparatus, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device, where the electronic device includes at least a first system and a second system, and the method includes: if the system in the running state is switched from the first system to the second system, acquiring a brightness parameter corresponding to the first system; and sending the brightness parameter to the second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter.
In a second aspect, an embodiment of the present application provides a display method applied to an electronic device, where the electronic device includes at least a first processor and a second processor, the first processor is configured to execute a first system, and the second processor is configured to execute a second system, and the method includes: if the system in the running state is switched from the first system to the second system, the first processor acquires a brightness parameter corresponding to the first system; and the first processor sends the brightness parameter to the second processor, so that the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
In a third aspect, an embodiment of the present application provides a display method applied to an electronic device, where the electronic device includes at least a first processor and a second processor, the first processor is configured to run a first system, and the second processor is configured to run a second system, and the method includes: the second processor receives a brightness parameter corresponding to the first system, wherein the brightness parameter is obtained by the first processor if the system in the running state is switched from the first system to the second system; and the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
In a fourth aspect, an embodiment of the present application provides a display apparatus, which is operated in an electronic device, where the electronic device includes at least a first system and a second system, and the apparatus includes: the data acquisition module is used for acquiring a brightness parameter corresponding to the first system if the system in the running state is switched from the first system to the second system; and the display module is used for sending the brightness parameter to the second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter.
In a fifth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes at least a first processor and a second processor, the first processor is configured to execute a first system, the second processor is configured to execute a second system, and the first processor is configured to: if the system in the running state is switched from the first system to the second system, acquiring a brightness parameter corresponding to the first system; and sending the brightness parameter to the second processor, so that the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
In a sixth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes at least a first processor and a second processor, the first processor is configured to execute a first system, the second processor is configured to execute a second system, and the second processor is configured to: receiving a brightness parameter corresponding to the first system, wherein the brightness parameter is obtained by the first processor if the system in the running state is switched from the first system to the second system; and controlling the screen of the electronic equipment to display according to the brightness parameter.
In a seventh aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs being configured to perform the display method provided by the first aspect above.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the display method provided in the first aspect.
According to the display method, the display device, the electronic equipment and the storage medium, if the system in the running state is switched from the first system to the second system, the brightness parameter corresponding to the first system is obtained, and then the brightness parameter is sent to the second system, so that the second system controls the screen of the electronic equipment to display according to the brightness parameter. Compared with the problem that the display characteristics of the equipment can be switched with the system after the system is switched in the related technology, so that the visual experience of a user is influenced, the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and the visual experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a display method according to an embodiment of the present application.
Fig. 2 shows a luminance display example diagram of a screen before and after system switching provided in an embodiment of the present application.
Fig. 3 is a flowchart illustrating a display method according to another embodiment of the present application.
Fig. 4 is a diagram illustrating an example of screen data displayed on a screen before and after system switching according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating a display method according to another embodiment of the present application.
Fig. 6 shows a hardware framework diagram of an electronic device provided in an embodiment of the present application.
Fig. 7 shows another hardware framework diagram of an electronic device provided in an embodiment of the present application.
Fig. 8 is a flowchart illustrating a display method according to still another embodiment of the present application.
Fig. 9 is a flowchart illustrating a display method according to still another embodiment of the present application.
Fig. 10 is a flowchart illustrating a display method according to still another embodiment of the present application.
Fig. 11 shows a block diagram of a display device according to an embodiment of the present application.
Fig. 12 shows a block diagram of an electronic device according to an embodiment of the present application.
Fig. 13 shows a block diagram of another electronic device provided in an embodiment of the present application.
Fig. 14 shows a block diagram of still another electronic device according to an embodiment of the present application.
Fig. 15 shows a block diagram of a further electronic device according to an embodiment of the present application.
Fig. 16 illustrates a storage unit for storing or carrying program codes for implementing a display method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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.
With the increasing demand of users on application experience, the requirements on various performance indexes of an operating system in the intelligent equipment are increased, and the setting of a dual system on the intelligent equipment is possible. When the intelligent device configured with the dual systems switches systems, the display characteristics (such as screen brightness and the like) of the intelligent device are often switched along with the systems, and the visual experience of the user is influenced to a certain extent.
The inventor finds that if a system in a running state is switched from a first system to a second system, a brightness parameter corresponding to the first system is obtained, and then the brightness parameter is sent to the second system, so that a screen of the electronic device controlled by the second system is displayed according to the brightness parameter. Compared with the problem that the display characteristics of the equipment can be switched along with the switching of the system in the related art to influence the visual experience of the user, the mode realizes that the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and the visual experience of the user is improved.
Therefore, in order to improve the above problem, the inventor proposes a display method, an apparatus, an electronic device, and a storage medium, which are provided by the present application, and can make the screen brightness of the device be displayed consistently before and after the system is switched, thereby improving the visual experience of the user. The electronic device in the embodiment of the present application may be a mobile phone, a smart watch, a tablet computer, a notebook computer, a palm computer, a wearable device (e.g., a smart watch), a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in smart home, and the like, and the specific device type may not be limited.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a display method according to an embodiment of the present application is shown. The present embodiment provides a display method, which is applicable to the display device 700 shown in fig. 11 and an electronic apparatus equipped with the display device 700, where the electronic apparatus includes at least a first system and a second system, and power consumption of the first system is higher than power consumption of the second system. It should be noted that, in this embodiment, the first system and the second system are run by the same processor, the first system and the second system are respectively configured with applications with different functions, and the first system and the second system interact with each other to complete functions of the electronic device. The first system and the second system share a display device (i.e., share a display device). It should be noted that, in this embodiment, the first system and the second system may be executed by the same processor, and the method includes:
step S110: and if the system in the running state is switched from the first system to the second system, acquiring the brightness parameter corresponding to the first system.
A system in an operational state is understood to be a system responsible for data processing, wherein data processing may include processing at least one of data of an application and data of a sensor.
As an implementation manner, when the duration of the screen of the electronic device in the screen-off state reaches a preset duration, system switching may be triggered. For example, a system in operation may be triggered to switch from a first system to a second system. The preset time period may not be limited, and may be, for example, 10 seconds, 15 seconds, 20 seconds, or 30 seconds.
In some embodiments, the duration of the electronic screen being in the screen-off state may be detected in real time, and when the duration of the screen being in the screen-off state of the electronic device is detected to reach a preset duration, the system in the running state may be triggered to be switched from the first system to the second system.
In other embodiments, when it is detected that the duration of the screen of the electronic device being in the screen-off state reaches the preset duration, and the screen state of the electronic device is switched from the screen-off state to the screen-on state, the system in the running state may be triggered to be switched from the first system to the second system.
For example, in some specific embodiments, when it is detected that a duration that a screen of the electronic device is in a screen-off state reaches a preset duration, and it is detected that a user switches a screen state of the electronic device from a screen-off state to a screen-on state by touching a specific function key of the electronic device, the system in the running state is triggered to switch from the first system to the second system. The specific function key may include an on/off key or a Home key of the electronic device.
In other specific embodiments, if it is preset that the screen is triggered to be switched from the off-screen state to the on-screen state when the message notification of the specific application is received, the system in the running state may be triggered to be switched from the first system to the second system when it is detected that the duration that the screen of the electronic device is in the off-screen state reaches the preset duration, and it is detected that the message notification of the specific application is received. The specific application may include an instant messaging application, and the message notification of the specific application may be a message notification of the instant messaging application, or an incoming call, etc.
In the embodiment of the application, the brightness parameter represents the current brightness value of the screen of the electronic device. As a manner, in order to prevent a screen of the electronic device from generating a brightness jump before and after the system switching, when the system in the operating state is switched from the first system to the second system, the electronic device may acquire a brightness parameter corresponding to the first system, so as to synchronize the brightness parameter to the second system.
Step S120: and sending the brightness parameter to the second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter.
As a mode, the acquired brightness parameter of the first system may be stored in a memory of the electronic device, and a data acquisition instruction is sent to the second system to instruct the second system to acquire the brightness parameter of the first system from the memory, and control the screen of the electronic device to display according to the brightness parameter, so that the display brightness of the screen of the electronic device is unchanged before and after the system is switched.
For example, in a specific application scenario, as shown in fig. 2, a diagram illustrating a luminance display example of a screen before and after switching by the system provided by the embodiment is shown. Fig. 2 shows a left frame corresponding to the first system with a luminance value of r, and fig. 2 shows a right frame corresponding to the second system. When the system in the operating state is switched from the first system shown in fig. 2 to the second system shown in fig. 2, the brightness value of the picture corresponding to the second system may be the same as the brightness value of the picture corresponding to the first system, that is, the brightness value of the picture corresponding to the second system is also r, and the content of the picture corresponding to the second system may be the same as or different from the content of the picture corresponding to the first system.
Optionally, the acquired brightness parameter of the first system may also be stored locally, and a data acquisition instruction is sent to the second system to instruct the second system to read the brightness parameter of the first system from the local, and control the screen of the electronic device to display according to the brightness parameter.
In the display method provided in this embodiment, if the system in the operating state is switched from the first system to the second system, the brightness parameter corresponding to the first system is obtained, and then the brightness parameter is sent to the second system, so that the second system controls the screen of the electronic device to display according to the brightness parameter. Compared with the problem that the display characteristics of the equipment are also switched along with the switching of the system in the related art to influence the visual experience of the user, the scheme enables the screen brightness of the electronic equipment when the second system is in the running state to be consistent with the screen brightness of the electronic equipment when the first system is in the running state, and therefore the system switching can be completed under the condition that the sight of the user is not perceived, and the visual experience of the user is improved.
Referring to fig. 3, a flowchart of a display method according to another embodiment of the present application is shown, where the display method is provided in this embodiment and can be applied to an electronic device, where the electronic device at least includes a first system and a second system, and the first system and the second system in this embodiment are run by a same processor. The method comprises the following steps:
step S210: and if the system in the running state is switched from the first system to the second system, acquiring the brightness parameter corresponding to the first system.
Step S220: and sending the brightness parameter to the second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter.
Step S230: and acquiring the picture data corresponding to the first system.
In the embodiment of the application, in order to avoid influence on the visual experience of the user due to the fact that the display frames of the electronic device are switched before and after the system is switched, the electronic device may acquire the frame data corresponding to the first system. When the system in the operating state is the first system, a standby screen (which may be a fixed standby screen or a periodically switched standby screen) of the electronic device may be determined as the screen data corresponding to the first system, or when the system in the operating state is the first system, a last frame of screen displayed before the screen state of the electronic device is switched from the on-screen state to the off-screen state may be determined as the screen data corresponding to the first system, and a specific type of the screen data corresponding to the first system may not be limited.
When the system in the running state is the first system, if the operation of the user on the screen of the electronic device is not detected within a certain time period (for example, within 30 seconds, the specific time value may not be limited), the screen state of the electronic device may be switched from the on-screen state to the off-screen state. At this time, the processor may still perform data interaction with the first system, and the display controller of the electronic device suspends rendering the image data corresponding to the first system. Thus, as one way, the frame data corresponding to the first system can be obtained (read) from the memory.
As one mode, if it is detected that the system in the running state is switched from the first system to the second system, the picture data corresponding to the first system may be acquired.
Step S240: and comparing the picture data with the appointed picture data synchronized to the second system last time to obtain difference image data.
In this embodiment, the electronic device may synchronize the screen data corresponding to the first system to the second system multiple times, for example, the screen data synchronized to the second system by the electronic device before and after power failure may be different, and the electronic device may synchronize the history of the screen data synchronized to the second system and store the screen data.
The difference image data represents a difference portion between the currently acquired picture data corresponding to the first system and the picture data synchronized to the second system last time, and the difference portion may specifically include a set of coordinates, where color values (for example, RGB values) of the currently acquired picture data corresponding to the first system and the picture data synchronized to the second system last time are different. The designated picture data characterizes picture data last synchronized by the first system to the second system.
The currently acquired picture data corresponding to the first system and the picture data synchronized to the second system last time are both composed of a plurality of pixel points, and for the position of the same pixel point coordinate, the RGB value of the picture data corresponding to the first system and the RGB value of the picture data synchronized to the second system last time can be different. Therefore, as one mode, the RGB value of the currently acquired image data corresponding to the first system may be compared with the RGB value of the corresponding coordinate position in the designated image data synchronized to the second system at the last time, to obtain position coordinates with different RGB values in the two image data, where the number of the position coordinates may be one or more, and a coordinate set formed by the position coordinates with different RGB values in the two image data is used as the difference image data.
Step S250: and sending the differential image data to the second system so that the second system updates the specified picture data according to the differential image data and displays the updated picture data.
As a mode, in order to reduce the data transmission quantity, the difference image data may be directly sent to the second system, without sending the whole picture data corresponding to the first system to the second system, so that the second system may update the content of the specified picture data according to the difference image data, and display the updated picture data, and at the same time, the data transmission quantity may be reduced, and the network transmission bandwidth may be saved.
In a specific application scenario, as shown in fig. 4, an exemplary diagram of picture data displayed on a screen before and after system switching provided by the present embodiment is shown. When the leftmost system of fig. 4 represents that the system in the running state is the first system, the standby screen displayed by the screen of the electronic device is switched to the black screen in the middle of fig. 4 after the first system is in a dormant state or is turned off, and when the user clicks a physical key for opening the screen or directly clicks the screen, the system in the running state is switched from the first system to the second system, and the screen displayed by the screen of the electronic device is still the standby screen, so that the screens displayed by the screens of the electronic devices before and after the system is switched are consistent, and the generation of bad visual experience of the user due to frequent switching of the screens is avoided.
The display method provided by the embodiment realizes that the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and improves the visual experience of a user. And sending differential image data obtained by comparing the picture data corresponding to the first system with the specified picture data synchronized to the second system last time to the second system, updating the specified picture data according to the differential image data by the second system, and displaying the updated picture data. The pictures displayed on the screens of the electronic equipment before and after the system is switched are consistent, and poor visual experience of a user caused by frequent switching of the pictures is avoided; meanwhile, the data transmission quantity is reduced, and the network transmission bandwidth is saved.
Referring to fig. 5, a flowchart of a display method according to another embodiment of the present application is shown, where the present embodiment provides a display method applicable to an electronic device, where the electronic device at least includes a first processor and a second processor, the first processor is used to run a first system, and the second processor is used to run a second system, that is, the first system and the second system in the present embodiment are run by different processors. The method comprises the following steps:
step S310: and if the system in the running state is switched from the first system to the second system, the first processor acquires the brightness parameter corresponding to the first system.
In this embodiment, if the system in the running state is switched from the first system to the second system, the first processor may obtain the brightness parameter corresponding to the first system, where the principle and the specific implementation process for obtaining the brightness parameter corresponding to the first system may refer to the description in the foregoing embodiment, and are not described herein again.
Step S320: and the first processor sends the brightness parameter to the second processor, so that the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
Alternatively, the first processor may send the brightness parameter to the second processor via a hardware communication link, such as a Serial Peripheral Interface (SPI) bus.
Optionally, in order to reduce performance loss of obtaining data in the system switching process, a partial area of the memory of the electronic device may be opened up as a sub memory for storing data received by the second processor, so that the second processor may directly retrieve the required data from the sub memory, and after the first processor sends a data obtaining instruction to the second processor, the second processor obtains the data from the memory of the electronic device. The second processor may store the brightness parameter in the sub-memory after receiving the brightness parameter, so that when the system switching is completed, the second processor may read the brightness parameter value from the sub-memory and control the screen of the electronic device to display according to the brightness parameter value, thereby enabling the brightness display of the screen of the electronic device to be consistent before and after the system switching.
In this embodiment, the electronic device may include one display controller. Referring to fig. 6, a hardware framework diagram of an electronic device according to an embodiment of the present application is shown. As shown in fig. 6, the electronic device in this embodiment mode may include a first processor, a second processor, a display controller, and a display device. In this way, in the process of sending the brightness parameter to the second processor, the first processor may stop controlling the display controller (i.e., the first processor and the display controller are still connected, but the first processor no longer controls the display controller), and send a display controller takeover instruction to the second processor, where the display controller takeover instruction is used to instruct the second processor to start controlling the display controller, so that the display controller controls the display device of the electronic device (i.e., the screen of the electronic device) to display according to the brightness parameter received by the second processor.
In this embodiment, the electronic device may also include at least two display controllers, for example, the electronic device may include at least a first display controller and a second display controller. Referring to fig. 7, a schematic diagram of another hardware framework of an electronic device according to an embodiment of the present application is shown. As shown in fig. 7, the electronic device in this embodiment may include a first processor, a second processor, a first display controller, a second display controller, and a display device. In this way, in the process of sending the brightness parameter to the second processor, the first processor may control to turn off the first display controller (that is, the first processor cuts off the connection with the first display controller), and notify the second processor to turn on the second display controller, so that the second display controller controls the display device of the electronic device (that is, the screen of the electronic device) to display according to the brightness parameter received by the second processor.
In the display method provided in this embodiment, if the system in the running state is switched from the first system to the second system, the first processor obtains the brightness parameter corresponding to the first system, and then sends the brightness parameter to the second processor, so that the second processor controls the screen of the electronic device to display according to the brightness parameter. Compared with the problem that the display characteristics of the equipment can be switched with the system after the system is switched in the related technology, so that the visual experience of a user is influenced, the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and the visual experience of the user is improved.
Referring to fig. 8, a flowchart of a display method according to still another embodiment of the present application is shown, where the present embodiment provides a display method applicable to an electronic device, where the electronic device at least includes a first processor and a second processor, the first processor is used to operate a first system, and the second processor is used to operate a second system, and the method includes:
step S410: and if the system in the running state is switched from the first system to the second system, the first processor acquires the brightness parameter corresponding to the first system.
Step S420: and the first processor sends the brightness parameter to the second processor, so that the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
Step S430: and the first processor acquires the picture data corresponding to the first system.
Optionally, two partial areas may be opened up from the memory of the electronic device, and the two partial areas are respectively used for storing the data received by the first processor and the data received by the second processor. The sub memory for storing the data received by the first processor may be referred to as a first memory, the first memory corresponds to the first system, the sub memory for storing the data received by the second processor may be referred to as a second memory, and the second memory corresponds to the second system. In this way, after the first processor acquires the picture data corresponding to the first system, the picture data may be stored in the first memory corresponding to the first system, so that when the picture data synchronized to the second system at the next time is different, the picture data synchronized to the second system in history may be directly acquired from the first memory.
Step S440: and the first processor compares the picture data with the appointed picture data synchronized to the second system last time to obtain difference image data.
Step S450: and the first processor sends the difference image data to the second processor, so that the second processor updates the specified picture data according to the difference image data and displays the updated picture data.
Alternatively, the first processor may transmit the difference image data to the second processor through a hardware communication link. After receiving the difference image data, the second processor can directly update the content of the appointed image data synchronized by the first system last time by using the difference image data, namely, the appointed image data is filled by using the difference part between the image data corresponding to the first system and the appointed image data synchronized to the second system last time, so that the completely filled image data is obtained, the updated image data is displayed, and meanwhile, the updated image data can be stored in a second memory corresponding to the second system.
It should be noted that, in the embodiment of the present application, an electronic device including a dual system is taken as an example for description, and in actual implementation, the electronic device may also be configured with more systems, for example, the electronic device may further include three systems and multiple systems, and the picture display method provided in the embodiment of the present application is applicable to a case where the electronic device includes three systems or multiple systems, and specifically, before and after the systems are switched, the implementation principle and the implementation process of making pictures displayed on the screen of the electronic device consistent are not described herein again.
In this embodiment, the electronic device may include three or more processors in addition to the first processor and the second processor, in which different processors are used to run different systems, and power consumptions corresponding to the different processors are different. When the currently running system is switched from a system with relatively high power consumption to a system with relatively low power consumption, the pictures displayed on the screen of the electronic equipment can be consistent before and after the system is switched, and convenience is provided for a user to check data.
The display method provided by the embodiment realizes that the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and the visual experience of a user is improved. The first processor compares the picture data corresponding to the first system with the appointed picture data synchronized to the second system last time to obtain difference image data, and sends the difference image data to the second processor, so that the second processor updates the appointed picture data according to the difference image data and displays the updated picture data. The screen brightness of the electronic equipment is consistent before and after the system is switched, and the pictures displayed by the screens of the electronic equipment are also consistent before and after the system is switched, so that poor visual experience of a user caused by frequent picture switching is avoided; meanwhile, the data transmission quantity is reduced, and the network transmission bandwidth is saved.
Referring to fig. 9, a flowchart of a display method according to still another embodiment of the present application is shown, where this embodiment provides a display method that is applicable to an electronic device, where the electronic device includes at least a first processor and a second processor, the first processor is used to operate a first system, and the second processor is used to operate a second system, and the method includes:
step S510: and the second processor receives a brightness parameter corresponding to the first system, wherein the brightness parameter is obtained by the first processor if the system in the running state is switched from the first system to the second system.
Step S520: and the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
In this embodiment, the electronic device may include a display controller, and in this manner, the second processor may start to control the display controller in response to the display controller takeover instruction sent by the first processor, so that the display controller controls the display device of the electronic device (i.e., the screen of the electronic device) to display according to the brightness parameter.
In this embodiment, the electronic device may include at least two display controllers, for example, at least a first display controller and a second display controller. In this manner, the second processor may turn on the second display controller in response to a display controller takeover instruction sent by the first processor, so that the second display controller controls the display device of the electronic device (i.e., the screen of the electronic device) to display according to the brightness parameter, where the display controller takeover instruction is used to instruct the second processor to turn on the second display controller.
The display method provided by the embodiment realizes that the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and the visual experience of a user is improved.
Referring to fig. 10, a flowchart of a display method according to still another embodiment of the present application is shown, where the present embodiment provides a display method applicable to an electronic device, where the electronic device at least includes a first processor and a second processor, the first processor is used to operate a first system, and the second processor is used to operate a second system, and the method includes:
step S610: and the second processor receives a brightness parameter corresponding to the first system, wherein the brightness parameter is obtained by the first processor if the system in the running state is switched from the first system to the second system.
Step S620: and the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
Step S630: the second processor receives differential image data, wherein the differential image data is obtained by comparing picture data corresponding to a first system with appointed picture data synchronized to the second system last time by the first processor.
Step S640: and the second processor updates the appointed picture data according to the difference image data and displays the updated picture data.
According to the display method provided by the embodiment, the screen brightness of the electronic equipment is consistent before and after the system is switched, and the pictures displayed by the screen of the electronic equipment are also consistent before and after the system is switched, so that the brightness jump of the screen before and after the system is switched and poor visual experience of a user caused by frequent picture switching are avoided; meanwhile, the data transmission quantity is reduced, and the network transmission bandwidth is saved.
Referring to fig. 11, a structural block diagram of a display device according to an embodiment of the present disclosure is shown, in which a display device 700 is provided in this embodiment, and can be operated in an electronic apparatus, where the electronic apparatus at least includes a first system and a second system, and the device 700 includes: data acquisition module 710, and display module 720:
the data obtaining module 710 is configured to obtain a brightness parameter corresponding to the first system if the system in the running state is switched from the first system to the second system.
As a mode, when the duration of the screen of the electronic device in the screen-off state reaches a preset duration, the system in the running state may be triggered to be switched from the first system to the second system. For example, the system in the running state may be triggered to be switched from the first system to the second system as soon as the duration that the screen of the electronic device is in the screen-off state reaches a preset duration; or the time length of the screen of the electronic device in the screen-off state reaches the preset time length, and the system in the running state is triggered again when the screen of the electronic device is on again, so that the first system is switched to the second system.
In this embodiment, the data obtaining module 710 may be further configured to obtain the screen data corresponding to the first system when the system in the operating state is switched from the first system to the second system. In this way, the apparatus 700 may further include a data comparing module, configured to compare the picture data with the specified picture data synchronized to the second system last time, so as to obtain difference image data.
And a display module 720, configured to send the brightness parameter to the second system, so that the second system controls a screen of the electronic device to display according to the brightness parameter.
In this embodiment, the display module 720 may be specifically configured to store the brightness parameter in a memory; and sending a data acquisition instruction to the second system to instruct the second system to acquire the brightness parameter from the memory and control a screen of the electronic equipment to display according to the brightness parameter.
In this embodiment, the display module 720 may be configured to send the difference image data to the second system, so that the second system updates the designated picture data according to the difference image data, and displays the updated picture data.
It should be noted that the electronic device in this embodiment may further include at least a first processor and a second processor, where the first processor is used to operate a first system, and the second processor is used to operate a second system.
As an implementation manner, the data obtaining module 710 may be configured to, if a system in an operating state is switched from the first system to the second system, obtain, by the first processor, a luminance parameter corresponding to the first system; in this manner, the display module 720 may be configured to send, by the first processor, the brightness parameter to the second processor, so that the second processor controls the screen of the electronic device to display according to the brightness parameter. The display module 720 may be specifically configured to send, by the first processor, the brightness parameter to the second processor through a hardware communication link.
The data obtaining module 710 may be further configured to, if the system in the running state is switched from the first system to the second system, obtain, by the first processor, the picture data corresponding to the first system. The data comparison module may be configured to compare the picture data with specified picture data synchronized to the second system last time by the first processor, so as to obtain difference image data. The display module 720 may be further configured to send the difference image data to the second processor by the first processor, so that the second processor updates the designated picture data according to the difference image data, and displays the updated picture data.
Optionally, the apparatus 700 in this embodiment may further include a display control module. In an embodiment, the electronic device may further include a display controller, and the display control module in this embodiment may be configured to stop controlling the display controller by the first processor, and send a display controller takeover instruction to the second processor, where the display controller takeover instruction is used to instruct the second processor to start controlling the display controller, so that the display controller controls the screen of the electronic device to display according to the brightness parameter.
In another embodiment, the electronic device may further include at least a first display controller and a second display controller, and the display control module in this embodiment may be configured to control, by the first processor, to turn off the first display controller and notify the second processor to turn on the second display controller, so that the second display controller controls a screen of the electronic device to display according to the brightness parameter.
As another implementation manner, the data obtaining module 710 may be configured to receive, by the second processor, a brightness parameter corresponding to the first system, where the brightness parameter is obtained by the first processor if a system in an operating state is switched from the first system to the second system; in this manner, the display module 720 may be configured to control the screen of the electronic device to display according to the brightness parameter by the second processor.
In this embodiment, the electronic device may further include a display controller, and in this manner, the display module 720 may be specifically configured to respond to a display controller takeover instruction sent by the first processor, and the second processor starts to control the display controller, so that the display controller controls the screen of the electronic device to display according to the brightness parameter. Or the electronic device may further include at least a first display controller and a second display controller, in this manner, the display module 720 may be specifically configured to respond to a display controller takeover instruction sent by the first processor, and the second processor starts the second display controller, so that the second display controller controls the screen of the electronic device to display according to the brightness parameter, where the display controller takeover instruction is used to instruct the second processor to start the second display controller.
Optionally, the data obtaining module 710 may be further configured to receive, by the second processor, difference image data, where the difference image data is obtained by comparing, by the first processor, picture data corresponding to the first system with specified picture data synchronized to the second system last time. The display module 720 may be configured to update the designated picture data according to the difference image data by the second processor, and display the updated picture data.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Based on the display method and the display apparatus, an embodiment of the application further provides an electronic device 100 capable of executing the display method.
In some embodiments, referring to fig. 12, the electronic device 100 may include a memory 102 and one or more processors 104 (only one is shown) coupled to each other, wherein the memory 102 and the processors 104 are communicatively coupled. The memory 102 stores programs that can execute the contents of the foregoing embodiments, and the processor 104 can execute the programs stored in the memory 102.
The processor 104 may include one or more processing cores, among other things. The processor 104 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 102 and invoking data stored in the memory 102. Alternatively, the processor 104 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 104 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 104, but may be implemented by a communication chip.
The Memory 102 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 102 may be used to store instructions, programs, code sets, or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the foregoing embodiments, and the like. The data storage area may also store data created by the electronic device 100 during use (e.g., phone book, audio-video data, chat log data), and the like.
In some embodiments, referring to fig. 13, the electronic device 100 may include at least a memory 102, a first processor 1041 and a second processor 1042, wherein the first processor 1041 is configured to run a first system, and the second processor 1042 is configured to run a second system. The first processor 1041 is configured to: if the system in the running state is switched from the first system to the second system, acquiring a brightness parameter corresponding to the first system; the brightness parameter is sent to the second processor 1042, so that the second processor 1042 controls the screen of the electronic device to display according to the brightness parameter. The second processor 1042 is configured to: receiving a brightness parameter corresponding to the first system, where the brightness parameter is obtained by the first processor 1041 if the system in the running state is switched from the first system to the second system; and controlling the screen of the electronic device 100 to display according to the brightness parameter.
In some embodiments, referring to fig. 14, the electronic device 100 may at least include a memory 102, a first processor 1041, a second processor 1042, a display controller 106, and a display device 108, and unlike fig. 13, in a process of switching from a first system to a second system if a system in an operating state is switched from the first system, the first processor 1041 stops controlling the display controller 106, and sends a display controller takeover instruction to the second processor 1042, where the display controller takeover instruction is used to instruct the second processor 1042 to start controlling the display controller 106, so that the display controller 106 controls the display device 108 (i.e., a screen of the electronic device) of the electronic device 100 to display according to the brightness parameter.
In some embodiments, referring to fig. 15, the electronic device 100 may at least include a memory 102, a first processor 1041, a second processor 1042, a first display controller 1061, a first display controller 1062, and a display device 108, and unlike fig. 14, in the process of switching the system in the operating state from the first system to the second system, the first processor 1041 controls to turn off the first display controller 1061 and notifies the second processor 1042 to turn on the second display controller 1062, so that the second display controller 1062 controls the display device 108 (i.e., a screen of the electronic device) of the electronic device 100 to display according to the brightness parameter.
Referring to fig. 16, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from and written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
In summary, according to the display method, the display apparatus, the electronic device, and the storage medium provided in the embodiments of the present application, if the system in the running state is switched from the first system to the second system, the brightness parameter corresponding to the first system is obtained, and then the brightness parameter is sent to the second system, so that the second system controls the screen of the electronic device to display according to the brightness parameter. Compared with the problem that the display characteristics of the equipment can be switched with the system after the system is switched in the related technology, so that the visual experience of a user is influenced, the screen brightness of the equipment is displayed to be consistent before and after the system is switched, and the visual experience of the user is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (18)
1. A display method is applied to electronic equipment, wherein the electronic equipment at least comprises a first system and a second system, and the method comprises the following steps:
if the system in the running state is switched from the first system to the second system, acquiring a brightness parameter corresponding to the first system;
and sending the brightness parameter to the second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter.
2. The method of claim 1, wherein the sending the brightness parameter to the second system to cause the second system to control a screen of the electronic device to be displayed according to the brightness parameter comprises:
storing the brightness parameters in a memory;
and sending a data acquisition instruction to the second system to instruct the second system to acquire the brightness parameter from the memory and control a screen of the electronic equipment to display according to the brightness parameter.
3. The method of claim 1, further comprising:
acquiring picture data corresponding to the first system;
comparing the picture data with the appointed picture data synchronized to the second system last time to obtain difference image data;
and sending the difference image data to the second system so that the second system updates the specified picture data according to the difference image data and displays the updated picture data.
4. The method according to any one of claims 1 to 3, wherein before the step of acquiring the brightness parameter corresponding to the first system if the system in operation is switched from the first system to the second system, the method further comprises:
when the duration that the screen of the electronic equipment is in the screen-off state reaches the preset duration, triggering the system in the running state to be switched from the first system to the second system.
5. A display method applied to an electronic device, wherein the electronic device at least comprises a first processor and a second processor, the first processor is used for operating a first system, and the second processor is used for operating a second system, the method comprising:
if the system in the running state is switched from the first system to the second system, the first processor acquires a brightness parameter corresponding to the first system;
and the first processor sends the brightness parameter to the second processor, so that the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
6. The method of claim 5, wherein the electronic device further comprises a display controller, the method further comprising:
and the first processor stops controlling the display controller and sends a display controller take-over instruction to the second processor, wherein the display controller take-over instruction is used for indicating the second processor to start controlling the display controller, so that the display controller controls the screen of the electronic equipment to display according to the brightness parameter.
7. The method of claim 5, wherein the electronic device further comprises at least a first display controller and a second display controller, the method further comprising:
and the first processor controls to close the first display controller and informs the second processor to open the second display controller so that the second display controller controls the screen of the electronic equipment to display according to the brightness parameter.
8. The method of claim 5, further comprising:
the first processor acquires picture data corresponding to the first system;
the first processor compares the picture data with the appointed picture data synchronized to the second system last time to obtain difference image data;
and the first processor sends the difference image data to the second processor, so that the second processor updates the specified picture data according to the difference image data and displays the updated picture data.
9. The method of any of claims 5-8, wherein the first processor sending the brightness parameter to the second processor comprises:
and the first processor sends the brightness parameter to the second processor through a hardware communication link.
10. A display method applied to an electronic device, wherein the electronic device at least comprises a first processor and a second processor, the first processor is used for operating a first system, and the second processor is used for operating a second system, the method comprising:
the second processor receives a brightness parameter corresponding to the first system, wherein the brightness parameter is obtained by the first processor if the system in the running state is switched from the first system to the second system;
and the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
11. The method of claim 10, further comprising:
the second processor receives differential image data, wherein the differential image data is obtained by comparing picture data corresponding to a first system with appointed picture data synchronized to the second system last time by the first processor;
and the second processor updates the appointed picture data according to the difference image data and displays the updated picture data.
12. The method of claim 10, wherein the electronic device further comprises a display controller, and wherein the second processor controls a screen of the electronic device to display according to the brightness parameter, comprising:
and responding to a display controller takeover instruction sent by the first processor, and the second processor starts to control the display controller so that the display controller controls the screen of the electronic equipment to display according to the brightness parameter.
13. The method of claim 10, wherein the electronic device further comprises at least a first display controller and a second display controller, and the second processor controls a screen of the electronic device to display according to the brightness parameter, comprising:
and responding to a display controller takeover instruction sent by the first processor, starting the second display controller by the second processor to enable the second display controller to control the screen of the electronic equipment to display according to the brightness parameter, wherein the display controller takeover instruction is used for indicating the second processor to start the second display controller.
14. A display apparatus, operable in an electronic device including at least a first system and a second system, the apparatus comprising:
the data acquisition module is used for acquiring a brightness parameter corresponding to the first system if the system in the running state is switched from the first system to the second system;
and the display module is used for sending the brightness parameter to the second system so that the second system controls the screen of the electronic equipment to display according to the brightness parameter.
15. An electronic device, comprising at least a first processor configured to execute a first system and a second processor configured to execute a second system, the first processor configured to:
if the system in the running state is switched from the first system to the second system, acquiring a brightness parameter corresponding to the first system;
and sending the brightness parameter to the second processor, so that the second processor controls the screen of the electronic equipment to display according to the brightness parameter.
16. An electronic device, comprising at least a first processor configured to execute a first system and a second processor configured to execute a second system, the second processor configured to:
receiving a brightness parameter corresponding to the first system, wherein the brightness parameter is obtained by the first processor if the system in the running state is switched from the first system to the second system;
and controlling the screen of the electronic equipment to display according to the brightness parameter.
17. An electronic device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-4.
18. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110302885.0A CN115116410A (en) | 2021-03-22 | 2021-03-22 | Display method, display device, electronic equipment and storage medium |
PCT/CN2022/077053 WO2022199299A1 (en) | 2021-03-22 | 2022-02-21 | Display method and apparatus, and electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110302885.0A CN115116410A (en) | 2021-03-22 | 2021-03-22 | Display method, display device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115116410A true CN115116410A (en) | 2022-09-27 |
Family
ID=83322818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110302885.0A Pending CN115116410A (en) | 2021-03-22 | 2021-03-22 | Display method, display device, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115116410A (en) |
WO (1) | WO2022199299A1 (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI393114B (en) * | 2007-09-05 | 2013-04-11 | Htc Corp | Mehtod for gradually adjusting screen brightness when switching operating system |
KR101759941B1 (en) * | 2011-04-21 | 2017-07-31 | 엘지전자 주식회사 | Mobile terminal and method for controlling thereof |
CN103247281B (en) * | 2012-02-13 | 2015-11-25 | 联想(北京)有限公司 | A kind of method and electronic equipment adjusting display brightness |
CN103294562B (en) * | 2012-02-23 | 2017-03-01 | 纬创资通股份有限公司 | Method for sharing peripheral device by dual operating systems and electronic device |
CN103377093B (en) * | 2012-04-24 | 2019-01-15 | 联想(北京)有限公司 | A kind of multimedia synchronization method of multi-system equipment, electronic equipment |
CN104516747A (en) * | 2013-09-27 | 2015-04-15 | 联想(北京)有限公司 | System switching method and electronic device |
CN105657112A (en) * | 2015-12-31 | 2016-06-08 | 北京元心科技有限公司 | Method and apparatus for processing brightness in multi-system mobile terminal |
-
2021
- 2021-03-22 CN CN202110302885.0A patent/CN115116410A/en active Pending
-
2022
- 2022-02-21 WO PCT/CN2022/077053 patent/WO2022199299A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2022199299A1 (en) | 2022-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111432070B (en) | Application screen projection control method, device, equipment and medium | |
CN106941563B (en) | control method and device for refresh rate of mobile terminal and mobile terminal | |
EP4296851A1 (en) | Method and apparatus for displaying application picture, and terminal, screen projection system and medium | |
CN110417859B (en) | Equipment control method, device, system, intelligent gateway and storage medium | |
US9285945B2 (en) | Method and apparatus for displaying multi-task interface | |
CN105677315B (en) | Interface display method of multiple operating systems and intelligent terminal | |
CN105677265A (en) | Display method and terminal | |
CN111813492B (en) | Display method and device for quick application, electronic equipment and storage medium | |
CN113630654B (en) | Display equipment and media resource pushing method | |
CN110569008A (en) | screen data processing method and device and electronic equipment | |
CN111752632A (en) | Control method and device of mobile terminal, mobile terminal and storage medium | |
SG172007A1 (en) | Operation terminal and screen display method for operation terminal | |
CN113908533A (en) | Cloud game interaction method and device, terminal and processor | |
CN113038050B (en) | Split screen display control method and device, terminal equipment and storage medium | |
CN115116410A (en) | Display method, display device, electronic equipment and storage medium | |
CN114915833B (en) | Display control method, display device and terminal device | |
US11303595B2 (en) | Method and device for displaying text and video in two threads | |
CN116414209A (en) | Display method, display device, electronic equipment and storage medium | |
CN115113993A (en) | Picture display method and device, electronic equipment and storage medium | |
CN115114039A (en) | Picture display method and device, electronic equipment and storage medium | |
CN111818375A (en) | Popup window detection method and device for intelligent set top box and intelligent set top box | |
CN111782100A (en) | Method, device, terminal and storage medium for previewing background picture | |
CN114915815B (en) | Display apparatus and control method thereof | |
CN113225783B (en) | Automatic channel switching method and display equipment | |
CN113038255B (en) | Channel information updating method and display device |
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 |