CN115113993A - Picture display method and device, electronic equipment and storage medium - Google Patents

Picture display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115113993A
CN115113993A CN202110304271.6A CN202110304271A CN115113993A CN 115113993 A CN115113993 A CN 115113993A CN 202110304271 A CN202110304271 A CN 202110304271A CN 115113993 A CN115113993 A CN 115113993A
Authority
CN
China
Prior art keywords
processor
picture
display
electronic device
identifier
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
CN202110304271.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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110304271.6A priority Critical patent/CN115113993A/en
Publication of CN115113993A publication Critical patent/CN115113993A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The application discloses a picture display method and 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 picture identifier of picture data corresponding to the first system; and sending the picture identification to the second system so that the second system displays the picture data according to the picture identification. The method realizes that the picture data of the equipment is displayed to be consistent only by transmitting the picture identification before and after the system is switched, thereby providing convenience for a user to check the data and improving the user experience.

Description

Picture display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to a method and an apparatus for displaying a screen, 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 screen of the intelligent device is also switched, and the experience of some users who need to view specific data or like a relatively fixed screen is to be improved.
Disclosure of Invention
The application provides a picture display method, a picture display device, an electronic device and a storage medium, so as to solve the problems.
In a first aspect, an embodiment of the present application provides a screen 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 picture identifier of picture data corresponding to the first system; and sending the picture identification to the second system so that the second system displays the picture data according to the picture identification.
In a second aspect, an embodiment of the present application provides a screen display method, which is 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 operate a first system, and the second processor is configured to operate 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 the picture identifier of the picture data corresponding to the first system; and the first processor sends the picture identifier to the second processor, so that the second processor controls the second system to display the picture data according to the picture identifier.
In a third aspect, an embodiment of the present application provides a screen 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 picture identifier of picture data corresponding to the first system, wherein the picture identifier 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 second system to display the picture data according to the picture identification.
In a fourth aspect, an embodiment of the present application provides an image display apparatus, which is operated in an electronic device, where the electronic device at least includes a first system and a second system, and the apparatus includes: the data acquisition module is used for acquiring the picture identifier of the picture data 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 picture identifier to the second system so that the second system displays the picture data according to the picture identifier.
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 picture identifier of picture data corresponding to the first system; and sending the picture identifier to the second processor, so that the second processor controls the second system to display the picture data according to the picture identifier.
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 picture identifier of picture data corresponding to the first system, wherein the picture data 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 second system to display the picture data according to the picture identification.
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 screen 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 is called by a processor to execute the screen display method provided in the first aspect.
According to the picture display method, the picture 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 picture identification of the picture data corresponding to the first system is obtained, and then the picture identification is sent to the second system, so that the second system displays the picture data according to the picture identification. Compared with the problem that the user cannot continuously check specific data due to the fact that the equipment pictures can be switched with the system after the system is switched in the related technology, the scheme realizes that the picture data of the equipment are displayed to be consistent only by transmitting the picture identification before and after the system is switched, so that convenience is provided for the user to check the data, and user experience 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 shows a flowchart of a screen display method according to an embodiment of the present application.
Fig. 2 is an exemplary diagram illustrating that screen data of a smart watch is displayed to be consistent before and after system switching provided by the embodiment of the present application.
Fig. 3 is a diagram illustrating an example of a change process of screen data displayed by an electronic device before and after system switching according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating a screen display method according to another embodiment of the present application.
Fig. 5 shows a hardware framework diagram of an electronic device provided in an embodiment of the present application.
Fig. 6 shows another hardware framework diagram of an electronic device provided in an embodiment of the present application.
Fig. 7 is a flowchart illustrating a screen display method according to another embodiment of the present application.
Fig. 8 is a block diagram illustrating a screen display apparatus according to an embodiment of the present application.
Fig. 9 shows a block diagram of an electronic device according to an embodiment of the present application.
Fig. 10 shows a block diagram of another electronic device provided in an embodiment of the present application.
Fig. 11 shows a block diagram of a further electronic device provided in an embodiment of the present application.
Fig. 12 shows a block diagram of a further electronic device provided in an embodiment of the present application.
Fig. 13 illustrates a storage unit for storing or carrying a program code implementing a screen 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 content displayed on the display interface of the intelligent device is often switched along with the switching, which may affect the experience of some users with specific data viewing requirements.
The inventor finds that, through long-term research, if a system in an operating state is switched from a first system to a second system, a picture identifier of picture data corresponding to the first system is acquired, and then the picture identifier is sent to the second system, so that the second system displays the picture data according to the picture identifier. Compared with the problem that the user cannot continuously check specific data due to the fact that the equipment pictures can be switched with the system after the system is switched in the related technology, the scheme realizes that the picture data of the equipment are displayed to be consistent only by transmitting the picture identification before and after the system is switched, so that convenience is provided for the user to check the data, and user experience is improved.
Therefore, in order to improve the above problem, the inventor proposes a picture display method, an apparatus, an electronic device, and a storage medium, which are provided by the present application, and can make picture data of devices displayed in a consistent manner only by transferring picture identifiers before and after system switching, thereby providing convenience for a user to view data and improving user experience.
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 screen display method according to an embodiment of the present application is shown. The present embodiment provides a screen display method, which can be applied to the apparatus 400 shown in fig. 8 and an electronic device configured with the apparatus 400, where the electronic device at least includes a first system and a second system. In the embodiment of the application, the power consumption of the first system is higher than that of the second system. 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 the functions of the electronic equipment. 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 picture identification of the picture data 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.
In the embodiment of the present application, there may be various implementation manners to determine whether to trigger system handover. For example, as an implementation manner, when a 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 of the screen of the electronic device being in the screen-off state reaches a preset duration, and it is detected that a user switches the screen state of the electronic device from the screen-off state to the 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 program can comprise an instant communication application program, and the message notification of the specific application program can be a message notification of the instant communication application program, or an incoming call.
As another embodiment, the system switching may be triggered according to the power of the electronic device. For example, when the power of the electronic device is lower than the power threshold, the electronic device may automatically trigger the system currently in the operating state to be switched from the first system to the second system, or an interface of the first system (for example, a system switching setting interface) may be manually operated to trigger the system currently in the operating state to be switched from the first system to the second system. The power consumption of the second system is lower than that of the first system, the power threshold may be preset, and the specific value may not be limited, for example, for an electronic device with a total power of 100%, the power threshold may be 30%, or other values, so that when the power of the electronic device is low, the standby duration or the use duration of the electronic device is prolonged by switching the system in the operating state to the system with relatively low power consumption.
As another embodiment, when the system in the running state is the first system and the screen of the electronic device is in the bright screen state, the system switching may be triggered by the manual operating system interface, that is, the system switching may be directly performed during the bright screen process. For example, switching the system currently in the running state from the first system to the second system may be triggered by manual operation of a secondary interface or a tertiary interface of the first system for controlling a system switching function.
In the embodiment of the present application, the screen data may be screen data of a system main interface, screen data displayed by any application interface, a standby screen, or a screen saver screen. The type of the picture data may be a picture, and the picture may include contents such as letters, numbers, characters, or images. The screen data corresponding to the first system may be a screen displayed by a main interface of the first system, or a screen displayed by an interface of an application configured in the first system. As an embodiment, when the system in the operating state is the first system, the 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 determining the picture displayed by the first system at the previous moment when the first system is switched to the second system in the running system as the picture data corresponding to the first system; or when the system in the running state is the first system, and before the screen state of the electronic device is switched from the bright screen state to the off screen state, the last displayed frame of picture is determined as the picture data corresponding to the first system.
In the embodiment of the application, the picture identifier can be added to the picture data according to the difference of the picture content or the picture display effect, and the picture identifier can be a number or a character number. In order to reduce the data transmission quantity in the system switching process, the same picture data resource can be stored in the first system and the second system in advance, and the picture data in the picture data resource has a mapping relation with the corresponding picture identifier, so that when the picture data corresponding to the first system needs to be transmitted, only the picture identifier corresponding to the picture data can be transmitted.
In the related art, most of the operating systems configured for the electronic device are single operating systems, and the image data corresponding to different operating systems are different. Therefore, as a way, in a case that an operating system configured in the electronic device is a dual system, in order to avoid a problem that a user cannot continuously view specific data due to switching of device screens before and after system switching, when it is detected that a system in an operating state is switched from a first system to a second system, the electronic device may acquire a screen identifier of screen data corresponding to the first system, so as to synchronize the screen identifier to the second system.
In an embodiment, when the system in the running state is the first system, if the operation of the screen of the electronic device by the user is not detected within a certain time period (for example, within 30 seconds, the specific time period may not be limited in value), the screen state of the electronic device may be switched from the on-screen state to the off-screen state. At this time, the electronic device may suspend rendering the image data corresponding to the first system, and in this case, the image identifier of the image data corresponding to the first system may be obtained and stored in the memory of the electronic device. Then, as one way, the picture id of the picture data corresponding to the first system may be obtained (read) from the memory.
Step S120: and sending the picture identifier to the second system so that the second system displays the picture data according to the picture identifier.
As a manner, the acquired picture identifier of the picture data corresponding to the first system may be stored in a memory of the electronic device, and a content acquisition instruction is sent to the second system to instruct the second system to acquire the picture identifier of the picture data corresponding to the first system from the memory, and display the picture data according to the picture identifier, so that the picture data of the electronic device is displayed in a consistent manner before and after the system is switched, and convenience is provided for a user to view the data.
For example, in a specific application scenario, taking an electronic device as an intelligent watch as an example, the same dial display resources may be configured in advance in the first system and the second system, and all the dial display resources may be numbered separately, for example, the numbers may be numbered in a manner of dial 1, dial 2, dial 3, and the like. Referring to fig. 2, an exemplary diagram illustrating that screen data of the smart watch is displayed to be consistent before and after the system is switched according to the embodiment of the present application is shown. Wherein, the picture shown on the left side of fig. 2 is a picture 10 displayed on the desktop dial plate of the smart watch when the system in the running state is the first system, when the system in the running state is switched from the first system to the second system, the processor of the smart watch may send the dial plate number corresponding to the picture 10 to the second system, and the second system may query and load the corresponding picture according to the dial plate number and display the loaded picture (as shown in the right diagram of fig. 2, the picture obtained by loading), so that when the system in the running state is the second system, the picture 20 (the picture shown on the right side of figure 2) displayed by the desktop dial plate of the intelligent watch is the same as the content of the picture 10, therefore, the user can still check the related content after the system is switched conveniently, and the visual jump caused by the picture change due to the system switching can be avoided.
In another specific application scenario, please refer to fig. 3, which illustrates a diagram of an example of a change process of picture data displayed by an electronic device before and after system switching according to an embodiment of the present application. The picture shown on the leftmost side of fig. 3 represents a standby picture displayed on the screen of the electronic device when the system in the running state is the first system. When the first system is in a sleep state or turned off, the standby screen displayed on the screen changes to a black screen shown in the middle of FIG. 3, when the user clicks a physical key for opening the screen or directly clicks the screen (e.g. a touch screen), the system in the running state can be triggered to switch from the first system to the second system, at this time, the electronic device will send the picture identifier corresponding to the standby picture to the second system, the second system will search for the corresponding picture according to the received picture identifier and display the searched picture (as shown in the right picture of fig. 3, the searched picture is shown), therefore, the pictures displayed by the screen of the electronic equipment are still the standby pictures after the system in the current running state is switched to the second system, the pictures displayed by the screen of the electronic equipment before and after the system is switched are consistent, and poor visual experience of a user caused by frequent picture switching is avoided.
Optionally, the obtained picture identifier of the picture data corresponding to the first system may also be stored locally, and a content obtaining instruction is sent to the second system to instruct the second system to read the picture identifier of the picture data corresponding to the first system from the local, and search the corresponding picture data according to the obtained picture identifier, so as to display the searched picture data.
In the image display method provided in this embodiment, if the system in the running state is switched from the first system to the second system, the image identifier of the image data corresponding to the first system is obtained, and then the image identifier is sent to the second system, so that the second system displays the image data according to the image identifier. Compared with the problem that the user cannot continuously check specific data due to the fact that the equipment pictures are switched with the system after the system is switched in the related technology, the scheme realizes that the picture data of the equipment are displayed to be consistent only by transmitting the picture identification before and after the system is switched, provides convenience for the user to check the data, and improves user experience.
Referring to fig. 4, a flowchart of a picture display method according to another embodiment of the present application is shown, where this embodiment provides a picture display method that can be applied 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, that is, the first system and the second system in this embodiment are operated by different processors. The first system and the second system in this embodiment may be configured to perform different functions of the same application. 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, the first processor acquires the picture identifier of the picture data 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 picture identifier of the picture data corresponding to the first system, where the principle and the specific implementation process for obtaining the picture identifier of the picture data 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 picture identifier to the second processor, so that the second processor controls the second system to display the picture data according to the picture identifier.
Alternatively, the first processor may send the frame identifier to the second processor via a hardware communication link (e.g., a Serial Peripheral Interface (SPI) bus).
After receiving the picture identifier, the second processor may store the picture identifier in a dynamic memory of the second system, so that when the second system wakes up, the picture identifier may be read from the dynamic memory, corresponding picture data may be searched according to the picture identifier, and then the screen of the electronic device is controlled to render and display the searched picture data, thereby making pictures displayed on the screen of the electronic device consistent before and after the system is switched.
In an embodiment of the present application, the electronic device may include a display controller. Referring to fig. 5, a hardware framework diagram of an electronic device according to an embodiment of the present application is shown. As shown in fig. 5, the electronic device in this embodiment may include a first processor, a second processor, a display controller, and a display device. In this way, in the process of sending the picture identifier to the second processor, the first processor may stop controlling the display controller (that is, the first processor is still connected to the display controller, but the first processor does not control the display controller any more), 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 (that is, the screen of the electronic device) to display the searched corresponding picture data according to the picture identifier.
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. 6, 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. 6, 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 that the first processor sends the picture identifier to the second processor, the first processor may control to close the first display controller (that is, the first processor cuts off the connection with the first display controller), and notify the second processor to open 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 the searched corresponding picture data according to the picture identifier.
It should be noted that, in the embodiment of the present application, an example is given in which the electronic device includes a dual system, and the electronic device may also be configured with more systems in actual implementation, for example, the electronic device may further include a triple system and a multiple system, and the picture display method provided in the embodiment of the present application is applicable to a case where the electronic device includes a triple system or a multiple system, and specifically, before and after the system is switched, an implementation principle and an implementation process for displaying picture data of the device to be consistent are not described herein again.
In this embodiment, the electronic device may include three or more processors besides at least the first processor and the second processor, and in this way, different processors are used to run different systems, and power consumptions corresponding to different processors are different. When the current running system is switched from a system with relatively high power consumption to a system with relatively low power consumption, the picture data of the equipment can be displayed to be consistent before and after the system is switched, and convenience is provided for a user to check the data.
In the image 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 acquires the image identifier of the image data corresponding to the first system, and then sends the image identifier to the second processor, so that the second processor controls the second system to display the image data according to the image identifier. Compared with the problem that the user cannot continuously check specific data due to the fact that the equipment pictures are switched with the system after the system is switched in the related technology, the scheme realizes that the picture data of the equipment are displayed to be consistent only by transmitting the picture identification before and after the system is switched, provides convenience for the user to check the data, and improves user experience.
Referring to fig. 7, a flowchart of a picture displaying method according to another embodiment of the present application is shown, where the present embodiment provides a picture displaying method, which can be applied 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 the second processor receives a picture identifier of picture data corresponding to the first system, wherein the picture identifier is obtained by the first processor if the system in the running state is switched from the first system to the second system.
Step S320: and the second processor controls the second system to display the picture data according to the picture identification.
In the embodiment of the present application, the electronic device may include a display controller (as shown in fig. 5 described above). 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 the picture data according to the picture identifier.
In the embodiment of the present application, the electronic device may also include at least two display controllers, for example, as shown in fig. 6, the electronic device may include at least a first display controller and a second display controller. In this manner, the second processor may start 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 the picture data according to the picture identifier, where the display controller takeover instruction is used to instruct the second processor to start the second display controller.
In the image display method provided in this embodiment, the second processor receives the image identifier of the image data corresponding to the first system, where the image identifier is obtained by the first processor if the system in the running state is switched from the first system to the second system, and then the second processor controls the second system to display the image data according to the image identifier. The method and the device have the advantages that before and after the system is switched, the picture data of the equipment are displayed to be consistent only by transmitting the picture identification, convenience is provided for a user to check the data, and user experience is improved.
Referring to fig. 8, which is a block diagram of a screen display apparatus according to an embodiment of the present disclosure, the present embodiment provides a screen display apparatus 400, which can be operated in an electronic device, where the electronic device at least includes a first system and a second system, and the apparatus 400 includes: data acquisition module 410, and display module 420:
the data obtaining module 410 is configured to obtain a picture identifier of picture data corresponding to the first system if the system in the running state is switched from the first system to the second system.
Optionally, the apparatus 400 may further include a system switching control module, configured to trigger the system in the running state to be switched from the first system to the second system when a duration of the screen of the electronic device in the screen-off state reaches a preset duration before the picture identifier of the picture data corresponding to the first system is acquired if the system in the running state is switched from the first system to the second system.
A display module 420, configured to send the picture identifier to the second system, so that the second system displays the picture data according to the picture identifier.
In this embodiment, the display module 420 may be specifically configured to store the picture identifier in the memory; and sending a content acquisition instruction to the second system to instruct the second system to acquire the picture identifier from the memory, and displaying the picture data according to the picture identifier.
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. In this case, as an implementation manner, the data obtaining module 410 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 picture identifier of picture data corresponding to the first system; the display module 420 may be configured to send the picture identifier to the second processor by the first processor, so that the second processor controls the second system to display the picture data according to the picture identifier. The display module 420 may be specifically configured to send, by the first processor, the picture identifier to the second processor through a hardware communication link.
Optionally, the apparatus 400 in this embodiment of the application 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 a display device of the electronic device to display the picture data according to the picture identifier.
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 the display device of the electronic device to display the picture data according to the picture identifier.
As another implementation manner, the data obtaining module 410 may be configured to receive, by the second processor, a picture identifier of picture data corresponding to the first system, where the picture identifier is obtained by the first processor if a system in an operating state is switched from the first system to the second system; and the display module 420 may be configured to control the second system to display the picture data according to the picture identifier by the second processor.
In this embodiment, the electronic device may further include a display controller, and in this manner, the display module 420 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 display device of the electronic device to display the picture data according to the picture identifier. Or the electronic device may further include at least a first display controller and a second display controller, in this manner, the display module 420 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 display device of the electronic device to display the picture data according to the picture identifier, where the display controller takeover instruction is used to instruct the second processor to start the second display controller.
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 above-mentioned image display method and apparatus, the embodiment of the present application further provides an electronic device 100 capable of executing the image display method.
In some embodiments, referring to fig. 9, 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 connected by a communication line. The memory 102 stores therein a program that can execute the contents of the foregoing embodiments, and the processor 104 can execute the program 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 more 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. 10, the electronic device 100 may at least include 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 picture identifier of picture data corresponding to the first system; the picture identifier is sent to the second processor 1042, so that the second processor 1042 controls the second system to display the picture data according to the picture identifier. The second processor 1042 is configured to: receiving a picture identifier of picture data corresponding to a first system, where the picture identifier is obtained by the first processor 1041 if a system in an operating state is switched from the first system to a second system; and controlling the second system to display the picture data according to the picture identifier.
In some embodiments, referring to fig. 11, 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. 10, in a process of switching a system in an operating state from a first system to a second 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 screen data according to a screen identifier.
In some embodiments, referring to fig. 12, the electronic device 100 at least includes 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. 11, in the process of switching the system in the running 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 the screen data according to the screen identifier.
Referring to fig. 13, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 500 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 500 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 500 includes a non-volatile computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
To sum up, according to the image display method, the apparatus, the electronic device, and the storage medium provided in the embodiments of the present application, if a system in an operating state is switched from a first system to a second system, an image identifier of image data corresponding to the first system is obtained, and then the image identifier is sent to the second system, so that the second system displays the image data according to the image identifier. Compared with the problem that the user cannot continuously check specific data due to the fact that the equipment pictures are switched with the system after the system is switched in the related technology, the scheme realizes that the picture data of the equipment are displayed to be consistent only by transmitting the picture identification before and after the system is switched, provides convenience for the user to check the data, and improves user experience.
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, those of ordinary skill in the art will understand 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 necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (15)

1. A picture 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 picture identifier of picture data corresponding to the first system;
and sending the picture identifier to the second system so that the second system displays the picture data according to the picture identifier.
2. The method according to claim 1, wherein the sending the picture identifier to the second system to cause the second system to display the picture data according to the picture identifier comprises:
storing the picture identification in a memory;
and sending a content acquisition instruction to the second system to instruct the second system to acquire the picture identifier from the memory, and displaying the picture data according to the picture identifier.
3. The method according to claim 1 or 2, wherein before the acquiring the picture identifier of the picture data corresponding to the first system if the system in the running state is switched from the first system to the second system, the method further comprises:
when the duration of the screen of the electronic equipment in the screen-off state reaches a preset duration, triggering the system in the running state to be switched from the first system to the second system.
4. A picture display method is applied to an electronic device, the electronic device at least comprises a first processor and a second processor, the first processor is used for operating a first system, the second processor is used for operating 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, the first processor acquires the picture identifier of the picture data corresponding to the first system;
and the first processor sends the picture identifier to the second processor, so that the second processor controls the second system to display the picture data according to the picture identifier.
5. The method of claim 4, wherein the first processor sending the picture identifier to the second processor comprises:
and the first processor sends the picture identifier to the second processor through a hardware communication link.
6. The method of claim 4, 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 takeover instruction to the second processor, wherein the display controller takeover instruction is used for indicating the second processor to start controlling the display controller, so that the display controller controls a display device of the electronic equipment to display the picture data according to the picture identifier.
7. The method of claim 4, 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 a display device of the electronic equipment to display the picture data according to the picture identifier.
8. A picture display method is applied to an electronic device, the electronic device at least comprises a first processor and a second processor, the first processor is used for operating a first system, the second processor is used for operating a second system, and the method comprises the following steps:
the second processor receives a picture identifier of picture data corresponding to the first system, wherein the picture identifier 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 second system to display the picture data according to the picture identification.
9. The method of claim 8, wherein the electronic device further comprises a display controller, and wherein the second processor controls the second system to display the screen data according to the screen identifier, 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 a display device of the electronic equipment to display the picture data according to the picture identifier.
10. The method of claim 8, wherein the electronic device further comprises at least a first display controller and a second display controller, and the second processor controls the second system to display the screen data according to the screen identifier, comprising:
and responding to a display controller takeover instruction sent by the first processor, and starting the second display controller by the second processor so as to enable the second display controller to control a display device of the electronic equipment to display the picture data according to the picture identifier, wherein the display controller takeover instruction is used for indicating the second processor to start the second display controller.
11. An image display apparatus, operating on an electronic device, the electronic device including at least a first system and a second system, the apparatus comprising:
the data acquisition module is used for acquiring the picture identifier of the picture data 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 picture identifier to the second system so as to enable the second system to display the picture data according to the picture identifier.
12. 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 picture identifier of picture data corresponding to the first system;
and sending the picture identifier to the second processor, so that the second processor controls the second system to display the picture data according to the picture identifier.
13. 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 picture identifier of picture data corresponding to the first system, wherein the picture data 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 second system to display the picture data according to the picture identification.
14. 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-3.
15. 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-3.
CN202110304271.6A 2021-03-22 2021-03-22 Picture display method and device, electronic equipment and storage medium Pending CN115113993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110304271.6A CN115113993A (en) 2021-03-22 2021-03-22 Picture display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110304271.6A CN115113993A (en) 2021-03-22 2021-03-22 Picture display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115113993A true CN115113993A (en) 2022-09-27

Family

ID=83323869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110304271.6A Pending CN115113993A (en) 2021-03-22 2021-03-22 Picture display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115113993A (en)

Similar Documents

Publication Publication Date Title
US10565965B2 (en) Method and device for controlling refresh rate of mobile terminal and mobile terminal
US10621953B2 (en) Method for controlling display refresh rate and electronic device
EP3584676B1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
EP3373131A1 (en) Method, device and non-transitory computer-readable storage medium for controlling frame rate of mobile terminal, and mobile terminal thereof
CN110377141B (en) Application processing method and device, electronic equipment and storage medium
US11145238B2 (en) Method for controlling image graphing of terminal, nontransitory computer-readable storage medium, and terminal
CN106817753B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
US20120173986A1 (en) Background synchronization within a multi-environment operating system
CN112905289A (en) Application picture display method, device, terminal, screen projection system and medium
CN111813492B (en) Display method and device for quick application, electronic equipment and storage medium
CN110703944B (en) Touch data processing method and device, terminal and storage medium
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
US20210216177A1 (en) Navigation bar controlling method and terminal
US8890878B2 (en) Operation terminal and screen image display method for operation terminal
CN110569008B (en) Screen data processing method and device and electronic equipment
CN110602772A (en) WiFi module control method, control device, electronic device and storage medium
CN113038050B (en) Split screen display control method and device, terminal equipment and storage medium
CN111752632A (en) Control method and device of mobile terminal, mobile terminal and storage medium
WO2023124634A1 (en) Display method and apparatus, electronic device, and storage medium
CN115113993A (en) Picture display method and device, electronic equipment and storage medium
US11303595B2 (en) Method and device for displaying text and video in two threads
CN115114039A (en) Picture display method and device, electronic equipment and storage medium
CN115237323A (en) Interface display method and device, electronic equipment and storage medium
CN111045738B (en) Electronic equipment control method and device, electronic equipment and storage medium
WO2022199299A1 (en) Display method and apparatus, and electronic device and storage medium

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