Screen display method, device, electronic device, and computer storage medium
By receiving multi-screen display instructions and taking turns to process the screen data of each display screen, the pressure problem of the processor controlling multiple display screens in multi-screen electronic devices is solved, real-time display and efficient data transmission of each display screen are realized.
Patent Information
- Application Number
- CN202010763015.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2040-07-31
AI Technical Summary
In electronic devices with at least two display screens, the processor chip needs to simultaneously control the software of each display screen, resulting in increased processing pressure and reduced data transmission efficiency.
By receiving multi-screen display commands, the screen data of each display screen is processed in turn, converted into display data, and sent to the corresponding display screen through the same display interface, ensuring that each display screen independently displays the corresponding screen.
In a multi-screen environment, the screen display of each display screen is realized in real time and efficiency, reducing the processor's data processing pressure and avoiding the accumulation of data sent in the cache.
Smart Images

Figure CN114063947B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a screen display method, device, electronic device, and computer storage medium. Background Art
[0002] With the development of display manufacturing technology, the screens of electronic devices are gradually developing from single screen to dual screen or even multiple screens. For electronic devices with at least two screens, the increase in the number of display screens puts higher requirements on the software control of each display screen by the processor chip. Summary of the invention
[0003] The embodiments of the present application provide a screen display method, device, electronic device, and computer storage medium 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] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect, an embodiment of the present application provides a screen display method, comprising: receiving a multi-screen display instruction, wherein the multi-screen display instruction is used to instruct at least two display screens to display corresponding pictures respectively; obtaining a 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 a 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.
[0006] The screen display method provided in the embodiment of the present application can be applied to an electronic device configured with at least two display screens. Taking the method provided in the present application as an example of the above-mentioned electronic device as the execution subject, when the user performs a specified preset operation on the electronic device, for example, the user clicks an icon, issues a voice command, taps the display screen twice with a knuckle, etc. (including but not limited to the above-mentioned examples), the electronic device determines that a multi-screen display instruction is received when receiving the specified operation, and displays the corresponding screens on at least two display screens respectively, and optionally, the screen displayed on each display screen can be indicated by the above-mentioned preset operation, for example, first tapping the first display screen and the second display screen, indicating 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 as an example, which is used to indicate that the corresponding screen is displayed on at least the first display screen and the second display screen, after receiving the multi-screen display instruction, each display screen is processed in turn, and the screen of the first display screen can be processed first and the display is sent: after obtaining the first screen to be displayed on the first display screen, the first screen is converted into a first group of data that can be recognized by the first display screen, and then the first group of data is sent to the first display screen; after processing the display data of the first display screen and sending it, the screen of the second display screen is processed and the display is sent: after obtaining the second screen to be displayed on the second display screen, the second screen is converted into a second group of data that can be recognized by the second display screen, and then the second group of data is sent to the second display screen. After processing the display data of the second display screen and sending it, the data of the first display screen is processed again and the display is sent, and so on. If there is a third display screen, it can be cycled in the order of the first display screen → the second display screen → the third display screen. Optionally, other sequences can also be used. In one cycle, some display screens can be processed multiple times. For example, the order of a cycle is the first display screen → the third display screen → the third display screen → the second display screen, and so on. The embodiment of the present application does not make specific restrictions on this.
[0008] The method provided in the embodiment of the present application executes the generation and display of the next group of display data only after the generation and display of one group of display data are completed. Since the display process also takes a certain amount of time, the screen generation display data is obtained after a group of display data is displayed. This can prevent the screen corresponding to the display data generated by the processor from being not real-time, or the display data generated by the processor from being unable to be sent out in time, resulting in the accumulation of display data in the cache, etc., and can reduce the data processing pressure of the processor. It can be applied to the application scenario where the processor of the electronic device has only one display interface to output display data to each display screen.
[0009] In one possible implementation, 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 the 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 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, 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 display data of the second display screen.
[0010] In one possible implementation, 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; 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.
[0011] In one possible implementation, sending display data of a first display screen to a first display screen includes: sending the display data of the first display screen according to a communication protocol of a first communication connection; sending display data of a second display screen to a second display screen includes: sending the display data of the second display screen according to a communication protocol of a second communication connection.
[0012] In a possible implementation manner, the communication protocol of the first communication connection and the communication protocol of the second communication connection are a display serial interface DSI protocol in a mobile industry processor interface MIPI protocol.
[0013] In one possible implementation, receiving a multi-screen display instruction includes: receiving a first operation for instructing to display a first camera function page on a first display screen; displaying the first camera function page on the first display screen in response to the first operation; receiving a second operation for instructing to display a second camera function page on a second display screen on the first camera function page; and displaying the second camera function page on the second display screen in response to the second operation.
[0014] In one possible implementation, obtaining a picture to be displayed on a first display screen includes: obtaining a first framing picture captured by a camera; generating a first camera function page based on the first framing picture; obtaining a picture to be displayed on a second display screen includes: obtaining a second framing picture captured by the camera; generating a second camera function page based on the second framing picture.
[0015] In one possible implementation, after the first display screen displays the first picture, the first display screen switches the displayed picture when receiving the next display data; after the second display screen displays the second picture, the second display screen switches the displayed picture when receiving the next group of display data.
[0016] In a second aspect, an embodiment of the present application further provides a screen display device, which is used to execute the screen display method described in any one of the first aspects.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising: 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, which, 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 display corresponding pictures respectively; obtaining a 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 one possible implementation, when the instruction is executed by the electronic device, the electronic device performs the following steps before sending the display data of the first display screen to the first display screen: sending a first control signal to the 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 display data of the first display screen; when the instruction is executed by the electronic device, the electronic device performs the following steps before sending the display data of the second display screen to the second display screen: 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 display data of the second display screen.
[0019] In one possible implementation, when the instruction is executed by the electronic device, so that the electronic device converts the first screen into display data to be sent to the first display screen, the following steps are performed: based on the screen configuration parameters of the first display screen, the display data corresponding to the first screen is generated; when the instruction is executed by the electronic device, so that the electronic device converts the second screen into display data to be sent to the second display screen, the following steps are performed: based on the screen configuration parameters of the second display screen, the display data corresponding to the second screen is generated.
[0020] In one possible implementation, when the instruction is executed by the electronic device, so that the electronic device sends the display data of the first display screen to the first display screen, the following steps are performed: the display data of the first display screen is sent according to the communication protocol of the first communication connection; when the instruction is executed by the electronic device, so that the electronic device sends the display data of the second display screen to the second display screen, the following steps are performed: the display data of the second display screen is sent according to the communication protocol of the second communication connection.
[0021] In a possible implementation manner, the communication protocol of the first communication connection and the communication protocol of the second communication connection are a display serial interface DSI protocol in a mobile industry processor interface MIPI protocol.
[0022] In one possible implementation, when the instruction is executed by the electronic device, so that the electronic device receives the multi-screen display instruction, the following steps are performed: receiving a first operation for indicating displaying a first camera function page on a 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 displaying a second camera function page on a 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 one possible implementation, when the instruction is executed by the electronic device, so that the electronic device obtains a picture to be displayed on the first display screen, the following steps are performed: obtain a first framing picture captured by the camera; generate a first camera function page based on the first framing picture; when the instruction is executed by the electronic device, so that the electronic device obtains a picture to be displayed on the second display screen, the following steps are performed: obtain a second framing picture captured by the camera; generate a second camera function page based on the second framing picture.
[0024] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device displays the first screen on the first display screen, the first display screen switches the displayed screen when receiving the next display data; after the electronic device displays the second screen on the second display screen, the second display screen switches the displayed screen when receiving the next group of display data.
[0025] In a fourth aspect, an embodiment of the present application provides a computer storage medium, comprising computer instructions, which, when executed on a terminal, enables the terminal to execute a method as described in any one of the first aspects.
[0026] In a fifth aspect, the present application provides a computer program product. When the computer program product is executed on a terminal, the terminal executes the method as described in any one of the first aspects.
[0027] It can be understood that the above-provided terminal, computer storage medium and computer program product are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 1 ;
[0029] Figure 2a An interactive diagram of a screen display method provided in an embodiment of the present application Figure 1 ;
[0030] Figure 2b Interaction diagram 2 of a screen display method provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of a screen display method provided in an embodiment of the present application Figure 1 ;
[0032] Figure 4a An interactive diagram of a screen display method provided in an embodiment of the present application Figure 3 ;
[0033] Figure 4b Interaction diagram 4 of a screen display method provided in an embodiment of the present application;
[0034] Figure 5 A second flow chart of a screen display method provided in an embodiment of the present application;
[0035] Figure 6 A schematic diagram of a screen display method provided in an embodiment of the present application Figure 3 ;
[0036] Figure 7 A timing diagram of a screen display method provided in an embodiment of the present application;
[0037] Figure 8 A schematic diagram of the structure of a screen display device provided in an embodiment of the present application;
[0038] Fig. 9 A second structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.
[0040] A screen display method provided in an embodiment of the present application can be applied to electronic devices. 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 (Intelligent Connected Vehicle; hereinafter referred to as: ICV), a smart / intelligent car or a vehicle-mounted device. Figure 1 Shown is a hardware structure block diagram of an optional electronic device.
[0041] like Figure 1 As shown, the electronic device includes a first display screen 101 and 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 one or more of a plurality of processing units such as a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent hardware devices, or may be integrated in the same or different hardware devices.
[0043] The processor 100 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 100 may be a cache memory. The memory may store instructions or data that the processor 100 has just used or circulated. If the processor 100 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, 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 also include other memories (hereinafter referred to as internal memories) for storing one or more computer programs, which include instructions. The processor 100 can enable the electronic device to perform the screen display method provided in some embodiments of the present application, as well as various functional applications and data processing, by running the above instructions stored in the internal memory. 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 applications (such as a gallery, contacts, etc.). The data storage area may store data (such as photos, contacts, etc.) created by the electronic device during use. In addition, the internal memory may also include a high-speed random access memory, a non-volatile memory, etc., such as one or more disk storage devices, a flash memory device, a universal flash storage (UFS for short), etc. In other embodiments, the processor 100 enables the electronic device to perform the various methods provided in the embodiments of the present application, as well as various functional applications and data processing by running instructions stored in the internal memory and / or instructions stored in the memory provided in the processor.
[0045] The processor 100 may also include one or more interfaces, such as Figure 1As shown, the processor 100 includes at least a first display interface 1001, wherein the first display interface 1001 is used to output display data so that the display screen receiving the display data displays the screen content carried in the display data. Optionally, the first display interface 1001 can be a display serial interface (display serial interface, referred to as DSI) transmitter (transport, referred to as TX) based on the mobile industry processor interface (mobile industry processor interface, referred to as MIPI) protocol. The interface configured by the processor 100 can also include an integrated circuit (inter-integrated circuit, referred to as I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, referred to as I2S) interface, a pulse code modulation (pulse code modulation, referred to as PCM) interface, a universal asynchronous receiver / transmitter (universal asynchronous receiver / transmitter, referred to as UART) interface, a general-purpose input / output (general-purpose input / output, referred to as GPIO) interface, a subscriber identity module (subscriber identity module, referred to as SIM) interface, and / or a universal serial bus (universal serial bus, referred to as USB) interface, etc.
[0046] The switch circuit 103 can be a hardware circuit structure and can be implemented in the form of an integrated circuit. The switch circuit 103 can be printed in a hardware device in an electronic device. For example, the switch circuit 103 and the processor 100 can be set in the same chip, such as a System-on-a-Chip system chip (SOC chip for short), or the switch circuit 103 can also be set in a chip other than the chip where the processor 100 is located, or the switch circuit 103 can also be used as a separate hardware device and set independently.
[0047] The switch circuit 103 may be controlled by a control signal received by the controlled terminal 1036, so as to select a communication connection 1031 between the switch circuit 103 and the second display interface 1010 and a communication connection 1032 between the switch circuit 103 and the third display interface 1020 to be connected to the communication connection 1003 between the first display interface 1001 and the switch circuit 103. For example, if the control signal received by the controlled terminal 1036 is a high level, the switch circuit 103 connects the first display interface 1001 with the second display interface 1010 and disconnects the first display interface 1001 with the third display interface 1020. If the control signal is a low level, the switch circuit 103 disconnects the first display interface 1001 with the second display interface 1010 and connects the first display interface 1001 with the third display interface 1020. The control signal received by the controlled terminal 1036 may be sent by the control terminal 1002 of the processor 100. In some optional implementations, the control terminal 1002 may be integrated in 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 may include a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, 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 include corresponding display driving circuits: a first display driving circuit 1010 and a second display driving circuit 1020, respectively. Optionally, the display driving circuit can be used as an independent hardware chip, such as a display driver chip (display driver integrated circuit, referred to as DDIC). Each display driving circuit is also configured with a corresponding display interface: a second display interface 1011 and a third display interface 1021. Each display driving circuit can convert the signal received by the corresponding configured display interface into a control signal for controlling the light-emitting condition of the electronic device on the display panel according to the control requirements of the corresponding display panel. In the case where 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 a DSI receiver (receive, referred to as RX) based on the MIPI protocol.
[0050] Exemplarily, the above-mentioned electronic device may specifically be a mobile phone. Figure 2a and Figure 2b The following are schematic diagrams of the front and back appearance of an electronic device. Figure 2a As shown, the front of the mobile phone includes a display screen: a first display screen 101, and the back of the mobile phone includes a display screen: a second display screen 102, wherein the first display screen 101 can be a display screen in a touch screen, and the touch screen is also configured with a touch sensor to sense the touch of a medium (such as a finger, a stylus, etc.) and generate a corresponding electrical signal to determine information such as the location and time of the touch. Optionally, the second display screen 102 can also be a display screen in a touch screen, that is, in an optional example, the front and back of the mobile phone can be configured with a touch screen. In some other examples, more display screens can be included, and the embodiments of the present application will not be repeated here.
[0051] like Figure 2a and 2b As shown, the mobile phone provided in this example may also include a camera 104 and a camera 105, wherein the camera 105 includes one or more cameras, each camera is used to capture an image, and the mobile phone can realize the function of shooting images or videos through an ISP, a video codec, a GPU, and an application processor.
[0052] Among them, ISP is used to process the data fed back by the camera. For example, when taking a photo, the shutter is opened, and the light is transmitted to the photosensitive element of the camera through the lens of the camera. The photosensitive element converts the light 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. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in the camera. 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 realize the display function through the GPU processing unit in the processor 100, the first display screen 101, the second display screen 102, and the application processor. The GPU is a microprocessor for image processing, which is 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 display content.
[0054] The mobile phone may also include a communication module, which may include a mobile communication module and / or a wireless communication module to realize the wireless communication function of the mobile phone. The wireless communication function of the mobile phone can be realized by an antenna, a mobile communication module and / or a wireless communication module, a modulation and demodulation processor, and a baseband processor. 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 reused to improve the utilization rate of the antenna. For example, an antenna can be reused 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 technology.
[0056] Among them, the mobile communication module can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on 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 from the first antenna, and filter, amplify and process the received electromagnetic waves, and 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 for radiation through the first antenna. In some embodiments, at least some of the functional modules of the mobile communication module can be arranged in the processor 100. In some embodiments, at least some of the functional modules of the mobile communication module can be arranged in the same device as at least some of the modules of the processor 100.
[0057] The wireless communication module can provide wireless communication solutions for mobile phones, including 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 (IR), etc. The wireless communication module can be one or more devices integrating one or more communication processing modules. The wireless communication module receives electromagnetic waves via the second antenna, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 100. The wireless communication module can also receive the signal to be sent from the processor 100, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation via the second antenna.
[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 realize audio functions such as music playing and recording through audio modules, speakers, receivers, microphones, headphone jacks, and application processors.
[0060] It is understandable that the embodiments of the present application Figure 1 , Figure 2a , Figure 2b The illustrated structure does not constitute a specific limitation on the electronic device provided in the present application. In some other embodiments of the present application, the electronic device may include Figure 1 , Figure 2a , Figure 2b More or fewer components are shown, or some components are combined, or some components are separated, or different component arrangements are arranged. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0061] A screen display method provided by an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0062] like Figure 3As shown, a screen display method provided in 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, Figure 1 or Figure 2a , Figure 2b The electronic device of the example is implemented, and the method comprises the following steps:
[0063] Step 301, receiving a multi-screen display instruction.
[0064] The multi-screen display instruction is used to instruct at least two display screens to display corresponding screen contents respectively. The multi-screen display instruction can be Figure 1 Generated by a processing unit of the processor 100 shown, when a user performs a specified preset operation on the electronic device, for example, the user clicks on an icon, issues a voice command, taps the display screen twice with the knuckles, etc. (including but not limited to the above examples), the electronic device determines that a multi-screen display instruction has been received when receiving the specified operation.
[0065] An optional implementation method is that after receiving an operation of the user clicking a specified icon on the screen, the first processing unit of the processor 100 determines that a multi-screen display instruction is received, and 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 a display screen in a touch screen, and the touch screen further includes a touch sensor. Accordingly, step 301 of receiving a multi-screen display instruction may include:
[0067] Step 3011: receiving 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 one 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. Accordingly, the specified operation can be a specific gesture action such as clicking, sliding, double-clicking, etc. performed on a specific icon or area.
[0069] Step 3012: In response to the specified operation, determine whether a multi-screen display instruction is received.
[0070] After receiving the designated operation, the processor of the electronic device determines that a multi-screen display instruction is received.
[0071] For example, if a user Figure 2a Click icon 110 on the mobile phone interface shown in the figure to open the camera, so that the first display screen 101 of the mobile phone displays the following Figure 4a As shown in the screen, the user can then Figure 4a Click icon 111 on the mobile phone interface shown to issue a multi-screen display instruction to the mobile phone, and the multi-screen display instruction is used to instruct the first display screen 101 and the second display screen 102 to at least display the viewfinder captured by the camera (it should be noted that the viewfinder is the current real-time viewfinder of the camera, not the photo stored in the album of the mobile phone). 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 icon 111, it determines that the multi-screen display instruction has been received.
[0072] In the above example, the screen contents displayed on the first display screen 101 and the second display screen 102 may not be completely the same. Figure 4b As shown, the second display screen 102 displays only an icon of a camera shot and a scene shot by the camera. Figure 4a The screen content displayed on the first display screen 101 shown lacks some function icons.
[0073] In some optional examples, the multi-screen display instruction may be used to instruct only some of the at least two display screens to display corresponding screen contents, or, in other optional examples, the multi-screen display instruction may also instruct all the display screens to display corresponding screen contents. The screen contents displayed on each display screen may be the same or different.
[0074] It should be noted that the screen content refers to the content included in the screen displayed on the display screen, for example, Figure 2a As shown, the picture content 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 level, application icons, etc. The picture content can be determined by the processor 100, and the file format carrying the picture content information can be any pre-specified format. For example, the file can carry the RGB (red, green, and blue) pixel value of each pixel.
[0075] Step 302, executing a corresponding display process for one of at least two display screens in turn in a preset order.
[0076] The preset order is a pre-set order of display in turn. Display refers to the step of sending display data generated for one display screen to the corresponding display screen. In the embodiment of the present application, the display sending process includes generating corresponding display data for the display screen and sending the display data to the display screen.
[0077] After receiving the multi-screen display instruction, it is possible to determine which display screens are displayed simultaneously as indicated by the multi-screen display instruction, and then determine the order in which the images are displayed in turn for these display screens, obtain the preset order, and then execute the corresponding display process when the order of each display screen is reached.
[0078] Specifically, step 302 performs the corresponding display sending process for one of at least two display screens in turn in a preset order, including step 3021: the display sending process corresponding to each display screen. Further, the display sending process corresponding to each display screen in step 3021 further includes the following steps 1 to 3:
[0079] Step 1: Determine the screen content to be displayed on the current display screen.
[0080] The current display screen refers to the display screen that is currently in rotation. The screen content to be displayed refers to the screen content that is currently required to be displayed on the display screen.
[0081] Step 2: Control the first display interface 1001 to be connected to the current display screen and disconnected from other display screens.
[0082] That is, at the same time, the first display interface 1001 is connected to only one display screen and is disconnected from other display screens. Connected and disconnected refer to the state of the communication connection used to send 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 may be a DSI interface. The sent display data is data based on the DSI protocol.
[0084] The switch circuit 103 can control the on / off of the communication connection between the first display interface 1001 and at least two display screens, and the communication connection between each display screen and the first display interface 1001 is used to transmit display data. Accordingly, 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 the switch circuit 103 connects the first display interface 1001 with the current display screen after receiving the control signal, and disconnects the communication connection with other display screens.
[0085] After executing step 1 and step 2, execute step 3: send the screen content to be displayed to the current display screen through the first display interface 1001.
[0086] That is, the order of step 1 and step 2 can be performed simultaneously or one after the other (the specific order is not limited), but step 1 and step 2 need to be performed before step 3 is performed.
[0087] It should be noted that if the screen contents displayed by the two display screens are the same, it does not mean that the display data received by the two display screens are the same. Due to the differences in the hardware size of the display screens, the resolution set for each display screen, the color mode and other screen display configuration parameters, the display data received by each display screen may be the display data obtained after the processor 100 performs corresponding conversion processing on the screen contents to be displayed, so that each display screen displays the corresponding screen effect according to the corresponding screen display configuration parameters. Accordingly, step 1: determining the screen contents to be displayed on the current display screen may include: configuring the screen contents to be displayed as corresponding display data according to the screen display configuration parameters of the current display screen; step 3: sending the screen contents 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, the step of determining the screen contents in step 1 may be to convert the screen contents according to the screen display configuration parameters of the current display screen, convert the screen contents into display data corresponding to the screen display configuration parameters of the display screen, for example, processing the pixel values, calculating the converted pixel values according to the algorithm of the color mode corresponding to the current display screen, and processing the display data file according to the resolution of the display screen.
[0088] Optionally, the display process corresponding to each display screen is configured with a corresponding execution time. Optionally, the execution time of the display process corresponding to each display screen may be different. Optionally, the execution time of the display process corresponding to each display screen can be configured. For example, before executing step 302, execute the following steps:
[0089] Step 601, receiving configuration data inputted for the execution time of the display sending process for each display screen;
[0090] Step 602, configuring the execution time of the display process of each display screen according to the input configuration data.
[0091] In one possible implementation, the execution duration of the display sending process corresponding to each display screen may be a multiple of a clock cycle, where the clock cycle may refer to the clock cycle of the processor 100 or the refresh cycle of the display screen: in order to prevent the occurrence of a tearing effect (TE) in the screen refresh clock cycle, in this implementation, before executing step 302, the refresh cycle of each display screen may be configured to be the same clock cycle, that is, each display screen may be controlled to refresh the screen at the same frequency (e.g., 60 Hz).
[0092] In some possible implementations of the embodiments of the present application, the display sending process 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 time of the display process corresponding to different display screens is different; or,
[0094] ② In the display flow corresponding to different display screens, the execution order of each step is different. For example, in the display flow of the first display screen 101, step 1, step 2, and step 3 are executed in order, while in the display flow of the second display screen 102, step 1 and step 2 are executed simultaneously, and then step 3 is executed; or,
[0095] ③ The execution time of each step in the display process corresponding to different display screens is different. For example, in the display process of the first display screen 101, the execution time of step 1 is 2 clock cycles (the clock cycle of the processor 100 or the cycle corresponding to the screen refresh frequency of the first display screen 101), and in the display process of the second display screen 102, the execution time of step 1 is 3 clock cycles, and so on.
[0096] In the embodiment 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 screen contents, the embodiment of the present application adopts the principle of time-sharing multiplexing for the display sending process and the first display interface 1001, that is, after the processor 100 determines the turn sequence to a display screen, it only generates the corresponding screen content for the display screen within the duration of this display sending process, and then after the first display interface 1001 is connected to the display screen, the generated screen content to be displayed is sent to the display screen through the first display interface 1001, which solves the technical problem that different display data cannot be provided to at least two display screens using one display interface in the related art. Through the strategy of time-sharing multiplexing, corresponding display data is generated for the corresponding display screen in different time periods, and the same display interface is used to connect to the corresponding display screen in this time period to send the display data to the corresponding display screen, so as to achieve 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 embodiment 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-sharing transmission, and the embodiment of the present application does not specifically limit this.
[0097] Combine the following Figure 5 The following describes the execution process of the screen display method of the embodiment of the present application in a specific application scenario, such as Figure 5 As shown, the screen display method of the embodiment of the present application includes the following steps:
[0098] Step 801, receiving 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 the present application can be applied to an electronic device configured with at least two display screens. Taking the method provided in the present application as the execution subject of the above-mentioned electronic device as an example, when the user performs a specified preset operation on the electronic device, for example, the user clicks on an icon, issues a voice command, taps the display screen twice with the knuckles, etc. (including but not limited to the above examples), the electronic device determines that a multi-screen display instruction is received when receiving the specified operation, and displays the corresponding pictures on at least two display screens respectively. Optionally, the picture displayed on each display screen can be indicated by the above-mentioned preset operation, for example, first tapping the first display screen and the second display screen indicates that the content displayed on the first display screen is synchronously displayed on the second display screen, and so on.
[0100] Step 802: Acquire a picture to be displayed on the first display screen to obtain a first picture.
[0101] The picture to be displayed on the first display screen may be indicated by the multi-screen display instruction.
[0102] For example, after the user opens the interface of a video application software on the first display screen, selects a video to play, and clicks a function icon on the playback interface, the electronic device receives a multi-screen display instruction, and the multi-screen display instruction instructs to play the video on the first display screen and the second display screen. Then, the screen to be displayed on the first display screen and the second display screen is the playback interface of the video.
[0103] Optionally, the images on the first display screen and the second display screen may be different. For example, after the first display screen and the second display screen display the playback interface of the video, the user may drag the progress bar on the first display screen to make the video playback 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 may be generated by a processor. For example, the processor synthesizes the layers of all front-end application software and 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 (hardware and / or software) of the display screen, such as the driving circuit and resolution, may be different, after the processor generates the first screen, the processor can convert the first screen into display data that can be recognized by the first display screen 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, the first set of data is sent to the first display screen.
[0109] In an optional application scenario, the processor is configured with only one display interface (eg Figure 1 In the scenario shown in , the processor 100 includes a first display interface 1001), and the processor sends display data to the outside through the first display interface.
[0110] In order to connect at least two display screens, the first display interface and the at least two display screens may be connected via a switching module.
[0111] The switching module may be a hardware module, for example, Figure 1 The switch circuit 103 shown in the figure may also be a selection circuit, and the switching module may select a display screen between at least two display screens to establish a communication connection with the first display interface; or the switching module may also be a software module. In the above optional application scenario, before executing step 804, it is necessary to send a first control signal to the 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 display data of the first display screen.
[0112] Optionally, when executing step 803, the first picture may be converted into display data of the first display according to the screen configuration parameters of the first display. Furthermore, the display data of the first display may be sent out according to the communication protocol corresponding to the first communication connection, wherein the communication protocol may 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, before receiving the next display data, the first display screen keeps displaying the first picture unchanged. Specifically, the first display screen may include a cache module for caching the received display data, so as to read the cached display data at each refresh according to the refresh frequency of the first display screen, thereby keeping 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 stored in the cache module, and display the currently received display data while receiving the 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, converting the second picture 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 picture.
[0117] For the above steps 805 to 807, reference may be made to the description of steps 802 to 804, which will not be repeated here.
[0118] After executing step 807, step 808 may be executed to determine whether an instruction to exit the multi-screen display is received. If no instruction to exit the multi-screen display is received, the process may return to step 802; if an instruction to exit the multi-screen display is received, step 809 may 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 the multi-screen display may 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 both the first display screen and the second display screen. After any display screen stops displaying, the steps of acquiring the screen of the display screen and generating display data for displaying are stopped.
[0119] Optionally, if there is a third display screen, and the multi-screen display instruction is used to instruct the first display screen to the third display screen to display, the display data can be processed and displayed in a loop in the order of the first display screen → the second display screen → the third display screen. Optionally, other sequences can also be used. 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, and so on. The embodiment of the present application does not impose specific restrictions on this.
[0120] In a possible implementation, step 801 of receiving a multi-screen display instruction can be implemented as follows: first, a first operation for instructing to display a first camera function page on a first display screen is received. For example, a user clicks on the icon of the "camera" function in the desktop icons displayed on the first display screen, and then 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 captured by the camera in real time. The first display screen may display the viewfinder captured by the camera in real time. Optionally, the first camera function interface may also include some function icons, such as icons for selecting filters, configuring camera parameters, and other controls. After the first camera function page is displayed, a second operation for instructing to display a second camera function page on a second display screen is received on the first camera function page. For example, a user may click on a control icon for instructing to display a real-time camera view on the second display screen in the first camera function page. 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 captured by the camera in real time. Optionally, the second camera function interface may also include some function icons. The second camera function interface and the first camera function interface may be different.
[0121] Correspondingly, step 802 obtains the picture to be displayed on the first display screen, and the first viewfinder picture captured by the camera can be obtained. It should be noted that the viewfinder picture is the current real-time viewfinder of the camera, not the photo stored in the album of the mobile phone. After obtaining the first viewfinder picture, a first camera function page is generated according to the first viewfinder picture. Similarly, step 805 obtains the picture to be displayed on the second display screen, including: obtaining the second viewfinder picture captured by the camera; generating the second camera function page according to the second viewfinder picture.
[0122] The method provided in the embodiment of the present application executes the generation and display of the next group of display data only after the generation and display of one group of display data are completed. Since the display process also takes a certain amount of time, the screen generation display data is obtained after a group of display data is displayed. This can prevent the screen corresponding to the display data generated by the processor from being not real-time, or the display data generated by the processor from being unable to be sent out in time, resulting in the accumulation of display data in the cache, etc., and can reduce the data processing pressure of the processor. It can be applied to the application scenario where the processor of the electronic device has only one display interface to output display data to each display screen.
[0123] Combine the following Figure 1 , Figure 6 and Figure 7 , illustrating the execution process of the screen display method of the embodiment of the present application in a specific application scenario, such as Figure 6 As shown, the screen display method of the embodiment of the present application includes the following steps:
[0124] Step 500: receiving a multi-screen display instruction.
[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 first display interface 1001 to be connected to the first display screen 101, and to disconnect the communication connection between the first display interface 1001 and the second display screen 102. Figure 7 As shown, the low level control signal lasts for three clock cycles.
[0126] It should be noted that, in other implementations, the low-level control signal may also be triggered and sent from the rising edge of the second clock cycle of the display transmission process for the first display screen 101, or triggered and sent from the falling edge of the first clock cycle. In short, as long as the switch circuit 103 can be in a corresponding connected state before executing step 503, this example is only used for example and does not constitute a limitation on the present application. The display transmission process for the second display screen 102 is similar and will not be described in detail.
[0127] Step 502: According to the screen display configuration parameters of the first display screen 101, the screen content to be displayed on the first display screen 101 is configured as corresponding display data to obtain first display data. Figure 7 As shown, the duration of configuring display data for the first display screen 101 is two clock cycles. Different configuration durations may be set in different implementations. This example is only used as an example and does not constitute a limitation of the present application. The display process for the second display screen 102 is similar and will not be described in detail.
[0128] Step 503: Send the first display data to the first display screen 101, that is, send the first display data to the first display screen 101 for display. Figure 7 As shown, after completing step 501 and step 502, step 503 is executed, and 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 implementations. This example is only used for example and does not constitute a limitation of the present application. The display sending process for the second display screen 102 is similar and will not be described in detail.
[0129] When executing step 503, the first display data is data of a frame of image displayed by the first display screen 101. 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 a frame of image, and controls the light-emitting elements at corresponding positions on the first display screen 101 to emit light of corresponding colors according to the received display data.
[0130] Step 504: Send a high-level control signal to the switch circuit 103 to control the first display interface 1001 to communicate with the second display screen 102, and disconnect the communication connection between the first display interface 1001 and the first display screen 101. Figure 7 As 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, the screen content to be displayed on the second display screen 102 is configured as corresponding display data to obtain second display data. Figure 7 As shown, the duration of 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, display the second display screen 102. Figure 7 As shown, after completing step 504 and step 505, step 506 is executed, 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 data of a frame of image displayed by the second display screen 102. The second display screen 102 can receive the second display data through the second display interface 1021 of the second display driving circuit 1020. The second display driving circuit 1020 can start displaying after receiving a part of the display data in a frame of image, and control the light-emitting element at the corresponding position on the first display screen 101 to emit light of the corresponding color according to the received display data.
[0134] Steps 501 to 506 are a complete cycle process for screen display on two display screens. After executing step 506, steps 501 to 506 can be repeatedly executed again until a stop condition is reached. For example, the stop condition may be that the user executes an operation corresponding to a cancel multi-screen display instruction, or the user presses the power button to turn off all screens, and so on.
[0135] It should be noted that the screen refresh frequency of the first display screen 101 and the second display screen 102 is refreshed once per clock cycle, that is, the first display screen 101 and the second display screen 102 need to refresh the display data of one frame of the 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 of steps 501 to 506 (including seven clock cycles), only when step 503 of sending display is executed, the first display screen 101 receives a frame of display data of new screen content. Before the clock cycle of executing step 503, the first display screen 101 displays the screen content updated in step 503 in the previous loop process each time it is refreshed, and the display data is saved by the first display driver circuit 1010. After the clock cycle of executing step 503, the first display screen 101 displays the screen content updated in step 503 each time it is refreshed; similarly, before step 506, the screen content displayed on the second display screen 102 remains unchanged, and the second display driver circuit 1020 saves the screen content updated in step 506 in the previous loop process. In each loop process, the second display screen 102 is displayed according to the display data saved by the second display driver circuit 1020 when it is refreshed each clock cycle.
[0137] It should be noted that, if the second display screen 102 is not turned on before step 500, then in the first loop process, the second display screen 102 is still in a black screen state before executing step 506. When executing step 506, the second display screen 102 is turned on and starts to display the received display data.
[0138] It is to be understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.
[0139] Figure 8 This is a schematic diagram of the structure of an embodiment of the device for screen display of the present application, such as Figure 8 As shown, the device may include: a receiving module 71, a first acquisition module 72, a first conversion module 73, a first sending module 74, a second acquisition module 75, a second conversion module 76 and a second sending module 77; it should be understood that the device may correspond to Fig. 9 In the electronic device 900 shown in FIG. 1 , the function of each module or unit can be specifically represented by Fig. 9 The processor 910 in the electronic device 900 is shown implemented.
[0140] The receiving module 71 is used to receive a multi-screen display instruction, wherein the multi-screen display instruction is used to instruct at least two display screens to display corresponding pictures respectively; the first acquisition module 72 is used to acquire the picture to be displayed on the first display screen to obtain the 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 acquisition module 75 is used to acquire 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, so as to obtain the 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 one possible implementation, the device also includes: a third sending module, used 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, 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 display data of the first display screen; a fourth sending module, used 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, 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 display data of the second display screen.
[0142] In one possible implementation, the first conversion module 73 includes: a first generation unit, used to generate display data corresponding to the first screen according to the screen configuration parameters of the first display screen; the second conversion module 76 includes: a second generation unit, used to generate display data corresponding to the second screen according to the screen configuration parameters of the second display screen.
[0143] In a possible implementation, the first sending module 74 is further used to send display data of the first display screen according to the communication protocol of the first communication connection; the second sending module 77 is further used to send 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 protocol of the first communication connection and the communication protocol of the second communication connection are a display serial interface DSI protocol in a mobile industry processor interface MIPI protocol.
[0145] In one possible implementation, the receiving module 71 includes: a first receiving unit, used to receive a first operation for indicating displaying a first camera function page on a first display screen; a first display unit, used to display the first camera function page on the first display screen in response to the first operation; a second receiving unit, used to receive, on the first camera function page, a second operation for indicating displaying a second camera function page on the second display screen; and a second display unit, used to display the second camera function page on the second display screen in response to the second operation.
[0146] In a possible implementation, the first acquisition module 72 includes: a first acquisition unit, configured to acquire a first viewfinder image captured by a camera; a first generation unit, configured to generate a first camera function page according to the first viewfinder image. The second acquisition module 75 includes: a second acquisition unit, configured to acquire a second viewfinder image captured by the camera; a second generation unit, configured to generate a second camera function page according to the second viewfinder image.
[0147] In one possible implementation, the device also includes: a first display module, which is used to switch the displayed screen when the first display screen receives the next display data after displaying the first screen on the first display screen; and a second display module, which is used to switch the displayed screen when the second display screen receives the next group of display data after displaying the second screen on the second display screen.
[0148] Figure 8 The screen display device provided in the embodiment shown can be used to implement the present application Figure 3 , Figure 5 , Figure 6 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0149] It should be understood that the above Figure 8 The division of the various modules of the device shown in the screen display is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, 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 it can be integrated in a 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 they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0150] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0151] Fig. 9 This is a schematic diagram of the structure of an embodiment of the electronic device of the present application. Fig. 9 As shown, the 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 components may be connected via one or more communication buses 906.
[0152] Among them, the above-mentioned display screen may include a display screen of a vehicle-mounted computer (Mobile Data Center); the above-mentioned electronic device may be a mobile terminal (mobile phone), a smart screen, a drone, an intelligent connected vehicle (Intelligent Connected Vehicle; hereinafter referred to as: ICV), a smart / intelligent car or vehicle-mounted equipment and other devices.
[0153] The one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device performs the following steps:
[0154] Receive a multi-screen display instruction, wherein 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 the 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 the 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 one possible implementation, when the instruction is executed by the electronic device, the electronic device performs the following steps before sending the display data of the first display screen to the first display screen: sending a first control signal to the 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 display data of the first display screen; when the instruction is executed by the electronic device, the electronic device performs the following steps before sending the display data of the second display screen to the second display screen: 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 display data of the second display screen.
[0156] In one possible implementation, when the instruction is executed by the electronic device, so that the electronic device converts the first screen into display data to be sent to the first display screen, the following steps are performed: based on the screen configuration parameters of the first display screen, the display data corresponding to the first screen is generated; when the instruction is executed by the electronic device, so that the electronic device converts the second screen into display data to be sent to the second display screen, the following steps are performed: based on the screen configuration parameters of the second display screen, the display data corresponding to the second screen is generated.
[0157] In one possible implementation, when the instruction is executed by the electronic device, so that the electronic device sends the display data of the first display screen to the first display screen, the following steps are performed: the display data of the first display screen is sent according to the communication protocol of the first communication connection; when the instruction is executed by the electronic device, so that the electronic device sends the display data of the second display screen to the second display screen, the following steps are performed: the display data of the second display screen is sent according to the communication protocol of the second communication connection.
[0158] In a possible implementation manner, the communication protocol of the first communication connection and the communication protocol of the second communication connection are a display serial interface DSI protocol in a mobile industry processor interface MIPI protocol.
[0159] In one possible implementation, when the instruction is executed by the electronic device, so that the electronic device receives the multi-screen display instruction, the following steps are performed: receiving a first operation for indicating displaying a first camera function page on a 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 displaying a second camera function page on a 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 one possible implementation, when the instruction is executed by the electronic device, so that the electronic device obtains a picture to be displayed on the first display screen, the following steps are performed: obtain a first framing picture captured by the camera; generate a first camera function page based on the first framing picture; when the instruction is executed by the electronic device, so that the electronic device obtains a picture to be displayed on the second display screen, the following steps are performed: obtain a second framing picture captured by the camera; generate a second camera function page based on the second framing picture.
[0161] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device displays the first screen on the first display screen, the first display screen switches the displayed screen when receiving the next display data; after the electronic device displays the second screen on the second display screen, the second display screen switches the displayed screen when receiving the next group of display data.
[0162] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the present application. Figure 3 , Figure 5 or Figure 6 The method provided by the illustrated embodiment.
[0163] The present application also provides a computer program product, which includes a computer program, which, when executed on a computer, enables the computer to execute the present application. Figure 3 , Figure 5 or Figure 6 The method provided by the illustrated embodiment.
[0164] In the embodiments of the present application, "at least two" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single 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, c can be single or multiple.
[0165] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0167] In several embodiments provided in the present 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 embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk and other media that can store program codes.
[0168] The above is only a specific implementation of the embodiment of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiment of the present application, which should be included in the protection scope of the embodiment of the present application. The protection scope of the embodiment of the present application shall be based on the protection scope of the claims.
Claims
1. A screen display method, characterized in that: The method comprises: 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; Acquire a 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 a first control signal to the 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 display data of 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, acquiring 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 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 display data of the second display screen; The display data of the second display screen is sent to the second display screen so that the second display screen displays the second picture.
2. The method according to claim 1, characterized in that 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 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 the display data corresponding to the second picture according to the screen configuration parameters of the second display screen.
3. The method according to claim 1, characterized in that The sending of the display data of the first display screen to the first display screen comprises: sending the display data of the first display screen according to the communication protocol of the first communication connection; The sending of 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 a communication protocol of the second communication connection.
4. The method according to claim 3, 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.
5. The method according to any one of claims 1 to 4, characterized in that: The receiving of the multi-screen display instruction comprises: 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, on the first camera function page, a second operation for instructing to display a second camera function page on the second display screen; In response to the second operation, the second camera function page is displayed on the second display screen.
6. The method according to claim 5, characterized in that Acquiring a picture to be displayed on the first display screen, including: acquiring a first framing picture captured by a camera; generating the first camera function page according to the first framing picture; Acquiring a picture to be displayed on the second display screen includes: acquiring a second framing picture captured by the camera; and generating the second camera function page according to the second framing picture.
7. The method according to any one of claims 1 to 4 or 6, characterized in that: After the first display screen displays the first picture, the first display screen switches the displayed picture when receiving the next display data; after the second display screen displays the second picture, the second display screen switches the displayed picture when receiving the next group of display data.
8. A screen display device, characterized in that: The device is used to execute the screen display method described in any one of claims 1-7.
9. An electronic device, characterized in that: The electronic device comprises: At least two display screens; one or more processors; one or more memories; 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, which, 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; Acquire a 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 a first control signal to the 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 display data of 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, acquiring a 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 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 display data of the second display screen; The display data of the second display screen is sent to the second display screen so that the second display screen displays the second picture.
10. The electronic device according to claim 9, characterized in that: When the instruction is executed by the electronic device, the electronic device performs the following steps when converting the first picture into display data to be sent to the first display screen: 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, the electronic device executes the conversion of the second screen into display data to be sent to the second display screen, and performs the following steps: generating the display data corresponding to the second screen according to the screen configuration parameters of the second display screen.
11. The electronic device according to claim 9, characterized in that: When the instruction is executed by the electronic device, the electronic device performs the steps of sending the display data of the first display screen to the first display screen: 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, the electronic device executes the step of sending the display data of the second display screen to the second display screen, and performs the following steps: sending the display data of the second display screen according to the communication protocol of the second communication connection.
12. The electronic device according to claim 11, 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.
13. The electronic device according to any one of claims 9 to 12, characterized in that: When the instruction is executed by the electronic device, the electronic device executes the receiving multi-screen display instruction and performs the following steps: 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, on the first camera function page, a second operation for instructing to display a second camera function page on the second display screen; In response to the second operation, the second camera function page is displayed on the second display screen.
14. The electronic device according to claim 13, characterized in that: When the instruction is executed by the electronic device, the electronic device performs the following steps when acquiring the picture to be displayed on the first display screen: acquiring the first framing picture captured by the camera; generating the first camera function page according to the first framing picture; When the instruction is executed by the electronic device, the electronic device performs the following steps when acquiring the picture to be displayed on the second display screen: acquiring the second framing picture captured by the camera; and generating the second camera function page according to the second framing picture.
15. The electronic device according to any one of claims 9 to 12 or 14, characterized in that: When the instruction is executed by the electronic device, after the electronic device displays the 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 the second picture, the second display screen switches the displayed picture when receiving the next set of display data.
16. A computer storage medium, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on a terminal, the terminal is caused to execute the method according to any one of claims 1 to 7.
17. A computer program product comprising instructions, characterized in that When the computer program product is executed on a terminal, the terminal is enabled to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Multi-screen display device and method
CN104238977A
Double-screen control device, double-screen mobile terminal and double-screen display method
CN108174027A
Photographing displaying method and device, mobile terminal and memory medium
CN108234875A