Screen display method and device, electronic equipment and computer storage medium
By adopting time-sharing multiplexing strategy and switching modules in multi-screen electronic devices, the problem of untimely transmission of multi-screen display data is solved, real-time display of each display screen and the processor burden are reduced, and system efficiency is improved.
Patent Information
- Application Number
- CN202510358233.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2025-07-18
Smart Images

Figure CN120335743A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technologies, and in particular, to a method, apparatus, electronic device, and computer storage medium for screen display. Background Art
[0002] With the development of display screen manufacturing technologies, the screens of electronic devices are gradually evolving from single screens to dual screens or even multi-screens. For electronic devices with at least two screens, the increase in the number of display screens poses higher requirements for the software control of each display screen by the processor chip. Summary of the Invention
[0003] Embodiments of this application provide a method, apparatus, electronic device, and computer storage medium for screen display, so as to achieve the technical effect of controlling each display screen to display corresponding display data in the case of at least two display screens.
[0004] To achieve the above object, this application adopts the following technical solutions:
[0005] In a first aspect, embodiments of this application provide a method for screen display, including: receiving a multi-screen display instruction, where the multi-screen display instruction is used to instruct at least two display screens to respectively display corresponding pictures; obtaining a picture to be displayed on a first display screen to obtain a first picture; converting the first picture into display data to be sent to the first display screen; sending the display data of the first display screen to the first display screen so that the first display screen displays the first picture; after sending the display data of the first display screen to the first display screen, obtaining a picture to be displayed on a second display screen to obtain a second picture; converting the second picture into display data to be sent to the second display screen; sending the display data of the second display screen to the second display screen so that the second display screen displays the second picture.
[0006] The screen display method provided by embodiments of this application can be applied to an electronic device configured with at least two display screens. Taking the method provided by this application as the execution subject for the above electronic device as an example, when a user performs a specified preset operation on the electronic device, for example, the user clicks on a certain icon, issues a voice command, knocks on the display screen twice with a knuckle, etc. (including but not limited to the above examples), when the electronic device receives the specified operation, it determines that it has received a multi-screen display instruction and displays corresponding pictures on at least two display screens. Optionally, the pictures displayed on each display screen can be indicated by the above preset operations. For example, knocking on the first display screen and the second display screen first indicates that the content displayed on the first display screen is synchronously displayed on the second display screen, and so on.
[0007] Taking the multi-screen display instruction used to indicate the display of corresponding pictures on at least the first display screen and the second display screen as an example, after receiving the multi-screen display instruction, each display screen is processed in turn. The picture of the first display screen can be processed first and the display sending can be completed: after obtaining the first picture to be displayed on the first display screen, the first picture is converted into the first set of data that the first display screen can recognize, and then the first set of data is sent to the first display screen; after processing and sending the display sending data of the first display screen and completing the sending, the picture of the second display screen is processed and the display sending is completed: after obtaining the second picture to be displayed on the second display screen, the second picture is converted into the second set of data that the second display screen can recognize, and then the second set of data is sent to the second display screen. After processing and sending the display sending data of the second display screen and completing the sending, the data of the first display screen is processed again and the display sending is completed, and so on in a cycle. If there is also a third display screen, the cycle can be carried out in the order of the first display screen → the second display screen → the third display screen. Optionally, other orders can also be adopted. In one cycle, some display screens can be processed multiple times. For example, the order of one cycle is the first display screen → the third display screen → the third display screen → the second display screen, etc. The embodiments of the present application do not make specific limitations on this.
[0008] The method provided by the embodiments of the present application executes the generation and display sending of the next set of display sending data only after the generation and display sending of a set of display sending data are completed. Since the display sending process also takes a certain amount of time, obtaining the picture to generate the display sending data after a set of display sending data is sent can prevent situations such as the picture corresponding to the display sending data generated by the processor not being real-time, or the display sending data generated by the processor not being sent out in time resulting in the accumulation of display sending data in the cache, and can reduce the data processing pressure of the processor. It can be applied to the application scenario where there is only one display interface in the processor of the electronic device to output the display sending data to each display screen.
[0009] In a possible implementation manner, before sending the display sending data of the first display screen to the first display screen, the method further includes: sending a first control signal to the switching module, where the first control signal is used to control the switching module to conduct the first communication connection with the first display screen, and the first communication connection is used to transmit the display sending data of the first display screen; before sending the display sending data of the second display screen to the second display screen, the method further includes: sending a second control signal to the switching module, where the second control signal is used to control the switching module to conduct the second communication connection with the second display screen, and the second communication connection is used to transmit the display sending data of the second display screen.
[0010] In a possible implementation, converting the first screen into the display data to be sent to the first display screen includes: generating the display data corresponding to the first screen according to the screen configuration parameters of the first display screen; converting the second screen into the display data to be sent to the second display screen includes: generating the display data corresponding to the second screen according to the screen configuration parameters of the second display screen.
[0011] In a possible implementation, sending the display data of the first display screen to the first display screen includes: sending the display data of the first display screen according to the communication protocol of the first communication connection; sending the display data of the second display screen to the second display screen includes: sending the display data of the second display screen according to the communication protocol of the second communication connection.
[0012] In a possible implementation, the communication protocol of the first communication connection and the communication protocol of the second communication connection are the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
[0013] In a possible implementation, receiving a multi-screen display instruction includes: receiving a first operation for indicating to display a first camera function page on the first display screen; in response to the first operation, displaying the first camera function page on the first display screen; receiving a second operation for indicating to display a second camera function page on the second display screen on the first camera function page; in response to the second operation, displaying the second camera function page on the second display screen.
[0014] In a possible implementation, obtaining the screen to be displayed on the first display screen includes: obtaining a first view-finding screen captured by a camera; generating a first camera function page according to the first view-finding screen; obtaining the screen to be displayed on the second display screen includes: obtaining a second view-finding screen captured by the camera; generating a second camera function page according to the second view-finding screen.
[0015] In a possible implementation, after the first display screen displays the first screen, the first display screen switches the displayed screen when receiving the next display data; after the second display screen displays the second screen, the second display screen switches the displayed screen when receiving the next set of display data.
[0016] In a second aspect, an embodiment of the present application further provides a screen display device, and the device is used to execute the screen display method described in any item of the first aspect.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, including: at least two display screens; one or more processors; one or more memories; a communication module; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: receiving a multi-screen display instruction, where the multi-screen display instruction is used to instruct at least two display screens to respectively display corresponding pictures; obtaining the picture to be displayed on the first display screen to obtain a first picture; converting the first picture into display data to be sent to the first display screen; sending the display data of the first display screen to the first display screen so that the first display screen displays the first picture; after sending the first set of data to the first display screen, obtaining the picture to be displayed on the second display screen to obtain a second picture; converting the second picture into display data to be sent to the second display screen; sending the display data of the second display screen to the second display screen so that the second display screen displays the second picture.
[0018] In a possible implementation manner, when the instruction is executed by the electronic device, before sending the display data of the first display screen to the first display screen, the electronic device is caused to perform the following steps: sending a first control signal to a switching module, where the first control signal is used to control the switching module to conduct a first communication connection with the first display screen, and the first communication connection is used to transmit the display data of the first display screen; when the instruction is executed by the electronic device, before sending the display data of the second display screen to the second display screen, the electronic device is caused to perform the following steps: sending a second control signal to the switching module, where the second control signal is used to control the switching module to conduct a second communication connection with the second display screen, and the second communication connection is used to transmit the display data of the second display screen.
[0019] In a possible implementation manner, when the instruction is executed by the electronic device, when converting the first picture into display data to be sent to the first display screen, the electronic device is caused to perform the following steps: generating display data corresponding to the first picture according to the screen configuration parameters of the first display screen; when the instruction is executed by the electronic device, when converting the second picture into display data to be sent to the second display screen, the electronic device is caused to perform the following steps: generating display data corresponding to the second picture according to the screen configuration parameters of the second display screen.
[0020] In a possible implementation, when the instruction is executed by the electronic device, causing the electronic device to send the display data of the first display screen to the first display screen, the following steps are executed: sending the display data of the first display screen according to the communication protocol of the first communication connection; when the instruction is executed by the electronic device, causing the electronic device to send the display data of the second display screen to the second display screen, the following steps are executed: sending the display data of the second display screen according to the communication protocol of the second communication connection.
[0021] In a possible implementation, the communication protocols of the first communication connection and the second communication connection are the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
[0022] In a possible implementation, when the instruction is executed by the electronic device, causing the electronic device to receive a multi-screen display instruction, the following steps are executed: receiving a first operation for indicating to display a first camera function page on the first display screen; in response to the first operation, displaying the first camera function page on the first display screen; receiving a second operation for indicating to display a second camera function page on the second display screen on the first camera function page; in response to the second operation, displaying the second camera function page on the second display screen.
[0023] In a possible implementation, when the instruction is executed by the electronic device, causing the electronic device to obtain the picture to be displayed on the first display screen, the following steps are executed: obtaining a first viewfinder picture captured by the camera; generating a first camera function page according to the first viewfinder picture; when the instruction is executed by the electronic device, causing the electronic device to obtain the picture to be displayed on the second display screen, the following steps are executed: obtaining a second viewfinder picture captured by the camera; generating a second camera function page according to the second viewfinder picture.
[0024] In a possible implementation, when the instruction is executed by the electronic device, after the electronic device displays a first picture on the first display screen, the first display screen switches the displayed picture when receiving the next display data; after the second display screen displays a second picture, the second display screen switches the displayed picture when receiving the next set of display data.
[0025] In a fourth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions, when the computer instructions run on a terminal, causing the terminal to execute the method described in any item of the first aspect.
[0026] In a fifth aspect, the present application provides a computer program product, when the computer program product runs on a terminal, causing the terminal to execute the method described in any item of the first aspect.
[0027] Understandably, the terminal, computer storage medium, and computer program product provided above are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Structural schematic diagram of an electronic device provided by an embodiment of the present application Figure 1 ;
[0029] Figure 2a Interaction schematic diagram of a screen display method provided by an embodiment of the present application Figure 1 ;
[0030] Figure 2b Interaction schematic diagram II of a screen display method provided by an embodiment of the present application;
[0031] Figure 3 Flow schematic diagram of a screen display method provided by an embodiment of the present application Figure 1 ;
[0032] Figure 4a Interaction schematic diagram of a screen display method provided by an embodiment of the present application Figure 3 ;
[0033] Figure 4b Interaction schematic diagram IV of a screen display method provided by an embodiment of the present application;
[0034] Figure 5 Flow schematic diagram II of a screen display method provided by an embodiment of the present application;
[0035] Figure 6 Flow schematic diagram of a screen display method provided by an embodiment of the present application Figure 3 ;
[0036] Figure 7 Timing schematic diagram of a screen display method provided by an embodiment of the present application;
[0037] Figure 8 Structural schematic diagram of a screen display device provided by an embodiment of the present application;
[0038] Figure 9 Structural schematic diagram II of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] The following will describe the embodiments of the present embodiment in detail with reference to the drawings.
[0040] A method for screen display provided by an embodiment of this application can be applied to an electronic device. The electronic device can be a mobile terminal (such as a mobile phone, a tablet computer, etc.), a smart screen, a drone, an intelligent connected vehicle (ICV for short), a smart / intelligent car, or an in-vehicle device, etc. Figure 1 The following shows a hardware structure block diagram of an optional electronic device.
[0041] As Figure 1 As shown, the electronic device includes a first display screen 101, a second display screen 102, a processor 100, and a switch circuit 103.
[0042] The processor 100 may include one or more processing units. For example, the processor 100 may include a central processing unit (CPU for short), an application processor (AP for short), a modem processor, a graphics processing unit (GPU for short), an image signal processor (ISP for short), a controller, a video codec, a digital signal processor (DSP for short), a baseband processor, and / or a neural-network processing unit (NPU for short), etc., one or more of the multiple processing units. Among them, different processing units may be separate independent hardware devices, or may be integrated in the same or different hardware devices.
[0043] A memory may also be provided in the processor 100 for storing instructions and data. In some embodiments, the memory in the processor 100 may be a cache memory. This memory can save the instructions or data that the processor 100 has just used or recycled. If the processor 100 needs to use this instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 100, and thus improves the efficiency of the system.
[0044] In addition to the memory provided in the processor 100, the electronic device may further include other memories (hereinafter referred to as internal memories) for storing one or more computer programs, and the one or more computer programs include instructions. The processor 100 may execute the instructions stored in the internal memory, so that the electronic device executes the screen display method, various functional applications, and data processing provided in some embodiments of the present application. The internal memory may include a program storage area and a data storage area. Among them, the program storage area may store an operating system; the program storage area may also store one or more application programs (such as a gallery, contacts, etc.). The data storage area may store data created during the use of the electronic device (such as photos, contacts, etc.). In addition, the internal memory may further include high-speed random access memory, non-volatile memory, etc., such as one or more disk storage devices, flash memory devices, universal flash storage (UFS), etc. In some other embodiments, the processor 100 makes the electronic device execute the various methods, as well as various functional applications and data processing provided in the embodiments of the present application by running the instructions stored in the internal memory and / or the instructions stored in the memory provided in the processor.
[0045] The processor 100 may further include one or more interfaces, where, as Figure 1As shown, the processor 100 includes at least a first display interface 1001. The first display interface 1001 is used to output display data so that a display screen receiving the display data can display the picture content carried in the display data. Optionally, the first display interface 1001 may be a display serial interface (DSI) transmitter (TX) based on the mobile industry processor interface (MIPI) protocol. The interfaces configured by the processor 100 may also include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0046] The switch circuit 103 can be a hardware circuit structure, which can be implemented in the form of an integrated circuit. The switch circuit 103 can be printed in a hardware device in the electronic device. For example, the switch circuit 103 can be set in the same chip as the processor 100, such as a System-on-a-Chip (SOC) chip. Or, the switch circuit 103 can also be set in a chip outside the chip where the processor 100 is located. Or, the switch circuit 103 can also be used as a separate hardware device and be independently set.
[0047] The switching circuit 103 can be controlled by the control signal received by the control terminal 1036 to select one of the communication connections 1031 between the switching circuit 103 and the second display interface 1010 and the communication connection 1032 between the switching circuit 103 and the third display interface 1020 to connect with the communication connection 1003 between the first display interface 1001 and the switching circuit 103. For example, if the control signal received by the control terminal 1036 is at a high level, the switching circuit 103 connects the first display interface 1001 and the second display interface 1010 and disconnects the first display interface 1001 and the third display interface 1020. If the control signal is at a low level, the switching circuit 103 disconnects the first display interface 1001 and the second display interface 1010 and connects the first display interface 1001 and the third display interface 1020. Among them, the control signal received by the control terminal 1036 can be sent through the control terminal 1002 of the processor 100. In some alternative embodiments, the control terminal 1002 can be integrated into any interface of the processor 100.
[0048] The first display screen 101 and the second display screen 102 can be used to display images, videos, etc. The first display screen 101 and the second display screen 102 can include display panels. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.
[0049] In addition, the first display screen 101 and the second display screen 102 also respectively include corresponding display driving circuits: the first display driving circuit 1010 and the second display driving circuit 1020. Optionally, the display driving circuit can be an independent hardware chip, such as a display driver integrated circuit (abbreviated as DDIC). Among them, corresponding display interfaces are also configured on each display driving circuit: the second display interface 1011 and the third display interface 1021. Each display driving circuit can convert the signals received by the corresponding configured display interface into control signals for controlling the light emission of the electronic devices on the display panel according to the control requirements of the corresponding display panel. Among them, when the first display interface 1001 is a DSI transmitter based on the MIPI protocol, the second display interface 1011 and the third display interface 1021 can be DSI receivers (abbreviated as RX) based on the MIPI protocol.
[0050] Exemplarily, the above-mentioned electronic device can specifically be a mobile phone. Figure 2a and Figure 2b The figures respectively show a front view schematic diagram and a back view schematic diagram of an electronic device. As Figure 2a shown, the front of the mobile phone includes a display screen: the first display screen 101, and the back of the mobile phone includes a display screen: the second display screen 102. Among them, the first display screen 101 can be the display screen in a touch screen, and the touch screen is also configured with a touch sensor for sensing the touch of a medium (such as a finger, a stylus, etc.), generating corresponding electrical signals to determine information such as the position and time of the touch. Optionally, the second display screen 102 can also be the display screen in a touch screen, that is, in an optional example, both the front and the back of the mobile phone can be configured with touch screens. In some other examples, more display screens can also be included, which are not elaborated in the embodiments of the present application.
[0051] As Figure 2a and 2b shown, the mobile phone provided in this example can also include a camera 104 and a camera 105. Among them, the camera 105 includes one or more cameras, and each camera is used to capture images. The mobile phone can implement functions such as taking pictures or videos through an ISP, a video codec, a GPU, and an application processor, etc.
[0052] Among them, the ISP is used to process the data fed back by the camera. For example, when taking a photo, the shutter is opened, and light passes through the lens of the camera to the photosensitive element of the camera. The photosensitive element converts the optical signal into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and converts it into image data. The ISP can also optimize the algorithms for image noise, brightness, and skin color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera. The video codec is used to compress or decompress digital video. The mobile phone can support one or more video codecs. In this way, the mobile phone can play or record videos in multiple encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0053] The mobile phone can achieve the display function through the GPU processing unit, the first display screen 101, the second display screen 102, and the application processor in the processor 100. The GPU is a microprocessor for image processing, used to perform mathematical and geometric calculations and for graphics rendering. The processor 100 may include one or more GPUs, which execute program instructions to generate or change the display content.
[0054] The mobile phone may further include a communication module, and the communication module may include a mobile communication module and / or a wireless communication module to achieve the wireless communication function of the mobile phone. The wireless communication function of the mobile phone can be achieved through an antenna, a mobile communication module and / or a wireless communication module, a modulation and demodulation processor, and a baseband processor, etc. The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: an antenna can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0055] In some embodiments, the antenna of the mobile phone may include a first antenna and a second antenna. The first antenna of the mobile phone is coupled to the mobile communication module, and the second antenna is coupled to the wireless communication module, so that the mobile phone can communicate with the network and other devices through wireless communication technologies.
[0056] Among them, the mobile communication module can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to mobile phones. The mobile communication module may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA for short), etc. The mobile communication module can receive electromagnetic waves through the first antenna, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through the first antenna and radiate it out. In some embodiments, at least some functional modules of the mobile communication module can be disposed in the processor 100. In some embodiments, at least some functional modules of the mobile communication module and at least some modules of the processor 100 can be disposed in the same device.
[0057] The wireless communication module can provide solutions for wireless communications such as wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied to mobile phones. The wireless communication module can be one or more devices integrating one or more communication processing modules. The wireless communication module receives electromagnetic waves through the second antenna, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 100. The wireless communication module can also receive the signal to be sent from the processor 100, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the second antenna and radiate it out.
[0058] The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).
[0059] The mobile phone can also implement audio functions through an audio module, a speaker, a receiver, a microphone, a headphone jack, and an application processor, etc. Such as music playback, recording, etc.
[0060] It can be understood that the embodiments of the present application Figure 1 、 Figure 2a 、 Figure 2b The schematic structure does not constitute a specific limitation on the electronic device provided by the present application. In some other embodiments of the present application, the electronic device may include more or fewer components than Figure 1 、 Figure 2a 、 Figure 2b shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0061] Hereinafter, a method for screen display provided by the embodiments of the present application will be elaborated in detail with reference to the accompanying drawings.
[0062] As Figure 3As shown, a method for screen display provided by an embodiment of the present application can be applied to an electronic device including at least two display screens and a processor configured with a first display interface. For example, it can be implemented by the electronic device exemplified by Figure 1 or Figure 2a , Figure 2b shown. The method includes the following steps:
[0063] Step 301, receive a multi-screen display instruction.
[0064] The multi-screen display instruction is used to instruct at least two display screens to respectively display corresponding picture contents. The multi-screen display instruction can be generated by a processing unit of the processor 100 shown in Figure 1 . When the user performs a specified preset operation on the electronic device, for example, the user clicks on a certain icon, issues a voice instruction, knocks on the display screen twice with a knuckle, etc. (including but not limited to the above examples), the electronic device determines that it has received the multi-screen display instruction when it receives the specified operation.
[0065] An optional implementation is that after receiving the operation of the user clicking on a specified icon on the screen, the first processing unit of the processor 100 determines that it has received the multi-screen display instruction. Then, the first processing unit sends the multi-screen display instruction to the second processing unit of the processor 100, and the second processing unit receives the multi-screen display instruction.
[0066] In an optional implementation, the first display screen 101 is the display screen in the touch screen, and the touch screen further includes a touch sensor. Correspondingly, step 301 of receiving the multi-screen display instruction can include:
[0067] Step 3011, receive a specified operation performed by the user on the touch screen.
[0068] The specified operation can be a specific touch operation on the touch screen, which can include a single touch action or a combination of multiple touch actions. The specified operation can have a specified operation object, which can be a specific icon, area, etc. displayed on the touch screen. Correspondingly, the specified operation can be a specific gesture action such as clicking, swiping, double-tapping, etc. performed on a specific icon or area.
[0069] Step 3012, in response to the specified operation, determine that the multi-screen display instruction has been received.
[0070] After receiving the specified operation, the processor of the electronic device determines that the multi-screen display instruction has been received.
[0071] For example, the user clicks on the icon 110 on the mobile phone interface shown in Figure 2a to open the camera, so that the first display screen 101 of the mobile phone displays the picture shown in Figure 4a . Furthermore, the user can be in such asFigure 4a Click on icon 111 on the mobile phone interface shown to send a multi-screen display instruction to the mobile phone. This multi-screen display instruction is used to indicate that the viewfinder image captured by the camera is displayed on at least the first display screen 101 and the second display screen 102 (it should be noted that the viewfinder image is the current real-time viewfinder of the camera, not the photos stored in the mobile phone's album). After the processor 100 of the mobile phone monitors the touch event and further determines that the operation of the received touch event is the operation of the user clicking on icon 111, it determines that it has received the multi-screen display instruction.
[0072] In the above example, the content of the images displayed on the two screens of the first display screen 101 and the second display screen 102 may not be exactly the same. For example, as Figure 4b shown, in the content of the image displayed on the second display screen 102, it only includes an icon for taking pictures with a camera and the scene image captured by the camera. Compared with Figure 4a the content of the image displayed on the first display screen 101 shown, it lacks some function icons.
[0073] In some optional examples, the multi-screen display instruction can be used to indicate that only some of the at least two display screens respectively display the corresponding image content. Or, in some other optional examples, the multi-screen display instruction can also be to indicate that all the display screens respectively display the corresponding image content. The image content displayed on each display screen can be the same or different.
[0074] It should be noted that the image content is the content included in the image displayed on the display screen. For example, as Figure 2a shown, the content of the image displayed on the first display screen 101 of the mobile phone includes the background wallpaper of the desktop, time and date, weather, mobile signal strength, battery power, various application icons, etc. The image content can be determined by the processor 100, and the file format carrying the image content information can be any one of the pre-specified formats. For example, the file can carry the RGB (red, green, blue) pixel values of each pixel point.
[0075] Step 302, execute the corresponding display sending process for at least one of the at least two display screens in a preset order in turn.
[0076] The preset order is the order of alternately sending displays set in advance. Sending display means the step of sending the display data generated for a display screen to the corresponding display screen. In the embodiments of the present application, the display sending process includes generating the corresponding display data for the display screen and the process of sending the display data to the display screen.
[0077] After receiving a multi-screen display instruction, it is possible to determine which displays are the ones to simultaneously display the screen as indicated by the multi-screen display instruction, and then determine the sequential display order for these displays to obtain a preset order. Then, when the order for each display is reached, the corresponding display process is executed.
[0078] Specifically, step 302 sequentially executes the corresponding display process for at least one of the at least two displays in a preset order, including step 3021: the display process corresponding to each display. Further, the display process corresponding to each display in step 3021 further includes the following steps 1 to 3:
[0079] Step 1: Determine the content of the screen to be displayed on the current display.
[0080] The current display refers to the display that is currently in the rotation order. The content of the screen to be displayed refers to the content of the screen that currently needs to be displayed on this display.
[0081] Step 2: Control the first display interface 1001 to be connected to the current display and disconnected from other displays.
[0082] That is, at the same moment, the first display interface 1001 is only connected to one display and disconnected from other displays. Connecting and disconnecting refer to the state of the communication connection for sending display data. When connected, the communication connection can transmit display data, and when disconnected, the communication connection cannot transmit display data.
[0083] The processor of the electronic device includes a first display interface 1001. The first display interface 1001 can be a DSI interface, and the display data sent is data based on the DSI protocol.
[0084] Between the first display interface 1001 and at least two displays, the on / off of the communication connection can be controlled by a switch circuit 103. The communication connection between each display and the first display interface 1001 is used to transmit display data. Correspondingly, step 2 can be implemented by controlling the switch circuit 103. For example, the processor 100 sends a control signal to the switch circuit 103 through the control terminal 1002, so that after the switch circuit 103 receives the control signal, it connects the first display interface 1001 to the current display and disconnects the communication connection with other displays.
[0085] After executing steps 1 and 2, execute step 3: Send the content of the screen to be displayed to the current display through the first display interface 1001.
[0086] That is, the order of steps 1 and 2 can be executed simultaneously or one after the other (the specific order can be not limited), but before executing step 3, steps 1 and 2 need to be executed.
[0087] It should be noted that if the picture contents displayed on two display screens are the same, it does not mean that the display data received by the two display screens is the same. Due to differences in the hardware size of the display screen, the resolution set for each display screen, color mode and other screen display configuration parameters, the display data received by each display screen can be the display data obtained after the processor 100 performs corresponding conversion processing on the picture content to be displayed, so that each display screen can display the corresponding picture effect according to the corresponding screen display configuration parameters. Correspondingly, step 1: determining the picture content to be displayed on the current display screen may include: configuring the picture content to be displayed as corresponding display data according to the screen display configuration parameters of the current display screen; step 3: sending the picture content to be displayed to the current display screen through the first display interface may include: sending the display data to the current display screen through the first display interface. That is to say, the step of determining the picture content in step 1 may be to specifically convert the picture content according to the screen display configuration parameters of the current display screen, convert the picture content into display data corresponding to the screen display configuration parameters of the display screen. For example, process the pixel values, calculate the pixel values after conversion according to the algorithm of the color mode corresponding to the current display screen, and process the file of the display data according to the resolution of the display screen.
[0088] Optionally, each display screen-corresponding display sending process is configured with a corresponding execution duration. Optionally, the execution durations of the display sending processes corresponding to each display screen may be different. Optionally, the execution duration of each display screen-corresponding display sending process can be configured. For example, before executing step 302, the following steps are performed:
[0089] Step 601, receiving configuration data input for the execution duration of each display screen-corresponding display sending process;
[0090] Step 602, configuring the execution duration of each display screen-corresponding display sending process according to the input configuration data.
[0091] In a possible implementation manner, the execution duration corresponding to each display screen-corresponding display sending process can be a multiple of the clock cycle. This clock cycle can refer to the clock cycle of the processor 100 or the refresh cycle of the display screen: in order to prevent the clock cycle of the screen refresh with the Tearing Effect (TE), in this implementation manner, before executing step 302, the refresh cycles of each display screen can be configured as the same clock cycle, that is, controlling each display screen to refresh the screen at the same frequency (such as 60Hz).
[0092] In some possible implementation manners of the embodiments of the present application, the display sending processes corresponding to each display screen in step 3021 may be different, and the differences may include one or more of the following situations:
[0093] ① The execution durations of the display sending processes corresponding to different display screens are different; or,
[0094] ② In the display sending processes corresponding to different display screens, the execution orders of each step included are different. For example, in the display sending process of the first display screen 101, it is executed in the order of step 1, step 2, and step 3, while in the display sending process of the second display screen 102, step 1 and step 2 are executed synchronously, and then step 3 is executed; or,
[0095] ③ The execution durations of each step in the display sending processes corresponding to different display screens are different. For example, in the display sending process of the first display screen 101, the execution duration of step 1 is 2 clock cycles (the clock cycles of the processor 100 or the cycles corresponding to the screen refresh frequency of the first display screen 101), while in the display sending process of the second display screen 102, the execution duration of step 1 is 3 clock cycles, and so on.
[0096] In the embodiments of the present application, at least two display screens of the electronic device provide display data through the first display interface 1001. In order to enable different display screens to display different picture contents, the principle of time division multiplexing is adopted for the display sending process and the first display interface 1001 in the embodiments of the present application. That is, after the processor 100 determines that it is the turn of a display screen, only the corresponding picture content for that display screen is generated within the duration of this display sending process. Then, after connecting the first display interface 1001 to that display screen, the generated picture content to be displayed is sent to that display screen through the first display interface 1001, solving the technical problem in the related art that it is impossible to use one display interface to provide different display data to at least two display screens. Through the time division multiplexing strategy, corresponding display data is generated for the corresponding display screen in different time periods, and the same display interface is connected to the corresponding display screen during this period to send the display data to the corresponding display screen, achieving the technical effect of being able to use one display interface to provide different display data to at least two display screens. It should be noted that the technical solution provided in the embodiments of the present application can also provide the same display data to different display screens through one display interface based on the principle of time division sending. The embodiments of the present application do not make specific limitations on this.
[0097] The following combines Figure 5 to illustrate the execution process of the screen display method in the embodiments of the present application in a specific application scenario. As Figure 5 shown, the screen display method in the embodiments of the present application includes the following steps:
[0098] Step 801: Receive a multi-screen display instruction.
[0099] The multi-screen display instruction is used to instruct at least two display screens (including the first display screen and the second display screen) to display corresponding pictures respectively. The screen display method provided in this application can be applied to an electronic device configured with at least two display screens. Taking the electronic device provided in this application as the execution subject of the above method as an example, when the user performs a specified preset operation on the electronic device, for example, the user clicks on a certain icon, issues a voice instruction, knocks on the display screen twice with a knuckle, etc. (including but not limited to the above examples), when the electronic device receives the specified operation, it determines that it has received the multi-screen display instruction and displays corresponding pictures on at least two display screens. Optionally, the pictures displayed on each display screen can be indicated by the above preset operation. For example, knocking on the first display screen and the second display screen first means that the content displayed on the first display screen is synchronously displayed on the second display screen, and so on.
[0100] Step 802: Obtain the picture to be displayed on the first display screen to obtain the first picture.
[0101] The picture to be displayed on the first display screen can be indicated by the multi-screen display instruction.
[0102] For example, after the user opens the interface of a certain video application software on the first display screen, selects a video to play, and clicks on a function icon on the playing interface, the electronic device receives the multi-screen display instruction, and this multi-screen display instruction instructs to play the video on the first display screen and the second display screen. Then, the pictures to be displayed on the first display screen and the second display screen are the playing interface of this video.
[0103] Optionally, the pictures on the first display screen and the second display screen can be different. For example, after the playing interface of the video is displayed on the first display screen and the second display screen, the user can drag the progress bar on the first display screen to make the video playing progress on the first display screen different from that on the second display screen.
[0104] The picture to be displayed on the first display screen can be generated by the processor. For example, the processor synthesizes the layers of all front-end application software and the operating system to be displayed to obtain a frame of picture to be displayed.
[0105] Step 803: Convert the first picture into display data to be sent to the first display screen.
[0106] Since the screen configuration parameters such as the driving circuit and resolution of the display screen (hardware and / or software) may be different, after the processor generates the first picture, the processor can convert the first picture into display data that the first display screen can recognize according to the configuration parameters of the first display screen.
[0107] Step 804: Send the display data of the first display screen to the first display screen so that the first display screen displays the first picture.
[0108] After obtaining the first set of data, send the first set of data to the first display screen.
[0109] In an alternative application scenario, the processor is only configured with one display interface (such as the scenario shown in Figure 1 where the processor 100 includes the first display interface 1001), and the processor sends the display data out through the first display interface.
[0110] To connect at least two display screens, a switching module can be used to connect between the first display interface and the at least two display screens.
[0111] The switching module can be a hardware module. For example, it can be the switch circuit 103 shown in Figure 1 or it can also be a selection circuit. The switching module can select one display screen from the at least two display screens to establish a communication connection with the first display interface; alternatively, the switching module can also be a software module. In the above alternative application scenario, before executing step 804, a first control signal needs to be sent to the switching module, where the first control signal is used to control the switching module to turn on the first communication connection with the first display screen, and the first communication connection is used to transmit the display data of the first display screen.
[0112] Optionally, when executing step 803, the first picture can be converted into the display data of the first display screen according to the screen configuration parameters of the first display screen. Furthermore, the display data of the first display screen can be sent out according to the communication protocol corresponding to the first communication connection, where the communication protocol can be the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
[0113] Optionally, after the first display screen displays the first picture and before receiving the next display data, the first display screen keeps displaying the first picture unchanged. Specifically, the first display screen can include a cache module to cache the received display data, and thus read the cached display data at each refresh according to the refresh frequency of the first display screen, so as to keep displaying the first picture. When the first display screen receives the next display data, it switches the displayed picture. After receiving the display data, it can overwrite the display data of the previous frame picture stored in the cache module, and while receiving the display data, it also displays the currently received display data.
[0114] Step 805: After executing step 804 to send the display data of the first display screen to the first display screen, obtain the picture to be displayed on the second display screen to obtain the second picture.
[0115] Step 806: Convert the second screen into display data to be sent to the second display screen.
[0116] Step 807: Send the display data of the second display screen to the second display screen so that the second display screen displays the second screen.
[0117] For the above steps 805 to 807, reference can be made to the description of steps 802 to 804, which will not be elaborated here.
[0118] After step 807 is executed, step 808 can be executed to determine whether an instruction to exit multi-screen display is received. If an instruction to exit multi-screen display is not received, step 802 can be returned; if an instruction to exit multi-screen display is received, step 809 can be executed to control the corresponding display screen to stop displaying according to the operation indicated by the instruction. For example, the instruction to exit multi-screen display can be to stop the display of the first display screen, or to stop the display of the second display screen, or to stop the display of the first display screen and the second display screen. After any one of the display screens stops displaying, the step of obtaining the screen of the display screen and generating display data for display is stopped.
[0119] Optionally, if there is also a third display screen and the multi-screen display instruction is used to indicate the display of the first display screen to the third display screen, the display data can be processed and displayed in a cycle in the order of the first display screen → the second display screen → the third display screen. Optionally, other orders can also be adopted. For example, in one cycle, some display screens can be processed multiple times. For example, the order of one cycle is the first display screen → the third display screen → the third display screen → the second display screen, etc. The embodiments of the present application do not make specific limitations on this.
[0120] In a possible implementation, step 801 of receiving a multi-screen display instruction can be implemented in the following manner. First, a first operation for indicating to display a first camera function page on the first display screen is received. For example, when the user clicks on the icon of the "Camera" function among the desktop icons displayed on the first display screen, the first operation is received. In response to the first operation, the first camera function page is displayed on the first display screen. The first camera function interface may include a viewfinder screen captured in real time by the camera, and the first display screen can display the image captured by the camera viewfinder in real time. Optionally, the first camera function interface may further include some function icons, such as icons for selecting filters, configuring camera parameters, etc. After the first camera function page is displayed, a second operation for indicating to display a second camera function page on the second display screen is received on the first camera function page. For example, the user can click on the control icon for indicating to display the real-time camera image on the second display screen in the first camera function page, and the mobile phone receives the second operation. In response to the second operation, the second camera function page is displayed on the second display screen. The second camera function interface may include a viewfinder screen captured in real time by the camera. Optionally, the second camera function interface may further include some function icons, and the second camera function interface and the first camera function interface may be different.
[0121] Correspondingly, for step 802 of obtaining the image to be displayed on the first display screen, the first viewfinder image captured by the camera can be obtained. It should be noted that the viewfinder image is the current real-time viewfinder of the camera, not the photos stored in the mobile phone's album. After the first viewfinder image is obtained, the first camera function page is generated based on the first viewfinder image. Similarly, for step 805 of obtaining the image to be displayed on the second display screen, it includes: obtaining the second viewfinder image captured by the camera; generating the second camera function page based on the second viewfinder image.
[0122] In the method provided by the embodiments of the present application, after a set of display data is generated and the display is completed, the generation and display of the next set of display data are then performed. Since the display process also takes a certain amount of time, obtaining the image to generate the display data after a set of display data is displayed can prevent situations such as the image corresponding to the display data generated by the processor not being real-time, or the display data generated by the processor not being sent out in time, resulting in the accumulation of display data in the cache, etc., and can reduce the data processing pressure on the processor. It can be applied to an application scenario where the processor of the electronic device has only one display interface to output the display data to each display screen.
[0123] The following combines Figure 1 、 Figure 6 and Figure 7 to illustrate the execution process of the screen display method of the embodiments of the present application in a specific application scenario. As shown in Figure 6 , the screen display method of the embodiments of the present application includes the following steps:
[0124] Step 500, a multi-screen display instruction is received.
[0125] Step 501, at the rising edge of the first clock cycle after receiving the multi-screen display instruction, a low-level control signal is sent to the switch circuit 103 to control the connection between the first display interface 1001 and the first display screen 101, and disconnect the communication connection between the first display interface 1001 and the second display screen 102. As Figure 7 shown, the low-level control signal lasts for three clock cycles.
[0126] It should be noted that in other embodiments, the low-level control signal can also be triggered and sent from the rising edge of the second clock cycle of the display sending process for the first display screen 101, or the falling edge of the first clock cycle. In short, as long as the switch circuit 103 can be in the corresponding connected state before executing step 503, this example is only for illustration and does not limit the present application. The same applies to the display sending process for the second display screen 102 and will not be elaborated further.
[0127] Step 502, according to the screen display configuration parameters of the first display screen 101, configure the picture content to be displayed on the first display screen 101 as corresponding display data to obtain the first display data. As Figure 7 shown, the duration for configuring the display data for the first display screen 101 is two clock cycles. Different configuration durations can be set in different embodiments. This example is only for illustration and does not limit the present application. The same applies to the display sending process for the second display screen 102 and will not be elaborated further.
[0128] Step 503, send the first display data to the first display screen 101, that is, send a display to the first display screen 101. As Figure 7 shown, step 503 is executed after completing steps 501 and 502. Step 503 is executed in the third clock cycle of the display sending process of the first display screen 101. The display sending process of the first display screen 101 is three clock cycles. Different execution durations of the display sending process can be set in different embodiments. This example is only for illustration and does not limit the present application. The same applies to the display sending process for the second display screen 102 and will not be elaborated further.
[0129] When executing step 503, the first display data is the data for the first display screen 101 to display one frame of an image. The first display screen 101 receives the first display data through the second display interface 1011 of the first display driving circuit 1010. The first display driving circuit 1010 can start displaying after receiving a part of the display data in one frame of the image, and controls the light-emitting elements at the corresponding positions on the first display screen 101 to emit light of the corresponding color according to the received display data.
[0130] Step 504: Send a high-level control signal to the switch circuit 103 to control the connection between the first display interface 1001 and the second display screen 102, and disconnect the communication connection between the first display interface 1001 and the first display screen 101. As Figure 7 shown, the high-level control signal lasts for four clock cycles.
[0131] Step 505: According to the screen display configuration parameters of the second display screen 102, configure the picture content to be displayed on the second display screen 102 as corresponding display data to obtain the second display data. As Figure 7 shown, the duration for configuring the display data for the second display screen 102 is three clock cycles.
[0132] Step 506: Send the second display data to the second display screen 102, that is, send the display to the second display screen 102. As Figure 7 shown, step 506 is executed after completing steps 504 and 505, and step 506 is executed in the fourth clock cycle of the display sending process of the second display screen 102. The display sending process of the second display screen 102 is four clock cycles.
[0133] When executing step 506, the second display data is the data for the second display screen 102 to display a frame of image. The second display screen 102 can receive the second display data through the second display interface 1021 of the second display driving circuit 1020. After receiving a part of the display data in a frame of image, the second display driving circuit 1020 can start to display, and control the light-emitting elements at the corresponding positions on the first display screen 101 to emit light of the corresponding colors according to the received display data.
[0134] Steps 501 to 506 are a complete loop process for the two display screens to perform screen display. After executing step 506, just repeat steps 501 to 506 again until the stop condition is reached. For example, the stop condition can be that the user executes the operation corresponding to the cancel multi-screen display instruction, or the user presses the power-off button to turn off all the screens, and so on.
[0135] It should be noted that the screen refresh frequencies of the first display screen 101 and the second display screen 102 are refreshed once per clock cycle, that is, the first display screen 101 and the second display screen 102 need to refresh and display the display data of a frame of picture content in each clock cycle. The refresh frequency of a general display screen is 60HZ, and each clock cycle is 16.7ms.
[0136] Then, for a loop process from step 501 to step 506 (including seven clock cycles), only when executing step 503 of sending display, the first display screen 101 receives the display data of a new frame of picture content. Before the clock cycle of executing step 503, each time the first display screen 101 is refreshed, it displays the picture content updated in step 503 of the previous loop process. This display data is saved by the first display driving circuit 1010. After the clock cycle of executing step 503, each time the first display screen 101 is refreshed, it displays the picture content updated in step 503. Similarly, before step 506, the picture content displayed on the second display screen 102 remains unchanged. The second display driving circuit 1020 saves the picture content updated in step 506 of the previous loop process. In each loop process, the second display screen 102 is refreshed according to the display data saved by the second display driving circuit 1020 each time a clock cycle occurs.
[0137] It should be noted that if the second display screen 102 is not lit before step 500, then in the first loop process, the second display screen 102 before executing step 506 is still in a black screen state and is lit when executing step 506 to start displaying the received display data.
[0138] It can be understood that some or all of the steps or operations in the above embodiments are only examples. The embodiments of the present application can also perform other operations or various deformations of the operations. In addition, each step can be executed in a different order presented in the above embodiments, and it is possible not to execute all the operations in the above embodiments.
[0139] Figure 8 is a schematic structural diagram of an embodiment of a screen display device of the present application. As Figure 8 shown, the device may include: a receiving module 71, a first obtaining module 72, a first conversion module 73, a first sending module 74, a second obtaining module 75, a second conversion module 76, and a second sending module 77. It should be understood that the device may correspond to Figure 9 the electronic device 900 shown. The functions of each module or unit can be specifically implemented by the processor 910 in the electronic device 900 shown in Figure 9 shown.
[0140] The receiving module 71 is used to receive a multi-screen display instruction, where the multi-screen display instruction is used to instruct at least two display screens to respectively display corresponding pictures; the first obtaining module 72 is used to obtain the picture to be displayed on the first display screen to obtain a first picture; the first conversion module 73 is used to convert the first picture into display data to be sent to the first display screen; the first sending module 74 is used to send the display data of the first display screen to the first display screen so that the first display screen displays the first picture; the second obtaining module 75 is used to obtain the picture to be displayed on the second display screen after sending the display data of the first display screen to the first display screen to obtain a second picture; the second conversion module 76 is used to convert the second picture into display data to be sent to the second display screen; the second sending module 77 is used to send the display data of the second display screen to the second display screen so that the second display screen displays the second picture.
[0141] In a possible implementation manner, the device further includes: a third sending module, configured to send a first control signal to the switching module before sending the display data of the first display screen to the first display screen, where the first control signal is used to control the switching module to conduct a first communication connection with the first display screen, and the first communication connection is used to transmit the display data of the first display screen; a fourth sending module, configured to send a second control signal to the switching module before sending the display data of the second display screen to the second display screen, where the second control signal is used to control the switching module to conduct a second communication connection with the second display screen, and the second communication connection is used to transmit the display data of the second display screen.
[0142] In a possible implementation manner, the first conversion module 73 includes: a first generating unit, configured to generate display data corresponding to the first picture according to the screen configuration parameters of the first display screen; the second conversion module 76 includes: a second generating unit, configured to generate display data corresponding to the second picture according to the screen configuration parameters of the second display screen.
[0143] In a possible implementation manner, the first sending module 74 is further configured to send the display data of the first display screen according to the communication protocol of the first communication connection; the second sending module 77 is further configured to send the display data of the second display screen according to the communication protocol of the second communication connection.
[0144] In a possible implementation manner, the communication protocols of the first communication connection and the second communication connection are the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
[0145] In a possible implementation, the receiving module 71 includes: a first receiving unit configured to receive a first operation for instructing to display a first camera function page on a first display screen; a first display unit configured to, in response to the first operation, display the first camera function page on the first display screen; a second receiving unit configured to receive a second operation for instructing to display a second camera function page on a second display screen on the first camera function page; and a second display unit configured to, in response to the second operation, display the second camera function page on the second display screen.
[0146] In a possible implementation, the first obtaining module 72 includes: a first obtaining unit configured to obtain a first viewfinder image captured by a camera; and a first generating unit configured to generate a first camera function page according to the first viewfinder image. The second obtaining module 75 includes: a second obtaining unit configured to obtain a second viewfinder image captured by the camera; and a second generating unit configured to generate a second camera function page according to the second viewfinder image.
[0147] In a possible implementation, the apparatus further includes: a first display module configured to, after a first screen is displayed on the first display screen, switch the displayed screen when the first display screen receives the next screen display data; and a second display module configured to, after a second screen is displayed on the second display screen, switch the displayed screen when the second display screen receives the next set of screen display data.
[0148] Figure 8 The screen display apparatus provided by the illustrated embodiment can be used to execute the technical solutions of the method embodiments of the present application Figure 3 , Figure 5 , Figure 6 The implementation principle and technical effects can be further referred to the relevant descriptions in the method embodiments.
[0149] It should be understood that the division of each module of the screen display apparatus shown above Figure 8 is only a division of logical functions. In actual implementation, all or part of them can be integrated into a physical entity, or physically separated. And these modules can all be implemented in the form of software called by a processing element; they can also all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. For example, the receiving module 71 can be a separately established processing element, or can be integrated in a certain chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together or can be independently implemented. In the implementation process, each step of the above method or each of the above modules can be completed by the integrated logic circuit in the processor element or the instruction in the form of software.
[0150] For example, the above-mentioned modules can be one or more integrated circuits configured to implement the above methods. For example: one or more Application Specific Integrated Circuits (hereinafter referred to as ASICs), or one or more Digital Signal Processors (hereinafter referred to as DSPs), or one or more Field Programmable Gate Arrays (hereinafter referred to as FPGAs), etc. Again, these modules can be integrated together and implemented in the form of a System-On-a-Chip (hereinafter referred to as SOC).
[0151] Figure 9 Schematic structural diagram of an embodiment of the electronic device of the present application, as Figure 9 shown, the above-mentioned electronic device may include: at least two display screens 901; one or more processors 902; one or more memories 903; a communication module 904; and one or more computer programs 905. The above-mentioned devices can be connected through one or more communication buses 906.
[0152] Among them, the above-mentioned display screen can include the display screen of a vehicle-mounted computer (Mobile Data Center); the above-mentioned electronic device can be a mobile terminal (mobile phone), smart screen, drone, Intelligent Connected Vehicle (hereinafter referred to as ICV), smart / intelligent car, or vehicle-mounted device, etc.
[0153] Among them, the above-mentioned one or more computer programs are stored in the above-mentioned one or more memories, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned electronic device, the above-mentioned electronic device is caused to execute the following steps:
[0154] Receive a multi-screen display instruction, where the multi-screen display instruction is used to instruct at least two display screens to display corresponding pictures respectively; obtain the picture to be displayed on the first display screen to obtain a first picture; convert the first picture into display data to be sent to the first display screen; send the display data of the first display screen to the first display screen so that the first display screen displays the first picture; after sending the first set of data to the first display screen, obtain the picture to be displayed on the second display screen to obtain a second picture; convert the second picture into display data to be sent to the second display screen; send the display data of the second display screen to the second display screen so that the second display screen displays the second picture.
[0155] In a possible implementation, when the instruction is executed by the electronic device, before the electronic device sends the display data of the first display screen to the first display screen, the following steps are performed: sending a first control signal to the switching module, where the first control signal is used to control the switching module to turn on the first communication connection with the first display screen, and the first communication connection is used to transmit the display data of the first display screen; when the instruction is executed by the electronic device, before the electronic device sends the display data of the second display screen to the second display screen, the following steps are performed: sending a second control signal to the switching module, where the second control signal is used to control the switching module to turn on the second communication connection with the second display screen, and the second communication connection is used to transmit the display data of the second display screen.
[0156] In a possible implementation, when the instruction is executed by the electronic device and the electronic device converts the first picture into the display data to be sent to the first display screen, the following steps are performed: generating the display data corresponding to the first picture according to the screen configuration parameters of the first display screen; when the instruction is executed by the electronic device and the electronic device converts the second picture into the display data to be sent to the second display screen, the following steps are performed: generating the display data corresponding to the second picture according to the screen configuration parameters of the second display screen.
[0157] In a possible implementation, when the instruction is executed by the electronic device and the electronic device sends the display data of the first display screen to the first display screen, the following steps are performed: sending the display data of the first display screen according to the communication protocol of the first communication connection; when the instruction is executed by the electronic device and the electronic device sends the display data of the second display screen to the second display screen, the following steps are performed: sending the display data of the second display screen according to the communication protocol of the second communication connection.
[0158] In a possible implementation, the communication protocols of the first communication connection and the second communication connection are the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
[0159] In a possible implementation, when the instruction is executed by the electronic device and the electronic device receives a multi-screen display instruction, the following steps are performed: receiving a first operation for instructing to display a first camera function page on the first display screen; in response to the first operation, displaying the first camera function page on the first display screen; receiving a second operation for instructing to display a second camera function page on the second display screen on the first camera function page; in response to the second operation, displaying the second camera function page on the second display screen.
[0160] In a possible implementation, when the instruction is executed by the electronic device, causing the electronic device to execute the following steps when obtaining the screen to be displayed on the first display screen: obtaining the first viewfinder screen captured by the camera; generating a first camera function page according to the first viewfinder screen; when the instruction is executed by the electronic device, causing the electronic device to execute the following steps when obtaining the screen to be displayed on the second display screen: obtaining the second viewfinder screen captured by the camera; generating a second camera function page according to the second viewfinder screen.
[0161] In a possible implementation, when the instruction is executed by the electronic device, after the first display screen displays the first screen, the first display screen switches the displayed screen when receiving the next screen data to be sent; after the second display screen displays the second screen, the second display screen switches the displayed screen when receiving the next set of screen data to be sent.
[0162] The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When it runs on a computer, it causes the computer to execute the present application Figure 3 、 Figure 5 or Figure 6 the method provided by the embodiments shown.
[0163] The embodiment of the present application further provides a computer program product, which includes a computer program. When it runs on a computer, it causes the computer to execute the present application Figure 3 、 Figure 5 or Figure 6 the method provided by the embodiments shown.
[0164] In the embodiment of the present application, "at least two" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent the situation of A existing alone, A and B existing simultaneously, and B existing alone. Where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and back associated objects. "At least one of the following" and its similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0165] Those of ordinary skill in the art can realize that the various units and algorithm steps described in the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of this application.
[0166] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0167] In several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (hereinafter referred to as ROMs), random access memories (hereinafter referred to as RAMs), magnetic disks, or optical discs that can store program codes.
[0168] The above is only the specific implementation manner of the embodiments of this application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of this application and should be covered by the protection scope of the embodiments of this application. The protection scope of the embodiments of this application shall be subject to the protection scope of the claims.
Claims
1. A method for screen display, characterized in that, The method includes: Receiving a multi-screen display instruction, where the multi-screen display instruction is used to instruct at least two display screens to respectively display corresponding pictures; Obtaining the picture to be displayed on the first display screen to obtain a first picture; Converting the first picture into display data to be sent to the first display screen; Sending the display data of the first display screen to the first display screen so that the first display screen displays the first picture; After sending the display data of the first display screen to the first display screen, obtaining the picture to be displayed on the second display screen to obtain a second picture; Converting the second picture into display data to be sent to the second display screen; Sending the display data of the second display screen to the second display screen so that the second display screen displays the second picture.
2. The method according to claim 1, wherein: Before sending the display data of the first display screen to the first display screen, the method further includes: sending a first control signal to a switching module, where the first control signal is used to control the switching module to turn on a first communication connection with the first display screen, and the first communication connection is used to transmit the display data of the first display screen; Before sending the display data of the second display screen to the second display screen, the method further includes: sending a second control signal to the switching module, where the second control signal is used to control the switching module to turn on a second communication connection with the second display screen, and the second communication connection is used to transmit the display data of the second display screen.
3. The method according to claim 2, wherein: The converting the first picture into display data to be sent to the first display screen includes: generating display data corresponding to the first picture according to the screen configuration parameters of the first display screen; The converting the second picture into display data to be sent to the second display screen includes: generating display data corresponding to the second picture according to the screen configuration parameters of the second display screen.
4. The method according to claim 2, wherein: The sending the display data of the first display screen to the first display screen includes: sending the display data of the first display screen according to the communication protocol of the first communication connection; The sending the display data of the second display screen to the second display screen includes: sending the display data of the second display screen according to the communication protocol of the second communication connection.
5. The method according to claim 4, characterized in that, The communication protocol of the first communication connection and the communication protocol of the second communication connection are the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
6. The method according to any one of claims 1-5, characterized in that, The receiving the multi-screen display instruction includes: Receiving a first operation for instructing to display a first camera function page on the first display screen; In response to the first operation, displaying the first camera function page on the first display screen; Receiving a second operation for instructing to display a second camera function page on the second display screen on the first camera function page; In response to the second operation, display the second camera function page on the second display screen.
7. The method according to claim 6, wherein Obtaining the picture to be displayed on the first display screen includes: obtaining a first view-finding picture captured by a camera; generating the first camera function page according to the first view-finding picture. Obtaining the picture to be displayed on the second display screen includes: obtaining a second view-finding picture captured by the camera; generating the second camera function page according to the second view-finding picture.
8. The method according to any one of claims 1-7, characterized in that After the first picture is displayed on the first display screen, the first display screen switches the displayed picture when receiving the next data to be sent for display; after the second picture is displayed on the second display screen, the second display screen switches the displayed picture when receiving the next set of data to be sent for display.
9. A device for screen display, characterized in that, The device is used to execute the screen display method according to any one of claims 1-8.
10. An electronic device, characterized in that, The electronic device includes: At least two display screens; One or more processors; One or more memories; A communication module; And one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: Receiving a multi-screen display instruction, wherein the multi-screen display instruction is used to instruct at least two display screens to respectively display corresponding pictures; Obtaining the picture to be displayed on the first display screen to obtain a first picture; Converting the first picture into data to be sent to the first display screen for display; Sending the data to be sent for display of the first display screen to the first display screen so that the first display screen displays the first picture; After sending the first set of data to the first display screen, obtaining the picture to be displayed on the second display screen to obtain a second picture; Converting the second picture into data to be sent to the second display screen for display; Sending the data to be sent for display of the second display screen to the second display screen so that the second display screen displays the second picture.
11. The electronic device according to claim 10, wherein When the instruction is executed by the electronic device, before sending the data to be sent for display of the first display screen to the first display screen, the electronic device performs the following steps: sending a first control signal to a switching module, wherein the first control signal is used to control the switching module to conduct a first communication connection with the first display screen, and the first communication connection is used to transmit the data to be sent for display of the first display screen; When the instruction is executed by the electronic device, before sending the data to be sent for display of the second display screen to the second display screen, the electronic device performs the following steps: sending a second control signal to the switching module, wherein the second control signal is used to control the switching module to conduct a second communication connection with the second display screen, and the second communication connection is used to transmit the data to be sent for display of the second display screen.
12. The electronic device according to claim 11, wherein When the instruction is executed by the electronic device, such that the electronic device executes the step of converting the first screen into display data to be sent to the first display screen, the following steps are performed: generating the display data corresponding to the first screen according to the screen configuration parameters of the first display screen; When the instruction is executed by the electronic device, such that the electronic device executes the step of converting the second screen into display data to be sent to the second display screen, the following steps are performed: generating the display data corresponding to the second screen according to the screen configuration parameters of the second display screen.
13. The electronic device according to claim 11, wherein When the instruction is executed by the electronic device, such that the electronic device executes the step of sending the display data of the first display screen to the first display screen, the following steps are performed: sending the display data of the first display screen according to the communication protocol of the first communication connection; When the instruction is executed by the electronic device, such that the electronic device executes the step of sending the display data of the second display screen to the second display screen, the following steps are performed: sending the display data of the second display screen according to the communication protocol of the second communication connection.
14. The electronic device according to claim 13, characterized in that, The communication protocol of the first communication connection and the communication protocol of the second communication connection are the Display Serial Interface (DSI) protocol in the Mobile Industry Processor Interface (MIPI) protocol.
15. The electronic device according to any one of claims 10-14, characterized in that, When the instruction is executed by the electronic device, such that the electronic device executes the step of receiving a multi-screen display instruction, the following steps are performed: Receiving a first operation for instructing to display a first camera function page on the first display screen; In response to the first operation, displaying the first camera function page on the first display screen; Receiving a second operation for instructing to display a second camera function page on the second display screen on the first camera function page; In response to the second operation, displaying the second camera function page on the second display screen.
16. The electronic device according to claim 15, wherein When the instruction is executed by the electronic device, such that the electronic device executes the step of obtaining the screen to be displayed on the first display screen, the following steps are performed: obtaining a first viewfinder screen captured by a camera; generating the first camera function page according to the first viewfinder screen; When the instruction is executed by the electronic device, such that the electronic device executes the step of obtaining the screen to be displayed on the second display screen, the following steps are performed: obtaining a second viewfinder screen captured by the camera; generating the second camera function page according to the second viewfinder screen.
17. The electronic device according to any one of claims 10-16, characterized in that, When the instruction is executed by the electronic device, such that after the first display screen displays the first screen, the first display screen switches the displayed screen when receiving the next display data; After the second display screen displays the second screen, the second display screen switches the displayed screen when receiving the next set of display data.
18. A computer storage medium, characterized in that, Including computer instructions, when the computer instructions run on the terminal, such that the terminal executes the method according to any one of claims 1-8.
19. A computer program product comprising instructions, characterized in that, When the computer program product runs on a terminal, it causes the terminal to execute the method according to any one of claims 1-8.