CN111562872B - Album display method and apparatus, electronic device, computer readable storage medium - Google Patents

Album display method and apparatus, electronic device, computer readable storage medium Download PDF

Info

Publication number
CN111562872B
CN111562872B CN202010346395.6A CN202010346395A CN111562872B CN 111562872 B CN111562872 B CN 111562872B CN 202010346395 A CN202010346395 A CN 202010346395A CN 111562872 B CN111562872 B CN 111562872B
Authority
CN
China
Prior art keywords
edge
slider
album
distance
target
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
CN202010346395.6A
Other languages
Chinese (zh)
Other versions
CN111562872A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010346395.6A priority Critical patent/CN111562872B/en
Publication of CN111562872A publication Critical patent/CN111562872A/en
Application granted granted Critical
Publication of CN111562872B publication Critical patent/CN111562872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to an album display method, an apparatus, an electronic device and a computer readable storage medium. The method comprises the following steps: controlling a slider located at the edge of a terminal display album to move away from the edge of the album according to a first operation on the slider; and controlling the photo album to roll according to a second operation on the sliding block away from the edge of the photo album. According to the technical scheme, the sliding block positioned at the edge of the photo album can be controlled to leave the edge by operating the sliding block, namely, the position of the sliding block in the photo album can be adjusted by a user according to needs, so that the sliding block can be adjusted to a position convenient for left-hand or right-hand operation, and the user can conveniently operate the sliding block by any hand to control the photo album to roll.

Description

