CN107481697B - Picture display method, user terminal and related medium product - Google Patents
Picture display method, user terminal and related medium product Download PDFInfo
- Publication number
- CN107481697B CN107481697B CN201710850137.XA CN201710850137A CN107481697B CN 107481697 B CN107481697 B CN 107481697B CN 201710850137 A CN201710850137 A CN 201710850137A CN 107481697 B CN107481697 B CN 107481697B
- Authority
- CN
- China
- Prior art keywords
- picture
- display
- information
- target picture
- user terminal
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/391—Resolution modifying circuits, e.g. variable screen formats
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/363—Graphics controllers
Abstract
The embodiment of the invention discloses a picture display method and a user terminal, comprising the following steps: the user terminal firstly acquires pixel point information of a target picture; adjusting the display resolution of the user terminal to a resolution matched with the pixel point information of the target picture according to a mapping relation between the pre-stored picture pixel point information and the display resolution; and finally, displaying the target picture with the adjusted display resolution. In the embodiment of the invention, the user terminal can adjust the display resolution of the user terminal according to the pixel point information of the target picture, so that the problem of poor display effect caused by mismatching of the pixel point information of the target picture and the display resolution of the user terminal can be solved. Therefore, the image display effect can be improved by implementing the embodiment of the invention.
Description
Technical Field
The invention relates to the technical field of terminals, in particular to a picture display method, a user terminal and a related medium product.
Background
With the rapid development of the internet and the rapid popularization of the terminal, the terminal has increasingly powerful functions. For example: the user can access external network data resources, view pictures, take pictures and the like by using the terminal. However, when a user views a picture through a terminal, since pixel point information of the picture may be different, the picture display effect is often poor due to too low display resolution of the terminal or too high display resolution of the terminal. Therefore, it is important to provide a picture display method to improve the picture display effect.
Disclosure of Invention
The embodiment of the invention provides a picture display method, a user terminal and a related medium product, which can improve the picture display effect.
In a first aspect, an embodiment of the present invention discloses a picture display method, including:
acquiring pixel point information of a target picture;
according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the display resolution of the user terminal is adjusted to the resolution matched with the pixel point information of the target picture;
and displaying the target picture at the adjusted display resolution.
With reference to the implementation manner provided by the first aspect, in a first possible implementation manner of the first aspect, the pixel information of the target picture includes the number of pixels of the target picture and coordinates of the pixels of the target picture.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the step of adjusting the display resolution of the user terminal to a resolution that matches the pixel point information of the target picture according to a mapping relationship between pre-stored picture pixel point information and display resolution may specifically include the following steps:
determining the distribution information of the pixel points in the target picture according to the coordinates of the pixel points of the target picture;
dividing the target picture into at least two sub-pictures according to the distribution information of pixel points in the target picture, and dividing a display area of the user terminal into at least two display areas, wherein each display area is used for displaying one sub-picture;
determining the number of pixel points in each sub-picture in the divided target picture;
and adjusting the resolution of each display area according to the mapping relation between the number of the picture pixel points stored in advance and the display resolution, wherein the adjusted resolution of each display area corresponds to the number of the pixel points of the sub-picture displayed in the display area.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, after the step displays the target picture at the adjusted display resolution, the method may further include the following step:
and when an exit instruction which is input by a user and aims at exiting the application program corresponding to the display picture is received, adjusting the display resolution of the user terminal to the default resolution of the system.
With reference to any one implementation manner of the implementation manner provided by the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, and the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, before the step of obtaining the pixel point information of the target picture, the method may further include the following step:
when receiving a picture display instruction triggered by a user operating a target key, outputting prompt information for prompting the input of information to be verified;
when receiving information to be verified input in response to the prompt message, verifying whether the information to be verified is consistent with preset verification information;
and if the information to be verified is verified to be consistent with the preset verification information, executing the step of obtaining the pixel point information of the target picture.
In a second aspect, an embodiment of the present invention discloses a user equipment, including:
the acquisition unit is used for acquiring pixel point information of the target picture;
the first adjusting unit is used for adjusting the display resolution of the user terminal to the resolution matched with the pixel point information of the target picture acquired by the acquiring unit according to the mapping relation between the prestored picture pixel point information and the display resolution;
and the display unit is used for displaying the target picture according to the display resolution adjusted by the adjusting unit.
With reference to the user terminal provided in the second aspect, in a first possible user terminal in the second aspect, the pixel information of the target picture includes the number of pixels of the target picture and coordinates of the pixels of the target picture.
With reference to the first possible ue of the second aspect, in a second possible ue of the second aspect, the first adjusting unit includes:
the first determining module is used for determining the distribution information of the pixel points in the target picture according to the coordinates of the pixel points of the target picture acquired by the acquiring unit;
the dividing module is used for dividing the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture determined by the determining module, and dividing a display area of the user terminal into at least two display areas, wherein each display area is used for displaying one sub-picture;
the second determining module is used for determining the number of pixel points in each sub-picture in the target picture divided by the dividing module;
and the adjusting module is used for adjusting the resolution of each display area according to the mapping relation between the number of the picture pixel points stored in advance and the display resolution, wherein the adjusted resolution of each display area corresponds to the number of the pixel points of the sub-picture displayed in the display area.
With reference to the second possible user terminal of the second aspect, in a third possible user terminal of the second aspect, the user terminal further includes:
and the second adjusting unit is used for adjusting the display resolution of the user terminal to the default resolution of the system when receiving an exit instruction which is input by a user and aims at exiting the application program corresponding to the display picture.
With reference to the user terminal provided in the second aspect, the first possible user terminal of the second aspect, the second possible user terminal of the second aspect, and any one of the third possible user terminals of the second aspect, in a fourth possible user terminal of the second aspect, the user terminal further includes:
the output unit is used for outputting prompt information for prompting the input of information to be verified when receiving a picture display instruction triggered by the operation of a target key by a user;
and the verification unit is used for verifying whether the information to be verified is consistent with preset verification information or not when receiving the information to be verified input in response to the prompt message output by the output unit, and triggering the acquisition unit to acquire the pixel point information of the target picture if the verification unit verifies that the information to be verified is consistent with the preset verification information.
In the embodiment of the invention, a user terminal firstly acquires pixel point information of a target picture; according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the display resolution of the user terminal is adjusted to the resolution matched with the pixel point information of the target picture; and displaying the target picture at the adjusted display resolution. In the embodiment of the invention, the user terminal can adjust the display resolution of the user terminal according to the pixel point information of the target picture, so that the problem of poor display effect caused by mismatching of the pixel point information of the target picture and the display resolution of the user terminal can be solved. Therefore, the image display effect can be improved by implementing the embodiment of the invention.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a picture display method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for displaying pictures according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a picture division according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of a display area division according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The embodiment of the invention provides a picture display method and a user terminal, wherein the user terminal can adjust the display resolution of the user terminal according to pixel point information of a target picture, so that the problem of poor display effect caused by mismatching of the pixel point information of the target picture and the display resolution of the user terminal can be solved. Therefore, the image display effect can be improved by implementing the embodiment of the invention.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a picture display method according to an embodiment of the present invention. The method shown in fig. 1 may be applied to user terminals such as smart phones (e.g., Android phones, iOS phones, etc.), tablet computers, palmtop computers, Mobile Internet Devices (MID), PADs, etc. As shown in fig. 1, the picture display method may include the steps of:
s101, obtaining pixel point information of the target picture.
In the embodiment of the present invention, the target picture may be a picture stored in the user terminal by the user, or may be a picture taken by the user at this time by using a shooting application of the user terminal.
In the embodiment of the invention, the pictures are all composed of the arranged pixel points. Therefore, when the feature of a picture is to be described, it is possible to describe the information of the pixel points constituting the picture.
S102, according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the display resolution of the user terminal is adjusted to be matched with the pixel point information of the target picture.
In the embodiment of the invention, the mapping relation between the picture pixel point information and the display resolution can be stored in the user terminal in advance. The mapping relation between the picture pixel point information and the display resolution comprises that when the picture pixel point information is different, the display resolutions of the corresponding user terminals are different. And because the hardware information of different user terminals is different, the concrete representation form of the mapping relation is different when the mapping relation is used for different user terminals.
And S103, displaying the target picture at the adjusted display resolution.
In the embodiment of the invention, after the user terminal adjusts the display resolution of the user terminal to the resolution matched with the pixel point information of the target picture according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the user terminal can display the target picture through the adjusted display resolution.
In fig. 1, a user terminal first obtains pixel point information of a target picture; according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the display resolution of the user terminal is adjusted to the resolution matched with the pixel point information of the target picture; and displaying the target picture at the adjusted display resolution. In the embodiment of the invention, the user terminal can adjust the display resolution of the user terminal according to the pixel point information of the target picture, so that the problem of poor display effect caused by mismatching of the pixel point information of the target picture and the display resolution of the user terminal can be solved. Therefore, the image display effect can be improved by implementing the embodiment of the invention.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another picture display method according to an embodiment of the invention. As shown in fig. 2, the picture display method may include the steps of:
s201, obtaining pixel point information of the target picture.
In the embodiment of the invention, the pixel point information of the target picture comprises the number of the pixel points of the target picture and the coordinates of the pixel points of the target picture.
In the embodiment of the invention, because the pixel point is the basic unit of the digital picture, the characteristic information of the picture can be known by knowing the pixel point information of the target picture. That is, the number of the target picture pixel points and the coordinates of the target picture pixel points are known. The total amount of the pixel points of the bitmap picture in the height direction and the width direction is called the pixel size of the picture, the pixel size of the same picture is fixed, the more the pixel points are, the finer and more natural the picture is, but the larger the picture is. The pixel size is related to the resolution, the smaller the resolution, the larger the pixel size. Each pixel is assigned a color value. The high resolution pictures contain more pixels than the low resolution pictures and therefore the pixel points are smaller. A high resolution picture can reproduce more details and finer color transitions than a low resolution picture because of the higher pixel density in the high resolution picture.
In this embodiment of the present invention, before performing step S201, the following steps may be further included:
21) when receiving a picture display instruction triggered by a user operating a target key, outputting prompt information for prompting the input of information to be verified;
22) when receiving information to be verified input in response to the prompt message, verifying whether the information to be verified is consistent with preset verification information;
23) and if the information to be verified is verified to be consistent with the preset verification information, executing the step of obtaining the pixel point information of the target picture.
In the embodiment of the invention, after the user terminal receives the picture display instruction triggered by the operation of the target key by the user, the user terminal outputs prompt information for prompting the input of information to be verified; and the user terminal may output a to-be-authenticated information input port for inputting the to-be-authenticated information.
In the embodiment of the present invention, the information to be verified may include, but is not limited to, any one or combination of a password to be verified, fingerprint information to be verified, face information to be verified, iris information to be verified, retina information to be verified, and voiceprint information to be verified.
In the embodiment of the present invention, the preset verification information may include, but is not limited to, any one or combination of a preset verification password, preset verification fingerprint information, preset verification face information, preset verification iris information, preset verification retina information, and preset verification voiceprint information.
In an embodiment of the present invention, the preset verification information may include fingerprint string information and an input time corresponding to each fingerprint; accordingly, verifying whether the information to be verified is consistent with the preset verification information may include the steps of:
verifying whether the fingerprint string is the same as the fingerprint string included in the preset verification information and whether the difference of the input time of the same fingerprint is smaller than a preset value, and if the fingerprint string is the same as the fingerprint string included in the preset verification information and the difference of the input time of the same fingerprint is smaller than the preset value, verifying that the information to be verified is consistent with the preset verification information; otherwise, the information to be verified is inconsistent with the preset verification information. By implementing the implementation mode, the picture can be prevented from being checked on the user terminal by an illegal user, so that the terminal can be effectively prevented from being operated by the illegal user.
S202, determining distribution information of pixel points in the target picture according to the coordinates of the pixel points of the target picture.
In the embodiment of the invention, the user terminal can determine the distribution information of the pixel points in the target picture according to the coordinates of the pixel points of the target picture. That is, the user terminal can determine the distribution of the pixel points in the target picture according to the coordinates of the pixel points in the target picture, and can clearly identify the pixel points in the target picture at the positions with a large number and the local pixel points with a small number. Due to the places with large number of pixel points, the picture display is clearer.
S203, dividing the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture, and dividing the display area of the user terminal into at least two display areas.
In the embodiment of the invention, when the user terminal divides the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture, the display area of the user terminal is divided into at least two display areas, wherein each display area is used for displaying one sub-picture. That is, when the target picture is divided into N sub-pictures according to the distribution information of the pixel points in the target picture, the display area of the user terminal is divided into N display areas in the same dividing manner, and each display area is used for displaying one sub-picture.
For example, when the target picture is divided into 4 sub-pictures according to the distribution information of the pixel points in the target picture, the display area of the user terminal is divided into 4 display areas in the same dividing manner, wherein each display area is used for displaying one sub-picture. As an optional implementation manner, the display area of the user terminal is divided into 4 display areas, and the target picture is divided into 4 sub-pictures in one-to-one correspondence with the distribution information of the pixel points in the target picture. That is, as shown in fig. 2a, fig. 2a is a schematic diagram of dividing a picture according to an embodiment of the present invention, and as shown in fig. 2b, fig. 2b is a schematic diagram of dividing a display area according to an embodiment of the present invention. The sub-picture labeled one in fig. 2a corresponds to the display area labeled one in fig. 2 b. That is, the display area labeled one in fig. 2b is used to display the sub-picture labeled one in fig. 2 a; the display area labeled two in fig. 2b is used for displaying the sub-picture labeled two in fig. 2 a; the display area labeled three in fig. 2b is used for displaying the sub-picture labeled three in fig. 2 a; the display area labeled four in fig. 2b is used to display the sub-picture labeled four in fig. 2 a.
As another alternative, the user terminal divides the display area and the target picture into the sub-images according to the distribution information of the pixel points, and the number of the final divisions is the same, but it is not always necessary to have a strict one-to-one correspondence. That is, the one-labeled display region in fig. 2b can be used to display the one-labeled sub-picture in fig. 2 a; the display area labeled one in fig. 2b can also be used to display the sub-picture labeled two in fig. 2 a; the display area labeled one in fig. 2b is used to display the sub-picture labeled three in fig. 2a, and so on. The correspondence between other display areas and sub-pictures can be analogized.
As another alternative embodiment, the shape of the target picture dividing sub-picture may be a regular picture or an irregular picture, which is not limited in the present invention.
And S204, determining the number of pixel points in each sub-picture in the divided target picture.
In the embodiment of the invention, the higher the number of the pixel points of the picture is, the clearer the picture is displayed, and in the same picture, the number of the possible pixel points in different areas is different. Therefore, it is particularly important to determine the number of pixel points in each sub-picture in the divided target picture.
S205, adjusting the resolution of each display area according to the mapping relation between the number of the picture pixel points stored in advance and the display resolution.
In the embodiment of the invention, the adjusted resolution of each display area corresponds to the number of pixel points of the sub-picture displayed in the display area. For example, when the display area labeled one in FIG. 2b is used to display the sub-picture labeled one in FIG. 2 a; the display area labeled two in fig. 2b is used for displaying the sub-picture labeled two in fig. 2 a; the display area labeled three in fig. 2b is used for displaying the sub-picture labeled three in fig. 2 a; the display area labeled four in fig. 2b is used to display the sub-picture labeled four in fig. 2 a. The display area labeled one in fig. 2b corresponds to the number of pixels of the sub-picture labeled one in fig. 2 a; the display area labeled two in fig. 2b corresponds to the number of pixels of the sub-picture labeled two in fig. 2 a; the display area labeled three in fig. 2b corresponds to the number of pixel points of the sub-picture labeled three in fig. 2 a; the four numbered display regions in fig. 2b correspond to the four numbered sub-pictures of fig. 2a in terms of the number of pixels.
And S206, displaying the divided target picture with the adjusted display resolution.
And S207, when an exit instruction for exiting the application program corresponding to the display picture, which is input by the user, is received, adjusting the display resolution of the user terminal to the default resolution of the system.
In the embodiment of the invention, the user terminals all have a system default resolution, and when an exit instruction which is input by a user and aims at exiting an application program corresponding to a display picture is received, the display resolution of the user terminals is adjusted to the system default resolution.
In fig. 2, the user terminal divides the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture, and divides the display area of the user terminal into at least two display areas; and adjusting the resolution of each display area according to the mapping relation between the number of the prestored picture pixel points and the display resolution. Therefore, the embodiment of the invention can still improve the picture display effect.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention, configured to execute the image display method. The user terminal shown in fig. 3 may include, but is not limited to, a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a Mobile Internet Device (MID), a PAD, and other user terminals. As shown in fig. 3, the user terminal may include: an acquisition unit 301, a first adjustment unit 302, and a display unit 303, wherein,
the obtaining unit 301 is configured to obtain pixel point information of a target picture.
In the embodiment of the present invention, the target picture may be a picture stored in the user terminal by the user, or may be a picture taken by the user at this time by using a shooting application of the user terminal.
In the embodiment of the invention, the pictures are all composed of the arranged pixel points. Therefore, when the feature of a picture is to be described, it is possible to describe the information of the pixel points constituting the picture.
The first adjusting unit 302 is configured to adjust the display resolution of the user terminal to a resolution that matches the pixel information of the target picture acquired by the acquiring unit 301 according to a mapping relationship between pre-stored picture pixel information and the display resolution.
In the embodiment of the invention, the mapping relation between the picture pixel point information and the display resolution can be stored in the user terminal in advance. The mapping relation between the picture pixel point information and the display resolution comprises that when the picture pixel point information is different, the display resolutions of the corresponding user terminals are different. And because the hardware information of different user terminals is different, the concrete representation form of the mapping relation is different when the mapping relation is used for different user terminals.
A display unit 303, configured to display the target picture at the display resolution adjusted by the adjustment unit 302.
In this embodiment of the present invention, after the first adjusting unit 302 adjusts the display resolution of the user terminal to a resolution that matches the pixel point information of the target picture according to the mapping relationship between the pre-stored picture pixel point information and the display resolution, the display unit 303 may display the target picture through the adjusted display resolution.
In fig. 3, an obtaining unit 301 first obtains pixel point information of a target picture; the first adjusting unit 302 adjusts the display resolution of the user terminal to a resolution matched with the pixel point information of the target picture according to a mapping relation between the pre-stored picture pixel point information and the display resolution; the display unit 303 displays the target picture at the adjusted display resolution. In the embodiment of the present invention, the first adjusting unit 302 adjusts the display resolution of the user terminal according to the pixel point information of the target picture, so as to avoid the problem of poor display effect caused by the mismatch between the pixel point information of the target picture and the display resolution of the user terminal. Therefore, the image display effect can be improved by implementing the embodiment of the invention.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another user terminal according to an embodiment of the present invention, configured to execute the above-mentioned photographing method. Fig. 4 is a further detailed view based on fig. 3, which may include, in addition to all the elements shown in fig. 3: an output unit 304, a verification unit 305, and a second adjustment unit 306, wherein,
the output unit 304 is configured to output a prompt message for prompting to input information to be verified when a picture display instruction triggered by a user operating a target key is received.
A verification unit 305, configured to, when receiving to-be-verified information input in response to the prompt information output by the output unit 304, verify whether the to-be-verified information is consistent with preset verification information, and if the to-be-verified information is consistent with the preset verification information, trigger the obtaining unit to obtain pixel point information of the target picture.
In the embodiment of the present invention, after receiving a picture display instruction triggered by a user operating a target key, the output unit 304 outputs a prompt message for prompting to input information to be verified; and the output unit 304 may output a to-be-authenticated information input port for inputting to-be-authenticated information.
In the embodiment of the present invention, the information to be verified may include, but is not limited to, any one or combination of a password to be verified, fingerprint information to be verified, face information to be verified, iris information to be verified, retina information to be verified, and voiceprint information to be verified.
In the embodiment of the present invention, the preset verification information may include, but is not limited to, any one or combination of a preset verification password, preset verification fingerprint information, preset verification face information, preset verification iris information, preset verification retina information, and preset verification voiceprint information.
In an embodiment of the present invention, the preset verification information may include fingerprint string information and an input time corresponding to each fingerprint; accordingly, the verification unit 305 may verify whether the to-be-verified information is consistent with the preset verification information, including the steps of:
verifying whether the fingerprint string is the same as the fingerprint string included in the preset verification information and whether the difference of the input time of the same fingerprint is smaller than a preset value, and if the fingerprint string is the same as the fingerprint string included in the preset verification information and the difference of the input time of the same fingerprint is smaller than the preset value, verifying that the information to be verified is consistent with the preset verification information; otherwise, the information to be verified is inconsistent with the preset verification information. By implementing the implementation mode, the picture can be prevented from being checked on the user terminal by an illegal user, so that the terminal can be effectively prevented from being operated by the illegal user.
A second adjusting unit 306, configured to adjust the display resolution of the user terminal to a system default resolution when receiving an exit instruction, which is input by a user and is directed to exit from an application program corresponding to a display picture.
In the embodiment of the present invention, the user terminals all have a system default resolution, and when receiving an exit instruction for exiting an application corresponding to a display picture, which is input by a user, the second adjusting unit 306 adjusts the display resolution of the user terminal to the system default resolution.
As an alternative implementation, the first adjusting unit 302 may be further refined to obtain: a first determination module 3020, a division module 3021, a second determination module 3022, and an adjustment module 3023, wherein,
a first determining module 3020, configured to determine distribution information of pixel points in the target picture according to the coordinates of the pixel points of the target picture acquired by the acquiring unit 301.
A dividing module 3021, configured to divide the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture determined by the determining module 3020, and divide the display area of the user terminal into at least two display areas, where each display area is used for displaying one sub-picture.
A second determining module 3022, configured to determine the number of pixel points in each sub-picture in the target picture divided by the dividing module 3021.
The adjusting module 3023 is configured to adjust the resolution of each display region according to a mapping relationship between the number of the pre-stored pixel points of the picture and the display resolution, where the adjusted resolution of each display region corresponds to the number of the pixel points of the sub-picture displayed in the display region.
In this embodiment of the present invention, the first determining module 3020 may determine distribution information of pixel points in the target picture according to coordinates of pixel points of the target picture. That is, the first determining module 3020 may determine the distribution of the pixel points in the target picture according to the coordinates of the pixel points in the target picture, and may clearly identify which position pixel points are more and which local pixel points are less in the target picture. Due to the places with large number of pixel points, the picture display is clearer.
In this embodiment of the present invention, when the dividing module 3021 divides the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture, the display area of the user terminal is divided into at least two display areas, where each display area is used for displaying one sub-picture. That is, when the dividing module 3021 divides the target picture into N sub-pictures according to the distribution information of the pixel points in the target picture, the display area of the user terminal is divided into N display areas in the same dividing manner, and each display area is used for displaying one sub-picture.
For example, when the dividing module 3021 divides the target picture into 4 sub-pictures according to the distribution information of the pixel points in the target picture, the same dividing manner is adopted to divide the display area of the user terminal into 4 display areas, where each display area is used for displaying one sub-picture. As an optional implementation manner, the display area of the user terminal is divided into 4 display areas, and the target picture is divided into 4 sub-pictures in one-to-one correspondence with the distribution information of the pixel points in the target picture. That is, as shown in fig. 2a, fig. 2a is a schematic diagram of dividing a picture according to an embodiment of the present invention, and as shown in fig. 2b, fig. 2b is a schematic diagram of dividing a display area according to an embodiment of the present invention. The sub-picture labeled one in fig. 2a corresponds to the display area labeled one in fig. 2 b. That is, the display area labeled one in fig. 2b is used to display the sub-picture labeled one in fig. 2 a; the display area labeled two in fig. 2b is used for displaying the sub-picture labeled two in fig. 2 a; the display area labeled three in fig. 2b is used for displaying the sub-picture labeled three in fig. 2 a; the display area labeled four in fig. 2b is used to display the sub-picture labeled four in fig. 2 a.
As another alternative, the user terminal divides the display area and the target picture into the sub-images according to the distribution information of the pixel points, and the number of the final divisions is the same, but it is not always necessary to have a strict one-to-one correspondence. That is, the one-labeled display region in fig. 2b can be used to display the one-labeled sub-picture in fig. 2 a; the display area labeled one in fig. 2b can also be used to display the sub-picture labeled two in fig. 2 a; the display area labeled one in fig. 2b is used to display the sub-picture labeled three in fig. 2a, and so on. The correspondence between other display areas and sub-pictures can be analogized.
As another alternative embodiment, the shape of the target picture dividing sub-picture may be a regular picture or an irregular picture, which is not limited in the present invention.
In the embodiment of the invention, the adjusted resolution of each display area corresponds to the number of pixel points of the sub-picture displayed in the display area. For example, when the display area labeled one in FIG. 2b is used to display the sub-picture labeled one in FIG. 2 a; the display area labeled two in fig. 2b is used for displaying the sub-picture labeled two in fig. 2 a; the display area labeled three in fig. 2b is used for displaying the sub-picture labeled three in fig. 2 a; the display area labeled four in fig. 2b is used to display the sub-picture labeled four in fig. 2 a. The display area labeled one in fig. 2b corresponds to the number of pixels of the sub-picture labeled one in fig. 2 a; the display area labeled two in fig. 2b corresponds to the number of pixels of the sub-picture labeled two in fig. 2 a; the display area labeled three in fig. 2b corresponds to the number of pixel points of the sub-picture labeled three in fig. 2 a; the four numbered display regions in fig. 2b correspond to the four numbered sub-pictures of fig. 2a in terms of the number of pixels.
In fig. 4, it is described in detail that the dividing module 3021 divides the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture, and the adjusting module 3023 divides the display area of the user terminal into at least two display areas; and adjusting the resolution of each display area according to the mapping relation between the number of the prestored picture pixel points and the display resolution. Therefore, the embodiment of the invention can still improve the picture display effect.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present invention, configured to execute the above-mentioned photographing method. As shown in fig. 5, the terminal 500 may include: at least one processor 501, at least one input device 502, at least one output device 503, memory 505, and the like. Wherein the components are communicatively coupled via one or more buses 504. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 5 is not intended to limit embodiments of the present invention, and may be a bus configuration, a star configuration, a combination of more or fewer components than those shown, or a different arrangement of components. Wherein:
the processor 501 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing programs and/or modules stored in the memory 505 and calling data stored in the memory 505. The processor 501 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 501 may include only a Central Processing Unit (CPU), or may be a combination of a CPU, a Digital Signal Processor (DSP), a Graphics Processing Unit (GPU), and various control chips. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The input device 502 may include a standard touch screen, keyboard, etc., and may also include a wired interface, wireless interface, etc.
The output device 503 may include a display screen, a speaker, etc., and may also include a wired interface, a wireless interface, etc.
The memory 505 can be used for storing software programs and modules, and the processor 501, the input device 502 and the output device 503 execute various functional applications of the terminal and realize data processing by calling the software programs and modules stored in the memory 505. The memory 505 mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the data storage area may store data created according to the use of the terminal, and the like. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
Specifically, the processor 501 invokes an application program stored in the memory 505 to perform the following operations:
the processor 501 controls the input device 502 to obtain pixel point information of the target picture;
according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the display resolution of the user terminal is adjusted to the resolution matched with the pixel point information of the target picture;
the processor 501 controls the output device 503 to display the target picture at the adjusted display resolution.
In the embodiment of the present invention, the processor 501 invokes an application program stored in the memory 505, and the pixel point information of the target picture includes the number of pixel points of the target picture and coordinates of the pixel points of the target picture.
In the embodiment of the present invention, the processor 501 invokes the application program stored in the memory 505, and the execution step adjusts the display resolution of the user terminal to the resolution matched with the pixel point information of the target picture according to the mapping relationship between the pre-stored picture pixel point information and the display resolution, and may specifically include the following steps:
determining the distribution information of pixel points in the target picture according to the coordinates of the pixel points of the target picture;
dividing the target picture into at least two sub-pictures according to the distribution information of pixel points in the target picture, and dividing a display area of the user terminal into at least two display areas, wherein each display area is used for displaying one sub-picture;
determining the number of pixel points in each sub-picture in the divided target picture;
and adjusting the resolution of each display area according to the mapping relation between the number of the picture pixel points stored in advance and the display resolution, wherein the adjusted resolution of each display area corresponds to the number of the pixel points of the sub-picture displayed in the display area.
In this embodiment of the present invention, after the processor 501 invokes the application program stored in the memory 505 and executes the steps to display the target picture with the adjusted display resolution, the method may further include the following steps:
and when an exit instruction which is input by a user and aims at exiting the application program corresponding to the display picture is received, adjusting the display resolution of the user terminal to the default resolution of the system.
In this embodiment of the present invention, before the processor 501 invokes the application program stored in the memory 505 and performs the steps to acquire the pixel point information of the target picture, the following steps may be further included:
when receiving a picture display instruction triggered by a user operating a target key, the processor 501 controls the output device 503 to output prompt information for prompting to input information to be verified;
when receiving information to be verified input by responding to the prompt message, verifying whether the information to be verified is consistent with preset verification information;
and if the information to be verified is verified to be consistent with the preset verification information, executing the step of obtaining the pixel point information of the target picture.
Specifically, the terminal described in the embodiment of the present invention may implement part or all of the processes in the embodiment of the picture display method described in conjunction with fig. 1 and fig. 2 of the present invention.
The modules or sub-modules in all embodiments of the present invention may be implemented by a general-purpose Integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (8)
1. A picture display method is applied to a user terminal, and the user terminal comprises the following steps: the picture display method comprises the following steps of:
acquiring pixel point information of a target picture;
according to the mapping relation between the pre-stored picture pixel point information and the display resolution, the display resolution of the user terminal is adjusted to the resolution matched with the pixel point information of the target picture;
displaying the target picture with the adjusted display resolution;
the pixel information of the target picture comprises the number of target picture pixels and coordinates of the target picture pixels;
the method for adjusting the display resolution of the user terminal to the resolution matched with the pixel point information of the target picture according to the mapping relation between the pre-stored picture pixel point information and the display resolution comprises the following steps:
determining the distribution information of the pixel points in the target picture according to the coordinates of the pixel points of the target picture;
dividing the target picture into at least two sub-pictures according to the distribution information of pixel points in the target picture, and dividing a display area of the user terminal into at least two display areas, wherein each display area is used for displaying one sub-picture;
determining the number of pixel points in each sub-picture in the divided target picture;
and adjusting the resolution of each display area according to the mapping relation between the number of the picture pixel points stored in advance and the display resolution, wherein the adjusted resolution of each display area corresponds to the number of the pixel points of the sub-picture displayed in the display area.
2. The method of claim 1, wherein after displaying the target picture at the adjusted display resolution, the method further comprises: and when an exit instruction which is input by a user and aims at exiting the application program corresponding to the display picture is received, adjusting the display resolution of the user terminal to the default resolution of the system.
3. The method according to any one of claims 1-2, wherein before the obtaining of the pixel point information of the target picture, the method further comprises:
when receiving a picture display instruction triggered by a user operating a target key, outputting prompt information for prompting the input of information to be verified;
when receiving information to be verified input in response to the prompt message, verifying whether the information to be verified is consistent with preset verification information;
and if the information to be verified is verified to be consistent with the preset verification information, executing the step of obtaining the pixel point information of the target picture.
4. A user terminal, characterized in that the user terminal comprises: smart phone, panel computer, palm computer or mobile internet equipment MID, user terminal includes:
the acquisition unit is used for acquiring pixel point information of the target picture;
the first adjusting unit is used for adjusting the display resolution of the user terminal to the resolution matched with the pixel point information of the target picture acquired by the acquiring unit according to the mapping relation between the prestored picture pixel point information and the display resolution;
the display unit is used for displaying the target picture with the display resolution adjusted by the adjusting unit;
the pixel information of the target picture comprises the number of target picture pixels and coordinates of the target picture pixels;
wherein the first adjusting unit includes:
the first determining module is used for determining the distribution information of the pixel points in the target picture according to the coordinates of the pixel points of the target picture acquired by the acquiring unit;
the dividing module is used for dividing the target picture into at least two sub-pictures according to the distribution information of the pixel points in the target picture determined by the determining module, and dividing a display area of the user terminal into at least two display areas, wherein each display area is used for displaying one sub-picture;
the second determining module is used for determining the number of pixel points in each sub-picture in the target picture divided by the dividing module;
and the adjusting module is used for adjusting the resolution of each display area according to the mapping relation between the number of the picture pixel points stored in advance and the display resolution, wherein the adjusted resolution of each display area corresponds to the number of the pixel points of the sub-picture displayed in the display area.
5. The user terminal of claim 4,
wherein the user terminal further comprises: and the second adjusting unit is used for adjusting the display resolution of the user terminal to the default resolution of the system when receiving an exit instruction which is input by a user and aims at exiting the application program corresponding to the display picture.
6. The UE of any one of claims 4 to 5, further comprising:
the output unit is used for outputting prompt information for prompting the input of information to be verified when receiving a picture display instruction triggered by the operation of a target key by a user;
and the verification unit is used for verifying whether the information to be verified is consistent with preset verification information or not when receiving the information to be verified input in response to the prompt message output by the output unit, and triggering the acquisition unit to acquire the pixel point information of the target picture if the verification unit verifies that the information to be verified is consistent with the preset verification information.
7. A user terminal, comprising: at least one input device; at least one output device, at least one processor, and a memory, the input device, the output device, the processor, and the memory being connected by one or more buses;
the processor invokes an application program stored in memory for performing the method of any of claims 1 to 3.
8. A computer-readable storage medium, characterized in that it stores a computer program comprising instructions for carrying out the method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710850137.XA CN107481697B (en) | 2015-07-03 | 2015-07-03 | Picture display method, user terminal and related medium product |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510392228.4A CN105045554B (en) | 2015-07-03 | 2015-07-03 | A kind of image display method and user terminal |
CN201710850137.XA CN107481697B (en) | 2015-07-03 | 2015-07-03 | Picture display method, user terminal and related medium product |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510392228.4A Division CN105045554B (en) | 2015-07-03 | 2015-07-03 | A kind of image display method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107481697A CN107481697A (en) | 2017-12-15 |
CN107481697B true CN107481697B (en) | 2020-12-22 |
Family
ID=54452122
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710850137.XA Expired - Fee Related CN107481697B (en) | 2015-07-03 | 2015-07-03 | Picture display method, user terminal and related medium product |
CN201510392228.4A Expired - Fee Related CN105045554B (en) | 2015-07-03 | 2015-07-03 | A kind of image display method and user terminal |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510392228.4A Expired - Fee Related CN105045554B (en) | 2015-07-03 | 2015-07-03 | A kind of image display method and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107481697B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002273A (en) * | 2017-06-06 | 2018-12-14 | 中兴通讯股份有限公司 | Method, mobile terminal and the storage medium of browsing pictures |
CN109753207B (en) * | 2017-11-02 | 2021-12-10 | 腾讯科技(深圳)有限公司 | Information processing method and device and storage medium |
CN111223155B (en) * | 2019-10-22 | 2023-12-05 | 浙江大搜车软件技术有限公司 | Image data processing method, device, computer equipment and storage medium |
CN111341285A (en) * | 2020-03-05 | 2020-06-26 | 深圳市隆利科技股份有限公司 | Image display method |
CN111312083A (en) * | 2020-03-05 | 2020-06-19 | 深圳市隆利科技股份有限公司 | Image display method for tiled display |
CN111312085A (en) * | 2020-03-05 | 2020-06-19 | 深圳市隆利科技股份有限公司 | Splicing display and display equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003108283A (en) * | 2001-09-18 | 2003-04-11 | Internatl Business Mach Corp <Ibm> | Computer apparatus, display device, display control apparatus, processing method for image, processing method for changing display resolution and computer program |
JP4035497B2 (en) * | 2003-09-26 | 2008-01-23 | キヤノン株式会社 | Image display system, image display apparatus, image display method, and program |
US20080012868A1 (en) * | 2006-07-14 | 2008-01-17 | Mediatek Inc. | Multimedia Playback System, Multimedia Data Reproduction Apparatus, and Method Thereof |
CN101350187B (en) * | 2007-07-16 | 2010-08-25 | 联詠科技股份有限公司 | Method for processing image data and image display apparatus |
CN101325040B (en) * | 2008-07-16 | 2011-12-28 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal |
CN101661700A (en) * | 2008-08-26 | 2010-03-03 | 奇菱科技股份有限公司 | Device and method for regulating image resolution and display device |
CN103345390A (en) * | 2013-06-17 | 2013-10-09 | 北京金山安全软件有限公司 | Picture output method and device for mobile terminal and mobile terminal |
CN104484856A (en) * | 2014-11-21 | 2015-04-01 | 广东威创视讯科技股份有限公司 | Picture labeling display control method and processor |
-
2015
- 2015-07-03 CN CN201710850137.XA patent/CN107481697B/en not_active Expired - Fee Related
- 2015-07-03 CN CN201510392228.4A patent/CN105045554B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN105045554B (en) | 2017-10-17 |
CN107481697A (en) | 2017-12-15 |
CN105045554A (en) | 2015-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107481697B (en) | Picture display method, user terminal and related medium product | |
US9674425B2 (en) | Image acquisition method and apparatus | |
CN106161967B (en) | Backlight scene panoramic shooting method and mobile terminal | |
CN104869305B (en) | Method and apparatus for processing image data | |
CN111147749A (en) | Photographing method, photographing device, terminal and storage medium | |
CN113126937B (en) | Display terminal adjusting method and display terminal | |
US9250931B2 (en) | System, method, and computer program product for calculating settings for a device, utilizing one or more constraints | |
WO2017202170A1 (en) | Method and device for video compression and electronic device | |
EP3822757A1 (en) | Method and apparatus for setting background of ui control | |
US10887195B2 (en) | Computer system, remote control notification method and program | |
US9030378B2 (en) | Sharing display processing system, display processing system, and display method | |
CN110618852B (en) | View processing method, view processing device and terminal equipment | |
US9286247B2 (en) | System, method, and computer program product for determining settings for a device by utilizing a directed acyclic graph containing a plurality of directed nodes each with an associated speed and image quality | |
CN110288532B (en) | Method, apparatus, device and computer readable storage medium for generating whole body image | |
CN111352560B (en) | Screen splitting method and device, electronic equipment and computer readable storage medium | |
CN106293658B (en) | Interface component generation method and equipment | |
CN109065001B (en) | Image down-sampling method and device, terminal equipment and medium | |
CN108604367B (en) | Display method and handheld electronic device | |
US20230089650A1 (en) | Electronic device for recognizing each of plurality of display modules and method for recognizing multi-display | |
WO2019109231A1 (en) | Processing method for writing stroke and related device | |
CN108205429B (en) | Control apparatus, system and method for simulating display screen and supporting virtual display apparatus | |
CN106960460B (en) | Animation processing method, device and equipment | |
CN109675312B (en) | Game item list display method and device | |
KR20180056268A (en) | Image processing apparatus and controlling method thereof | |
US20180270665A1 (en) | Method and device for displaying locked interface and mobile terminal |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201222 |
|
CF01 | Termination of patent right due to non-payment of annual fee |