CN104932784A - Picture display method and terminal - Google Patents
Picture display method and terminal Download PDFInfo
- Publication number
- CN104932784A CN104932784A CN201510280632.2A CN201510280632A CN104932784A CN 104932784 A CN104932784 A CN 104932784A CN 201510280632 A CN201510280632 A CN 201510280632A CN 104932784 A CN104932784 A CN 104932784A
- Authority
- CN
- China
- Prior art keywords
- picture
- parameter information
- displayed
- environment
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000007613 environmental effect Effects 0.000 claims description 112
- 238000005096 rolling process Methods 0.000 claims description 4
- 230000015654 memory Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 230000001953 sensory effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a picture display method and a terminal. The method comprises a step of obtaining pictures stored by a user and picture attribute information of the pictures; a step of obtaining current environment parameter information of the environment where the terminal is; a step of determining pictures to be displayed from the pictures stored by the user according to the current environment parameter information and the picture attribute information; and a step of displaying the determined pictures to be displayed in a terminal interface. According to the embodiment of the invention, the method can determine and display the pictures to be displayed according to the current environment parameter information.
Description
Technical Field
The invention relates to the technical field of information, in particular to a picture display method and a terminal.
Background
At present, an album or a gallery may be installed in a terminal such as a smart phone or a tablet computer, and pictures stored in the terminal may be arranged through the installed album or gallery. In practical application, the picture information in the album or the gallery is mainly the date information of picture shooting, and the album or the gallery can also display the pictures therein according to the date information of picture shooting, and the display mode is too single.
Disclosure of Invention
The embodiment of the invention provides a picture display method and a terminal, which can display pictures according to current environment parameter information.
The embodiment of the invention provides a picture display method, which comprises the following steps:
acquiring pictures stored by a user and picture attribute information of the pictures;
acquiring current environment parameter information of an environment where a terminal is located;
determining a picture to be displayed from pictures stored by the user according to the current environment parameter information and the picture attribute information;
and displaying the determined picture to be displayed in a terminal interface.
An embodiment of the present invention further provides a terminal, including:
the device comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring pictures stored by a user and picture attribute information of the pictures;
the second acquisition unit is used for acquiring the current environment parameter information of the environment where the terminal is located;
the determining unit is used for determining a picture to be displayed from pictures stored by the user according to the current environment parameter information and the picture attribute information;
and the display unit is used for displaying the determined picture to be displayed in a terminal interface.
The embodiment of the invention can acquire the pictures stored by the user and the picture attribute information of the pictures; acquiring current environment parameter information of an environment where a terminal is located; and determining a picture to be displayed from pictures stored by a user according to the current environment parameter information and the picture attribute information, and displaying the determined picture to be displayed in a terminal interface. Therefore, the embodiment of the invention can display the picture to be displayed according to the current environment parameter information.
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. 3 is a flowchart illustrating a further method for displaying pictures according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another 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 discloses a picture display method and a terminal, which can display pictures according to current environment parameter information. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a picture display method according to an embodiment of the present invention. As shown in fig. 1, the picture display method may include the following steps.
S101, a terminal acquires a picture stored by a user and picture attribute information of the picture;
in the embodiment of the invention, the terminal can comprise a mobile phone, a tablet computer, a cloud server and other portable equipment; the picture attribute information may include environment parameter information of an environment in which the picture is operated, and parameter information of the picture itself, where the environment parameter information of the environment in which the picture is operated may include time, geographical location, weather, and other content, the parameter information of the picture itself may include brightness value, exposure time, shooting equipment, creation time, and the like of the picture, and the operation on the picture may include shooting, downloading, moving, or the like.
In the embodiment of the invention, the pictures stored by the terminal acquisition user can comprise pictures stored in advance by the cloud server, and the terminal can acquire the pictures stored in advance by the cloud server through the network.
S102, the terminal acquires current environment parameter information of the environment where the terminal is located;
in the embodiment of the invention, the terminal can acquire the current environment parameter information of the environment where the terminal is located through various sensor devices, for example, the terminal can acquire the current geographic position of the terminal through a GPS, the terminal can also acquire the current weather information of the geographic position through a network interface, or the terminal detects the current air humidity through a humidity sensor to determine the weather condition of the geographic position. Wherein the current environmental parameter information includes: at least one of time, geographic location, weather, and other sensory information detected by the terminal sensor.
S103, the terminal determines a picture to be displayed from pictures stored by a user according to the current environment parameter information and the picture attribute information;
in the embodiment of the present invention, the terminal determines the picture to be displayed from the pictures stored by the user according to the current environment parameter information and the picture attribute information, which may specifically be: and the terminal determines the picture to be displayed from the pictures stored by the user according to the corresponding relation between the current environment parameter information and the picture attribute information. For example, the current environmental parameter information is "weather: sunny, temperature: high, humidity: low ", the picture attribute information may be selected from pictures stored by the user as" weather: sunny, temperature: high, humidity: the low picture is taken as the picture to be displayed.
In the embodiment of the present invention, the determining, by the terminal, the picture to be displayed from the pictures stored by the user according to the current environment parameter information and the picture attribute information may specifically be: and the terminal selects the picture with the minimum difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information from the pictures stored by the user as the picture to be displayed.
In the embodiment of the present invention, the determining, by the terminal, the picture to be displayed from the pictures stored by the user according to the current environment parameter information and the picture attribute information may specifically be: selecting a picture with the difference value between the environment for operating the picture and the current environment parameter information smaller than a preset threshold value from pictures stored by a user as a picture to be displayed, and storing the picture to be displayed in a picture set to be displayed.
In the implementation of the invention, the terminal can directly acquire the environmental parameter information of the environment of the operation picture from the picture attribute information, and can also acquire the environmental parameter information of the environment of the operation picture according to the parameter information of the picture, for example, weather information of the picture shooting date in the parameter information of the picture is determined through a network entrance; and/or determining a festival or a solar term corresponding to the picture shooting date in the parameter information of the picture through a calendar database; and/or determining the place name corresponding to the geographical position coordinate of picture shooting in the parameter information of the picture through a network entrance.
In the embodiment of the present invention, the terminal may further determine, as the picture to be displayed, the picture in which the brightness value in the picture attribute information matches the brightness value in the current environment parameter information.
And S104, the terminal displays the determined picture to be displayed in a terminal interface.
In the embodiment of the invention, if the terminal determines that the pictures to be displayed comprise a plurality of pictures, the pictures to be displayed can be sequentially displayed in the terminal interface in a rolling display mode.
In the embodiment of the invention, the terminal can also push the determined picture to be displayed to other terminals associated with the terminal, such as a set top box, and the set top box receives the picture to be displayed pushed by the terminal and controls the television to play and display the picture to be displayed.
In the embodiment of the present invention, before the terminal displays the determined picture to be displayed in the terminal interface, a prompt message for prompting the user to view the picture to be displayed determined according to the current environment information may be further output, and when a determination instruction for the prompt message is received, the step S104 is executed in response to the determination instruction, for example, the prompt message may play contents such as "what pictures taken in the past year in the weather are, and a bar is seen soon" in a text or voice manner.
In the embodiment of the present invention, the terminal may further set the determined picture to be displayed as a lock screen page, a homepage wallpaper, an application icon, or the like, where the embodiment of the present invention is not limited. In addition, the user can set the specific setting position, the display mode and the like of the picture to be displayed through a custom setting interface of the terminal.
In the method described in fig. 1, the terminal may obtain a picture stored by the user and picture attribute information of the picture; acquiring current environment parameter information of an environment where a terminal is located; and determining a picture to be displayed from pictures stored by a user according to the current environment parameter information and the picture attribute information, and displaying the determined picture to be displayed in a terminal interface. Therefore, the embodiment of the invention can display the picture to be displayed according to the current environment parameter information.
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 following steps.
S201, a terminal acquires a picture stored by a user and picture attribute information of the picture;
in this embodiment of the present invention, the picture attribute information may include environment parameter information of an environment in which the picture is operated and parameter information of the picture itself, where the environment parameter information of the environment in which the picture is operated may include contents such as time, geographic location, and weather, the parameter information of the picture itself may include brightness value, exposure time, shooting equipment, creation time, and the like of the picture, and the operation on the picture may include shooting, downloading, moving, and the like.
In the embodiment of the invention, after the terminal acquires the picture stored by the user, the environment parameter information of the environment for operating the picture can be displayed on the picture, for example, the environment parameter information of the environment for shooting the picture can comprise the date, the weather and the geographic position, and the shooting date, the weather and the geographic position can be displayed on the picture.
In the implementation of the invention, the terminal can directly acquire the environmental parameter information of the environment of the operation picture from the picture attribute information, and can also acquire the environmental parameter information of the environment of the operation picture according to the parameter information of the picture, for example, weather information of the picture shooting date in the parameter information of the picture is determined through a network entrance; and/or determining a festival or a solar term corresponding to the picture shooting date in the parameter information of the picture through a calendar database; and/or determining the place name and the like corresponding to the geographical position coordinates of picture shooting in the parameter information of the picture through a network entrance, thereby solving the problem that the parameter information of the picture is unreadable by a user.
S202, the terminal acquires the current environment parameter information of the environment where the terminal is located;
in the embodiment of the invention, the terminal can acquire the current environment parameter information of the environment where the terminal is located through various sensor devices, for example, the terminal can acquire the current geographic position of the terminal through a GPS, the terminal can also acquire the current weather information of the geographic position through a network interface, or the terminal detects the current air humidity through a humidity sensor to determine the weather condition of the geographic position. Wherein the current environmental parameter information includes: at least one of time, geographic location, weather, and other sensory information detected by the terminal sensor.
S203, the terminal selects a picture with the minimum difference value between the environmental parameter information of the environment of the operation picture and the current environmental parameter information from the pictures stored by the user as a picture to be displayed;
for example, if the environmental parameter information of the environment in which the picture is taken includes a shooting date, a shooting geographical position, and shooting weather (such as sunny days, cloudy days, and rainy days), and the current environmental parameter information includes the current date, the current geographical position, and the current weather (such as sunny days, cloudy days, and rainy days), for each obtained picture, if three elements included in the environmental parameter information of the environment in which the picture is taken are all consistent with three elements included in the current environmental parameter information, it is "a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is zero"; if two elements in the three elements included in the environment parameter information of the environment for shooting the picture are consistent with two elements in the three elements included in the current environment parameter information, the difference value between the environment parameter information of the environment for operating the picture and the current environment parameter information is 1; if one element of the three elements included in the environmental parameter information of the environment for shooting the picture is consistent with one element of the three elements included in the current environmental parameter information, the difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information is 2%; if the three elements included in the environment parameter information of the environment in which the picture is taken are not consistent with the three elements included in the current environment parameter information, the difference value between the environment parameter information of the environment in which the picture is operated and the current environment parameter information is 3, and therefore the picture with the minimum difference value between the environment parameter information of the environment in which the picture is operated and the current environment parameter information can be selected as the picture to be displayed by executing the operation on the obtained picture.
And S204, setting the picture to be displayed as an icon of a gallery or an album application containing the picture stored by the user by the terminal.
In the embodiment of the present invention, the gallery or album application including the user-stored picture may also be a gallery or album application associated with a cloud server of the user-stored picture.
In the embodiment of the invention, when the terminal sets the picture to be displayed as the icon of the gallery or album application containing the picture stored by the user, the size of the picture to be displayed can be automatically adjusted according to the control display area of the menu interface.
In the method described in fig. 2, the terminal may obtain a picture stored by the user and picture attribute information of the picture, where the picture attribute information of the picture may include environment parameter information of an environment in which the picture is operated, and the terminal may also obtain current environment parameter information of the environment in which the terminal is located, and the terminal may select, from the pictures stored by the user, a picture in which a difference between the environment parameter information of the environment in which the picture is operated and the current environment parameter information is minimum as a picture to be displayed, and further, the terminal sets the picture to be displayed as an icon of a gallery or an album application including the picture stored by the user. Therefore, in the method described in fig. 2, icons of the gallery or the album application can be set according to the current environment parameter information, so that the operation experience of the user is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating another picture display method according to an embodiment of the invention. As shown in fig. 3, the picture display method may include the following steps.
S301, the terminal acquires the pictures stored by the user and the picture attribute information of the pictures;
in the embodiment of the present invention, the specific description of step S301 may refer to step S101 or step S201 in the above embodiment of the present invention, and details are not described here.
S302, the terminal acquires the current environment parameter information of the environment where the terminal is located;
in the embodiment of the present invention, the current environment parameter information includes: at least one of time, geographical position, weather and sensing information detected by a terminal sensor; the picture attribute information includes: environmental parameter information of an environment of the operation picture.
In the embodiment of the present invention, the specific description of step S302 may refer to step S102 or step S202 in the above embodiment of the present invention, and is not described in detail here.
S303, selecting a picture with the difference value between the environmental parameter information of the environment of the operation picture and the current environmental parameter information smaller than a preset threshold value from pictures stored by a user as a picture to be displayed by the terminal, and storing the picture to be displayed in a picture set to be displayed;
for example, if the environmental parameter information of the environment in which the picture is taken includes a shooting date, a shooting geographical position, and shooting weather (such as sunny days, cloudy days, and rainy days), and the current environmental parameter information includes the current date, the current geographical position, and the current weather (such as sunny days, cloudy days, and rainy days), for each obtained picture, if three elements included in the environmental parameter information of the environment in which the picture is taken are all consistent with three elements included in the current environmental parameter information, it is "a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is zero"; if two elements in the three elements included in the environment parameter information of the environment for shooting the picture are consistent with two elements in the three elements included in the current environment parameter information, the difference value between the environment parameter information of the environment for operating the picture and the current environment parameter information is 1; if one element of the three elements included in the environmental parameter information of the environment for shooting the picture is consistent with one element of the three elements included in the current environmental parameter information, the difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information is 2%; if the three elements included in the environmental parameter information of the environment in which the picture is taken are not consistent with the three elements included in the current environmental parameter information, the difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is 3'. If the preset threshold is 1, the difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is less than 1, that is, equal to zero, that is, when all three elements included in the environmental parameter information of the environment in which the picture is taken are consistent with three elements included in the current environmental parameter information, the picture can be stored in a picture set to be displayed as a picture to be displayed.
S304, when detecting a starting instruction input aiming at the photo album or the gallery application, the terminal responds to the starting instruction and displays the pictures in the picture set to be displayed in a rolling mode on the starting interface.
In the embodiment of the present invention, the starting instruction input for the album or gallery application may be a click instruction input for an icon of the album or gallery application or another quick starting manner, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, the terminal not only can scroll and display the pictures in the picture set to be displayed on the starting interface, but also can scroll and display the pictures in the picture set to be displayed in the main interface after the album or the gallery application is started.
In the method described in fig. 3, the terminal may obtain a picture stored by a user and picture attribute information of the picture, where the picture attribute information of the picture may include environment parameter information of an environment in which the picture is operated, and the terminal may also obtain current environment parameter information of an environment in which the terminal is located, and the terminal may select, from the pictures stored by the user, a picture in which a difference between the environment parameter information of the environment in which the picture is operated and the current environment parameter information is smaller than a preset threshold as a picture to be displayed and store the picture in a picture set to be displayed, and further, when detecting a start instruction input for an album or a gallery application, the terminal may respond to the start instruction and scroll-display the pictures in the picture set to be displayed on a start interface. Therefore, in the method described in fig. 3, the pictures in the picture set to be displayed, which are determined according to the current environment parameter information, can be scrolled and displayed on the starting interface of the album or gallery application, so that the operation experience of the user is improved
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 4, the terminal shown in fig. 4 may include a first acquisition unit 401, a second acquisition unit 402, a determination unit 403, and a display unit 404, wherein:
a first obtaining unit 401, configured to obtain a picture stored by a user and picture attribute information of the picture;
a second obtaining unit 402, configured to obtain current environment parameter information of an environment where the terminal is located;
a determining unit 403, configured to determine, according to the current environment parameter information and the picture attribute information, a picture to be displayed from pictures stored by the user;
and a display unit 404, configured to display the determined picture to be displayed in the terminal interface.
In the embodiment of the present invention, the picture attribute information includes environment parameter information of an environment in which the picture is operated and parameter information of the picture itself, where the environment parameter information of the environment in which the picture is operated may include contents such as time, geographic location, and weather, the parameter information of the picture itself may include brightness value, exposure time, shooting equipment, creation time, and the like of the picture, and the operation on the picture may include shooting, downloading, moving, and the like.
In the embodiment of the present invention, the pictures acquired by the first acquiring unit 401 and stored by the user may include pictures pre-stored by the cloud server, and the terminal may acquire the pictures pre-stored by the cloud server through a network.
In this embodiment of the present invention, the second obtaining unit 402 may obtain the current environmental parameter information of the environment where the terminal is located through various sensor devices, for example, the second obtaining unit 402 may obtain the current geographic location of the terminal through a GPS global positioning system, the second obtaining unit 402 may also obtain the current weather information of the geographic location through a network interface, or the second obtaining unit 402 detects the current air humidity through a humidity sensor to determine the weather condition of the geographic location. Wherein the current environmental parameter information includes: at least one of time, geographic location, weather, and other sensory information detected by the terminal sensor.
In the implementation of the present invention, the first obtaining unit 401 may directly obtain the environmental parameter information of the environment in which the picture is operated from the picture attribute information, and may also obtain the environmental parameter information of the environment in which the picture is operated according to the parameter information of the picture itself, for example, the first obtaining unit 401 determines the weather information of the date when the picture is taken in the parameter information of the picture itself through a network entry; and/or the first obtaining unit 401 determines the festival or solar term corresponding to the date of picture shooting in the parameter information of the picture itself through the calendar database; and/or the first obtaining unit 401 determines, through a network portal, a location name and the like corresponding to the geographic location coordinate of the picture shot in the parameter information of the picture itself.
In this embodiment of the present invention, the terminal may further include a marking unit, configured to mark, after the first obtaining unit 401 obtains the picture stored by the user, the obtained environment parameter information of the environment where the picture is taken, on the picture, for example, the environment parameter information of the environment where the picture is taken may include a date, a weather, and a geographic location, and then the shooting date, the weather, and the geographic location may be marked on the picture.
In this embodiment of the present invention, the determining unit 403 determines, according to the current environment parameter information and the picture attribute information, a picture to be displayed from pictures stored by the user, which may specifically be: the determining unit 403 determines a picture to be displayed from pictures stored by the user according to the corresponding relationship between the current environment parameter information and the picture attribute information. For example, the current environmental parameter information is "weather: sunny, temperature: high, humidity: low ", the determination unit 403 may select picture attribute information as" weather: sunny, temperature: high, humidity: the low picture is taken as the picture to be displayed.
In this embodiment of the present invention, the determining unit 403 determines, according to the current environment parameter information and the picture attribute information, a picture to be displayed from pictures stored by the user, where the picture to be displayed may specifically be: the determination unit 403 selects, from among pictures stored by the user, a picture in which the difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is smallest as a picture to be displayed.
In this embodiment of the present invention, the determining unit 403 determines, according to the current environment parameter information and the picture attribute information, a picture to be displayed from pictures stored by the user, where the picture to be displayed may specifically be: the determining unit 403 selects, from the pictures stored by the user, a picture in which the difference between the current environment parameter information and the environment in which the picture is operated is smaller than the preset threshold as a picture to be displayed, and stores the picture to be displayed in the picture set to be displayed.
For example, if the environmental parameter information of the environment in which the picture is taken includes a shooting date, a shooting geographical position, and shooting weather (such as sunny days, cloudy days, and rainy days), and the current environmental parameter information includes the current date, the current geographical position, and the current weather (such as sunny days, cloudy days, and rainy days), for each obtained picture, if three elements included in the environmental parameter information of the environment in which the picture is taken are all consistent with three elements included in the current environmental parameter information, it is "a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is zero"; if two elements in the three elements included in the environment parameter information of the environment for shooting the picture are consistent with two elements in the three elements included in the current environment parameter information, the difference value between the environment parameter information of the environment for operating the picture and the current environment parameter information is 1; if one element of the three elements included in the environmental parameter information of the environment for shooting the picture is consistent with one element of the three elements included in the current environmental parameter information, the difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information is 2%; if the three elements included in the environment parameter information of the environment in which the picture is taken are not consistent with the three elements included in the current environment parameter information, the operation picture is operated, and therefore, the determination unit 403 may perform the above operation on the acquired picture to select the picture with the smallest difference between the environment parameter information of the environment in which the operation picture is operated and the current environment parameter information as the picture to be displayed.
In this embodiment of the present invention, the determining unit 403 selects, from the pictures stored by the user, a picture in which a difference between the current environment parameter information and the environment in which the picture is operated is smaller than a preset threshold as a picture to be displayed, and stores the picture to be displayed in a picture set to be displayed. Assuming that the preset threshold is 1, when a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is less than 1, that is, equal to zero, that is, when all three elements included in the environmental parameter information of the environment in which the picture is taken are consistent with three elements included in the current environmental parameter information, the determining unit 403 may store the picture as a picture to be displayed in a picture set to be displayed.
In this embodiment of the present invention, if the number of the pictures to be displayed determined by the determining unit 403 includes multiple pictures, the displaying unit 404 may sequentially display the pictures to be displayed in the terminal interface in a scrolling manner.
In the embodiment of the present invention, the terminal may further include a pushing unit, configured to push the determined picture to be displayed to other terminals associated with the local terminal, for example, a set top box, where the set top box receives the picture to be displayed pushed by the terminal, and controls the television to play and display the picture to be displayed.
In this embodiment of the present invention, the terminal may further include an output unit, configured to output a prompt message for prompting the user to view the picture to be displayed determined according to the current environment information before the display unit 404 displays the determined picture to be displayed in the terminal interface, and when a determination instruction for the prompt message is received, the display unit 404 is triggered to display the determined picture to be displayed in the terminal interface in response to the determination instruction, for example, the prompt message may play contents such as "what pictures taken in the past year here are in what weather, and a fast-going reading bar" in a text or voice manner.
Referring to fig. 5, fig. 5 is a schematic view of another terminal structure according to the embodiment of the present invention. The terminal shown in fig. 5 is optimized by the terminal shown in fig. 4. Compared to the terminal shown in fig. 4, the terminal shown in fig. 5 may further include a setting unit 405 and a scroll display unit 406.
A setting unit 405, configured to set the picture to be displayed as an icon of a gallery or album application containing the picture stored by the user after the determination unit 403 selects, from the pictures stored by the user, the picture with the smallest difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information as the picture to be displayed.
In the embodiment of the present invention, the gallery or album application including the user-stored picture may also be a gallery or album application associated with a cloud server of the user-stored picture.
In the embodiment of the present invention, when the setting unit 405 sets the picture to be displayed as the icon of the gallery or album application including the picture stored by the user, the size of the picture to be displayed may be automatically adjusted according to the control display area of the menu interface.
A scrolling unit 406, configured to, after the determining unit 403 selects, from the pictures stored by the user, pictures in which a difference between environment parameter information of an environment in which the picture is operated and current environment parameter information is smaller than a preset threshold value, and stores the pictures in the picture set to be displayed, and when a start instruction input for the album or gallery application is detected, scroll-display the pictures in the picture set to be displayed on a start interface in response to the start instruction.
In the embodiment of the present invention, the starting instruction input for the album or gallery application may be a click instruction input for an icon of the album or gallery application or another quick starting manner, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the scrolling unit 406 may not only scroll and display the pictures in the to-be-displayed picture set on the starting interface, but also scroll and display the pictures in the to-be-displayed picture set in the main interface after the album or gallery application is started.
In the terminal described in fig. 4 and 5, the first acquisition unit may acquire a picture stored by the user and picture attribute information of the picture; the second obtaining unit can obtain the current environment parameter information of the environment where the terminal is located; the determining unit may determine a picture to be displayed from pictures stored by the user according to the current environment parameter information and the picture attribute information, and the display unit may display the determined picture to be displayed in the terminal interface. It can be seen that the terminal described in fig. 4 and 5 can display the picture to be displayed according to the current environment parameter information.
Further, the terminal described in fig. 5 may include a setting unit and a scroll display unit, the setting unit may set a picture to be displayed as an icon of a gallery or an album application including pictures stored by a user, and the scroll display unit may scroll and display pictures in a set of pictures to be displayed on a start interface in response to a start instruction when detecting the start instruction input for the album or the gallery application, thereby improving an operation experience of the user.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another terminal according to an embodiment of the disclosure, as shown in fig. 6, the terminal may include at least one processor 501, such as a CPU, an input device 502, a memory 503, at least one communication bus 504, and an output device 505. Wherein a communication bus 504 is used to enable communication connections between these components. The memory 503 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 503 may optionally be at least one storage device located remotely from the processor 501. Wherein, the processor 501 can be combined with the terminal described in fig. 4 and fig. 5, the memory 503 stores a set of program codes, and the processor 501 calls the program codes stored in the memory 503 to perform the following operations:
acquiring pictures stored by a user and picture attribute information of the pictures;
acquiring current environment parameter information of an environment where the terminal is located through an input device 502;
determining a picture to be displayed from pictures stored by a user according to the current environment parameter information and the picture attribute information;
and displaying the determined picture to be displayed in the terminal interface through the output device 505.
In the embodiment of the present invention, the current environment parameter information includes: at least one of time, geographical position, weather and sensing information detected by a terminal sensor; the picture attribute information includes: environmental parameter information of an environment in which the picture is operated, and parameter information of the picture itself. The environment parameter information of the environment for operating the picture may include time, geographical location, weather and other contents, the parameter information of the picture itself may include brightness value, exposure time, shooting equipment, creation time and the like of the picture, and the operation on the picture may include shooting, downloading, moving or the like.
In the embodiment of the present invention, the acquiring, by the processor 501, the picture stored by the user may include a picture stored in advance by the cloud server, and the acquiring, by the processor 501, the picture stored in advance by the cloud server may be performed through a network.
In the embodiment of the present invention, the processor 501 may obtain the current environmental parameter information of the environment where the terminal is located through various sensor devices, for example, the processor 501 may obtain the current geographic location of the terminal through a GPS global positioning system, the processor 501 may also obtain the current weather information of the geographic location through a network interface, or the processor 501 detects the current air humidity through a humidity sensor to determine the weather condition of the geographic location. Wherein the current environmental parameter information includes: at least one of time, geographic location, weather, and other sensory information detected by the terminal sensor.
In the implementation of the present invention, the processor 501 may directly obtain the environmental parameter information of the environment where the picture is operated from the picture attribute information, and may also obtain the environmental parameter information of the environment where the picture is operated according to the parameter information of the picture itself, for example, the processor 501 determines the weather information of the date when the picture is taken in the parameter information of the picture itself through a network entry; and/or the processor 501 determines the festival or the solar term corresponding to the picture shooting date in the parameter information of the picture itself through the calendar database; and/or the processor 501 determines the location name and the like corresponding to the geographic location coordinates of the picture shooting in the parameter information of the picture itself through the network entry.
In this embodiment of the present invention, the processor 501 calls a program code in the memory 503, and determines a picture to be displayed from pictures stored by a user according to the current environment parameter information and the picture attribute information, which may specifically be: the processor 501 determines a picture to be displayed from pictures stored by the user according to the corresponding relationship between the current environment parameter information and the picture attribute information. For example, the current environmental parameter information is "weather: sunny, temperature: high, humidity: low ", the processor 501 may select picture attribute information as" weather: sunny, temperature: high, humidity: the low picture is taken as the picture to be displayed.
In the embodiment of the present invention, the processor 501 calls the program code in the memory 503, determines the picture to be displayed from the pictures stored by the user according to the current environment parameter information and the picture attribute information, and may specifically execute the following steps:
selecting a picture with the minimum difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information from pictures stored by a user as a picture to be displayed;
or,
selecting a picture with the difference value between the environmental parameter information of the environment of the operation picture and the current environmental parameter information smaller than a preset threshold value from pictures stored by a user as a picture to be displayed, and storing the picture to be displayed in a picture set to be displayed.
In this embodiment of the present invention, the processor 501 may further determine, as a picture to be displayed, a picture in which a brightness value in the picture attribute information matches a brightness value in the current environment parameter information.
For example, if the environmental parameter information of the environment in which the picture is taken includes a shooting date, a shooting geographical position, and shooting weather (such as sunny days, cloudy days, and rainy days), and the current environmental parameter information includes the current date, the current geographical position, and the current weather (such as sunny days, cloudy days, and rainy days), for each obtained picture, if three elements included in the environmental parameter information of the environment in which the picture is taken are all consistent with three elements included in the current environmental parameter information, it is "a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is zero"; if two elements in the three elements included in the environment parameter information of the environment for shooting the picture are consistent with two elements in the three elements included in the current environment parameter information, the difference value between the environment parameter information of the environment for operating the picture and the current environment parameter information is 1; if one element of the three elements included in the environmental parameter information of the environment for shooting the picture is consistent with one element of the three elements included in the current environmental parameter information, the difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information is 2%; if the three elements included in the environment parameter information of the environment in which the picture is taken are not consistent with the three elements included in the current environment parameter information, the difference between the environment parameter information of the environment in which the picture is operated and the current environment parameter information is "3", and therefore, the processor 501 may perform the above operation on the acquired picture to select the picture in which the difference between the environment parameter information of the environment in which the picture is operated and the current environment parameter information is the smallest as the picture to be displayed.
In the embodiment of the present invention, the processor 501 selects, from the pictures stored by the user, a picture in which a difference between the current environment parameter information and the environment in which the picture is operated is smaller than a preset threshold as a picture to be displayed, and stores the picture to be displayed in the picture set to be displayed. Assuming that the preset threshold is 1, when a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is less than 1, that is, equal to zero, that is, when all three elements included in the environmental parameter information of the environment in which the picture is taken are consistent with three elements included in the current environmental parameter information, the determining unit 403 may store the picture as a picture to be displayed in a picture set to be displayed.
In this embodiment of the present invention, after the processor 501 calls the program code in the memory 503, and selects, from the pictures stored by the user, a picture with the smallest difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information as a picture to be displayed, the following operations may also be performed:
and setting the picture to be displayed as an icon of a gallery or an album application containing the picture stored by the user.
In the embodiment of the present invention, the gallery or album application including the user-stored picture may also be a gallery or album application associated with a cloud server of the user-stored picture.
In the embodiment of the present invention, when the processor 501 sets the picture to be displayed as the icon of the gallery or album application containing the picture stored by the user, the size of the picture to be displayed may be automatically adjusted according to the control display area of the menu interface.
In this embodiment of the present invention, after the processor 501 calls the program code in the memory 503, and selects, from the pictures stored by the user, a picture in which a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is smaller than a preset threshold value, and stores the picture in the picture set to be displayed, the following operations may also be performed:
and when a starting instruction input aiming at the photo album or the gallery application is detected, responding to the starting instruction, and displaying the pictures in the picture set to be displayed in a rolling mode on a starting interface.
In the embodiment of the present invention, the starting instruction input for the album or gallery application may be a click instruction input for an icon of the album or gallery application or another quick starting manner, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the processor 501 may not only scroll and display the pictures in the to-be-displayed picture set on the start interface, but also scroll and display the pictures in the to-be-displayed picture set in the main interface after the album or gallery application is started.
Specifically, the terminal described in this embodiment may implement part or all of the processes in the embodiments of the picture display method described in conjunction with fig. 1 to fig. 3 of the present invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units or sub-units in the terminal or the equipment of the embodiment of the invention can be merged, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention disclose a method for displaying a picture and a terminal, which are described in detail, and the detailed embodiments are applied to illustrate the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A picture display method, comprising:
acquiring pictures stored by a user and picture attribute information of the pictures;
acquiring current environment parameter information of an environment where a terminal is located;
determining a picture to be displayed from pictures stored by the user according to the current environment parameter information and the picture attribute information;
and displaying the determined picture to be displayed in a terminal interface.
2. The method of claim 1, wherein the current environmental parameter information comprises: at least one of time, geographical position, weather and sensing information detected by a terminal sensor;
the picture attribute information includes: and operating the environmental parameter information of the environment of the picture.
3. The method of claim 2, wherein the determining a picture to be displayed from among the pictures stored by the user according to the current environment parameter information and the picture attribute information comprises:
selecting a picture with the minimum difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information from the pictures stored by the user as a picture to be displayed;
or,
and selecting a picture with the difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information smaller than a preset threshold value from the pictures stored by the user as a picture to be displayed, and storing the picture to be displayed in a picture set to be displayed.
4. The method according to claim 3, wherein after selecting, as the picture to be displayed, a picture having a smallest difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information from among the pictures stored by the user, the method further comprises:
and setting the picture to be displayed as an icon of a gallery or an album application containing the picture stored by the user.
5. The method of claim 3, wherein after storing, from the pictures stored by the user, a picture in which a difference between the environmental parameter information of the environment in which the picture is selected to be operated and the current environmental parameter information is smaller than a preset threshold into the picture set to be displayed, the method further comprises:
and when a starting instruction input aiming at the photo album or the gallery application is detected, responding to the starting instruction, and displaying the pictures in the picture set to be displayed in a rolling manner on a starting interface.
6. A terminal, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring pictures stored by a user and picture attribute information of the pictures;
the second acquisition unit is used for acquiring the current environment parameter information of the environment where the terminal is located;
the determining unit is used for determining a picture to be displayed from pictures stored by the user according to the current environment parameter information and the picture attribute information;
and the display unit is used for displaying the determined picture to be displayed in a terminal interface.
7. The terminal of claim 6, wherein the current environment parameter information comprises: at least one of time, geographical position, weather and sensing information detected by a terminal sensor;
the picture attribute information includes: and operating the environmental parameter information of the environment of the picture.
8. The terminal according to claim 7, wherein the determining unit is specifically configured to select, from the pictures stored by the user, a picture with a smallest difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information as the picture to be displayed;
or,
the determining unit is specifically configured to select, from the pictures stored by the user, a picture in which a difference between the environmental parameter information of the environment in which the picture is operated and the current environmental parameter information is smaller than a preset threshold as a picture to be displayed, and store the picture to be displayed in a picture set to be displayed.
9. The terminal of claim 8, wherein the terminal further comprises:
and the setting unit is used for setting the picture to be displayed as an icon of a gallery or an album application containing the picture stored by the user after the determining unit selects the picture with the minimum difference value between the environmental parameter information of the environment for operating the picture and the current environmental parameter information from the pictures stored by the user as the picture to be displayed.
10. The terminal of claim 3, wherein the terminal further comprises:
and the scrolling display unit is used for responding to the starting instruction and scrolling and displaying the pictures in the picture set to be displayed on a starting interface after the determining unit selects the pictures with the difference value between the environmental parameter information of the environment for operating the pictures and the current environmental parameter information smaller than a preset threshold value from the pictures stored by the user and stores the pictures in the picture set to be displayed and detects the starting instruction input aiming at the photo album or the gallery application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510280632.2A CN104932784A (en) | 2015-05-28 | 2015-05-28 | Picture display method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510280632.2A CN104932784A (en) | 2015-05-28 | 2015-05-28 | Picture display method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104932784A true CN104932784A (en) | 2015-09-23 |
Family
ID=54119969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510280632.2A Pending CN104932784A (en) | 2015-05-28 | 2015-05-28 | Picture display method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104932784A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630445A (en) * | 2015-12-23 | 2016-06-01 | 北京金山安全软件有限公司 | Data display method and device and electronic equipment |
CN106502566A (en) * | 2016-10-31 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of method of picture presentation and mobile terminal |
CN106604103A (en) * | 2016-12-21 | 2017-04-26 | 青岛海信电器股份有限公司 | Display method and display device for television starting advertisement |
CN107463351A (en) * | 2017-08-14 | 2017-12-12 | 京东方科技集团股份有限公司 | Picture display control method and device, electronics picture frame |
CN108989565A (en) * | 2018-07-27 | 2018-12-11 | 中新工程技术研究院有限公司 | A kind of photo optimization method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870599A (en) * | 2014-04-02 | 2014-06-18 | 联想(北京)有限公司 | Shooting data collecting method, device and electronic equipment |
CN104239315A (en) * | 2013-06-09 | 2014-12-24 | 北京三星通信技术研究有限公司 | Picture correlation method |
CN104536990A (en) * | 2014-12-10 | 2015-04-22 | 广东欧珀移动通信有限公司 | Picture display method and terminal |
-
2015
- 2015-05-28 CN CN201510280632.2A patent/CN104932784A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239315A (en) * | 2013-06-09 | 2014-12-24 | 北京三星通信技术研究有限公司 | Picture correlation method |
CN103870599A (en) * | 2014-04-02 | 2014-06-18 | 联想(北京)有限公司 | Shooting data collecting method, device and electronic equipment |
CN104536990A (en) * | 2014-12-10 | 2015-04-22 | 广东欧珀移动通信有限公司 | Picture display method and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630445A (en) * | 2015-12-23 | 2016-06-01 | 北京金山安全软件有限公司 | Data display method and device and electronic equipment |
CN106502566A (en) * | 2016-10-31 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of method of picture presentation and mobile terminal |
CN106604103A (en) * | 2016-12-21 | 2017-04-26 | 青岛海信电器股份有限公司 | Display method and display device for television starting advertisement |
CN107463351A (en) * | 2017-08-14 | 2017-12-12 | 京东方科技集团股份有限公司 | Picture display control method and device, electronics picture frame |
CN107463351B (en) * | 2017-08-14 | 2020-07-31 | 京东方科技集团股份有限公司 | Picture display control method and device and electronic picture frame |
CN108989565A (en) * | 2018-07-27 | 2018-12-11 | 中新工程技术研究院有限公司 | A kind of photo optimization method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10348960B1 (en) | Apparatus and method for supplying content aware photo filters | |
KR102077305B1 (en) | Method and apparatus for providing contents including augmented reality information | |
US20180139317A1 (en) | Mobile computing terminal with more than one lock screen and method of using the same | |
CN111937046B (en) | Mixed reality system, storage medium, method and portable terminal device | |
US9122382B2 (en) | Method for selecting target at touch point on touch screen of mobile device | |
CN104932784A (en) | Picture display method and terminal | |
US9336326B2 (en) | Browser based objects for copying and sending operations | |
CN106874021B (en) | Automatic switching method and device for visual interface of terminal | |
KR20160026142A (en) | Scrapped Information Providing Method and Apparatus | |
CN112774192B (en) | Game scene jumping method and device, electronic equipment and storage medium | |
US20140362118A1 (en) | Method and System for Displaying Imagery as a Wallpaper on a Computing Device | |
CN108803974B (en) | Page processing method and device and related equipment | |
EP3183641B1 (en) | Suggesting a target location upon viewport movement | |
CN106570078A (en) | Picture classification display method and apparatus, and mobile terminal | |
CN106484827A (en) | Retrieval method and device, and terminal | |
KR20190139500A (en) | Method of operating apparatus for providing webtoon and handheld terminal | |
CN110134884B (en) | Control method and device for displaying navigation information | |
CN108763414B (en) | Live-action display method and device, terminal equipment and storage medium | |
CN106407444A (en) | Retrieval method and device, and terminal | |
CN110750742B (en) | Page optimization method, system, medium and electronic equipment | |
CN107451205A (en) | Navigation bar display method, navigation bar display device and mobile terminal | |
US11122324B2 (en) | Method for displaying video related service, storage medium, and electronic device therefor | |
JP5980172B2 (en) | Display control apparatus and control method thereof | |
JP6154654B2 (en) | Program and information processing apparatus | |
CN107678783B (en) | Theme desktop construction method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150923 |