CN107608590B - Picture browsing method and device - Google Patents

Picture browsing method and device Download PDF

Info

Publication number
CN107608590B
CN107608590B CN201710864837.4A CN201710864837A CN107608590B CN 107608590 B CN107608590 B CN 107608590B CN 201710864837 A CN201710864837 A CN 201710864837A CN 107608590 B CN107608590 B CN 107608590B
Authority
CN
China
Prior art keywords
picture
trigger signal
preset
directory
displaying
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
CN201710864837.4A
Other languages
Chinese (zh)
Other versions
CN107608590A (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 Falcon Safety Technology Co., Ltd
Original Assignee
Beijing Kingsoft Security Management System Technology 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 Kingsoft Security Management System Technology Co ltd filed Critical Beijing Kingsoft Security Management System Technology Co ltd
Priority to CN201710864837.4A priority Critical patent/CN107608590B/en
Publication of CN107608590A publication Critical patent/CN107608590A/en
Application granted granted Critical
Publication of CN107608590B publication Critical patent/CN107608590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a picture browsing method and device. Wherein, the method comprises the following steps: displaying a preset picture on a screen of the terminal, wherein the preset picture is a picture in a preset directory; receiving a first trigger signal, wherein the first trigger signal is used for indicating that a preset picture displayed currently is switched to a next picture or a previous picture; judging whether a next picture or a previous picture indicated by the first trigger signal exists or not; and in the absence of the picture, finishing the display of the picture and displaying the preset catalogue on the screen of the terminal according to the first trigger signal. The invention solves the technical problem of poor user experience caused by the fact that the picture directory list cannot be returned after all pictures in a certain picture directory list are checked in the prior art.

Description

Picture browsing method and device
Technical Field
The invention relates to the field of computer software, in particular to a picture browsing method and device.
Background
In the field, users mainly view pictures on electronic devices (including but not limited to mobile phones, tablet computers, notebook computers, and the like) through various picture viewers, however, when a user views multiple pictures in a certain folder, the user may click any one of the pictures in the folder to enter a browsing mode of the picture, and when the user clicks "next" to view the pictures in sequence, if the picture currently viewed by the user is the last picture in the folder, the user is usually required to click a close button on the picture to exit the browsing mode of the picture and enter a picture list. Similarly, when the user clicks the "previous" picture in the reverse order to view the picture, if the picture currently viewed by the user is the first picture in the folder, the user also needs to click a close button on the picture to exit the browsing mode of the picture and enter the picture list.
In order to solve the problem that the prior art cannot return to a picture directory list after all pictures in a certain picture directory list are viewed, so that user experience is poor, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a picture browsing method and a picture browsing device, which are used for at least solving the technical problem of poor user experience caused by the fact that a picture directory list cannot be returned after all pictures in a certain picture directory list are checked in the prior art.
According to an aspect of the embodiments of the present invention, there is provided a picture browsing method, including: displaying a preset picture on a screen of the terminal, wherein the preset picture is a picture in a preset directory; receiving a first trigger signal, wherein the first trigger signal is used for indicating that a preset picture displayed currently is switched to a next picture or a previous picture; judging whether a next picture or a previous picture indicated by the first trigger signal exists or not; and in the absence of the picture, finishing the display of the picture and displaying the preset catalogue on the screen of the terminal according to the first trigger signal.
According to another aspect of the embodiments of the present invention, there is also provided an image browsing apparatus, including: the terminal comprises a first display unit, a second display unit and a display unit, wherein the first display unit is used for displaying a preset picture on a screen of the terminal, and the preset picture is a picture in a preset directory; the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a first trigger signal, and the first trigger signal is used for indicating that a preset picture displayed at present is switched to a next picture or a previous picture; the first judging unit is used for judging whether the next or previous picture indicated by the first trigger signal exists or not; and the execution unit is used for ending the display of the pictures and displaying the preset directory on the screen of the terminal according to the first trigger signal under the condition of no existence.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, wherein the storage medium includes a stored program, and wherein the program executes the above-mentioned picture browsing method.
According to another aspect of the embodiments of the present invention, there is further provided a processor, wherein the processor is configured to execute a program, and when the program runs, the method for browsing pictures is performed.
In the embodiment of the invention, a preset picture is displayed on a screen of the terminal, wherein the preset picture is a picture in a preset directory; receiving a first trigger signal, wherein the first trigger signal is used for indicating that a preset picture displayed currently is switched to a next picture or a previous picture; judging whether a next picture or a previous picture indicated by the first trigger signal exists or not; under the condition that the preset directory is not displayed, the display of the pictures is finished and the preset directory is displayed on the screen of the terminal according to the first trigger signal, and the purpose that the picture directory list is directly returned after all the pictures in a certain picture directory list are browsed is achieved, so that the technical effect of enhancing the user experience of the user for browsing the pictures is achieved, and the technical problem that the user experience is poor due to the fact that the picture directory list cannot be returned after all the pictures in a certain picture directory list are checked in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flowchart of a method for browsing pictures according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative interface for displaying pictures in thumbnail form according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface for browsing pictures according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative interface for browsing pictures according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface for browsing pictures according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface for browsing pictures according to an embodiment of the present invention; and
fig. 7 is a schematic diagram of a picture browsing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a picture browsing method, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different than that illustrated or described herein.
Fig. 1 is a flowchart of a picture browsing method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, displaying a preset picture on a screen of the terminal, wherein the preset picture is a picture in a preset directory;
step S104, receiving a first trigger signal, wherein the first trigger signal is used for indicating that a preset picture displayed at present is switched to a next picture or a previous picture;
step S106, judging whether the next or previous picture indicated by the first trigger signal exists;
and step S108, under the condition of no existence, finishing the display of the pictures on the screen of the terminal according to the first trigger signal and displaying the preset directory.
As an alternative embodiment, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a computer, and the like, and the screen of the terminal may be a touch screen (for example, a display screen of a smart phone) or a non-touch screen (for example, a display of a computer). The predetermined picture may be a picture currently being browsed on a screen of the terminal, and may be a still picture (including but not limited to BMP, JPEG, and other formats), or a moving picture (including but not limited to Gif picture); the predetermined directory may be a directory of files in a folder containing at least one picture for displaying the at least one picture, including but not limited to a list or a thumbnail. The first trigger signal may be an instruction signal for switching a currently displayed predetermined picture to a picture previous or next to the predetermined picture.
Optionally, in step S102, a predetermined picture is displayed on the screen of the terminal, and any one of the pictures in the predetermined directory on the local or internet may be displayed through a picture viewer or other application installed on the terminal (e.g., a browser, a hundred-degree cloud, a WeChat, a QQ, a microblog, etc.).
Alternatively, in step S104, the first trigger signal is received, and the first trigger signal for switching the predetermined picture displayed on the screen of the current terminal to the next or previous picture may be received through any one of the following alternative implementations:
in a first optional implementation manner, in a case that a screen of the terminal is a non-touch screen, a first trigger signal for switching a predetermined picture displayed on the screen of the terminal to a next or previous picture may be received through other input devices (e.g., a keyboard, a mouse, etc.) on the terminal;
in a second optional implementation manner, in a case that the screen of the terminal is a touch screen, in addition to receiving, by using an input device such as a keyboard and a mouse on the terminal, a first trigger signal for switching a predetermined picture displayed on the screen of the terminal to a next or previous picture, the first trigger signal for switching the predetermined picture displayed on the screen of the terminal to the next or previous picture may also be received by using the touch screen of the terminal.
It should be noted that, after receiving the first trigger signal for switching the predetermined picture in the predetermined directory displayed on the screen of the current terminal to the next or previous picture through the above steps S102 and S104, the step S106 determines whether the next or previous picture indicated by the first trigger signal exists in the predetermined directory, and when the predetermined picture does not exist in the predetermined directory, the step S108 ends the display of the picture on the screen of the terminal according to the first trigger signal and displays the predetermined directory (list or thumbnail).
As can be seen from the above, in the above embodiment of the present application, when a picture needs to be browsed, a predetermined picture (which may be any one picture in a predetermined directory) in a folder (predetermined directory) is displayed on a screen of a terminal, a user may switch the currently displayed predetermined picture to a next or previous picture by sending a first trigger signal to the terminal, after the terminal receives the trigger signal from the user for switching the currently displayed predetermined picture to the next or previous picture, whether the next or previous picture indicated by the first trigger signal is present in the predetermined directory (i.e., whether the currently browsed predetermined picture is the first or last picture in the predetermined directory) is determined, and in a case that the next or previous picture indicated by the first trigger signal is not present in the predetermined directory (i.e., the currently browsed predetermined picture is the first or last picture in the predetermined directory), and ending the display of the preset picture on the screen of the terminal according to the first trigger signal (namely closing the browsing mode of the current first picture or the last picture), and displaying the preset directory (namely displaying all pictures displayed in a list or thumbnail and other modes in a folder where the preset picture is located).
According to the scheme disclosed by the embodiment of the application, the purpose of directly returning to the picture directory list after all pictures in a certain picture directory list are browsed is achieved, so that the technical effect of enhancing the user experience of browsing the pictures by a user is achieved, and the technical problem that the user experience is poor due to the fact that the picture directory list cannot be returned after all the pictures in the certain picture directory list are checked in the prior art is solved.
Fig. 2 is a schematic diagram of an interface for displaying pictures in a thumbnail form according to an embodiment of the present invention, where as shown in fig. 2, there are 6 pictures below the "X folder," which are respectively a picture a, a picture B, a picture C, a picture D, a picture E, and a picture F, and a user can click any one of the pictures in the "X folder" to enter a browsing mode of the picture, for example, fig. 3 and fig. 4 are schematic diagrams of an interface for browsing pictures according to an embodiment of the present invention, as shown in fig. 3, a currently browsed picture is a picture a, which is the first picture below the "X folder," and if the user clicks a "next" button, the interface can be switched to a picture B; when the user clicks the "previous" button, since the previous picture of the image a does not exist under the "X folder", the user directly switches to the picture directory interface shown in fig. 2 after clicking the "previous" button in fig. 3. Similarly, after the user clicks the "next" button in fig. 3 five times, the browsing interface of the image F shown in fig. 4 appears, where the image F is the last image in the "X folder", and after the user clicks the "next" button in fig. 4, the browsing interface is directly switched to the image directory interface shown in fig. 2 because the next image in the image F does not exist in the "X folder".
In an optional embodiment, the method may further include the steps of: and in the case that the next or previous picture indicated by the first trigger signal does not exist, displaying first prompt information on a screen displaying the preset picture, wherein the first prompt information is used for indicating that the preset directory is to be returned by using the first trigger signal.
Specifically, in the above embodiment, the first prompt message refers to a prompt message for indicating that the predetermined directory where the currently displayed predetermined picture is located is to be returned by using the first trigger signal, and may be, but is not limited to, a text message, a voice message, and any other form of prompt message. In the case where the picture indicated by the first trigger signal is the last or first picture in the directory,
taking the browsing interface of fig. 4 as an example, when the user clicks the "next" button in fig. 4, since the currently displayed image F on the screen is the last image in the "X folder" and the next image of the image F does not exist, when the user clicks the "next" button (the first trigger signal), the screen outputs a prompt message prompting that the predetermined directory is to be returned using the first trigger signal (i.e., clicking the "next" button), that is, the interface shown in fig. 5.
Through the embodiment, the user is informed that the current picture is the last picture by outputting the prompt message, so that the user experience can be further enhanced, for example, when the user does not want to exit the mode of browsing the current picture, the user can select not to click the 'next' button but to click the 'previous' button to browse other pictures again; if the user wants to exit the current picture browsing mode, the user clicks the next button again, and then the current picture browsing mode can be exited.
It should be noted that, as an optional implementation manner, in the case that the next or previous picture indicated by the first trigger signal does not exist, the current picture browsing mode may be directly exited, and the picture directory is entered, where the first prompt information only plays a role of notifying the user.
In an optional embodiment, the method may further include the steps of: and under the condition that the next or previous picture indicated by the first trigger signal does not exist, displaying second prompt information on a screen for displaying the preset picture, wherein the second prompt information is used for indicating that the picture in the preset directory is browsed circularly by using a second trigger signal, and the first trigger signal and the second trigger signal are different.
Specifically, in the above-described embodiment, in the case where the next or previous picture indicated by the first trigger signal does not exist, the second prompt information for instructing to cyclically browse pictures in the predetermined directory using the second trigger signal (for example, double-click on the "next" button) is displayed on the screen displaying the predetermined picture.
Still taking the browsing interface of fig. 4 as an example, when the user clicks the "next" button in fig. 4, since the current screen displays the last picture in the "X folder" and the next picture of the picture F does not exist, when the user clicks the "next" button (the first trigger signal), the screen outputs a prompt message prompting to browse the pictures in the predetermined directory in a loop by using the second trigger signal (for example, double-clicking the "next" button), that is, the interface shown in fig. 6 appears.
Based on any one of the above optional or preferred embodiments, as an optional embodiment, the first trigger signal is a signal of sliding left or right, and the second trigger signal is a signal of sliding up or down.
In an optional embodiment, in a case that the screen of the terminal is a touch screen, the first trigger signal may be generated by touching a predetermined picture on the screen and sliding left or right; the second trigger signal is generated by touching a predetermined picture on the screen and sliding up or down.
In another optional embodiment, in the case that the screen of the terminal is a non-touch screen, the first trigger signal may be generated by clicking the left side or the right side of a predetermined picture; and generating the second trigger signal by clicking the upper part or the lower part of the preset picture.
Optionally, based on the foregoing embodiment, as an optional implementation manner, the foregoing method may further include the following steps: and judging the first length of the first trigger signal sliding leftwards or rightwards, if the first length is within a first preset range, displaying the preset directory, and if the first length is within a second preset range, displaying the directory at the upper level of the preset directory.
In an alternative embodiment, in a case that the screen of the terminal is a touch screen, a distance length (i.e., the first length) of a track that touches a predetermined picture and slides left or right on the screen may be detected, and content displayed on the screen is determined according to a predetermined range in which the distance length is located, and if the distance length of the track that touches the predetermined picture and slides left or right on the screen is detected to be within a first predetermined range, a predetermined directory in which the predetermined picture is located is displayed; if the distance length of a track which touches the preset picture and slides leftwards or rightwards on the screen is detected to be within a second preset range, displaying a previous-level catalog of the preset catalog where the preset picture is located; alternatively, the second predetermined range may be greater than the first predetermined range.
In another optional embodiment, in a case that the screen of the terminal is a non-touch screen, the length of time spent when the left side or the right side of the predetermined picture is clicked (i.e., the first length) may be detected, and the content displayed on the screen is determined according to a predetermined range in which the length of time is located, and if the length of time spent when the left side or the right side of the predetermined picture is clicked is within the first predetermined range, the predetermined directory in which the predetermined picture is located is displayed; if the time length of stay when the left side or the right side of the preset picture is clicked is detected to be within a second preset range, displaying a higher-level directory of the preset directory where the preset picture is located; alternatively, the second predetermined range may be greater than the first predetermined range.
Optionally, based on the foregoing embodiment, as an optional implementation manner, the foregoing method may further include the following steps: and judging the second length of the second trigger signal sliding upwards or downwards, if the second length is within a third range, circularly displaying the photos in the directory, and if the second length is within a fourth range, displaying the photos in other directories which are parallel to the preset directory.
In an optional embodiment, in a case that the screen of the terminal is a touch screen, a distance length (i.e., the second length) of a track touching a predetermined picture and sliding upward or downward on the screen may be detected, and content displayed on the screen is determined according to a predetermined range in which the distance length is located, and if the distance length of the track touching the predetermined picture and sliding upward or downward on the screen is detected to be within a third predetermined range, pictures in a predetermined directory in which the predetermined picture is located are displayed in a loop; if the distance length of the track which touches the preset picture and slides upwards or downwards on the screen is detected to be within a second preset range, displaying the photos in other catalogues which are parallel to the preset catalog where the preset picture is located; alternatively, the fourth predetermined range may be greater than the third predetermined range.
In another optional embodiment, in the case that the screen of the terminal is a non-touch screen, the length of time spent when clicking above or below a predetermined picture (i.e. the second length) may be detected, and the content displayed on the screen is determined according to a predetermined range in which the length of time is located, and if the length of time spent when clicking above or below the predetermined picture is within a third predetermined range, pictures in a predetermined directory in which the predetermined picture is located are displayed in a loop; if the time length of stay when the upper part or the lower part of the preset picture is clicked is detected to be within a fourth preset range, displaying the pictures in other catalogs which are parallel to the preset catalog where the preset picture is located; alternatively, the fourth predetermined range may be greater than the third predetermined range.
As a preferred embodiment, displaying the photos in the other directory in parallel with the predetermined directory may include the steps of:
displaying a photo in a previous directory juxtaposed to the predetermined directory in a case where the second trigger signal is a signal of upward sliding;
and displaying the picture in the next directory juxtaposed to the predetermined directory in the case that the second trigger signal is a slide-down signal.
Specifically, under the condition that the screen of the terminal is a touch screen, if the second trigger signal is a signal for touching a preset picture and sliding upwards, and the distance length of a track sliding upwards on the screen is in a fourth preset range, displaying a picture in the previous directory in parallel with the preset directory where the preset picture is located; and if the second trigger signal is a signal for touching the preset picture and sliding downwards, and the distance length of the track sliding downwards on the screen is in a fourth preset range, displaying the picture in the next directory which is parallel to the preset directory where the preset picture is located. Under the condition that the screen of the terminal is a non-touch screen, if the second trigger signal is a signal for clicking the upper part of the preset picture and the time length of stay when the upper part of the preset picture is clicked is in a fourth preset range, displaying a picture in the previous directory which is parallel to the preset directory where the preset picture is located; and if the second trigger signal is a signal of clicking the lower part of the preset picture and the staying time length of the lower part of the preset picture is in a fourth preset range, displaying the picture in the next directory which is parallel to the preset directory where the preset picture is located.
Example 2
According to an embodiment of the present invention, an embodiment of an apparatus for implementing the above-mentioned picture browsing method is further provided, and fig. 7 is a schematic diagram of a picture browsing apparatus according to an embodiment of the present invention, as shown in fig. 7, the apparatus includes: a first display unit 701, a receiving unit 703, a first judging unit 705, and an executing unit 707.
The first display unit 701 is configured to display a predetermined picture on a screen of the terminal, where the predetermined picture is a picture located in a predetermined directory;
a receiving unit 703, configured to receive a first trigger signal, where the first trigger signal is used to instruct to switch a currently displayed predetermined picture to a next picture or a previous picture;
a first determining unit 705, configured to determine whether a next or previous picture indicated by the first trigger signal exists;
an execution unit 707 for ending the displaying of the picture and displaying the predetermined directory on the screen of the terminal according to the first trigger signal in the absence.
It should be noted here that the first display unit 701, the receiving unit 703, the first judging unit 705, and the executing unit 707 correspond to steps S102 to S108 in embodiment 1, and the modules are the same as the corresponding steps in implementation examples and application scenarios, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
As can be seen from the above, in the above embodiment of the present application, when pictures need to be browsed, a predetermined picture (which may be any picture in a predetermined directory) in a folder (predetermined directory) is displayed through the first display unit 701, a user may switch the currently displayed predetermined picture to a next or previous picture by sending a first trigger signal to the terminal, after receiving a trigger signal for switching the currently displayed predetermined picture to the next or previous picture from the user through the receiving unit 703, the first determining unit 705 determines whether the next or previous picture indicated by the first trigger signal is present in the predetermined directory (i.e., whether the currently browsed predetermined picture is the first or last picture in the predetermined directory), and when the next or previous picture indicated by the first trigger signal is not present in the predetermined directory (i.e., the currently browsed predetermined picture is the first picture in the predetermined directory), the first trigger signal indicates that the next or previous picture is not present in the predetermined directory (i.e., the currently browsed predetermined picture is the first picture in the predetermined directory) One or the last picture), the execution unit 707 ends the display of the predetermined picture on the screen of the terminal according to the first trigger signal (i.e., closes the browsing mode of the current first or last picture), and displays the predetermined directory (i.e., displays all pictures displayed in a list or thumbnail or the like in the folder where the predetermined picture is located).
According to the scheme disclosed by the embodiment of the application, the purpose of directly returning to the picture directory list after all pictures in a certain picture directory list are browsed is achieved, so that the technical effect of enhancing the user experience of browsing the pictures by a user is achieved, and the technical problem that the user experience is poor due to the fact that the picture directory list cannot be returned after all the pictures in the certain picture directory list are checked in the prior art is solved.
In an optional embodiment, the apparatus further comprises: and the second display unit is used for displaying first prompt information on a screen displaying a preset picture under the condition that the next picture or the previous picture indicated by the first trigger signal does not exist, wherein the first prompt information is used for indicating that the preset directory is to be returned by using the first trigger signal.
In an optional embodiment, the apparatus further comprises: and the third display unit is used for displaying second prompt information on a screen for displaying a preset picture under the condition that the next picture or the previous picture indicated by the first trigger signal does not exist, wherein the second prompt information is used for indicating that the picture in the preset directory is circularly browsed by using the second trigger signal, and the first trigger signal and the second trigger signal are different.
In an alternative embodiment, the first trigger signal is a signal for sliding left or right, and the second trigger signal is a signal for sliding up or down.
In an optional embodiment, the apparatus further comprises: and the second judging unit is used for judging the first length of the first trigger signal sliding leftwards or rightwards, displaying the preset directory if the first length is within a first preset range, and displaying the directory at the upper level of the preset directory if the first length is within a second preset range.
In an optional embodiment, the apparatus further comprises: and the third judging unit is used for judging the second length of the upward or downward sliding of the second trigger signal, circularly displaying the photos in the catalog if the second length is within a third range, and displaying the photos in other catalogs which are parallel to the preset catalog if the second length is within a fourth range.
In an optional embodiment, the third determining unit includes: the first display module is used for displaying the picture in the previous directory which is parallel to the preset directory under the condition that the second trigger signal is an upward sliding signal; and the second display module is used for displaying the photos in the next directory which is parallel to the preset directory under the condition that the second trigger signal is a downward sliding signal.
Example 3
According to an embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program executes any one of the optional or preferred image browsing methods in embodiment 1.
Example 4
According to an embodiment of the present invention, there is further provided a processor, where the processor is configured to execute a program, where the program executes any one of the optional or preferred image browsing methods in embodiment 1 when running.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A picture browsing method is characterized by comprising the following steps:
displaying a preset picture on a screen of a terminal, wherein the preset picture is a picture in a preset directory;
receiving a first trigger signal, wherein the first trigger signal is used for indicating that a preset picture displayed currently is switched to a next picture or a previous picture;
judging whether the next or previous picture indicated by the first trigger signal exists or not;
under the condition that the preset directory does not exist, finishing the display of pictures on a screen of the terminal according to the first trigger signal and displaying the preset directory;
wherein the first trigger signal is a signal sliding leftwards or rightwards;
wherein the method further comprises:
and judging a first length of the first trigger signal sliding leftwards or rightwards, if the first length is within a first preset range, displaying a preset directory, and if the first length is within a second preset range, displaying a directory at the upper level of the preset directory.
2. The method of claim 1, further comprising:
and displaying first prompt information on a screen displaying the preset picture under the condition that the next or previous picture indicated by the first trigger signal does not exist, wherein the first prompt information is used for indicating that the preset directory is to be returned by using the first trigger signal.
3. The method of claim 1, further comprising:
and under the condition that the next or previous picture indicated by the first trigger signal does not exist, displaying second prompt information on a screen for displaying the preset picture, wherein the second prompt information is used for indicating that pictures in the preset directory are browsed circularly by using a second trigger signal, and the first trigger signal and the second trigger signal are different.
4. The method of claim 3, wherein the second trigger signal is a slide up or down signal.
5. A picture browsing apparatus, comprising:
the terminal comprises a first display unit, a second display unit and a display unit, wherein the first display unit is used for displaying a preset picture on a screen of the terminal, and the preset picture is a picture in a preset directory;
the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a first trigger signal, and the first trigger signal is used for indicating that a preset picture displayed at present is switched to a next picture or a previous picture;
the first judging unit is used for judging whether a next picture or a previous picture indicated by the first trigger signal exists or not;
the execution unit is used for finishing the display of pictures on a screen of the terminal according to the first trigger signal and displaying the preset directory under the condition that the preset directory does not exist;
wherein the first trigger signal is a signal sliding leftwards or rightwards;
wherein, the device still includes:
and the second judging unit is used for judging the first length of the first trigger signal sliding leftwards or rightwards, displaying the preset directory if the first length is within a first preset range, and displaying the directory at the upper level of the preset directory if the first length is within a second preset range.
6. The apparatus of claim 5, further comprising:
and a second display unit, configured to display first prompt information on a screen displaying the predetermined picture in a case where a next or previous picture indicated by the first trigger signal does not exist, where the first prompt information is used to indicate that the predetermined directory will be returned using the first trigger signal.
7. The apparatus of claim 5, further comprising:
and a third display unit, configured to display second prompt information on a screen displaying the predetermined picture when the next or previous picture indicated by the first trigger signal does not exist, where the second prompt information is used to indicate that the pictures in the predetermined directory are browsed in a loop by using a second trigger signal, and the first trigger signal and the second trigger signal are different.
8. The apparatus of claim 7, wherein the second trigger signal is a slide up or down signal.
9. A storage medium characterized by comprising a stored program, wherein the program executes the picture browsing method according to any one of claims 1 to 4.
10. A processor, configured to execute a program, wherein the program executes the picture browsing method according to any one of claims 1 to 4.
CN201710864837.4A 2017-09-21 2017-09-21 Picture browsing method and device Active CN107608590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710864837.4A CN107608590B (en) 2017-09-21 2017-09-21 Picture browsing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710864837.4A CN107608590B (en) 2017-09-21 2017-09-21 Picture browsing method and device

Publications (2)

Publication Number Publication Date
CN107608590A CN107608590A (en) 2018-01-19
CN107608590B true CN107608590B (en) 2020-12-22

Family

ID=61061619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710864837.4A Active CN107608590B (en) 2017-09-21 2017-09-21 Picture browsing method and device

Country Status (1)

Country Link
CN (1) CN107608590B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694499A (en) * 2020-05-27 2020-09-22 北京城市网邻信息技术有限公司 Carousel picture display method and carousel picture display device
CN114265540B (en) * 2020-09-15 2024-06-11 华为技术有限公司 Sliding control method of electronic equipment and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955596A (en) * 2016-04-21 2016-09-21 东莞市蓝信动漫科技有限公司 Graphic interaction method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520864A (en) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 Method for continuously playing images and device
CN103176697A (en) * 2013-03-11 2013-06-26 广东欧珀移动通信有限公司 Method for controlling mobile terminal to automatically play picture and device for controlling mobile terminal to automatically play picture
CN103279293A (en) * 2013-04-27 2013-09-04 天脉聚源(北京)传媒科技有限公司 Method, device and terminal for switching images
CN104932791A (en) * 2015-06-26 2015-09-23 走遍世界(北京)信息技术有限公司 Interaction method of graphical interface and interaction device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955596A (en) * 2016-04-21 2016-09-21 东莞市蓝信动漫科技有限公司 Graphic interaction method