Album display method and apparatus, electronic device, computer readable storage medium
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to an album display method, an album display apparatus, an electronic device, and a computer-readable storage medium.
Background
In the related art, a user may use a terminal such as a mobile phone to take a picture, store the picture in an album, and then view the picture in the album, for example, view content in the album by scrolling the album, where one way of scrolling the album is to drag a slider (or called a scroll bar) in the album to control the album to scroll.
At present, a sliding block in an album is generally located at an album fixing position, and the sliding block is located at the edge of the right side of the album at the album position in a mobile phone, so that a user can conveniently drag the sliding block to slide up and down through the right hand to control the album to roll.
However, when the user is inconvenient to use the right hand and needs to operate the slider with the left hand, the slider is positioned at the edge of the right side of the album, so that great inconvenience is caused to the user to operate the slider with the left hand.
Disclosure of Invention
The present disclosure provides an album display method and apparatus, an electronic device, and a computer-readable storage medium to solve the disadvantages of the related art.
According to a first aspect of the embodiments of the present disclosure, an album display method is provided, which is suitable for a terminal, and the method includes:
controlling the sliding block to move away from the edge of the photo album according to a first operation on the sliding block positioned at the edge of the terminal display photo album;
and controlling the photo album to roll according to a second operation on the sliding block away from the edge of the photo album.
Optionally, the method further comprises:
determining the position of a sliding block away from the edge of the photo album in the photo album;
determining a target picture at the position in the pictures of the photo album, and acquiring the information of the target picture;
and displaying the information at a position where the distance from the slider is less than a preset distance.
Optionally, the displaying the information at the position where the distance to the slider is smaller than a preset distance includes:
determining a first distance from the slider to a first edge of the album and a second distance from the slider to a second edge of the album, wherein the first edge and the second edge are opposite edges;
and if the first distance is greater than the second distance, displaying the information on the side, close to the first edge, of the slider, where the distance from the slider to the first edge is less than a preset distance.
Optionally, the method further comprises:
after the sliding block moves, if the first distance is smaller than the second distance, the distance from the sliding block to the sliding block is smaller than a preset distance, and the information is displayed on one side, close to the second edge, of the sliding block.
Optionally, the method further comprises:
when the operation on the slider is not received within a preset time length, determining a target edge nearest to the slider and a target position nearest to the slider on the target edge in the edges of the pictures of the album;
automatically controlling the slider to move to the target position of the target edge.
Optionally, the method further comprises:
when the operation on the sliding block is not received within the preset time length, determining a target intersection point nearest to the sliding block in the edge intersection points of the pictures of the album;
automatically controlling the slider to move to the target intersection of the target edge.
According to a second aspect of the embodiments of the present disclosure, there is provided an album display apparatus adapted for a terminal, the apparatus including:
the sliding block moving module is configured to control the sliding block to move away from the edge of the photo album according to a first operation on the sliding block located at the edge of the terminal display photo album;
and the album display module is configured to control the album to roll according to a second operation on the slider away from the edge of the album.
Optionally, the apparatus further comprises:
a position determination module configured to determine a position of a slider in the album away from an edge of the album;
the information acquisition module is configured to determine a target picture at the position in the pictures of the album and acquire information of the target picture;
an information display module configured to display the information at a position where a distance to the slider is less than a preset distance.
Optionally, the information display module includes:
a distance determination submodule configured to determine a first distance of the slider to a first edge of the album and a second distance to a second edge of the album, wherein the first edge and the second edge are opposite edges;
and the information display sub-module is configured to display the information on the side, close to the first edge, of the slider when the distance from the slider is smaller than a preset distance under the condition that the first distance is larger than the second distance.
Optionally, the information display sub-module is further configured to, after the slider moves, if the first distance is smaller than the second distance, display the information on a side of the slider close to the second edge, where the distance from the slider is smaller than a preset distance.
Optionally, the apparatus further comprises:
the edge determining module is configured to determine a target edge nearest to the slider and a target position nearest to the slider on the target edge in the edges of the pictures of the album when the operation on the slider is not received within a preset time length;
a first movement module configured to automatically control movement of the slider to the target position of the target edge.
Optionally, the apparatus further comprises:
the intersection point determining module is configured to determine a target intersection point closest to the slider in edge intersection points of pictures of the album when the operation on the slider is not received within a preset time length;
a second movement module configured to automatically control movement of the slider to the target intersection of the target edge.
According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of the above embodiments.
According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is proposed, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the embodiments described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment of the disclosure, the slider at the edge of the photo album can be controlled to leave the edge by operating the slider, that is, the user can adjust the position of the slider in the photo album according to the requirement, so that the slider can be adjusted to the position convenient for left-hand or right-hand operation, and the user can conveniently operate the slider by any hand to control the rolling of the photo album.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flowchart illustrating an album display method according to an embodiment of the present disclosure.
Fig. 2 and 3 are schematic diagrams of an application scenario of the album display method according to an embodiment of the present disclosure.
Fig. 4 is a schematic flow chart diagram illustrating another album display method according to an embodiment of the present disclosure.
Fig. 5 is a schematic view of another application scenario of the album display method according to the embodiment of the present disclosure.
Fig. 6 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure.
Fig. 7 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure.
Fig. 8 is a schematic view of still another application scenario of the album display method according to the embodiment of the present disclosure.
Fig. 9 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure.
Fig. 10 is a schematic view of still another application scenario of the album display method according to the embodiment of the present disclosure.
Fig. 11 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure.
Fig. 12 is a schematic view of still another application scenario of the album display method according to the embodiment of the present disclosure.
Fig. 13 is a schematic block diagram illustrating an album display apparatus according to an embodiment of the present disclosure.
Fig. 14 is a schematic block diagram illustrating another album display apparatus according to an embodiment of the present disclosure.
Fig. 15 is a schematic block diagram illustrating an information display module according to an embodiment of the present disclosure.
Fig. 16 is a schematic block diagram illustrating still another album display apparatus according to an embodiment of the present disclosure.
Fig. 17 is a schematic block diagram illustrating still another album display apparatus according to an embodiment of the present disclosure.
Fig. 18 is a schematic block diagram illustrating an apparatus for album display according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic flowchart illustrating an album display method according to an embodiment of the present disclosure. The method shown in this embodiment may be applied to a terminal, which includes but is not limited to an electronic device such as a mobile phone, a tablet computer, a wearable device, and the like. The following description is mainly given by way of example in the case where the method shown in the present embodiment is applied to a cellular phone.
As shown in fig. 1, the album display method may include the steps of:
in step S101, according to a first operation on a sliding block located at the edge of the terminal display album, controlling the sliding block to move away from the edge of the album;
in step S102, the album is controlled to scroll according to a second operation on the slider away from the edge of the album.
In one embodiment, the slider may be initially located at an edge of an album displayed by the terminal, where the album may include pictures taken and stored by the terminal, or may include pictures acquired in other manners, such as a screenshot picture, a picture in an instant messaging application, and the like. The edge may be the edge on the right side of the album or the edge on the underside of the album. The present disclosure is exemplified below mainly in the case where the edge is the edge on the right side of the album.
For the slide block positioned at the edge of the photo album, the slide block can be controlled to move through the first operation, so that the slide block is away from the edge of the photo album. The sliding block can be strip-shaped, and can also be arranged into other shapes according to requirements, such as a round shape.
In one embodiment, the first operation may be set as desired. For example, the dragging operation may be specifically a dragging operation in which an included angle between the dragging direction and the edge is greater than a preset angle (for example, 60 degrees). For example, a menu may be generated after the slider is pressed for a long time, and then the menu is operated, and operation options for the slider may be displayed in the menu, for example, the slider is hidden, the edge is separated, and the separation of the slider from the edge of the album may be controlled by selecting the separation of the edge.
And then for the slider away from the edge of the album, a second operation can be performed, for example, the slider is dragged to move along the direction parallel to the edge, so that the album can be controlled to roll. The slider can also be dragged to move along other directions, so that the slider can be slid to other positions of the album.
Fig. 2 and 3 are schematic diagrams of an application scenario of the album display method according to an embodiment of the present disclosure.
As shown in fig. 2, in the album, the slider may be located at the right edge of the album, and the user may drag the slider in a direction parallel to the right edge, that is, drag the slider up and down, to control the album to roll.
As shown in FIG. 3, a user may perform a first operation on the slider, such as dragging the slider in a direction perpendicular to the right edge, which may control the slider to move away from the right edge.
Comparing fig. 3 and 2, it can be seen that the slider shown in fig. 3 is moved away from the right edge and therefore closer to the left edge of the album, which facilitates the operation of the slider by the left hand of the user.
For the slider away from the edge in fig. 3, a second operation may be further performed, for example, dragging the slider in a direction parallel to the right edge, specifically, dragging the slider downwards, that is, the album may be controlled to scroll upwards, so as to view the content below the currently displayed content of the album.
According to the embodiment of the disclosure, the slider at the edge of the photo album can be controlled to leave the edge by operating the slider, that is, the user can adjust the position of the slider in the photo album according to the requirement, so that the slider can be adjusted to the position convenient for left-hand or right-hand operation, and the user can conveniently operate the slider by any hand to control the rolling of the photo album.
Fig. 4 is a schematic flow chart diagram illustrating another album display method according to an embodiment of the present disclosure. As shown in fig. 4, the method further comprises:
in step S103, determining the position of a slide block away from the edge of the album in the album;
in step S104, determining a target picture located at the position in the pictures of the album, and acquiring information of the target picture;
in step S105, the information is displayed at a position where the distance to the slider is less than a preset distance.
In one embodiment, for the slider away from the edge, the position of the slider in the album can be determined, and then the target picture at the position is further determined in the picture of the album, and the information of the target picture is obtained. The acquired information includes, but is not limited to, the time of the picture, the place of the picture, the resolution, etc. And then displaying the information of the target picture at a position close to the slider (for example, less than a preset distance, which can be set as required).
Fig. 5 is a schematic view of another application scenario of the album display method according to the embodiment of the present disclosure.
As shown in fig. 5, the position of the slider away from the right edge is located at the upper middle part of the album, and the target picture of the album at the position is the 2 nd row 2 picture in the pictures shot on 4/1/2020, the information of the picture can be acquired, for example, the shooting time of the picture is 12 o' clock 40 minutes on 4/1, and the information can be displayed near the slider, for example, in the bubble near the slider.
Therefore, the user can display the information of the picture at the position of the sliding block by moving the sliding block without clicking to open the picture, and convenience of viewing the picture information by the user is improved.
Fig. 6 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure. As shown in fig. 6, the displaying the information at the position where the distance to the slider is less than the preset distance includes:
in step S1051, determining a first distance from the slider to a first edge of the album and a second distance to a second edge of the album, wherein the first edge and the second edge are opposite edges;
in step S1052, if the first distance is greater than the second distance, the information is displayed on a side of the slider close to the first edge, where the distance from the slider is less than a preset distance.
In one embodiment, the distance from the slider to the edge of the album may be determined, wherein the first edge and the second edge may be two opposite edges of the album, and if the slider is farther from the first edge and closer to the second edge, that is, the first distance is greater than the second distance, it indicates that the space between the slider and the first edge is larger, and the space between the slider and the second edge is smaller, so that the information of the target picture may be displayed on the side near the slider and close to the first edge, so as to provide sufficient space for the information to be displayed.
It should be noted that the first edge and the second edge do not refer to two edges of the album, but refer to two opposite edges of the album.
Fig. 7 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure. As shown in fig. 7, the method further comprises:
in step S106, after the slider moves, if the first distance is smaller than the second distance, the information is displayed on a side of the slider close to the second edge, where the distance from the slider is smaller than a preset distance.
In one embodiment, for the slider away from the edge of the album, the further dragging may be performed, so that the slider moves, and the distance from the slider to the edge of the screen may change after the movement, for example, the first distance is changed from being greater than the second distance to being smaller than the second distance, in which case, the position of the information display of the target picture may be adjusted, and in particular, the information display may still be displayed near the slider, but on the side of the slider near the second edge, so as to provide sufficient space for the information to be displayed.
Fig. 8 is a schematic view of still another application scenario of the album display method according to the embodiment of the present disclosure.
For example, the first edge is a right edge in the album, the second edge is a left edge in the album, in fig. 5, the slider is closer to the left edge and farther to the right edge, so that the information of the target picture can be displayed on the right side of the slider, and the user can move the slider shown in fig. 5, for example, drag the slider to the right, as shown in fig. 8, and move the dragged slider to the right edge and farther to the left edge, so that the position of information display can be adjusted, and the information can be adjusted from the right side of the slider to the left side of the slider.
Fig. 9 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure. As shown in fig. 9, the method further includes:
in step S107, when the operation on the slider is not received within a preset time period, determining a target edge nearest to the slider and a target position nearest to the slider on the target edge from among edges of the pictures of the album;
in step S108, the slider is automatically controlled to move to the target position of the target edge.
In one embodiment, after moving the slider away from the edge, the slider may be located at any position in the album, which may obscure the displayed content in the album when the user does not continue to operate the slider, such as the embodiment shown in FIG. 5 where the slider obscures the target picture.
For such a situation, in the embodiment, when the operation on the slider is not received within the preset time length, the target edge closest to the slider is determined in the edges of the pictures of the album, that is, the target edge is located at the target position closest to the slider, and the slider is further automatically controlled to move to the target position of the target edge.
Fig. 10 is a schematic view of still another application scenario of the album display method according to the embodiment of the present disclosure.
For example, in the embodiment shown in fig. 5, the slider is closest to the top edge of the target picture, the top edge of the target picture where the slider moves can be automatically controlled to move to the target position where the slider is closest, and the moved slider is shown in fig. 10. Further, information of the target picture may be hidden.
Since the main content of the picture is generally located in the center of the picture and the secondary content of the picture is generally located at the edge of the picture, the block can be reduced from blocking the main content of the picture by automatically moving the block to the edge of the picture, so that a user can watch the picture conveniently.
Fig. 11 is a schematic flowchart illustrating still another album display method according to an embodiment of the present disclosure. As shown in fig. 11, the method further includes:
in step S109, when the operation on the slider is not received within a preset time period, determining a target intersection point closest to the slider among the edge intersection points of the pictures of the album;
in step S110, the slider is automatically controlled to move to the target intersection of the target edges.
In one embodiment, after moving the slider away from the edge, the slider may be located at any position in the album, which may obscure the displayed content in the album when the user does not continue to operate the slider, such as the embodiment shown in FIG. 5 where the slider obscures the target picture.
For such a situation, in the embodiment, when the operation on the slider is not received within the preset time length, the closest target intersection point to the slider is determined in the edge intersection points of the pictures of the album, and then the slider is automatically controlled to move to the target intersection point of the target edge.
Fig. 12 is a schematic view of still another application scenario of the album display method according to the embodiment of the present disclosure.
For example, in the embodiment shown in fig. 5, the slider is closest to the intersection point of the left edge and the top edge of the target picture, and then the intersection point of the edge at the upper left corner of the target picture, where the slider is moved, can be automatically controlled, and the moved slider is shown in fig. 12. Further, information of the target picture may be hidden.
Because the main content of the picture is generally positioned in the center of the picture and the secondary content of the picture is positioned at the edge of the picture, the main content of the picture can be prevented from being blocked by the slider by automatically moving the slider to the intersection point of the edge of the picture, so that a user can watch the picture conveniently.
The embodiment shown in fig. 12 further moves the slider to the intersection of the two edges relative to the embodiment shown in fig. 10, and since the content of the picture at the corners is generally less important than the content at the middle of the edges, the occlusion of the main content of the picture display can be further ensured.
Corresponding to the embodiment of the album display method, the present disclosure also provides an embodiment of an album display apparatus.
Fig. 13 is a schematic block diagram illustrating an album display apparatus according to an embodiment of the present disclosure. The apparatus shown in this embodiment may be applied to a terminal, which includes but is not limited to an electronic device such as a mobile phone, a tablet computer, a wearable device, and the like. The following description is mainly given by way of example in the case where the method shown in the present embodiment is applied to a cellular phone.
As shown in fig. 13, the album display apparatus may include:
a slider moving module 101 configured to control a slider located at an edge of the terminal display album to move away from the edge of the album according to a first operation on the slider;
an album display module 102 configured to control the album to scroll according to a second operation on the slider away from the edge of the album.
Fig. 14 is a schematic block diagram illustrating another album display apparatus according to an embodiment of the present disclosure. As shown in fig. 14, the apparatus further includes:
a position determination module 103 configured to determine a position of a slider in the album away from an edge of the album;
an information obtaining module 104 configured to determine a target picture located at the position among the pictures of the album and obtain information of the target picture;
an information display module 105 configured to display the information at a position where a distance to the slider is less than a preset distance.
Fig. 15 is a schematic block diagram illustrating an information display module according to an embodiment of the present disclosure. As shown in fig. 15, the information display module 105 includes:
a distance determination submodule 1051 configured to determine a first distance of the slider to a first edge of the album and a second distance to a second edge of the album, wherein the first edge and the second edge are opposite edges;
an information display sub-module 1052 configured to display the information when the distance to the slider is less than a preset distance and the slider is located at a side close to the first edge, if the first distance is greater than the second distance.
Optionally, the information display sub-module is further configured to, after the slider moves, if the first distance is smaller than the second distance, display the information on a side of the slider close to the second edge, where the distance from the slider is smaller than a preset distance.
Fig. 16 is a schematic block diagram illustrating still another album display apparatus according to an embodiment of the present disclosure. As shown in fig. 16, the apparatus further includes:
an edge determining module 106, configured to determine, when the operation on the slider is not received within a preset time period, a target edge closest to the slider and a target position closest to the slider on the target edge in edges of the pictures of the album;
a first movement module 107 configured to automatically control movement of the slider to the target position of the target edge.
Fig. 17 is a schematic block diagram illustrating still another album display apparatus according to an embodiment of the present disclosure. As shown in fig. 17, the apparatus further includes:
an intersection point determining module 108, configured to determine a target intersection point closest to the slider among edge intersection points of the pictures of the album when the operation on the slider is not received within a preset time length;
a second movement module 109 configured to automatically control movement of the slider to the target intersection of the target edges.
With regard to the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the related method, and will not be described in detail here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
An embodiment of the present disclosure also provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of the above embodiments.
Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above embodiments.
Fig. 18 is a schematic block diagram illustrating an apparatus 1800 for album display according to an embodiment of the present disclosure. For example, the apparatus 1800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 18, the apparatus 1800 may include one or more of the following components: processing component 1802, memory 1804, power component 1806, multimedia component 1808, audio component 1810, input/output (I/O) interface 1812, sensor component 1814, and communications component 1816.
The processing component 1802 generally controls the overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 may include one or more modules that facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operation at the apparatus 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1806 provides power to the various components of the device 1800. The power components 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1800.
The multimedia component 1808 includes a screen providing an output interface between the apparatus 1800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1800 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
I/O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1814 includes one or more sensors for providing various aspects of state assessment for the apparatus 1800. For example, the sensor assembly 1814 can detect an open/closed state of the device 1800, the relative positioning of components, such as a display and keypad of the device 1800, the sensor assembly 1814 can also detect a change in position of the device 1800 or a component of the device 1800, the presence or absence of user contact with the device 1800, orientation or acceleration/deceleration of the device 1800, and a change in temperature of the device 1800. Sensor assembly 1814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate communications between the apparatus 1800 and other devices in a wired or wireless manner. The apparatus 1800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 1816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods described in any of the above embodiments.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 1804 including instructions that are executable by the processor 1820 of the apparatus 1800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. An album display method, comprising:
controlling a slider located at an edge of an album to move away from the edge of the album according to a first operation on the slider;
controlling the photo album to roll according to a second operation on the sliding block away from the edge of the photo album;
determining the position of a sliding block away from the edge of the photo album in the photo album;
determining a target picture at the position in the pictures of the photo album, and acquiring the information of the target picture;
and displaying the information at a position where the distance from the slider is less than a preset distance.
2. The method of claim 1, wherein displaying the information at a location where the distance to the slider is less than a preset distance comprises:
determining a first distance from the slider to a first edge of the album and a second distance from the slider to a second edge of the album, wherein the first edge and the second edge are opposite edges;
and if the first distance is greater than the second distance, displaying the information on the side, close to the first edge, of the slider, where the distance from the slider to the first edge is less than a preset distance.
3. The method of claim 2, further comprising:
after the sliding block moves, if the first distance is smaller than the second distance, the distance from the sliding block to the sliding block is smaller than a preset distance, and the information is displayed on one side, close to the second edge, of the sliding block.
4. The method according to any one of claims 1 to 3, further comprising:
when the operation on the slider is not received within a preset time length, determining a target edge nearest to the slider and a target position nearest to the slider on the target edge in the edges of the pictures of the album;
automatically controlling the slider to move to the target position of the target edge.
5. The method according to any one of claims 1 to 3, further comprising:
when the operation on the sliding block is not received within the preset time length, determining a target intersection point nearest to the sliding block in the edge intersection points of the pictures of the album;
automatically controlling the slider to move to the target intersection of the target edge.
6. An album display apparatus adapted for a terminal, the apparatus comprising:
the sliding block moving module is configured to control the sliding block to move away from the edge of the photo album according to a first operation on the sliding block located at the edge of the terminal display photo album;
the album display module is configured to control the album to roll according to a second operation on the sliding block away from the edge of the album;
a position determination module configured to determine a position of a slider in the album away from an edge of the album;
the information acquisition module is configured to determine a target picture at the position in the pictures of the album and acquire information of the target picture;
an information display module configured to display the information at a position where a distance to the slider is less than a preset distance.
7. The apparatus of claim 6, wherein the information display module comprises:
a distance determination submodule configured to determine a first distance of the slider to a first edge of the album and a second distance to a second edge of the album, wherein the first edge and the second edge are opposite edges;
and the information display sub-module is configured to display the information on the side, close to the first edge, of the slider when the distance from the slider is smaller than a preset distance under the condition that the first distance is larger than the second distance.
8. The apparatus of claim 7, wherein the information display sub-module is further configured to display the information on a side of the slider near the second edge, where the distance from the slider is less than a predetermined distance, if the first distance is less than the second distance after the slider moves.
9. The apparatus of any one of claims 6 to 8, further comprising:
the edge determining module is configured to determine a target edge nearest to the slider and a target position nearest to the slider on the target edge in the edges of the pictures of the album when the operation on the slider is not received within a preset time length;
a first movement module configured to automatically control movement of the slider to the target position of the target edge.
10. The apparatus of any one of claims 6 to 8, further comprising:
the intersection point determining module is configured to determine a target intersection point closest to the slider in edge intersection points of pictures of the album when the operation on the slider is not received within a preset time length;
a second movement module configured to automatically control movement of the slider to the target intersection of the target edge.
11. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of claims 1 to 5.
12. 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 method of any one of claims 1 to 5.
CN202010346395.6A 2020-04-27 2020-04-27 Album display method and apparatus, electronic device, computer readable storage medium Active CN111562872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010346395.6A CN111562872B (en) 2020-04-27 2020-04-27 Album display method and apparatus, electronic device, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010346395.6A CN111562872B (en) 2020-04-27 2020-04-27 Album display method and apparatus, electronic device, computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111562872A CN111562872A (en) 2020-08-21
CN111562872B true CN111562872B (en) 2021-05-18

