CN108536406B - Picture display method and device, mobile terminal and storage medium - Google Patents

Picture display method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN108536406B
CN108536406B CN201810175203.2A CN201810175203A CN108536406B CN 108536406 B CN108536406 B CN 108536406B CN 201810175203 A CN201810175203 A CN 201810175203A CN 108536406 B CN108536406 B CN 108536406B
Authority
CN
China
Prior art keywords
picture
display
functional device
preset
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810175203.2A
Other languages
Chinese (zh)
Other versions
CN108536406A (en
Inventor
成蛟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810175203.2A priority Critical patent/CN108536406B/en
Publication of CN108536406A publication Critical patent/CN108536406A/en
Application granted granted Critical
Publication of CN108536406B publication Critical patent/CN108536406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a picture display method and device, a mobile terminal and a storage medium, and is applied to the technical field of mobile terminals. The method comprises the following steps: judging whether the pixel value of the pixel point corresponding to the position of the functional device is within a preset value range when the picture is displayed in a full screen mode; if the picture is displayed in a full screen mode, otherwise, the picture is displayed in a preset display area, wherein the preset display area is a partial area without the functional device in the displayable area of the display screen. The scheme can display the pictures in a classified manner according to the specific conditions of the pictures, and has a better display effect.

Description

Picture display method and device, mobile terminal and storage medium
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a picture display method and apparatus, a mobile terminal, and a storage medium.
Background
Meanwhile, as the requirement of users on the display effect of the mobile terminal is higher and higher, more mobile terminal manufacturers begin to expand the displayable area in the screen, so as to increase the occupation ratio of the displayable area, realize the effect of a full screen, and improve the visual experience of the users. However, when the display screen is enlarged as much as possible, the display effect of the display screen is greatly affected by the components such as the front camera which collect information in the direction of the display screen.
Disclosure of Invention
In view of the foregoing problems, the present application provides a picture display method, an apparatus, a mobile terminal, and a storage medium, which are used for determining a display mode of a picture according to a pixel value in the picture when the picture is displayed, so as to obtain a better picture display effect.
In a first aspect, an embodiment of the present application provides a picture display method, which is applied to a mobile terminal, where the mobile terminal includes a display screen, and a functional device is disposed in a displayable region of the display screen, and the method includes: judging whether the pixel value of the pixel point corresponding to the position of the functional device is within a preset value range when the picture is displayed in a full screen mode; if the picture is displayed in a full screen mode, otherwise, the picture is displayed in a preset display area, wherein the preset display area is a partial area without the functional device in the displayable area of the display screen.
In a second aspect, an embodiment of the present application provides a picture display device, which is applied to a mobile terminal, where the mobile terminal includes a display screen, a functional device is disposed in a displayable region of the display screen, and the device includes: the judging module is used for judging whether the pixel value of the pixel point corresponding to the position of the functional device is in a preset numerical value range when the picture is displayed in a full screen mode; the display module is used for displaying the picture in a full screen mode if the judgment result of the judgment module is positive; and if the judgment result of the judgment module is negative, displaying the picture in a preset display area, wherein the preset display area is a partial area of the displayable area of the display screen, in which the functional device is not arranged.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a display screen, a memory, and a processor, where a functional device is disposed in a displayable region of the display screen, the display screen and the memory are coupled to the processor, the display screen is used for displaying a picture, and the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the above-mentioned method.
According to the picture display method and device, the mobile terminal and the storage medium, whether the pixel value of the pixel point at the position of the corresponding functional device in the picture is within the preset value range or not is judged under the condition that the picture is displayed in a full screen mode, whether the picture is displayed in the full screen mode or in a non-full screen mode is determined according to the judgment result, and the display effect is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a block diagram of a mobile terminal according to an embodiment of the present application;
fig. 2 is a block diagram illustrating a structure of a mobile terminal according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a mobile terminal according to an embodiment of the present application;
fig. 4 shows a flowchart of a picture display method proposed in the first embodiment of the present application;
fig. 5 shows a schematic view of a display of a picture proposed in the first embodiment of the present application;
fig. 6 shows a flowchart of a picture display method proposed in the second embodiment of the present application;
fig. 7 shows a schematic view of a display of a picture according to a second embodiment of the present application;
FIG. 8 is a diagram of a display interface proposed in the second embodiment of the present application;
fig. 9 shows another display diagram of a picture proposed in the second embodiment of the present application;
fig. 10 shows another display diagram of a picture proposed in the second embodiment of the present application;
fig. 11 is a functional block diagram showing a picture display apparatus according to a third embodiment of the present application;
fig. 12 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 13 is a block diagram of a mobile terminal for executing a picture display method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The display screen generally plays a role in a mobile terminal such as a mobile phone or a tablet computer to display contents such as text, pictures, icons or videos. With the development of touch technologies, more and more display screens arranged on mobile terminals are touch screens, and when a touch screen is arranged, when touch operations such as dragging, clicking, double clicking, sliding and the like of a user on the touch screen are detected, the touch operations of the user can be responded.
Generally, a mobile terminal includes a front panel, a rear cover, and a bezel. The front panel includes a forehead area, a middle screen area and a lower key area. Generally, the forehead area is provided with functional devices such as a light intensity sensor, a receiver, a camera and the like, the middle screen is provided with a touch screen, and the lower key area is provided with one to three physical keys. With the development of the technology, the lower key area is gradually cancelled, and the physical keys originally arranged in the lower key area are replaced by the virtual keys in the touch screen.
And functional devices such as an earphone and a front camera arranged in the forehead area are important for the functional support of the mobile phone and are not easy to cancel, so that the display area of the touch screen is expanded to cover the forehead area with great difficulty. After a series of researches, the inventor finds that the original forehead area can be expanded into the displayable area of the touch screen by arranging holes in the displayable area of the touch screen and intensively arranging the functional devices arranged in the forehead area into the holes, so that the area of the displayable area is increased, and the effect of the full-screen is realized. Of course, in the embodiment of the present application, the position of the hole is not limited to the position corresponding to the original forehead area, that is, not limited to the top area of the display screen, but may also be any place in the display screen, such as the bottom area, the side area, and the like of the display screen. In the embodiments of the present application, the top area is mainly used as an example for description.
For example, the hole may be disposed on one or more edges of the touch screen, or may be disposed on non-edges of the touch screen, and the shape of the hole may be semicircular, rectangular with rounded corners, circular, regular polygonal, irregular polygonal, etc. Referring to fig. 1, the hole may be a screen design in which a circular notch is disposed at a position of a non-edge area of the touch screen 109, and a position vacated by the hole formed by the circular notch is used for accommodating at least one front panel component of a projection component, a camera, a proximity light sensor, an earpiece, a distance sensor, an ambient light intensity sensor, a temperature sensor, and a pressure sensor as the functional device 112; referring to fig. 2, the hole may be a screen design in which a semicircular notch is formed at an edge of the touch screen 109, and a position vacated by the hole formed by the semicircular notch is used for accommodating at least one front panel component selected from a projection component, a camera, a proximity light sensor, an earpiece, a distance sensor, an ambient light brightness sensor, a temperature sensor, and a pressure sensor as the functional device 112; referring to fig. 3, the hole may be a screen design in which a semicircular notch is formed in a non-edge area of the touch screen 109, and the position vacated by the hole formed by the semicircular notch is used for accommodating at least one front panel component selected from a projection component, a camera, a proximity light sensor, an earpiece, a distance sensor, an ambient light brightness sensor, a temperature sensor, and a pressure sensor as the functional device 112.
However, the inventor has found that an original such as a front camera falling into the displayable region may cause an irregular displayable region to appear in the displayable region, thereby affecting the display effect in the displayable region. For example, when a picture is displayed in a displayable region, for example, the picture is displayed in a full screen, the functional device may affect the display effect of the picture, and if the picture is not displayed in the full screen, the good visual experience of the full screen cannot be embodied.
Therefore, the inventor provides the picture display method, the picture display device, the mobile terminal and the storage medium provided by the embodiment of the application, determines whether the picture is displayed in a full screen mode according to the pixel value of the pixel point at the corresponding functional device when the picture is displayed in the full screen mode, weakens the damage of the functional device to the full screen when the picture is displayed according to the picture classification, and better reduces the impact of the functional device to the vision of a user. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
First embodiment
Referring to fig. 4, a first embodiment of the present application provides a method for displaying a picture. The picture display method is used for determining whether to display the picture in a full screen mode according to the pixel distribution of the picture. In a specific embodiment, the picture display method is applied to the picture display device shown in fig. 11 and the mobile terminal 100 corresponding to the picture display device 300. The image display method may specifically include the following steps:
step S110: and receiving a picture display request.
Step S120: and judging whether the pixel value of the pixel point corresponding to the position of the functional device is in a preset value range or not when the picture is displayed in a full screen mode. If yes, go to step S130; if not, go to step S140.
The user can initiate a picture display request in the using process of the mobile terminal. The display request may be a display after the thumbnail is enlarged, such as a display after clicking a corresponding picture in a camera or a gallery. Or a display request for independently displaying the picture embedded in other content in the display interface, for example, in the process of browsing the web page, clicking the picture in the web page to request to independently view the picture. The specific situation that the user may initiate the picture display request is not limited in this embodiment, and is not listed, and any scene viewed by the picture may be used as the scene displayed by the picture display request in the embodiment of the present application.
In the request of picture display, the picture can be displayed in full screen. Because but the display screen can set up the trompil in the display area, set up functional device in the trompil, the trompil leads to the picture to be unable to show in the trompil position, and the picture if directly carry out full screen display, may influence the display effect of picture. Therefore, pictures can be classified and displayed.
Specifically, the functional device arranged in the opening and the package of the functional device also have a certain color. For the picture to be displayed, if the picture is displayed in a full screen mode, the pixel value of the pixel point corresponding to the position of the functional device is within the preset numerical range, the color expressed by the pixel value within the preset numerical range is the same as or similar to the color of the functional device, at the moment, if the picture is displayed in the full screen mode, even if the part of the picture corresponding to the functional device cannot be normally displayed and checked, the picture can be displayed in the full screen mode because the color of the functional device is close to the color of the part of the picture, the influence on the picture display effect is extremely small or the display effect of the picture cannot be influenced at all.
For example, a hole is formed in the display screen, and functional devices such as a front camera, a proximity optical sensor and the like are arranged in the hole. If the picture is displayed in a full screen mode, the position of the functional device corresponds to a part of pixel points of the image, namely, the opening of the display screen corresponds to a part of pixel points of the image. As shown in fig. 5, the shaded portion of the display interface of the mobile terminal represents a picture displayed in full screen, a corresponding portion of the picture should be displayed at a position corresponding to the opening in the displayable region, but since the portion of the display screen does not have a display function, the corresponding picture portion cannot be normally displayed.
However, even if the portion of the picture corresponding to the opening is not displayed, the portion corresponds to pixel points in the picture, each pixel point having a corresponding pixel value, such as a pixel value represented by an RGB value. If the color expressed by the pixel value of the pixel point of the part in the picture is close to the opening, the picture can be displayed in a full screen mode. For example, when the functional device in the opening of the display screen is black, the color displayed by the whole opening is black, and the RGB value corresponding to black is (0,0,0), which is the minimum value when the RGB value represents the pixel value; when the pixel value is expressed by the gradation value, the gradation value corresponding to black is 0 and is the minimum value. Therefore, if the preset numerical value range of the pixel value of the opening part corresponding to the picture is smaller than the preset value, the picture can be displayed in a full screen mode, the color of the functional device of the displayed opening part or the color of the opening is coordinated with the overall color of the picture, and the damage of the opening to the full screen during picture display is weakened. The preset value may be a value that shows a color close to black, and is not limited in the embodiment of the present application.
In addition, if the picture is displayed in a full screen mode, the pixel value of the pixel point at the position of the picture corresponding to the functional device is not within the preset numerical value range, and the color of the part of the picture corresponding to the functional device is different from the color of the functional device. In this case, if the picture is displayed in a full screen, the part of the picture corresponding to the functional device cannot be normally displayed and viewed, and the color of the part is filled up by the color of the functional device, but the display effect of the picture is greatly affected by the difference between the color of the functional device and the original color of the part of the picture. For example, a picture corresponding to a functional device should originally display the blue color of the sky, while the functional device is black, and the picture displayed in full screen is inconsistent in the whole picture corresponding to the functional device, which may give impact to the user's vision. Therefore, in this case, the picture may not be displayed in full screen, so that the display range of the picture does not intersect with the functional device portion, and the complete picture can be seen on the display screen.
Step S130: and displaying the picture in a full screen mode.
When the picture is displayed in a full screen mode, the pixel value of the pixel point corresponding to the position of the functional device is within the preset value range, the picture meets the full screen display condition, and the picture is displayed in the full screen mode.
Step S140: and displaying the picture in a preset display area, wherein the preset display area is a partial area of the displayable area of the display screen, wherein the functional device is not arranged in the partial area.
When the picture is displayed in a full screen mode, the pixel value of the pixel point corresponding to the position of the functional device is not within the preset value range, the picture does not meet the full screen display condition, and full screen display is not performed. In this case, the picture is displayed in a predetermined display area of the display screen, the predetermined display area is a partial area of the displayable area of the display screen where the functional device is not disposed, the picture can be displayed completely, and the display effect is not affected by the functional device.
Second embodiment
Compared with the first embodiment, in the method, if the picture is displayed in a full screen, the pixel value of the pixel point corresponding to the position of the functional device is not within the preset value range, and whether the functional device affects the display effect of the picture can be further determined under the condition that the picture is rotated and then displayed in the full screen. Specifically, referring to fig. 6, the method includes:
step S210: and receiving a picture display request.
Step S220: and judging whether the pixel value of the pixel point corresponding to the position of the functional device is in a preset value range or not when the picture is displayed in a full screen mode. If yes, go to step S230, otherwise go to step S240.
Step S230: and displaying the picture in a full screen mode.
Step S240: and judging whether the pixel value of the pixel point corresponding to the position of the functional device is within a preset value range when the picture is displayed in a full screen mode after being rotated by a preset angle. If yes, go to step S250; if not, go to step S260.
When the determination is made in step S220, the determined full-screen display of the picture may be a full-screen display in a default full-screen display state of the picture. For example, if the default display state of the full-screen display of the picture is as shown in fig. 5, in the determination, it is determined whether the pixel value of the pixel point corresponding to the position of the functional device is within the preset value range in the display state as shown in fig. 5. Corresponding to the full-screen display of the picture in step S230, a default full-screen display state may be used.
If the determination result corresponding to step S220 is that the pixel value of the pixel point corresponding to the position of the functional device is not within the preset value range, it may be determined whether the pixel value of the pixel point corresponding to the position of the functional device is within the preset value range if the picture is displayed in a full screen after being rotated by the preset angle. The preset angle may be an angle at which the picture can be displayed in a full screen after being displayed in the full screen.
For example, the display screen is a regular rectangular display screen as shown in fig. 5, the picture is displayed in full screen in the state shown in fig. 5, and if the picture is rotated by 180 degrees, the picture can still be displayed in full screen as shown in fig. 7. If the pixel value of the pixel point corresponding to the position of the functional device is not within the preset value range in the full-screen display state of the picture as shown in fig. 5, it can be determined whether the pixel value of the pixel point corresponding to the part of the functional device of the picture is within the preset value range in the display state of the picture as shown in fig. 7 after the picture is rotated by 180 degrees.
Step S250: and rotating the picture by a preset angle and displaying the picture in a full screen mode.
If the pixel value of the pixel point of the part corresponding to the functional device is within the preset numerical range in the full-screen display state after the picture is rotated by the preset angle, the color of the functional device has less influence on the display effect of the picture, and the picture can be displayed in the full-screen display state after being rotated by the preset angle. The picture shown in fig. 5 is rotated by a predetermined angle and then displayed as shown in fig. 7.
Step S260: and displaying the picture in a preset display area, wherein the preset display area is a partial area of the displayable area of the display screen, wherein the functional device is not arranged in the partial area.
If the picture is in the default full-screen display state, the pixel value of the pixel point corresponding to the position of the functional device is not in the preset value range, and when the picture is displayed in the full-screen mode after being rotated by the preset angle, the pixel value of the pixel point corresponding to the position of the functional device is not in the preset value range, the picture can be displayed in the preset display area, such as the regular rectangular area corresponding to the dotted line frame in fig. 8, but not displayed in the full-screen mode, so that the picture can be completely displayed, as shown in fig. 9. In the embodiment of the present application, the predetermined display area may be a largest regular area of the displayable area of the display screen, where the functional device is not disposed, and the shape of the regular area may correspond to a default shape of the picture, for example, if the picture is a rectangular picture and the opening of the display screen is a circular hole, then the predetermined display area may be a rectangular area tangent to the opening as shown in fig. 8.
Optionally, the picture is displayed in a predetermined display area, where the size of the picture is adjusted according to the size of the predetermined display area, the size of the picture is adjusted to a size that can be displayed in a predetermined display area, and then the adjusted picture is displayed in the predetermined display area. The picture shown in fig. 9 is a picture that is displayed in a predeterminable display area after the picture in fig. 5 is resized.
Optionally, if the predetermined display area is a regular rectangular area, the ratio between the size of the picture displayed in the predetermined display area and the size of the picture in a full-screen display state may be used as an adjustment ratio, and the adjustment ratio of the picture may be equal to the ratio of the predetermined display area to the display screen, that is, the display size of the picture is adjusted to be consistent with the size of the predetermined display area, and the picture may be displayed in the predetermined display area as large as possible.
Optionally, the adjustment of the picture may also be that the picture is rotated by a certain angle and then displayed in the predetermined display area, and at the angle, the picture may be completely displayed in the predetermined display area, for example, as shown in fig. 10, the picture in fig. 5 is rotated by 90 degrees and then displayed in the predetermined display area.
To sum up, according to the picture display method provided in the embodiment of the present application, when a display request corresponding to full-screen display is received, if a pixel value of a pixel point corresponding to a position of a functional device is within a preset value range in a full-screen display state of a picture, an expressed color is similar to an encapsulation color of the corresponding position of the functional device, the functional device is not obvious, the color of the functional device has a small influence on the overall color of the picture, and the full-screen display effect is better, so that the picture is displayed in a full-screen manner. If the pixel value of the pixel point corresponding to the position of the functional device is not in the preset numerical value range in the full-screen display state of the picture, the presented color has a certain difference with the color of the functional device, the color of the functional device is destructive to the whole color of the picture, the picture can be displayed in a preset display area after being adjusted in size, and the preset display area is a partial area of the displayable area of the display screen where the functional device is not arranged, so that the functional device does not influence the complete display of the picture. According to the method, the pictures are displayed in a classified mode, the damage of the full screen caused by the opening and the functional device during picture display is weakened, and the impact of the functional device on the vision of a user is reduced better.
Third embodiment
The embodiment of the application provides a picture display device 300, which is applied to the mobile terminal comprising the functional device. Referring to fig. 11, the apparatus 300 includes: the determining module 310 is configured to determine whether a pixel value of a pixel point corresponding to a location of the functional device is within a preset value range when the picture is displayed in a full screen mode under the condition that the picture display request is received. And the display module 320 is configured to display the picture in a full screen manner if the determination result of the determination module is that the pixel value of the pixel point corresponding to the position of the functional device is within a preset value range. If the judgment result of the judgment module is that the pixel value of the pixel point corresponding to the position of the functional device is not within the preset value range, the display module 320 is configured to display the picture in a preset display area, where the preset display area is a partial area of the display screen where the functional device is not arranged. The preset value range of the pixel value may be that the pixel value is smaller than a preset value.
Optionally, the determining module in this application may be further configured to determine whether a pixel value of a pixel point corresponding to the position of the functional device is within a preset value range when the picture is displayed in a full screen after being rotated by a preset angle, and if so, the displaying module is configured to rotate the picture by the preset angle and display in the full screen. Alternatively, the preset angle may be 180 degrees.
Optionally, the displaying the picture in the predetermined display area by the display module 320 may include: adjusting the size of the picture according to the size of the preset display area; and displaying the adjusted picture in the preset display area.
Optionally, if the predetermined display area is a regular rectangular area, the adjustment ratio of the picture may be equal to the ratio of the predetermined display area to the display screen.
Fourth embodiment
Referring to fig. 12 again, based on the above-mentioned picture display method and apparatus, the embodiment of the present application further provides a mobile terminal 100. As shown in fig. 12, the mobile terminal 100 includes a display 120, a memory 104, and a processor 102, wherein an opening is formed in a displayable region of the display, and a functional device is disposed in the opening. The display screen 120 and the memory 104 are coupled to the processor 102, the display screen 120 is used for displaying pictures, the memory 104 stores instructions, and the processor 102 executes the method of the first embodiment and the second embodiment when the instructions are executed by the processor 102.
Specifically, as shown in fig. 1, 2 and 3, the mobile terminal 100 may include an electronic body 10, where the electronic body 10 includes a housing 12 and a display 120 disposed on the housing 12, and an opening is disposed in the display, and a functional device 112 is disposed in the opening. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the display screen 120 generally includes a display panel 111, and may also include a circuit and the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109. In this embodiment, the picture may be displayed on the display screen 120.
Referring to fig. 13, in an actual application scenario, the mobile terminal 100 may be used as a smart phone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 13 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in FIG. 13, or have a different correspondence than shown in FIG. 13.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102, which may be connected to the electronics body portion 10 or the display screen 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, speaker 101, microphone 103, microphone 105 collectively provide an audio interface between a user and the electronics body section 10 or the display screen 120.
The sensor 114 is disposed in the electronics body portion 10 or in the display screen 120, examples of the sensor 114 include, but are not limited to: acceleration sensor 114F, gyroscope 114G, magnetometer 114H, and other sensors.
In this embodiment, the input module 118 may include the touch screen 109 disposed on the display screen 120, and the touch screen 109 may collect a touch operation of the user (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) on or near the touch screen 109, so that the touch gesture of the user may be obtained and the corresponding connection device may be driven according to a preset program, and thus, the user may select the target area through a touch operation on the display screen. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys 107. The keys 107 may include, for example, character keys for inputting characters, and control keys for activating control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The display screen 120 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof. In one example, the touch screen 109 may be disposed on the display panel 111 so as to be integral with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronics body portion 10 or the display screen 120.
The mobile terminal 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the mobile terminal 100. In this embodiment, the locator 119 implements the positioning of the mobile terminal 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the mobile terminal 100 by using a specific positioning technology and marking the position of the positioned object on an electronic map.
It should be understood that the mobile terminal 100 described above is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobility. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For any processing manner described in the method embodiment, all the processing manners may be implemented by corresponding processing modules in the apparatus embodiment, and details in the apparatus embodiment are not described again.
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 specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations 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 (mobile terminal) 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. For example, 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.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (11)

1. The picture display method is characterized by being applied to a mobile terminal, wherein the mobile terminal comprises a display screen, a hole is formed in a displayable area of the display screen, a functional device is arranged in the hole, the functional device comprises at least one front panel component of a projection component, a camera, a proximity light sensor, a receiver, a distance sensor, an ambient light brightness sensor, a temperature sensor and a pressure sensor, and the method comprises the following steps:
judging whether the pixel value of the pixel point corresponding to the position of the functional device is within a preset value range when the picture is displayed in a full screen mode;
if so, displaying the picture in a full screen,
if not, displaying the picture in a preset display area, wherein the preset display area is a partial area of the displayable area of the display screen, wherein the functional device is not arranged in the partial area.
2. The method according to claim 1, wherein before displaying the picture in the predetermined display area, further comprising:
and judging whether the pixel value of the pixel point corresponding to the position of the functional device is within a preset value range when the picture is displayed in a full screen mode after being rotated by a preset angle, and if so, rotating the picture by the preset angle and displaying the picture in the full screen mode.
3. The method of claim 2, wherein the predetermined angle is 180 degrees.
4. The method of claim 1, wherein the predetermined range of pixel values is less than a predetermined value.
5. The method of claim 1, wherein the displaying the picture in a predetermined display area comprises:
adjusting the size of the picture according to the size of the preset display area;
and displaying the adjusted picture in the preset display area.
6. The method of claim 5, wherein the predetermined display area is a regular rectangular area, and the adjustment scale of the picture is equal to the scale of the predetermined display area relative to the display screen.
7. The method according to any one of claims 1 to 6, wherein the functional device comprises any one or a combination of a plurality of cameras, light intensity sensors and earphones.
8. The utility model provides a picture display device, its characterized in that is applied to mobile terminal, mobile terminal includes the display screen, but set up porosely in the display area of display screen, the downthehole functional device that is provided with, the functional device includes at least one front panel part among projection subassembly, camera, the proximity light sensor, earphone, distance sensor, ambient light brightness sensor, temperature sensor, the pressure sensor, the device includes:
the judging module is used for judging whether the pixel value of the pixel point corresponding to the position of the functional device is in a preset numerical value range when the picture is displayed in a full screen mode;
the display module is used for displaying the picture in a full screen mode if the judgment result of the judgment module is positive; and if the judgment result of the judgment module is negative, displaying the picture in a preset display area, wherein the preset display area is a partial area of the displayable area of the display screen, in which the functional device is not arranged.
9. The apparatus according to claim 8, wherein the determining module is further configured to determine whether a pixel value of a pixel point corresponding to a position of the functional device is within a preset value range when the picture is displayed in a full screen after being rotated by a preset angle;
if the judgment result of the judgment module is that the picture is displayed in a full screen after being rotated by a preset angle, the pixel value of the pixel point corresponding to the position of the functional device is within a preset numerical range, and the display module is further used for displaying the picture in the full screen after being rotated by the preset angle.
10. A mobile terminal comprising a display screen, a memory and a processor, wherein a hole is provided in a displayable region of the display screen, wherein a functional device is provided in the hole, wherein the functional device comprises at least one front panel component selected from a projection component, a camera, a proximity light sensor, an earpiece, a distance sensor, an ambient light level sensor, a temperature sensor, and a pressure sensor, wherein the display screen and the memory are coupled to the processor, wherein the display screen is configured to display a picture, wherein the memory stores instructions, and wherein the processor executes the method of any one of claims 1 to 7 when the instructions are executed by the processor.
11. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any of claims 1 to 7.
CN201810175203.2A 2018-03-02 2018-03-02 Picture display method and device, mobile terminal and storage medium Active CN108536406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810175203.2A CN108536406B (en) 2018-03-02 2018-03-02 Picture display method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810175203.2A CN108536406B (en) 2018-03-02 2018-03-02 Picture display method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108536406A CN108536406A (en) 2018-09-14
CN108536406B true CN108536406B (en) 2021-04-13

Family

ID=63486348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810175203.2A Active CN108536406B (en) 2018-03-02 2018-03-02 Picture display method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108536406B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581544A (en) * 2012-07-20 2014-02-12 捷讯研究有限公司 Dynamic region of interest adaptation and image capture device providing same
CN106094990A (en) * 2016-06-12 2016-11-09 张帆 The screen maximized electronic equipment of accounting and using method thereof
CN106293444A (en) * 2015-06-25 2017-01-04 小米科技有限责任公司 Mobile terminal, display control method and device
CN107577495A (en) * 2017-09-05 2018-01-12 广东欧珀移动通信有限公司 interface display method, device and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8698859B2 (en) * 2010-10-19 2014-04-15 Blackberry Limited Display screen having regions of differing pixel density

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581544A (en) * 2012-07-20 2014-02-12 捷讯研究有限公司 Dynamic region of interest adaptation and image capture device providing same
CN106293444A (en) * 2015-06-25 2017-01-04 小米科技有限责任公司 Mobile terminal, display control method and device
CN106094990A (en) * 2016-06-12 2016-11-09 张帆 The screen maximized electronic equipment of accounting and using method thereof
CN107577495A (en) * 2017-09-05 2018-01-12 广东欧珀移动通信有限公司 interface display method, device and terminal

Also Published As

Publication number Publication date
CN108536406A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN107093418B (en) Screen display method, computer equipment and storage medium
CN109191410B (en) Face image fusion method and device and storage medium
CN108234875B (en) Shooting display method and device, mobile terminal and storage medium
US10522096B2 (en) Method for adjusting screen luminance, terminal device and storage medium
CN108762859B (en) Wallpaper display method and device, mobile terminal and storage medium
CN108512997B (en) Display method, display device, mobile terminal and storage medium
WO2019201073A1 (en) Page display method and apparatus, mobile terminal, and storage medium
CN110225237B (en) Image acquisition method and device and mobile terminal
CN108769506B (en) Image acquisition method and device, mobile terminal and computer readable medium
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN110221882B (en) Display method, display device, mobile terminal and storage medium
KR20220062061A (en) Foldable screen display method and electronic device
CN107979667B (en) Dual-screen display method, mobile terminal and computer-readable storage medium
CN110198379B (en) Mobile terminal control method, mobile terminal, and computer-readable storage medium
CN110944374A (en) Communication mode selection method and device, electronic equipment and medium
CN109413264B (en) Background picture adjusting method and terminal equipment
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN110221736B (en) Icon processing method and device, mobile terminal and storage medium
US11783517B2 (en) Image processing method and terminal device, and system
CN110086987B (en) Camera visual angle cutting method and device and storage medium
CN108536407B (en) Text display method, device and mobile terminal
CN108536406B (en) Picture display method and device, mobile terminal and storage medium
CN108650413B (en) Projection method, projection device, mobile terminal and storage medium
CN107807876B (en) Split screen display method, mobile terminal and storage medium
CN110855896A (en) Shooting method and device, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant