Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
A display screen display method and apparatus according to an embodiment of the present application are described below with reference to the drawings. The application display screen of the display screen display method in the embodiment of the application can be a foldable display screen or a non-foldable display screen.
The display method comprises the steps that when the display screen is not fully displayed in the prior art, for example, a folding screen only displays an unshaded display screen part in a scene, the unshaded display screen is controlled to distribute black pictures, so that an unshaded display screen area needing to be displayed also works, and the technical problem of high power consumption is caused.
In one possible embodiment of the present application, when the display screen is folded, as shown in fig. 2-1, when the folded display screen is unfolded and displayed in full screen, and when the folded display screen is folded, there may be a portion of the display after folding, which has an advantage that after folding, the rear camera, TOF and other devices can be folded in front for use in self-photographing and other scenes. For such a folded configuration, a mode of partitioned refresh can be established for the display screen in the present application. Namely, when the screen is unfolded, the screen is displayed in a full screen mode; when folded, as shown in fig. 2-2, a portion of the display screen is not displayed and a portion is displayed.
Specifically, fig. 3 is a schematic flowchart of a display method of a display screen according to an embodiment of the present disclosure.
The display screen comprises a plurality of display areas, each display area is provided with a corresponding display timer element, the display timer elements are used for driving the display screen to be bright, corresponding display screen contents are displayed, when the display screen is an IC display screen, the display timer elements can be divided into Data Timing parts and Gata Timing parts, the Data Timing parts are used for controlling the brightness of the display screen, and the Gata Timing parts are used for controlling the opening of the display behaviors of each line of display units of the display screen. In the prior art, as shown in fig. 4-2, a part of the display screen driving IC is used to convert MIPI signals transmitted by the AP into Gate and Data signals usable by the display screen to drive the display screen to display corresponding contents.
In order to more flexibly meet the requirements of different scenes, as shown in fig. 5-1, when the foldable display screen is a display screen including 1-n rows of display elements, the display screen of the split screen area corresponding to 1-m rows may be used as one display area, a corresponding display timer element is set, and m +1 rows are used as one display area to display the corresponding display timer element, so that split screen control may be implemented, as shown in fig. 5-2, a corresponding display timer element may also be set for each row of elements, so that the split display of different areas may be more flexibly met.
As shown in fig. 3, the display method of the display screen includes the following steps:
step 101, acquiring a display instruction of a display screen, and judging whether the display instruction of the display screen is a regional display instruction.
It should be understood that when a display screen display instruction is received, whether the display screen display instruction is a partitioned display instruction is judged to decide whether to further control the display screen partitioned display for reducing power consumption.
In different application scenarios, the manner of judging whether the display instruction of the display screen is a sub-area display instruction is different, and the following example is given:
the first example:
in this example, when the display screen is the folding screen, whether the display instruction of the display screen is the split-screen display instruction is judged, and if the display instruction is the split-screen display instruction, the current display screen is considered to be displayed in a split area.
The second example is:
in this example, it is considered that some applications can meet the user's requirement without using full screen display, for example, for the short message reminding application, only text information needs to be displayed in a certain area of the screen, and full screen display is not needed, and of course, the user may set an application that does not need full screen display according to personal preferences.
Therefore, the application identifier corresponding to the display screen instruction is obtained, whether the application corresponding to the application identifier is a preset application which does not need full name display or not is judged, and if the application does not need full name display, the current display screen is considered to need partition display. In order to further meet the personalized requirements of users, each preset application can also be provided with display areas with different areas and different shapes. For example, the shape and area of the display area are set according to the attention of a preset application.
And 102, if the command is a regional display command, determining a target display region.
Specifically, if the command is a sub-area display command, the target display area is determined in order to reduce power consumption of the terminal device.
It should be noted that, in different application scenarios, the manner of determining the target display area is different, and the following is exemplified:
the first example:
in this example, the current remaining power of the terminal device is obtained, the target display area is determined according to the remaining power, the more the remaining power is, the target display area may be a preset area, such as a whole split screen, and when the remaining power is less, the display screen may be appropriately reduced to reduce the power consumption of the terminal device.
The second example is:
in this example, as shown in fig. 6, a plurality of display areas with different sizes are divided in advance for a display screen, and each display area is provided with a corresponding display timer element, so that after a display instruction for dividing areas is obtained, a display content corresponding to the instruction can be matched with the display area with the corresponding size, for example, when the display content is a video, a relatively large display area is matched as a target display area, and when the displayed content is a new message reminder, a relatively small display area is matched as the target display area.
And 103, sending a driving signal to a display timer element of the target display area according to the display instruction of the display screen so as to implement the display instruction of the display screen executed by the target display area.
Specifically, in this embodiment, after the target display area is determined, a driving signal is sent to the display timer element of the target display area according to the display instruction of the display screen, so as to display the corresponding content according to the display instruction of the display screen
As a possible implementation mode, because related hardware is connected with the display screen through a serial port, a serial port command can be generated according to a display instruction of the display screen, and a serial port of a control target display area sends a driving signal to a display timer element of the target display area according to the serial port command. That is, in the present embodiment, the display screen itself analyzes and controls the relevant display parameters of the display timer element.
Continuing to explain by taking the embodiment in which the display screen is an IC screen as an example, the AP sends a serial port command through the MIPI to notify the driver IC to start the partitioned display, and after receiving the command, the driver IC adjusts hardware modules such as a crystal oscillator, Ram, Line Buffer, and a register, so as to realize switching between Gate Timing and Data Timing.
As another possible implementation manner, the display data amount of the display timer element of the target display area is generated according to the display instruction of the display screen, the display timer element of the target display area is driven according to the display data amount, that is, the data amount of each timer element, such as the display brightness value, is directly determined, and the corresponding parameter value is directly sent to the display timer for execution.
Continuing to explain by taking the embodiment in which the display screen is an IC screen as an example, the AP directly changes the transmission Data amount of the MIPI, and after the driving IC recognizes the corresponding display Data amount, adjusts each internal module to realize switching of Gate Timing and Data Timing.
Therefore, the display method of the display screen in the embodiment of the present application realizes reduction of Data amount and reduction of power consumption, and simultaneously satisfies switching of display modes, the practicability of the present application is strong, and the embodiment in which the display screen is an IC screen is continuously described as an example, as shown in fig. 7, Gata and Data signals output by the display screen driving IC have a certain correspondence with MIPI signals, MIPI outputs in one frame, the output mode is to output image signals line by line, and after the output of image signals of all lines is completed, output of the next frame is started. The control display screen also outputs the Gate Timing and Data Timing signals for each line, which is used for controlling the display refresh of each line, the Gate Timing outputs a pulse line by line, the Data Timing outputs different voltages for each line, and each pixel is controlled to display different brightness. When the display screen display mode is switched, MIPI, Gate Timing and Data Timing signals are switched along with the switching, and after the MIPI, the Gate Timing and the Data Timing signals are switched to corresponding display Data, the display screen displays different areas, so that the switching of the display screen display mode is realized, and the application effect of regional display is achieved.
To sum up, the display screen display method of the embodiment of the application obtains a display screen display instruction, judges whether the display screen display instruction is a sub-area display instruction, determines a target display area if the display screen display instruction is the sub-area display instruction, and sends a driving signal to a display timer element of the target display area according to the display screen display instruction so as to realize that the target display area executes the display screen display instruction.
In order to implement the above embodiments, the present application further provides a display device, where the display screen includes a plurality of display areas, and each display area is provided with a corresponding display timer element.
Fig. 8 is a schematic structural diagram of a display device according to an embodiment of the present application.
As shown in fig. 8, the display device of the display screen includes: a judging module 10, a determining module 20 and a sending module 30.
The judging module 10 is configured to obtain a display instruction of the display screen, and judge whether the display instruction of the display screen is a sub-region display instruction.
The determining module 20 is configured to determine the target display area when the display instruction of the display screen is a sub-area display instruction.
The sending module 30 is configured to send a driving signal to a display timer element of the target display area according to the display instruction of the display screen, so as to implement that the target display area executes the display instruction of the display screen.
In an embodiment of the present application, the determining module 10 is specifically configured to obtain an application identifier corresponding to a display instruction of a display screen, and determine whether an application corresponding to the application identifier is a preset application
In an embodiment of the present application, the sending module 30 is specifically configured to generate a serial port command according to a display instruction of a display screen;
and controlling the serial port of the target display area to send a driving signal to a display timer element of the target display area according to the serial port command.
In an embodiment of the present application, the sending module 30 is specifically configured to generate a display data amount of a display timer element of the target display area according to the display instruction of the display screen;
the display timer element of the target display area is driven according to the display data amount.
It should be noted that the foregoing description of the display method of the display screen is also applicable to the display device of the embodiment of the present application, and the implementation principle is similar, and is not repeated herein.
To sum up, the display screen display device of this application embodiment obtains display screen display instruction, judges whether display screen display instruction is regional display instruction of branch, if regional display instruction of branch, then confirm the target display area, show regional display timer component according to display screen display instruction and send drive signal to the target, show regional execution display screen display instruction in order to realize the target, therefore, through the subregion setting of the display timer component of drive bright screen, can satisfy display screen subregion electric quantity under the different scenes in a flexible way, terminal equipment's consumption has been practiced thrift.
In order to implement the foregoing embodiment, the present application further provides a terminal device, including: the display screen comprises a plurality of display areas, wherein each display area is provided with a corresponding display timer element, the display screen is connected with the processor, and when the processor executes the computer program, the display screen display method as described in the foregoing embodiment is realized.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the display screen display method as described in the foregoing embodiments.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.