Family

ID=72071822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010346395.6A Active CN111562872B (en) 2020-04-27 2020-04-27 Album display method and apparatus, electronic device, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111562872B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238918A (en) * 2013-06-13 2014-12-24 腾讯科技(深圳)有限公司 List view assembly sliding display method and device
CN106055264A (en) * 2016-06-14 2016-10-26 珠海市魅族科技有限公司 Information display method and display device
CN106445356A (en) * 2016-08-26 2017-02-22 乐视控股(北京)有限公司 Method and device for switching processing of scroll bar position in browser
CN107515711A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 The method and device of exhibiting pictures
US10296130B2 (en) * 2015-05-18 2019-05-21 Canon Kabushiki Kaisha Display control apparatus, display control method, and storage medium storing related program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100333016A1 (en) * 2009-06-30 2010-12-30 Nokia Corporation Scrollbar
US9652801B2 (en) * 2015-07-16 2017-05-16 Countr, Inc. System and computer method for tracking online actions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238918A (en) * 2013-06-13 2014-12-24 腾讯科技(深圳)有限公司 List view assembly sliding display method and device
US10296130B2 (en) * 2015-05-18 2019-05-21 Canon Kabushiki Kaisha Display control apparatus, display control method, and storage medium storing related program
CN106055264A (en) * 2016-06-14 2016-10-26 珠海市魅族科技有限公司 Information display method and display device
CN107515711A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 The method and device of exhibiting pictures
CN106445356A (en) * 2016-08-26 2017-02-22 乐视控股(北京)有限公司 Method and device for switching processing of scroll bar position in browser

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Towards privacy-aware photo sharing using mobile phones;Sadia Shamma;《 8th International Conference on Electrical and Computer Engineering》;20141222;第449-452页 *
基于安卓的移动应用开发-手机相册的设计与实现;王岩 金鑫 李福林;《电子制作》;20131101;第60页 *

Also Published As

Publication number Publication date
CN111562872A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
EP3032821B1 (en) Method and device for shooting a picture
EP3249509A1 (en) Method and device for playing live videos
CN110662095B (en) Screen projection processing method and device, terminal and storage medium
EP3182716A1 (en) Method and device for video display
CN108108418B (en) Picture management method, device and storage medium
EP3173970A1 (en) Image processing method and apparatus
CN105282441B (en) Photographing method and device
CN105912258B (en) Operation processing method and device
US20170344177A1 (en) Method and device for determining operation mode of terminal
CN105487805B (en) Object operation method and device
US20150113475A1 (en) Method and device for providing an image preview
US11372516B2 (en) Method, device, and storage medium for controlling display of floating window
US20170316805A1 (en) Method and apparatus for adjusting playing progress of media file
US20170052693A1 (en) Method and device for displaying a target object
US10705729B2 (en) Touch control method and apparatus for function key, and storage medium
US20220038639A1 (en) Control method and apparatus, electronic device, and storage medium
CN106095300B (en) Method and device for adjusting playing progress
EP3015968B1 (en) Method for image deletion and device thereof
CN107656694B (en) Display control method and device of user interface
CN109783171B (en) Desktop plug-in switching method and device and storage medium
CN111614910B (en) File generation method and device, electronic equipment and storage medium
EP3816778A1 (en) Punch-hole screen display method and apparatus
CN110597443B (en) Calendar display method, device and medium
CN112269525A (en) Small screen window display method and device and storage medium
CN108650412B (en) Display method, display device and computer readable storage medium

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