Also Published As

Publication number Publication date
CN107608590A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107341018B (en) Method and device for continuously displaying view after page switching
CN106095453B (en) Information display method and device and electronic equipment
US10228835B2 (en) Method for displaying information, and terminal equipment
EP2113831A9 (en) Method and apparatus for browsing item information and recording medium using the same
WO2019085821A1 (en) Processing method, device, apparatus, and machine-readable medium
CN106325687B (en) Method and terminal for calling program
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
US9904686B2 (en) Method and terminal for creating new folder on touch screen equipment
JP2012511209A (en) Separation of received information on locked devices
CN110716906B (en) File viewing method, electronic equipment and file viewing device
CN112905094B (en) Object operation processing method and device and computer storage medium
CN103177113A (en) Webpage rendering method and webpage rendering device
EP2798450B1 (en) Causing elements to be displayed
US20140325451A1 (en) Icon change method and apparatus
CN107608590B (en) Picture browsing method and device
US9959010B1 (en) Method for displaying information, and terminal equipment
WO2019085810A1 (en) Processing method, device, apparatus, and machine-readable medium
CN105204718B (en) Information processing method and electronic equipment
KR102104934B1 (en) Method and apparatus for filtering objects using pressure
CN111310086A (en) Page jump method and device and electronic equipment
CN106502496B (en) Window switching method and device
CN113835781B (en) Card operation method, device, electronic equipment and storage medium
KR20200095960A (en) User terminal device and method for providing user interface of user terminal device
CN114816144B (en) Information display method and device and electronic equipment
CN111782113B (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
CP03 Change of name, title or address

Address after: 100041 room a-0003, 2 / F, building 3, yard 30, Shixing street, Shijingshan District, Beijing

Patentee after: Beijing Falcon Safety Technology Co., Ltd

Address before: 12 / F, block B, new office building of China Academy of Building Sciences, No. 30, Beisanhuan East Road, Chaoyang District, Beijing 100013

Patentee before: BEIJING KINGSOFT SECURITY MANAGEMENT SYSTEM TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address