CN109033297B - Image display method and mobile terminal - Google Patents

Image display method and mobile terminal Download PDF

Info

Publication number
CN109033297B
CN109033297B CN201810776188.7A CN201810776188A CN109033297B CN 109033297 B CN109033297 B CN 109033297B CN 201810776188 A CN201810776188 A CN 201810776188A CN 109033297 B CN109033297 B CN 109033297B
Authority
CN
China
Prior art keywords
image
arrangement rule
image arrangement
target
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810776188.7A
Other languages
Chinese (zh)
Other versions
CN109033297A (en
Inventor
杨硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810776188.7A priority Critical patent/CN109033297B/en
Publication of CN109033297A publication Critical patent/CN109033297A/en
Application granted granted Critical
Publication of CN109033297B publication Critical patent/CN109033297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an image display method and a mobile terminal, wherein the image display method comprises the following steps: receiving a preset operation for triggering the target application to upload the image, and determining the purpose of the target application to upload the image currently in response to the preset operation; acquiring a corresponding target image arrangement rule according to the purpose of uploading the image currently by the target application; in the image selection area, stored images arranged according to the target image arrangement rule are displayed. The method and the device can display the recommended image in the display area according to the specific requirements of the user, meet the use requirements of the user in a specific scene, and improve the user experience.

Description

Image display method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an image display method and a mobile terminal.
Background
At present, in the process of using the mobile terminal, when a user uploads a head portrait or a picture in a certain application, the user opens the album to see all the pictures in the album, and at the moment, the pictures are displayed according to the latest picture display rule by default. However, when a user is in a specific scene or needs to upload a picture shot long ago, it often takes a long time to search, and even there is a disadvantage that the picture cannot be searched, which affects the user experience.
For example: when house pictures are uploaded on a classified information website, a user only selects pictures related to houses, if the house pictures are shot earlier and are sorted according to time, the house pictures are arranged behind, and the house pictures are troublesome to search; or when some applications upload the head portrait, pictures suitable for head portrait may be arranged behind in time sequence, and at this time, the user also has the problem of troublesome searching when selecting.
In summary, the rules for displaying uploaded pictures in the current mainstream applications of the mobile terminal are single, and the pictures are sorted according to the time sequence, so that although the requirement of sending the pictures instantly is met, the problem of poor experience still exists under the specific requirement.
Disclosure of Invention
The embodiment of the invention provides an image display method and a mobile terminal, and aims to solve the problem that the existing image uploading rule is single, so that the user experience is poor.
In order to solve the above problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an image display method, including:
receiving a preset operation for triggering the target application to upload the image, and determining the purpose of the target application to upload the image currently in response to the preset operation;
acquiring a corresponding target image arrangement rule according to the purpose of uploading the image currently by the target application;
in the image selection area, stored images arranged according to the target image arrangement rule are displayed.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the determining module is used for receiving a preset operation for triggering the target application to upload the image and responding to the preset operation to determine the purpose of the target application to upload the image currently;
the acquisition module is used for acquiring a corresponding target image arrangement rule according to the purpose of uploading the image currently by the target application;
and the first display module is used for displaying the storage images which are arranged according to the target image arrangement rule in the image selection area.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the image display method described above.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the image display method are realized.
According to the technical scheme, the purpose of applying the current uploaded image is determined through the preset operation of the user, the target image arrangement rule is obtained according to the purpose of applying the current uploaded image, the image arrangement is carried out based on the obtained target image arrangement rule, the arranged storage image is displayed in the image selection area, the recommended image can be displayed in the display area according to the specific requirement of the user, the use requirement of the user in a specific scene is met, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only 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 inventive exercise.
FIG. 1 is a schematic diagram of an image display method according to an embodiment of the present invention;
FIG. 2 is a schematic view of an overall flowchart of an image display method according to an embodiment of the present invention;
FIG. 3 is a second flowchart illustrating an overall image display method according to an embodiment of the present invention;
FIG. 4 is a diagram of a mobile terminal according to an embodiment of the invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal according to an 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.
An embodiment of the present invention provides an image display method, as shown in fig. 1, including:
step 101, receiving a preset operation for triggering a target application to upload an image, and determining the purpose of the target application to upload the image currently in response to the preset operation.
The method comprises the steps of firstly determining a target application capable of uploading images, detecting whether a preset operation that a user triggers the target application to upload the images is received, responding to the preset operation after the preset operation of the user is received, and determining the purpose of the target application to upload the images currently.
For different applications that can upload images, the purpose of uploading images is different, for example, the purpose of uploading images by application a is to modify the head portrait, and the purpose of uploading images by application B is to display information. Or for a certain application, the uploaded image may correspond to multiple purposes, for example, when the application C uploads the image, the uploaded image may be used as chat information, or the avatar may be updated according to the uploaded image, or the uploaded image may be used for information display. Therefore, when a preset operation for triggering the target application to upload the image is received, the purpose corresponding to the currently uploaded image of the target application needs to be determined.
When a user carries out preset operation and further triggers the target application to upload the image, the mobile terminal determines the purpose of uploading the image by the target application according to the preset operation. The step of responding to the preset operation to determine the purpose of the target application to upload the image currently comprises the following steps:
responding to preset operation, and acquiring at least one purpose corresponding to an uploaded image contained in a target application; and determining the purpose corresponding to the currently uploaded image of the target application in at least one purpose according to the interface attribute of the image uploading interface corresponding to the preset operation.
The mobile terminal can divide the application categories in advance, the applications with the same uploaded image purpose are divided into one category, the purpose of the uploaded image corresponding to each application category at least comprises one, and the purposes of the uploaded images corresponding to the applications in the same application category are the same. For example, application D and application C upload images for the purpose of updating the avatar and using as chat information, and thus application D and application C can be classified into the same application category.
And when the target application receives the preset operation, the mobile terminal determines the application type of the target application. After the application category to which the target application belongs is determined, at least one purpose corresponding to the uploaded image contained in the application category to which the target application belongs is obtained. After at least one purpose corresponding to the uploaded image contained in the application category to which the target application belongs is obtained, at least one purpose corresponding to the uploaded image contained in the target application is obtained. If the target application only comprises one purpose, the purpose corresponding to the currently uploaded image can be directly determined. If the target application uploads the images for two or more purposes, the interface attribute of the image uploading interface corresponding to the preset operation can be acquired at the moment, and the purpose corresponding to the currently uploaded image is determined in the purposes contained in the target application according to the interface attribute of the image uploading interface. That is, when the purpose of uploading images in an application includes multiple purposes, the purpose of uploading images can be distinguished according to different interface attributes of an uploading image interface.
By determining at least one purpose corresponding to the uploaded images of the target application and determining the purpose corresponding to the currently uploaded images in the at least one purpose, at least one image arrangement rule corresponding to each target application or each application type can be determined, the formed corresponding relationship is simplified, and the complexity caused by respectively establishing a corresponding relationship for each image uploading action is avoided.
When the purpose of uploading the image by the target application is more than one, the mobile terminal can determine the purpose corresponding to the currently uploaded image according to the interface attribute of the image uploading interface corresponding to the preset operation of the user. The interface attribute of the image uploading interface is the type of the display interface corresponding to the image uploading. And if the display interface corresponding to the image uploading is of the chat type, determining that the corresponding purpose of the currently uploaded image is to use the uploaded image as chat information, and if the display interface corresponding to the image uploading is of the avatar setting type, determining that the corresponding purpose of the currently uploaded image is to update the avatar.
After determining the destination corresponding to the currently uploaded image of the target application, step 102 is executed.
And 102, acquiring a corresponding target image arrangement rule according to the purpose of the currently uploaded image of the target application.
After the purpose of the currently uploaded image of the target application is determined, the corresponding target image arrangement rule can be obtained according to the determined purpose, wherein the step of obtaining the corresponding target image arrangement rule according to the purpose of the currently uploaded image of the target application comprises the following steps: acquiring a corresponding target image arrangement rule in an image arrangement rule list according to the purpose of uploading the image currently by the target application; wherein, the list of image arrangement rules at least comprises: the image arrangement rule is that the images are arranged from front to back in time, the images are arranged from back to front in time, and the images of the preset category are displayed in front.
That is, the mobile terminal may obtain, in the image arrangement rule list, a target image arrangement rule corresponding to the purpose of the currently uploaded image according to the correspondence between the purpose of uploading the image and the image arrangement rule. The image arrangement rule included in the image arrangement rule list may be: the arrangement rule of time from front to back, the arrangement rule of time from back to front, and the arrangement rule of the preset type of images displayed in front. The preset category of images may be self-portrait face images, house images, landscape images, animal images, or other categories of images, which are not listed here.
After acquiring the target image arrangement rule corresponding to the purpose of the currently uploaded image, step 103 is executed.
Step 103, displaying the stored images arranged according to the target image arrangement rule in the image selection area.
After acquiring the corresponding target image arrangement rule, the stored images arranged according to the target image arrangement rule need to be displayed in the image selection area.
Wherein, in the image selection area, the step of displaying the stored images arranged according to the arrangement rule of the target images comprises the following steps: a first number of stored images arranged according to the target image arrangement rule are displayed in the entire image selection area.
After determining the target image arrangement rule and arranging the storage images according to the target image arrangement rule, the mobile terminal may determine a first number of storage images ranked in the front from the arranged storage images, where the first number is the number of images that can be accommodated in the entire image selection area. After the first number of stored images are selected, the selected first number of stored images are displayed in accordance with a display rule in the entire image selection area. The display rule may be that the first number of stored images are displayed in order from top to bottom and from left to right, but the display rule may also be in other forms, and is not described in detail here.
In the embodiment of the present invention, after displaying the first number of stored images arranged according to the target image arrangement rule in the entire image selection area, the method further includes: displaying a first virtual key for switching the image arrangement rule in the image selection area by using a first preset transparency; if a first touch operation of a user on the first virtual key is received, responding to the first touch operation to display the rest image arrangement rules except the target image arrangement rule in the image arrangement rule list; and receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a first number of stored images arranged according to the current image arrangement rule selected by the user in the whole image selection area.
That is, after the first number of arranged stored images are displayed in the entire image selection area according to the display rule, the first virtual key can be displayed at a specific position of the image selection area with the first preset transparency, and the switching of the image arrangement rule can be realized by the operation of the first virtual key by the user.
When the first virtual key receives a first touch operation of a user, the first virtual key can respond to the first touch operation, and displays the rest image arrangement rules except the target image arrangement rule in the image arrangement rule list in the form of characters or labels above, below, on the left side or on the right side of a specific position of the image selection area, for example, labels 1, 2 and 3 are displayed on the right side of the specific position, wherein each label represents one image arrangement rule; or directly displayed on the right side of the specific position in the form of characters, wherein the content of the characters can be an arrangement rule of time from front to back, an arrangement rule of time from back to front, an arrangement rule of landscape images displayed before, an arrangement rule of animal images displayed before, a rule of face images displayed before and the like.
After displaying the remaining image arrangement rule except the target image arrangement rule; a user selection operation of an image arrangement rule of the remaining image arrangement rules may be received, and the selected image arrangement rule may be used as the updated image arrangement rule according to the user selection operation. And arranging the storage images according to the updated image arrangement rule, and displaying the arranged first number of storage images in the whole image selection area.
Wherein, the whole embodiment of displaying the storage images arranged according to the target image arrangement rule in the whole image selection area is shown in fig. 2:
step 201, the mobile terminal starts a target application.
Step 202, determining the purpose of uploading the image by the target application.
In determining the purpose of the target application to upload the image, the type of the target application may be determined. For example, if the target application is a social application (wechat or QQ) type, the purpose of uploading the image may be to use the uploaded image as chat information or to update the avatar. If the target application is a classified information website (58 city) type, the purpose of uploading the image can be to perform information presentation.
And step 203, determining a target image arrangement rule according to the purpose of uploading the images by the target application.
After the purpose of uploading images by the target application is determined, a recommended image arrangement rule can be given and taken as a target image arrangement rule. For example, the purpose of uploading images by the target application is house information display, and at this time, a rule that images related to a house are placed in front can be determined as a target image arrangement rule; or the target application uploads the image for the purpose of updating the avatar, the rule that the image suitable for the avatar is placed in front can be determined as the target image arrangement rule.
Step 204, displaying a first number of stored images which are arranged according to the target image arrangement rule in the whole image selection area.
After determining the target image arrangement rule, the stored images are arranged according to the target image arrangement rule, and then a first number of the stored images arranged before are determined and displayed in the whole image selection area.
Step 205, after the first number of arranged storage images are displayed in the whole image selection area, according to the operation of the user on the first virtual key displayed on the current interface, displaying other image arrangement rules except the target image arrangement rule, and according to one of the image arrangement rules selected by the user, correspondingly displaying the first number of storage images arranged according to the image arrangement rule selected by the user.
After the whole image selection area displays the first number of stored images which are arranged according to the target image arrangement rule, a first virtual key can be displayed at a specific position of the image selection area with a first preset transparency, when the target image arrangement rule does not meet the user requirement, a user can perform first touch operation on the first virtual key, and at the moment, various image arrangement rules can be displayed according to the first touch operation for the user to select, so that the user requirement is met as much as possible. And correspondingly displaying a first number of stored images which are arranged according to the image arrangement rule selected by the user in the whole image selection area according to the image arrangement rule selected by the user.
And step 206, uploading the stored image selected by the user.
And receiving the selection operation of the user on the stored image, and uploading the stored image selected by the user.
According to the technical scheme, after the first number of storage images arranged according to the target image arrangement rule are displayed, the first virtual key is displayed, when the target image arrangement rule does not meet the requirements of a user, various rules are given according to the first touch operation of the user on the first virtual key, the user can select the storage images, and the storage images are correspondingly displayed according to the selection of the user, so that the user experience can be improved.
In an embodiment of the present invention, the step of displaying, in the image selection area, the stored images arranged according to the target image arrangement rule further includes: displaying a second number of stored images arranged according to the target image arrangement rule in a first area of the image selection area; and displaying a third number of stored images arranged according to a default image arrangement rule in a second area of the image selection area except the first area.
After determining the target image arrangement rule and arranging the storage images according to the target image arrangement rule, the mobile terminal may determine a second number of storage images ranked in the top from the arranged storage images, where the second number is the number of images that can be accommodated in the first area. After the second number of stored images is selected, the selected second number of stored images are displayed in the first area according to the display rule. And simultaneously displaying a third number of stored images which are arranged according to the default image arrangement rule in a second area except the first area according to the display rule. The third number is the number of images that the second area can accommodate. The display rule may be that the stored images are displayed in order from top to bottom and from left to right, but the display rule may also be in other forms, and is not described in detail here. The default image arrangement rule may be an arrangement rule from front to back in time, but may be other rules.
After the first area and the second area display the stored image, the method further comprises the following steps: displaying a second virtual key for switching the image arrangement rule in the first area by using a second preset transparency; if a second touch operation of the user on the second virtual key is received, responding to the second touch operation to display the remaining image arrangement rules except the target image arrangement rule in the image arrangement rule list; and receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a second number of stored images arranged according to the current image arrangement rule selected by the user in the first area.
After the first area displays the first number of stored images which are arranged according to the target image arrangement rule, a second virtual key can be displayed in the first area with a second preset transparency, and the image arrangement rule can be switched through the operation of a user on the second virtual key.
When the second virtual key receives a second touch operation of the user, the second virtual key may respond to the second touch operation, and display, in the first area, the remaining image arrangement rules in the image arrangement rule list, except for the target image arrangement rule, in the form of characters or labels, for example, labels 1, 2, and 3 are displayed in the first area, where each label represents one image arrangement rule; or directly displaying in the first area in the form of characters, wherein the content of the characters can be an arrangement rule of time from front to back, an arrangement rule of time from back to front, an arrangement rule of landscape images before the images are displayed, an arrangement rule of animal images before the images are displayed, a rule of face images before the images are displayed, and the like.
After displaying the remaining image arrangement rule except the target image arrangement rule; a user selection operation of an image arrangement rule of the remaining image arrangement rules may be received, and the selected image arrangement rule may be used as the updated image arrangement rule according to the user selection operation. And arranging the storage images according to the updated image arrangement rule, and displaying the arranged second number of storage images in the first area.
The overall embodiment of displaying the stored images arranged according to the target image arrangement rule in the first area of the image selection area and displaying the stored images arranged according to the default image arrangement rule in the second area is shown in fig. 3:
step 301, the mobile terminal starts a target application.
And step 302, determining the purpose of uploading the image by the target application.
In determining the purpose of the target application to upload the image, the type of the target application may be determined. For example, if the target application is a social application (WeChat or QQ) type, the purpose of uploading the image may be to chat the uploaded image or to update the avatar. If the target application is a classified information website (58 city) type, the purpose of uploading the image can be to perform information presentation.
Step 303, determining a target image arrangement rule according to the purpose of uploading the images by the target application.
After the purpose of uploading images by the target application is determined, a recommended image arrangement rule can be given and taken as a target image arrangement rule. For example, if the target application uploads an image for the purpose of information sharing with the chat target and sends a travel photo to the chat target, the rule that the image related to the landscape is placed at the front may be determined as the target image arrangement rule.
And 304, displaying a second number of storage images which are arranged according to the target image arrangement rule in the first area of the image selection area, and displaying a third number of storage images which are arranged according to the default image arrangement rule in the second area of the image selection area.
Step 305, after the second number of arranged storage images are displayed in the first area and the third number of arranged storage images are displayed in the second area, according to the operation of the user on the second virtual key displayed in the first area, other image arrangement rules except the target image arrangement rule are displayed in the first area, and according to one of the image arrangement rules selected by the user, the second number of arranged storage images according to the image arrangement rule selected by the user are correspondingly displayed in the first area.
After the second number of storage images arranged according to the target image arrangement rule are displayed in the first area and the third number of storage images arranged according to the default image arrangement rule are displayed in the second area, a second virtual key can be displayed in the first area with a second preset transparency, when the target image arrangement rule does not meet the user requirement, a user can perform second touch operation on the second virtual key, and at the moment, various image arrangement rules can be displayed according to the second touch operation for the user to select, so that the user requirement can be met as much as possible. And correspondingly displaying a second number of stored images which are arranged according to the image arrangement rule selected by the user in the first area according to the image arrangement rule selected by the user.
And step 306, uploading the stored image selected by the user.
And receiving the selection operation of the user stored image, and uploading the stored image selected by the user.
According to the technical scheme, after the second number of storage images arranged according to the target image arrangement rule are displayed in the first area and the third number of storage images arranged according to the default image arrangement rule are displayed in the second area, the second virtual key is displayed in the first area, when the target image arrangement rule does not meet the requirements of a user, various rules are given according to the second touch operation of the user on the second virtual key to allow the user to select the storage images, and the storage images are correspondingly displayed in the first area according to the selection of the user, so that the user experience can be improved.
The mode of dividing the image selection area into two areas for displaying and providing the displayed images with two rules can meet the requirements of the current market mainstream rules; meanwhile, the given recommended display area can meet the special function requirements of the user, so that the user has good experience.
It should be noted that, the mobile terminal may also perform priority ranking on the image arrangement rules in the image arrangement rule list according to the situation of the image arrangement rules selected by the user, and may determine the priorities in an order from a large number of times of user selection to a small number of times, that is, the larger the number of times of user selection, the higher the priority, the highest priority is determined as the image arrangement rule ordered first, and the image arrangement rule is determined as the default image arrangement rule.
In the embodiment of the present invention, after displaying the stored images arranged according to the target image arrangement rule in the image selection area, the method further includes: acquiring target storage images with the selected times larger than the preset number, and generating an image sorting rule according to the target storage images; and updating the image arrangement rule list according to the generated image sorting rule.
After the mobile terminal displays the stored images and executes the operation of uploading the images according to the selection of the user, the mobile terminal can also acquire target stored images with the selected times larger than the preset number in a preset time period, generate an image sorting rule according to the acquired target stored images, and add the generated image sorting rule to the image arrangement rule list to update the image arrangement rule list. When an image sorting rule is generated according to the acquired target storage image, common points of the target storage image can be searched, and an image arrangement rule is generated according to the searched common points.
By the mode, the image arrangement rule list is optimized continuously according to the images selected by the user, so that the use requirements of the user can be met, and the user experience is greatly improved.
According to the image display method provided by the embodiment of the invention, the purpose of applying the currently uploaded image is determined through the preset operation of the user, the target image arrangement rule is obtained according to the purpose of applying the currently uploaded image, the image arrangement is carried out based on the obtained target image arrangement rule, the arranged storage image is displayed in the image selection area, the recommended image can be displayed in the display area according to the specific requirement of the user, the image arrangement rule is optimized according to the selection of the user, the use requirement of the user in a specific scene is met, and the user experience is improved.
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 4, including:
the determining module 10 is configured to receive a preset operation for triggering the target application to upload an image, and determine a purpose of the target application to upload the image currently in response to the preset operation;
the acquisition module 20 is configured to acquire a corresponding target image arrangement rule according to a purpose of the target application for currently uploading the image;
and a first display module 30, configured to display the stored images arranged according to the target image arrangement rule in the image selection area.
Wherein the determining module comprises:
the acquisition submodule is used for responding to preset operation and acquiring at least one purpose corresponding to an uploaded image contained in the target application;
and the determining submodule is used for determining the purpose corresponding to the currently uploaded image of the target application in at least one purpose according to the interface attribute of the image uploading interface corresponding to the preset operation.
Wherein the obtaining module is further configured to:
acquiring a corresponding target image arrangement rule in an image arrangement rule list according to the purpose of uploading the image currently by the target application;
wherein, the list of image arrangement rules at least comprises: the image arrangement rule is that the images are arranged from front to back in time, the images are arranged from back to front in time, and the images of the preset category are displayed in front.
Wherein the first display module is further configured to:
a first number of stored images arranged according to the target image arrangement rule are displayed in the entire image selection area.
Wherein, mobile terminal still includes:
the second display module is used for displaying a first virtual key for switching the image arrangement rule in a first preset transparency in the image selection area after the first display module displays a first number of stored images which are arranged according to the target image arrangement rule in the whole image selection area;
the third display module is used for responding to the first touch operation to display the rest image arrangement rules except the target image arrangement rule in the image arrangement rule list if the first touch operation of the user on the first virtual key is received;
and the fourth display module is used for receiving the selection operation of the user on one of the rest image arrangement rules and displaying the first number of stored images which are arranged according to the current image arrangement rule selected by the user in the whole image selection area.
Wherein, the first display module includes:
the first display sub-module is used for displaying a second number of stored images which are arranged according to the target image arrangement rule in a first area of the image selection area;
and the second display sub-module is used for displaying a third number of stored images which are arranged according to the default image arrangement rule in a second area of the image selection area except the first area.
Wherein, mobile terminal still includes:
the fifth display module is used for displaying a second virtual key for switching the image arrangement rule in a second preset transparency in the first area after the first display submodule displays the storage image in the first area and the second display submodule displays the storage image in the second area;
the sixth display module is used for responding to a second touch operation to display the remaining image arrangement rules except the target image arrangement rule in the image arrangement rule list if the second touch operation of the user on the second virtual key is received;
and the seventh display module is used for receiving the selection operation of the user on one of the rest image arrangement rules and displaying a second number of stored images which are arranged according to the current image arrangement rule selected by the user in the first area.
According to the mobile terminal provided by the embodiment of the invention, the purpose of applying the current uploaded image is determined through the preset operation of the user, the target image arrangement rule is obtained according to the purpose of applying the current uploaded image, the image arrangement is carried out based on the obtained target image arrangement rule, the arranged storage image is displayed in the image selection area, the recommended image can be displayed in the display area according to the specific requirement of the user, the image arrangement rule is optimized according to the selection of the user, the use requirement of the user in a specific scene is met, and the user experience is improved.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511.
Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein processor 510 is configured to: receiving a preset operation for triggering the target application to upload the image, and determining the purpose of the target application to upload the image currently in response to the preset operation; acquiring a corresponding target image arrangement rule according to the purpose of uploading the image currently by the target application; in the image selection area, stored images arranged according to the target image arrangement rule are displayed.
Wherein, in response to the preset operation determining the purpose of the target application to upload the image currently, the processor 510 is further configured to perform the following steps: responding to preset operation, and acquiring at least one purpose corresponding to an uploaded image contained in a target application; and determining the purpose corresponding to the currently uploaded image of the target application in at least one purpose according to the interface attribute of the image uploading interface corresponding to the preset operation.
When acquiring the corresponding target image arrangement rule according to the purpose of the target application for uploading the image currently, the processor 510 is further configured to execute the following steps: acquiring a corresponding target image arrangement rule in an image arrangement rule list according to the purpose of uploading the image currently by the target application; wherein, the list of image arrangement rules at least comprises: the image arrangement rule is that the images are arranged from front to back in time, the images are arranged from back to front in time, and the images of the preset category are displayed in front.
Wherein, in the image selection area, when the stored images arranged according to the target image arrangement rule are displayed, the processor 510 is further configured to perform the following steps: a first number of stored images arranged according to the target image arrangement rule are displayed in the entire image selection area.
Wherein, after displaying the first number of stored images arranged according to the target image arrangement rule throughout the image selection area, processor 510 is further configured to perform the following steps: displaying a first virtual key for switching the image arrangement rule in the image selection area by using a first preset transparency; if a first touch operation of a user on the first virtual key is received, responding to the first touch operation to display the rest image arrangement rules except the target image arrangement rule in the image arrangement rule list; and receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a first number of stored images arranged according to the current image arrangement rule selected by the user in the whole image selection area.
Wherein, in the image selection area, when the stored images arranged according to the target image arrangement rule are displayed, the processor 510 is further configured to perform the following steps: displaying a second number of stored images arranged according to the target image arrangement rule in a first area of the image selection area; and displaying a third number of stored images arranged according to a default image arrangement rule in a second area of the image selection area except the first area.
Wherein, after the first area and the second area display the stored image, the processor 510 is further configured to perform the following steps: displaying a second virtual key for switching the image arrangement rule in the first area by using a second preset transparency; if a second touch operation of the user on the second virtual key is received, responding to the second touch operation to display the remaining image arrangement rules except the target image arrangement rule in the image arrangement rule list; and receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a second number of stored images arranged according to the current image arrangement rule selected by the user in the first area.
Therefore, the purpose of applying the currently uploaded image is determined through the preset operation of the user, the target image arrangement rule is obtained according to the purpose of applying the currently uploaded image, the image arrangement is carried out based on the obtained target image arrangement rule, the arranged storage image is displayed in the image selection area, the recommended image can be displayed in the display area according to the specific requirement of the user, the image arrangement rule is optimized according to the selection of the user, the use requirement of the user in a specific scene is met, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned embodiment of the image display method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An image display method, comprising:
receiving a preset operation for triggering a target application to upload an image, and determining the purpose of the target application to upload the image currently in response to the preset operation;
acquiring a corresponding target image arrangement rule according to the purpose of the currently uploaded image of the target application;
displaying the storage images arranged according to the target image arrangement rule in an image selection area;
the step of determining the purpose of the target application to upload the image currently in response to the preset operation includes:
responding to the preset operation, and acquiring at least one purpose corresponding to an uploaded image contained in the target application;
determining a target corresponding to the currently uploaded image of the target application in at least one target according to the interface attribute of the image uploading interface corresponding to the preset operation;
the step of displaying the stored images arranged according to the target image arrangement rule in the image selection area includes:
displaying a first number of stored images arranged according to the target image arrangement rule in the entire image selection area;
after displaying a first number of stored images arranged according to the target image arrangement rule in the whole image selection area, the method further comprises the following steps:
displaying a first virtual key for switching the image arrangement rule in the image selection area by using a first preset transparency;
if a first touch operation of a user on the first virtual key is received, responding to the first touch operation to display the rest image arrangement rules except the target image arrangement rule in the image arrangement rule list;
and receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a first number of stored images arranged according to the current image arrangement rule selected by the user in the whole image selection area.
2. The image display method according to claim 1, wherein the step of obtaining the corresponding target image arrangement rule according to the purpose of the currently uploaded image by the target application comprises:
acquiring a corresponding target image arrangement rule in an image arrangement rule list according to the purpose of uploading the image currently by the target application;
wherein the list of image arrangement rules at least comprises: the image arrangement rule is that the images are arranged from front to back in time, the images are arranged from back to front in time, and the images of the preset category are displayed in front.
3. The image display method according to claim 1, wherein the step of displaying the stored images arranged according to the target image arrangement rule in the image selection area further comprises:
displaying a second number of stored images arranged according to the target image arrangement rule in a first area of an image selection area;
and displaying a third number of stored images which are arranged according to a default image arrangement rule in a second area of the image selection area except the first area.
4. The image display method according to claim 3, further comprising, after the first area and the second area display the stored image:
displaying a second virtual key for switching the image arrangement rule in the first area by using a second preset transparency;
if a second touch operation of the user on the second virtual key is received, responding to the second touch operation to display the remaining image arrangement rules except the target image arrangement rule in the image arrangement rule list;
and receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a second number of stored images arranged according to the current image arrangement rule selected by the user in the first area.
5. A mobile terminal, comprising:
the determining module is used for receiving a preset operation for triggering the target application to upload the image and determining the purpose of uploading the image currently by the target application in response to the preset operation;
the acquisition module is used for acquiring a corresponding target image arrangement rule according to the purpose of the currently uploaded image of the target application;
the first display module is used for displaying the storage images which are arranged according to the target image arrangement rule in an image selection area;
the determining module comprises:
the acquisition submodule is used for responding to the preset operation and acquiring at least one purpose corresponding to an uploaded image contained in the target application;
the determining submodule is used for determining a purpose corresponding to the currently uploaded image of the target application in at least one purpose according to the interface attribute of the image uploading interface corresponding to the preset operation;
the first display module is further to:
displaying a first number of stored images arranged according to the target image arrangement rule in the entire image selection area;
the second display module is used for displaying a first virtual key for switching the image arrangement rule in a first preset transparency in the image selection area after the first display module displays a first number of stored images which are arranged according to the target image arrangement rule in the whole image selection area;
a third display module, configured to display, in response to a first touch operation by a user on the first virtual key, a remaining image arrangement rule in the image arrangement rule list except the target image arrangement rule if the first touch operation by the user is received;
and the fourth display module is used for receiving the selection operation of the user on one of the rest image arrangement rules and displaying the first number of stored images which are arranged according to the current image arrangement rule selected by the user in the whole image selection area.
6. The mobile terminal of claim 5, wherein the obtaining module is further configured to:
acquiring a corresponding target image arrangement rule in an image arrangement rule list according to the purpose of uploading the image currently by the target application;
wherein the list of image arrangement rules at least comprises: the image arrangement rule is that the images are arranged from front to back in time, the images are arranged from back to front in time, and the images of the preset category are displayed in front.
7. The mobile terminal of claim 6, wherein the first display module further comprises:
the first display sub-module is used for displaying a second number of stored images which are arranged according to the target image arrangement rule in a first area of the image selection area;
and the second display sub-module is used for displaying a third number of stored images which are arranged according to a default image arrangement rule in a second area of the image selection area except the first area.
8. The mobile terminal of claim 7, further comprising:
the fifth display module is used for displaying a second virtual key for switching the arrangement rule of the images in a second preset transparency in the first area after the first display submodule displays the stored images in the first area and the second display submodule displays the stored images in the second area;
a sixth display module, configured to, if a second touch operation of the user on the second virtual key is received, display, in response to the second touch operation, a remaining image arrangement rule in the image arrangement rule list, except for the target image arrangement rule;
and the seventh display module is used for receiving the selection operation of the user on one of the rest image arrangement rules, and displaying a second number of stored images which are arranged according to the current image arrangement rule selected by the user in the first area.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the image display method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the image display method according to any one of claims 1 to 4.
CN201810776188.7A 2018-07-16 2018-07-16 Image display method and mobile terminal Active CN109033297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810776188.7A CN109033297B (en) 2018-07-16 2018-07-16 Image display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810776188.7A CN109033297B (en) 2018-07-16 2018-07-16 Image display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109033297A CN109033297A (en) 2018-12-18
CN109033297B true CN109033297B (en) 2021-04-27

Family

ID=64643106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810776188.7A Active CN109033297B (en) 2018-07-16 2018-07-16 Image display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109033297B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637411B (en) * 2020-12-22 2022-03-25 维沃移动通信有限公司 Image searching method and device, electronic equipment and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8233708B2 (en) * 2005-08-17 2012-07-31 Panasonic Corporation Video scene classification device and video scene classification method
CN107562742B (en) * 2016-06-30 2021-02-05 江苏苏宁云计算有限公司 Image data processing method and device
CN108228715A (en) * 2017-12-05 2018-06-29 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium for showing image

Also Published As

Publication number Publication date
CN109033297A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN108184050B (en) Photographing method and mobile terminal
CN109525874B (en) Screen capturing method and terminal equipment
CN111596818A (en) Message display method and electronic equipment
CN109814786B (en) Image storage method and terminal equipment
CN109388456B (en) Head portrait selection method and mobile terminal
CN108628985B (en) Photo album processing method and mobile terminal
CN109558046B (en) Information display method and terminal equipment
CN107908765B (en) Game resource processing method, mobile terminal and server
CN109495616B (en) Photographing method and terminal equipment
US11250046B2 (en) Image viewing method and mobile terminal
CN109495638B (en) Information display method and terminal
CN108984066B (en) Application icon display method and mobile terminal
CN108174109B (en) Photographing method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN111221602A (en) Interface display method and electronic equipment
CN108536513B (en) Picture display direction adjusting method and mobile terminal
CN108628534B (en) Character display method and mobile terminal
CN111178306B (en) Display control method and electronic equipment
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN110471895B (en) Sharing method and terminal device
CN110045892B (en) Display method and terminal equipment
CN110099170B (en) Picture deleting method and mobile terminal
CN109189735B (en) Preview image display method and mobile terminal
CN107844203B (en) Input method candidate word recommendation method and mobile terminal
CN110888572A (en) Message display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant