CN115114039A - 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
CN115114039A
CN115114039A CN202110302883.1A CN202110302883A CN115114039A CN 115114039 A CN115114039 A CN 115114039A CN 202110302883 A CN202110302883 A CN 202110302883A CN 115114039 A CN115114039 A CN 115114039A
Authority
CN
China
Prior art keywords
processor
display
picture data
electronic device
display controller
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
CN202110302883.1A
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 CN202110302883.1A priority Critical patent/CN115114039A/en
Publication of CN115114039A publication Critical patent/CN115114039A/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/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

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 picture data corresponding to the first system; and sending the picture data to the second system so that the second system displays the picture data. The method realizes that the picture data of the equipment is displayed to be consistent 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 application relates to the field of electronic devices, and in particular, 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 picture data corresponding to the first system; and sending the picture data to the second system so that the second system displays the picture data.
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 run a first system, and the second processor is configured to run a second system, where the method includes: if the system in the running state is switched from the first system to the second system, the first processor acquires picture data corresponding to the first system; and the first processor sends the picture data to the second processor so that the second processor controls the second system to display the picture data.
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 picture data corresponding to the first system, wherein the picture data are 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.
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 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 data to the second system so as to enable the second system to display the picture data.
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 picture data corresponding to the first system; and sending the picture data to the second processor so that the second processor controls the second system to display the picture data.
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 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.
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 can be called by a processor to execute the screen display method provided in the first aspect.
According to the image display method, the image 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 image data corresponding to the first system is obtained, and then the image data is sent to the second system, so that the second system displays the image data. 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 before and after the system is switched, 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 structure of 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 device are increased, and the setting of the dual system on the intelligent device becomes possible. When the intelligent device configured with the dual systems performs system switching, the content displayed on the display interface of the intelligent device is often switched along with the system switching, which may affect the experience of some users with specific data viewing requirements.
The inventor finds that if a system in a running state is switched from a first system to a second system, picture data corresponding to the first system can be acquired, and then the picture data is sent to the second system, so that the second system displays the picture data. 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 method achieves the effect that the picture data of the equipment are displayed to be consistent before and after the system is switched, 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, a device, an electronic device, and a storage medium, which are provided by the present application, and can make picture data of devices displayed to be consistent 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 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.
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 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.
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 text, 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 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 screen data 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 screen data corresponding to the first system, so as to synchronize the screen data to the second system.
In an embodiment, when the system in the running state is the first system, if no operation of the screen of the electronic device by the user is detected within a certain time period (for example, within 30 seconds, a specific time period 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 electronic device will suspend rendering the image data corresponding to the first system, and in this case, the image data corresponding to the first system may be acquired and stored in the memory of the electronic device. Then, as one way, the picture data corresponding to the first system may be acquired (read) from the memory.
Step S120: and sending the picture data to the second system so that the second system displays the picture data.
As a mode, the acquired image data corresponding to the first system may be stored in a memory of the electronic device, and a data acquisition instruction may be sent to the second system to instruct the second system to acquire the image data corresponding to the first system from the memory and display the image data, so that the image 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 example of a smart watch, please refer to fig. 2, which shows an example diagram illustrating that screen data of the smart watch is displayed to be consistent before and after the system is switched provided by the embodiment of the present application. The picture shown on the left side of fig. 2 is a picture 10 displayed on a desktop dial of the smart watch when the system currently in the running state is the first system, when the system currently in the running state is switched from the first system to the second system, the processor of the smart watch can send the picture 10 to the second system, and the second system can display the picture 10, so that when the system currently in the running state is the second system, a picture 20 (as shown on the right side of fig. 2) displayed on the desktop dial of the smart watch is the same as the content of the picture 10, so that a user can still view related content after the system is switched, and visual jump caused by picture change due to system switching can be avoided.
In another specific application scenario, please refer to fig. 3, which illustrates an exemplary diagram 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. Wherein, when the picture shown at the leftmost of fig. 3 represents that the system in the running state is the first system, the standby picture displayed on the screen of the electronic device changes to the black screen picture shown in the middle of fig. 3 after the first system is in a sleep state or is turned off, and when a user clicks a physical key for turning on the screen or directly clicks the screen (for example, a touch screen), the system in the running state can be triggered to be switched from the first system to the second system, the electronic device sends the standby picture to the second system, and the second system displays the standby picture, so that the picture displayed on the screen of the electronic device after the system in the running state is switched to the second system is still the standby picture (such as the picture shown at the rightmost of fig. 3), thereby realizing that the pictures displayed on the screen of the electronic device before and after the system is switched are consistent, the poor visual experience of the user caused by frequent switching of the pictures is avoided.
Optionally, the acquired image data corresponding to 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 image data corresponding to the first system from the local and display the image 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 data corresponding to the first system is obtained, and then the image data is sent to the second system, so that the second system displays the image data. 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 before and after the system is switched, convenience is provided for the user to check the data, and user experience is improved.
Referring to fig. 4, 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 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 the present embodiment are operated by different processors. The first system and the second system in this embodiment may be configured to execute 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 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 data corresponding to the first system, where the principle and the specific implementation process for obtaining the picture data corresponding to the first system may refer to the description in the foregoing embodiments, and are not described herein again.
Optionally, the first processor in this embodiment may capture a last displayed frame of picture before the screen state of the electronic device is switched from the bright screen state to the off screen state when the system in the running state is switched from the first system to the second system, and use the captured picture as picture data corresponding to the first system.
Optionally, when the first system and the second system are configured with different functions for executing the same application, in order to prevent data confusion, two partial regions may be created in the memory of the electronic device, where the two partial regions respectively correspond to a sub-memory for storing data received by the first processor or data corresponding to the function executed by the first processor and data received by the second processor or data corresponding to the function executed by the second processor. The sub memory for storing the data received by the first processor may be referred to as a first memory, and the first memory corresponds to the first system. The sub-memory for storing data received by the second processor may be referred to as a second memory, and the second memory corresponds to a second system. In this manner, 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.
In a specific application scenario, it is assumed that an electronic device is configured with an application 1, a first system of the electronic device is configured to execute an a function of the application 1, and a second system of the electronic device is configured to execute a B function of the application 1, where the a function and the B function are different functions. Optionally, the a function and the B function may both be background functions. If the system in the running state is the first system and the first system is executing the function a, the image displayed on the screen of the electronic device is the interface of the function a, and in this case, if the system in the running state is currently switched from the first system to the second system, the first processor may intercept a frame of system interface displayed last by the first system before the system is switched, as image data corresponding to the first system, and store the image data in the first memory. Meanwhile, the first processor may send a content data obtaining instruction to the second processor to instruct the second processor to obtain the picture data from the first memory. The interface of the function A can be displayed on the system interface of the first system in a floating manner.
Step S220: and the first processor sends the picture data to the second processor so that the second processor controls the second system to display the picture data.
Alternatively, the first processor may send the frame data to the second processor via a hardware communication link (e.g., a Serial Peripheral Interface (SPI) bus). After receiving the image data, the second processor may store the image data in a second memory corresponding to the second system, so that when the second system wakes up, the image data may be directly read from the second memory without acquiring the image data from the first memory.
Continuing with the above example as an example, after the second processor acquires the picture data, the picture data may be stored in the second memory, and the second system is controlled to display the picture data, that is, after the system is switched to the second system, when the second system executes the B function of the application 1, the interface of the second system is the same as the interface of the first system (at this time, the interface of the B function is displayed on the system interface of the second system in a floating manner), so that different contents may be displayed to the user while the system interfaces before and after the system switching are kept unchanged, and poor visual experience of the user due to switching of the system interfaces is avoided.
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 data 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 the picture data.
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 of sending the picture data to the second processor, the first processor may control to turn off the first display controller (i.e., 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 (i.e., the screen of the electronic device) to display the picture data.
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 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 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 data corresponding to the first system, and then sends the image data to the second processor, so that the second processor controls the second system to display the image data. 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 before and after the system is switched, convenience is provided for the user to check the data, and user experience is improved.
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 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.
Step S320: and the second processor controls the second system to display the picture data.
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 controlling 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 apparatus (i.e., the screen of the electronic apparatus) to display the picture data.
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, 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 data corresponding to the first system, where the image 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 then the second processor controls the second system to display the image data. The display method and the display device have the advantages that the display of the picture data of the equipment is consistent before and after the system is switched, convenience is provided for a user to check the data, and the 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 picture data corresponding to the first system 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 data to the second system, so that the second system displays the picture data.
In this embodiment, the display module 420 may be specifically configured to store the picture data in a memory; and sending a data acquisition instruction to the second system to instruct the second system to acquire the picture data from the memory and display the 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. 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, image data corresponding to the first system; and the display module 420 may be configured to send the picture data to the second processor by the first processor, so that the second processor controls the second system to display the picture data. The display module 420 may be specifically configured to send the screen data to the second processor through a hardware communication link by the first processor.
Optionally, the apparatus 400 in this embodiment of the present 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.
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 display device of the electronic device to display the screen data.
As another implementation manner, the data obtaining module 410 may be configured to receive, by the second processor, picture data corresponding to the first system, where the picture data 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 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 screen data. 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, 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 several embodiments provided in the present application, the coupling of the modules to each other may be electrical, mechanical or other forms of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module 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 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 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. 10, 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 picture data corresponding to the first system; the image data is sent to the second processor 1042, so that the second processor 1042 controls the second system to display the image data. The second processor 1042 is configured to: receiving picture data corresponding to a first system, where the picture data is obtained by a first processor 1041 when 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.
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 the screen data.
In some embodiments, referring to fig. 12, 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. 11, 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 the screen data.
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 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, image data corresponding to the first system is obtained, and then the image data is sent to the second system, so that the second system displays the image data. 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 before and after the system is switched, convenience is provided for the user to check the data, and user experience 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 necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

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 picture data corresponding to the first system;
and sending the picture data to the second system so that the second system displays the picture data.
2. The method of claim 1, wherein sending the picture data to the second system to cause the second system to display the picture data comprises:
storing the picture data in a memory;
and sending a data acquisition instruction to the second system to instruct the second system to acquire the picture data from the memory and display the picture data.
3. 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 picture data corresponding to the first system;
and the first processor sends the picture data to the second processor so that the second processor controls the second system to display the picture data.
4. The method of claim 3, wherein the first processor sending the picture data to the second processor comprises:
and the first processor sends the picture data to the second processor through a hardware communication link.
5. The method of claim 3, wherein the electronic device further comprises a display controller, the method further comprising:
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 instructing 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.
6. The method of claim 3, 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.
7. 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 picture data corresponding to the first system, wherein the picture data are 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.
8. The method of claim 7, wherein the electronic device further comprises a display controller, and wherein the second processor controls the second system to display the screen data, 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.
9. The method of claim 7, 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, 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 a display device of the electronic equipment to display the picture data, wherein the display controller takeover instruction is used for indicating the second processor to start the second display controller.
10. 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 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 data to the second system so as to enable the second system to display the picture data.
11. 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 picture data corresponding to the first system;
and sending the picture data to the second processor so that the second processor controls the second system to display the picture data.
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 second processor configured to:
receiving 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.
13. 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-2.
14. 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-2.
CN202110302883.1A 2021-03-22 2021-03-22 Picture display method and device, electronic equipment and storage medium Pending CN115114039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110302883.1A CN115114039A (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
CN202110302883.1A CN115114039A (en) 2021-03-22 2021-03-22 Picture display method and device, electronic equipment and storage medium

Publications (1)

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

Family

ID=83323968

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN115114039A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110254857A1 (en) * 2010-04-16 2011-10-20 Casio Computer Co., Ltd Display apparatus and computer readable medium
CN103064645A (en) * 2011-10-21 2013-04-24 联想(北京)有限公司 Display method and electronic equipment
CN105589743A (en) * 2015-04-14 2016-05-18 中国银联股份有限公司 Method for switching picture between systems
CN107678824A (en) * 2017-10-11 2018-02-09 青岛海信移动通信技术股份有限公司 Screen picture switching method and device based on system switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110254857A1 (en) * 2010-04-16 2011-10-20 Casio Computer Co., Ltd Display apparatus and computer readable medium
CN103064645A (en) * 2011-10-21 2013-04-24 联想(北京)有限公司 Display method and electronic equipment
CN105589743A (en) * 2015-04-14 2016-05-18 中国银联股份有限公司 Method for switching picture between systems
CN107678824A (en) * 2017-10-11 2018-02-09 青岛海信移动通信技术股份有限公司 Screen picture switching method and device based on system switching

Similar Documents

Publication Publication Date Title
US10565965B2 (en) Method and device for controlling refresh rate of mobile terminal and mobile terminal
US20210365165A1 (en) Method of performing a split-screen display, electronic device, and storage medium
US10585637B2 (en) Information processing method and electronic device
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
CN111813492B (en) Display method and device for quick application, electronic equipment and storage medium
US20210216177A1 (en) Navigation bar controlling method and terminal
CN111752632A (en) Control method and device of mobile terminal, mobile terminal and storage medium
CN112148167A (en) Control setting method and device and electronic equipment
CN113038050B (en) Split screen display control method and device, terminal equipment and storage medium
CN108334349B (en) Mobile terminal, display image switching method thereof and computer-readable storage medium
CN113559498A (en) Three-dimensional model display method and device, storage medium and electronic equipment
WO2023124634A1 (en) Display method and apparatus, electronic device, and storage medium
WO2024007760A1 (en) Interface display method and apparatus, electronic device, and storage medium
CN111918099A (en) Video processing method and device, electronic equipment and storage medium
CN115114039A (en) Picture display method and device, electronic equipment and storage medium
JP2016503528A (en) Virtual navigation bar switching control method and apparatus
CN108401455B (en) Multi-system control method, control device and mobile terminal
CN110737323A (en) Screen display method, device, storage medium and terminal
US11303595B2 (en) Method and device for displaying text and video in two threads
CN115113993A (en) Picture display method and device, electronic equipment and storage medium
WO2022199299A1 (en) Display method and apparatus, and electronic device and storage medium
CN113806000A (en) Display method and device and electronic equipment

Legal Events

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