CN110377378B - Picture suspension display method, device, terminal and storage medium - Google Patents

Picture suspension display method, device, terminal and storage medium Download PDF

Info

Publication number
CN110377378B
CN110377378B CN201910525453.9A CN201910525453A CN110377378B CN 110377378 B CN110377378 B CN 110377378B CN 201910525453 A CN201910525453 A CN 201910525453A CN 110377378 B CN110377378 B CN 110377378B
Authority
CN
China
Prior art keywords
picture
folder icon
button
gallery
gallery window
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
CN201910525453.9A
Other languages
Chinese (zh)
Other versions
CN110377378A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910525453.9A priority Critical patent/CN110377378B/en
Publication of CN110377378A publication Critical patent/CN110377378A/en
Priority to PCT/CN2019/118151 priority patent/WO2020253058A1/en
Application granted granted Critical
Publication of CN110377378B publication Critical patent/CN110377378B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to research and development management technology, and provides a picture suspension display method, a device, a terminal and a storage medium. The method comprises the following steps: detecting selection operation of a preset suspension button in a current interface; creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface; displaying folder icons corresponding to all folders in the gallery window; and detecting a control operation on the folder icon, and when the control operation is a preset operation, displaying a picture on the folder icon according to a display rule corresponding to the preset operation. By adopting the method, the efficiency of browsing the pictures in the gallery can be improved.

Description

Picture suspension display method, device, terminal and storage medium
Technical Field
The present application relates to the field of picture technologies, and in particular, to a picture floating display method, device, terminal, and storage medium.
Background
With the development of science and technology, mobile terminal devices are becoming more and more popular, and more people begin to take pictures by using mobile terminal devices, such as mobile phones, ipads and the like, and store the taken pictures in a gallery so as to browse pictures on the mobile terminal devices.
However, in the prior art, when a user needs to browse a picture, a gallery needs to be found first, the gallery is opened, a folder in the gallery is selected, and the gallery is selected from the folder for browsing, so that the operation is not only complicated, but also as many applications are applied on the mobile terminal, sometimes when the user wants to browse the picture from the gallery while using other applications, the user needs to exit from the current application to a main interface of the mobile terminal, and then open a gallery icon from the main interface for browsing, so that the gallery browsing efficiency is low, and the operation of the user is inconvenient.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a picture floating display method, device, terminal and storage medium capable of improving gallery browsing efficiency.
A picture suspension display method, the method comprising:
detecting selection operation of a preset suspension button in a current interface;
creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface;
displaying folder icons corresponding to all folders in the gallery window;
and detecting control operation on the folder icon, and when the control operation is preset operation, displaying pictures on the folder icon according to a display rule corresponding to the preset operation.
In one embodiment, a function button is arranged on the folder icon, and the preset operation is a selection operation of the function button;
when the control operation is a preset operation, displaying a picture on the folder icon according to a display rule corresponding to the preset operation, including:
and when the control operation is the selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button.
In one embodiment, the function buttons include a first picture switching button and a second picture switching button, and the preset operation includes a selection operation of the first picture switching button and a selection operation of the second picture switching button;
when the control operation is a selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including:
when the control operation is a selection operation of a first picture switching button, displaying a previous picture corresponding to the current picture on the folder icon;
and when the control operation is a selection operation of a first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
In one embodiment, the function buttons include a play button and a stop button, and the preset operation includes a selection operation on the play button and a selection operation on the stop button;
when the control operation is a selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including:
when the control operation is the selection operation of the play button, determining that the folder icon is in a slide mode, and sequentially displaying the pictures in the gallery folder corresponding to the folder icon on the folder icon in a slide mode;
and when the control operation is the selection operation of a stop button, determining that the folder icon is in a stop playing mode, displaying the pictures which are playing in the slide film mode on the folder icon, and stopping picture switching.
In one embodiment, the method further comprises:
detecting a dragging operation on the folder icon;
acquiring a dragging track corresponding to the dragging operation, and determining the picture displayed by the folder icon as a target sending picture when the end point corresponding to the dragging track is at any position in a text box outside a gallery window;
and when receiving a picture sending instruction, sending the target sending picture to a server.
In one embodiment, the method further comprises:
and when the gallery window displayed on the current interface is detected and the selection operation of the suspension button is detected, closing the gallery window displayed on the current interface.
In one embodiment, the method further comprises:
when the situation that a gallery window is displayed on a current interface and sliding operation outside the gallery window is detected, judging whether a sliding track corresponding to the sliding operation meets a first preset condition or not;
if yes, hiding the gallery window;
and when the gallery window is hidden and the sliding operation that the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
A picture-floating display device, the device comprising:
the first detection module is used for detecting the selection operation of a suspension button preset in the current interface;
the gallery window creating module is used for creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above the display area corresponding to the current interface and partially covers the display area corresponding to the current interface;
the folder icon display module is used for displaying folder icons corresponding to all folders in the gallery window;
and the second detection module is used for detecting the control operation on the folder icon, and when the control operation is a preset operation, displaying the picture on the folder icon according to a display rule corresponding to the preset operation.
A terminal comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method of the above embodiments when executing the computer program.
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 the above-mentioned embodiments.
According to the picture suspension display method, the picture suspension display device, the picture suspension display terminal and the picture suspension display storage medium, the selection operation of the suspension button preset in the current interface is detected, when the selection operation is successfully detected, the gallery window corresponding to the gallery is created according to the selection operation, the folder icon corresponding to each folder in the gallery is displayed in the gallery window, the selection operation of the folder icon is further detected, when the selection operation of the folder icon is successfully detected and the detected selection operation is the preset operation, the picture is displayed on the folder icon according to the display rule corresponding to the preset operation, and the picture can be displayed in the folder icon, so that the user can browse the picture without quitting the current application program, the picture browsing process of the picture in the gallery is simplified, and the gallery browsing efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for displaying images in a floating manner according to an embodiment;
FIG. 2 is a flowchart illustrating steps performed when a drag operation on a folder icon is detected in one embodiment;
FIG. 3 is a block diagram of an embodiment of a floating display device;
FIG. 4 is an interface diagram showing a gallery window in one embodiment;
FIG. 5 is a diagram of an interface for sending pictures in one embodiment;
fig. 6 is an internal structural view of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a picture suspension display method is provided, which includes the following steps:
and step S102, detecting the selection operation of a preset floating button in the current interface.
The current interface refers to a display interface currently used for interacting with a user, for example, when the user is currently browsing an insurance product, the current interface is an insurance product display interface; when the user is currently in a chat program such as WeChat, QQ and the like, the current interface is a display interface of the program such as WeChat, QQ and the like. In this embodiment, the terminal is preset with a suspension button corresponding to the gallery, the suspension button may be suspended on any one display interface on the terminal, the terminal may detect, in real time, a selection operation of the user on the suspension button, where the selection operation may be, for example, an operation in which the user manually clicks the suspension button, an operation in which the user selects the suspension button through voice, and an operation in which the user selects the suspension button through a special gesture, and when the terminal detects the selection operation on the suspension button, a selection instruction for the suspension button is triggered.
And step S104, creating a gallery window corresponding to the gallery according to the selection operation.
And step S106, displaying folder icons corresponding to all folders in the gallery window.
Specifically, when the terminal detects a selection instruction of the floating button, a gallery window corresponding to the gallery is created, the created gallery window floats above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface, and after the gallery window is created, the terminal can display folder icons corresponding to all folders in the gallery window.
In one embodiment, the terminal may create a gallery window and display folder icons corresponding to all folders in the gallery window. Further, when the terminal displays the folder icons in the gallery window, paging display can be performed, and the maximum display number of the folder icons of each gallery window page is set, for example, 2 folder icons can be displayed on each gallery window page at most, and when 6 folders exist in the gallery, the 6 folder icons corresponding to the 6 folders can be divided into 3 pages for display. In one embodiment, the terminal can switch different gallery window pages when receiving a left-right sliding operation acting on the gallery window; in another embodiment, the gallery window of the terminal may be provided with function buttons for switching pages, including a function button for "switching to next page" and a function button for "switching to previous page", and the switching operation may be performed on the gallery window page according to a selection operation of the function button by the user, for example, when the user manually clicks the function button.
In one embodiment, the terminal may create a plurality of gallery windows, and respectively display different folder icons on each gallery window, for example, may create 3 gallery windows, and when the gallery includes 6 folders, may respectively display 2 folder icons in each gallery window, where, for each gallery window, the folder icons may be displayed in a paging manner, for example, the display page of each gallery window may display at most one folder icon, so that, when the gallery window needs to display 2 folder icons, the gallery window may be divided into two pages for displaying, and the terminal may switch different gallery window pages when receiving a left-right sliding operation acting on the gallery window; or, each gallery window may be provided with a function button for implementing page switching, including a function button for "switching to the next page" and a function button for "switching to the previous page", and the gallery window page may be switched according to a selection operation of the function button by the user, for example, when the user manually clicks the function button.
And S108, detecting the control operation on the folder icon, and displaying the picture on the folder icon according to the display rule corresponding to the preset operation when the control operation is the preset operation.
The control operation on the folder icon includes, but is not limited to, a touch control operation, a voice control operation, and a gesture control operation on the folder icon.
Specifically, the terminal can detect control operation on each folder icon displayed in the gallery window in real time, when the control operation on any folder is successfully detected, whether the control operation is preset operation or not is judged, if yes, a display rule corresponding to the control operation is obtained, and the picture in the corresponding gallery folder is displayed on the folder icon according to the obtained display rule.
In one embodiment, the preset operation is a sliding operation of a sliding track passing through a folder icon, when the terminal detects that the sliding track passes through the sliding operation of the folder icon, the sliding direction of the sliding track is judged, pictures are displayed on the folder icon according to the sliding direction of the sliding track, for example, when the sliding track direction is upward, a first picture in a corresponding gallery folder is displayed on the folder icon, when the sliding track direction is downward, a last picture in the corresponding gallery folder is displayed on the folder icon, when the sliding track direction is rightward, a next picture of a currently displayed picture in the gallery folder is switched to be displayed, and when the sliding track direction is leftward, a previous picture of the currently displayed picture in the gallery folder is switched to be displayed.
In one embodiment, the folder icon is provided with a function button, and the preset operation is a selection operation of the function button; when the control operation is a preset operation, displaying the picture on the folder icon according to a display rule corresponding to the preset operation, including: and when the control operation is the selection operation of the function button, displaying the picture on the folder icon according to the display rule corresponding to the function button.
The function buttons include, but are not limited to, a play button, a stop play button, a first switch button for switching a previous picture, and a second switch button for switching a next picture. The selection operation of the function button includes, but is not limited to, an operation of manually clicking the function button by a user to select the function button, an operation of selecting the function button by a user through voice control, and an operation of selecting the function button by a user through a special gesture, and of course, other selection operations may be possible, and the application is not limited herein.
Specifically, different function buttons correspond to different display rules, so that the display rule for the selection operation of the function button can be determined according to the display rule corresponding to the function button, and when the terminal determines that the control operation is the selection operation of the function button, the terminal can display a picture on the folder icon according to the display rule corresponding to the function button.
According to the picture suspension display method, the terminal detects the selection operation of the suspension button preset in the current interface, when the selection operation is successfully detected, the gallery window corresponding to the gallery is created according to the selection operation, the folder icon corresponding to each folder in the gallery is displayed in the gallery window, the terminal further detects the selection operation of the folder icon, when the selection operation of the folder icon is successfully detected and the detected selection operation is the preset operation, the picture is displayed on the folder icon according to the display rule corresponding to the preset operation, and since the picture can be displayed in the folder icon, the user can browse the picture without quitting the current application program, the picture browsing flow in the gallery is simplified, and the gallery browsing efficiency is improved.
In one embodiment, when the control operation is a selection operation on a function button, displaying a picture on a folder icon according to a display rule corresponding to the function button includes: when the control operation is a selection operation of a first picture switching button, displaying a previous picture corresponding to the current picture on a folder icon; and when the control operation is a selection operation of the first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
The current picture refers to a picture currently displayed on the folder icon. The previous picture corresponding to the current picture refers to the previous picture corresponding to the current picture in the corresponding folder, and the next picture corresponding to the current picture refers to the next picture corresponding to the current picture in the corresponding folder.
In this embodiment, the function buttons include a first picture switching button and a second picture switching button, and the preset operation includes a selection operation of the first picture switching button and a selection operation of the second picture switching button. When the terminal detects the selection operation of a first picture switching button arranged on any folder icon, displaying a previous picture corresponding to the current picture on the folder icon; and when the terminal detects the selection operation of a second picture switching button arranged on any folder icon, displaying a next picture corresponding to the current picture on the folder icon.
In the embodiment, the first picture switching button and the second picture switching button are arranged, so that a user can more accurately switch pictures displayed on the folder icon.
In one embodiment, when the control operation is a selection operation on a function button, displaying a picture on a folder icon according to a display rule corresponding to the function button includes: when the control operation is the selection operation of a play button, determining that the folder icon is in a slide mode, and sequentially displaying the pictures in the gallery folder corresponding to the folder icon on the folder icon in a slide mode; when the control operation is a selection operation of a stop button, it is determined that the folder icon is in a stop play mode, a picture being played in a slide show mode is displayed on the folder icon, and picture switching is stopped.
In this embodiment, the function buttons include a play button and a stop button, and the preset operation includes a selection operation on the play button and a selection operation on the stop button. When the terminal detects the selection operation of a play button arranged on any folder icon, the folder icon is determined to be in a slide mode, and at the moment, the terminal can sequentially display the pictures in the gallery folder corresponding to the folder icon on the folder icon in a slide mode. Further, when the folder icon is in the slideshow mode, if the terminal detects a selection operation of a stop button provided on the folder icon, it may be determined that the folder picture is in the stop play mode, and at this time, the terminal may display a picture being played in the slideshow mode on the folder icon and stop the picture switching.
In one embodiment, when the folder icon is in the slideshow mode, if the terminal detects a selection operation on the folder icon, the picture being displayed by the folder icon can be enlarged and displayed.
In one implementation, when the folder icon is in the stop play mode and a selection operation on the folder icon is detected, a folder interface where a picture being displayed by the folder icon is located can be called and displayed in a full screen mode.
In one embodiment, as shown in fig. 2, the method further comprises:
step S202, detecting the dragging operation of the folder icon;
step S204, acquiring a dragging track corresponding to dragging operation;
step S206, judging whether the end point of the dragging track is outside the gallery window, if so, entering step S210, and if not, entering step S208;
step S208, moving the folder icon to the endpoint;
step S210, judging whether the end point of the dragging track is at any position in the text box, if so, performing step S212, and if not, performing step S214;
step S212, determining the picture displayed by the folder icon as a target sending picture, and sending the target picture to a server when receiving a picture sending instruction;
in step S214, it is determined that the drag operation is an invalid operation and the position of the folder icon is rejected from being moved.
It can be understood that, when the end point of the dragging trace is outside the image window and located in the text box, the dragging operation on the folder icon actually drags the picture being displayed in the folder icon, because when the folder icon is once dragged to a position outside the window, the terminal may refuse to move the folder icon and move the folder icon back to the original position, while determining the picture displayed on the folder icon as the target sending picture.
The following describes the embodiment with reference to a specific application scenario. As shown in fig. 4, in the insurance purchasing process, sometimes a case of consulting a policy is involved, and a picture related to the policy needs to be sent to a customer service through a dialog box, at this time, a user may click a hover button 402 corresponding to a gallery on a chat interface, a gallery window 406 in the interface shown in fig. 4 appears, the gallery window includes 5 folder icons, after the user operates one of the folder icons (e.g., 408) to determine that the picture related to the policy is good, the folder icon 408 may be dragged to a text box of a current dialog, the terminal may display the interface shown in fig. 5, and when the user clicks a send button, the terminal sends the picture related to the policy to a server corresponding to an application program where the text box is located, so that the server sends the picture to a customer service terminal corresponding to the customer service.
In one embodiment, the method further comprises: and when the gallery window displayed on the current interface is detected and the selection operation of the floating button is detected, closing the gallery window displayed on the current interface.
Specifically, when the gallery window is displayed on the current interface, the terminal can detect the selection operation of the floating button in real time, and when the selection operation of the floating button is successfully detected, the gallery window displayed on the current interface is closed.
In one embodiment, the method further comprises: when the gallery window is displayed on the current interface and the sliding operation outside the gallery window is detected, judging whether a sliding track corresponding to the sliding operation meets a first preset condition; if yes, hiding the gallery window; and when the gallery window is hidden and the sliding operation of which the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
The first preset condition may be, for example, that the direction of the sliding track is upward and the linear distance between the starting point and the terminal exceeds a preset threshold, and the second preset condition may be, for example, that the direction of the sliding track is downward and the linear distance between the starting point and the terminal exceeds a preset threshold; the first preset condition may also be that the direction of the sliding track is leftward and the linear distance between the starting point and the terminal exceeds a preset threshold, and the second preset condition may also be that the direction of the sliding track is rightward and the linear distance between the starting point and the terminal exceeds a preset threshold.
In the embodiment, considering that a user may not need to display the gallery window temporarily for some reasons in the process of browsing pictures through the gallery window and does not want to close the gallery window directly, the terminal may detect a sliding operation outside the gallery window, and hide the gallery window when a sliding track of the detected sliding operation meets a first preset condition; after the hiding, when the sliding operation is detected again and the sliding track corresponding to the sliding operation meets a second preset condition, the gallery window can be displayed again, and it can be understood that the displayed gallery window can be kept in the hidden state, so that the gallery window can not be displayed on the current interface temporarily under the condition of keeping the picture display state.
It should be understood that although the various steps in the flow charts of fig. 1-2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, there is provided a picture-floating display device 300, including:
a first detection module 302, configured to detect a selection operation on a hover button preset in a current interface;
a gallery window creating module 304, configured to create a gallery window corresponding to a gallery according to the selection operation, where the gallery window is suspended above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface;
a folder icon display module 306, configured to display folder icons corresponding to folders in the gallery in a gallery window;
the second detecting module 308 is configured to detect a control operation on the folder icon, and when the control operation is a preset operation, display a picture on the folder icon according to a display rule corresponding to the preset operation.
In one embodiment, the folder icon is provided with a function button, and the preset operation is a selection operation of the function button; the second detecting module 308 is further configured to display a picture on the folder icon according to a display rule corresponding to the function button when the control operation is a selection operation of the function button.
In one embodiment, the function buttons include a first picture switching button and a second picture switching button, and the preset operation includes a selection operation on the first picture switching button and a selection operation on the second picture switching button; the second detecting module 308 is further configured to display, when the control operation is a selection operation on the first picture switching button, a previous picture corresponding to the current picture on the folder icon; and when the control operation is a selection operation of the first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
In one embodiment, the function buttons include a play button and a stop button, and the preset operation includes a selection operation of the play button and a selection operation of the stop button; the second detection module 308 is further configured to determine that the folder icon is in the slideshow mode when the control operation is a selection operation on the play button, and sequentially display pictures in the gallery folder corresponding to the folder icon on the folder icon in a slideshow manner; when the control operation is a selection operation of a stop button, it is determined that the folder icon is in a stop play mode, a picture being played in a slide show mode is displayed on the folder icon, and picture switching is stopped.
In one embodiment, the above apparatus further comprises: the third detection module is used for detecting the dragging operation of the folder icon; acquiring a dragging track corresponding to dragging operation, and determining a picture displayed by a folder icon as a target sending picture when an end point corresponding to the dragging track is at any position in a text box outside a gallery window; and when receiving the picture sending instruction, sending the target sending picture to the server.
In one embodiment, the above apparatus further comprises: and the fourth detection module is used for closing the gallery window displayed on the current interface when the gallery window is detected to be displayed on the current interface and the selection operation of the floating button is detected.
In one embodiment, the above apparatus further comprises: the gallery window hiding module is used for judging whether a sliding track corresponding to sliding operation meets a first preset condition or not when the gallery window is detected to be displayed on the current interface and the sliding operation outside the gallery window is detected; if yes, hiding the gallery window; and when the gallery window is hidden and the sliding operation of which the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
For specific limitations of the image floating display device, reference may be made to the above limitations on the image floating display method, which is not described herein again. All or part of the modules in the picture suspension display device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the terminal, and can also be stored in a memory in the terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a terminal is provided, an internal structure of which may be as shown in fig. 4. The terminal comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal is configured to provide computing and control capabilities. The memory of the terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a picture floating display method. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the terminal, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a terminal comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: detecting selection operation of a preset suspension button in a current interface; creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface; displaying folder icons corresponding to all folders in the gallery in a gallery window; and detecting the control operation on the folder icon, and displaying the picture on the folder icon according to a display rule corresponding to the preset operation when the control operation is the preset operation.
In one embodiment, the folder icon is provided with a function button, and the preset operation is a selection operation of the function button; when the control operation is a preset operation, displaying the picture on the folder icon according to a display rule corresponding to the preset operation, including: and when the control operation is the selection operation of the function button, displaying the picture on the folder icon according to the display rule corresponding to the function button.
In one embodiment, the function buttons include a first picture switching button and a second picture switching button, and the preset operation includes a selection operation on the first picture switching button and a selection operation on the second picture switching button; when the control operation is a selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including: when the control operation is a selection operation of a first picture switching button, displaying a previous picture corresponding to the current picture on a folder icon; and when the control operation is a selection operation of the first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
In one embodiment, the function buttons include a play button and a stop button, and the preset operation includes a selection operation of the play button and a selection operation of the stop button; when the control operation is a selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including: when the control operation is the selection operation of the play button, determining that the folder icon is in a slide mode, and sequentially displaying the pictures in the gallery folder corresponding to the folder icon on the folder icon in a slide mode; when the control operation is a selection operation of a stop button, it is determined that the folder icon is in a stop play mode, a picture being played in a slide show mode is displayed on the folder icon, and picture switching is stopped.
In one embodiment, the processor, when executing the computer program, further performs the steps of: detecting a dragging operation on a folder icon; acquiring a dragging track corresponding to dragging operation, and determining a picture displayed by a folder icon as a target sending picture when an end point corresponding to the dragging track is at any position in a text box outside a gallery window; and when receiving the picture sending instruction, sending the target sending picture to the server.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the gallery window displayed on the current interface is detected and the selection operation of the floating button is detected, closing the gallery window displayed on the current interface.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the gallery window is displayed on the current interface and the sliding operation outside the gallery window is detected, judging whether a sliding track corresponding to the sliding operation meets a first preset condition; if yes, hiding the gallery window; and when the gallery window is hidden and the sliding operation of which the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: detecting selection operation of a preset suspension button in a current interface; creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface; displaying folder icons corresponding to all folders in the gallery in a gallery window; and detecting the control operation on the folder icon, and displaying the picture on the folder icon according to a display rule corresponding to the preset operation when the control operation is the preset operation.
In one embodiment, the folder icon is provided with a function button, and the preset operation is a selection operation of the function button; when the control operation is a preset operation, displaying the picture on the folder icon according to a display rule corresponding to the preset operation, including: and when the control operation is the selection operation of the function button, displaying the picture on the folder icon according to the display rule corresponding to the function button.
In one embodiment, the function buttons include a first picture switching button and a second picture switching button, and the preset operation includes a selection operation on the first picture switching button and a selection operation on the second picture switching button; when the control operation is a selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including: when the control operation is a selection operation of a first picture switching button, displaying a previous picture corresponding to the current picture on a folder icon; and when the control operation is the selection operation of the first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
In one embodiment, the function buttons include a play button and a stop button, and the preset operation includes a selection operation of the play button and a selection operation of the stop button; when the control operation is a selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including: when the control operation is the selection operation of a play button, determining that the folder icon is in a slide mode, and sequentially displaying the pictures in the gallery folder corresponding to the folder icon on the folder icon in a slide mode; when the control operation is a selection operation of a stop button, it is determined that the folder icon is in a stop play mode, a picture being played in a slide show mode is displayed on the folder icon, and picture switching is stopped.
In one embodiment, the computer program when executed by the processor further performs the steps of: detecting a dragging operation on a folder icon; acquiring a dragging track corresponding to dragging operation, and determining a picture displayed by a folder icon as a target sending picture when an end point corresponding to the dragging track is at any position in a text box outside a gallery window; and when receiving the picture sending instruction, sending the target sending picture to the server.
In one embodiment, the computer program when executed by the processor further performs the steps of: and when the gallery window displayed on the current interface is detected and the selection operation of the floating button is detected, closing the gallery window displayed on the current interface.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the current interface is detected to be displayed with the gallery window and sliding operation outside the gallery window is detected, judging whether a sliding track corresponding to the sliding operation meets a first preset condition or not; if yes, hiding the gallery window; and when the gallery window is hidden and the sliding operation of which the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A picture suspension display method, the method comprising:
detecting selection operation of a preset suspension button in a current interface;
creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above a display area corresponding to the current interface and partially covers the display area corresponding to the current interface;
displaying folder icons corresponding to all folders in the gallery in a paging mode in the gallery window, and switching the gallery window pages when receiving page switching operation acting on the gallery window;
detecting a control operation on the folder icon, and when the control operation is a preset operation, displaying a picture on the folder icon according to a display rule corresponding to the preset operation; when the preset operation is a sliding operation in which a sliding track passes through a folder icon, and when the control operation is a preset operation, displaying a picture on the folder icon according to a display rule corresponding to the preset operation, including: when the sliding track is detected to pass through the sliding operation of the folder icon, judging the sliding direction of the sliding track, and displaying a picture on the folder icon according to the sliding direction of the sliding track;
detecting a dragging operation on the folder icon;
acquiring a dragging track corresponding to the dragging operation, determining a picture displayed by the folder icon as a target sending picture when an end point corresponding to the dragging track is at any position in a text box outside a gallery window, and sending the target sending picture to a server when a picture sending instruction is received; when the end point corresponding to the dragging track is outside the gallery window and is not in the text box, judging that the dragging operation is invalid and refusing to move the position of the folder icon;
when the situation that a gallery window is displayed on a current interface and sliding operation outside the gallery window is detected, judging whether a sliding track corresponding to the sliding operation meets a first preset condition or not;
if yes, hiding the gallery window;
and when the gallery window is hidden and the sliding operation that the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
2. The method according to claim 1, wherein a function button is arranged on the folder icon, and the preset operation is a selection operation on the function button;
when the control operation is a preset operation, displaying a picture on the folder icon according to a display rule corresponding to the preset operation, including:
and when the control operation is the selection operation of the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button.
3. The method according to claim 2, wherein the function buttons include a first picture switching button and a second picture switching button, and the preset operation includes a selection operation of the first picture switching button and a selection operation of the second picture switching button;
when the control operation is a selection operation on the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including:
when the control operation is a selection operation of a first picture switching button, displaying a previous picture corresponding to the current picture on the folder icon;
and when the control operation is a selection operation of a first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
4. The method according to claim 2, wherein the function buttons include a play button and a stop button, and the preset operation includes a selection operation of the play button and a selection operation of the stop button;
when the control operation is a selection operation on the function button, displaying a picture on the folder icon according to a display rule corresponding to the function button, including:
when the control operation is the selection operation of the play button, determining that the folder icon is in a slide mode, and sequentially displaying the pictures in the gallery folder corresponding to the folder icon on the folder icon in a slide mode;
and when the control operation is the selection operation of a stop button, determining that the folder icon is in a stop playing mode, displaying the picture which is playing in the slide show mode on the folder icon, and stopping picture switching.
5. The method of any one of claims 1 to 4, further comprising:
and when detecting that the gallery window is displayed on the current interface and detecting the selection operation of the suspension button, closing the gallery window displayed on the current interface.
6. A picture suspension display device, the device comprising:
the first detection module is used for detecting the selection operation of a suspension button preset in the current interface;
the gallery window creating module is used for creating a gallery window corresponding to a gallery according to the selection operation, wherein the gallery window is suspended above the display area corresponding to the current interface and partially covers the display area corresponding to the current interface;
the folder icon display module is used for displaying folder icons corresponding to all folders in the gallery in pages in the gallery window and switching pages of the gallery window when receiving page switching operation acting on the gallery window;
the second detection module is used for detecting control operation on the folder icon, and when the control operation is preset operation, pictures are displayed on the folder icon according to a display rule corresponding to the preset operation; when the preset operation is a sliding operation in which a sliding track passes through a folder icon, and when the control operation is a preset operation, displaying a picture on the folder icon according to a display rule corresponding to the preset operation, including: when the sliding track is detected to pass through the sliding operation of the folder icon, judging the sliding direction of the sliding track, and displaying a picture on the folder icon according to the sliding direction of the sliding track;
the third detection module is used for detecting the dragging operation of the folder icon; acquiring a dragging track corresponding to the dragging operation, determining a picture displayed by the folder icon as a target sending picture when an end point corresponding to the dragging track is at any position in a text box outside a gallery window, and sending the target sending picture to a server when a picture sending instruction is received; when the end point corresponding to the dragging track is outside the gallery window and is not in the text box, judging that the dragging operation is invalid and refusing to move the position of the folder icon;
the gallery window hiding module is used for judging whether a sliding track corresponding to sliding operation meets a first preset condition or not when the gallery window is detected to be displayed on the current interface and the sliding operation outside the gallery window is detected; if yes, hiding the gallery window; and when the gallery window is hidden and the sliding operation that the sliding track meets a second preset condition is detected, redisplaying the hidden gallery window.
7. The device according to claim 6, wherein a function button is arranged on the folder icon, and the preset operation is a selection operation of the function button; and the second detection module is also used for displaying pictures on the folder icons according to the display rules corresponding to the function buttons when the control operation is the selection operation of the function buttons.
8. The apparatus according to claim 7, wherein the function button comprises a first picture switching button and a second picture switching button, and the preset operation comprises a selection operation of the first picture switching button and a selection operation of the second picture switching button; the second detection module is also used for displaying a previous picture corresponding to the current picture on the folder icon when the control operation is the selection operation of the first picture switching button; and when the control operation is a selection operation of a first picture switching button, displaying a next picture corresponding to the current picture on the folder icon.
9. A terminal comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910525453.9A 2019-06-18 2019-06-18 Picture suspension display method, device, terminal and storage medium Active CN110377378B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910525453.9A CN110377378B (en) 2019-06-18 2019-06-18 Picture suspension display method, device, terminal and storage medium
PCT/CN2019/118151 WO2020253058A1 (en) 2019-06-18 2019-11-13 Picture floating display method and apparatus, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910525453.9A CN110377378B (en) 2019-06-18 2019-06-18 Picture suspension display method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110377378A CN110377378A (en) 2019-10-25
CN110377378B true CN110377378B (en) 2022-11-25

Family

ID=68250397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910525453.9A Active CN110377378B (en) 2019-06-18 2019-06-18 Picture suspension display method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN110377378B (en)
WO (1) WO2020253058A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377378B (en) * 2019-06-18 2022-11-25 平安科技(深圳)有限公司 Picture suspension display method, device, terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562323A (en) * 2017-09-08 2018-01-09 广东欧珀移动通信有限公司 icon moving method, device and terminal
WO2019000287A1 (en) * 2017-06-28 2019-01-03 华为技术有限公司 Icon display method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177101B (en) * 2013-03-21 2016-06-08 广东欧珀移动通信有限公司 A kind of method of circulation display thumbnail on folder icon and device
CN104484090B (en) * 2014-12-12 2018-06-08 深圳市财富之舟科技有限公司 A kind of methods of exhibiting of picture
CN108228020B (en) * 2016-12-12 2021-09-07 腾讯科技(深圳)有限公司 Information processing method and terminal
CN107391734A (en) * 2017-08-04 2017-11-24 北京金山安全软件有限公司 Picture display method and device, electronic equipment and readable storage medium
CN108235765B (en) * 2017-12-05 2021-10-15 华为技术有限公司 Method and device for displaying story photo album
CN108241460A (en) * 2018-01-10 2018-07-03 上海展扬通信技术有限公司 Picture suspension display methods, system and computer readable storage medium
CN108958580B (en) * 2018-06-28 2021-07-23 维沃移动通信有限公司 Display control method and terminal equipment
CN110377378B (en) * 2019-06-18 2022-11-25 平安科技(深圳)有限公司 Picture suspension display method, device, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019000287A1 (en) * 2017-06-28 2019-01-03 华为技术有限公司 Icon display method and device
CN107562323A (en) * 2017-09-08 2018-01-09 广东欧珀移动通信有限公司 icon moving method, device and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
长虹数字高清读卡电视CHD291OOC悬浮的相册;宋双权;《电器评介》;20051005(第10期);全文 *

Also Published As

Publication number Publication date
CN110377378A (en) 2019-10-25
WO2020253058A1 (en) 2020-12-24

Similar Documents

Publication Publication Date Title
CN109164964B (en) Content sharing method and device, terminal and storage medium
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
KR101608183B1 (en) Arranging display areas utilizing enhanced window states
US20200409518A1 (en) Page switching method and apparatus, and storage medium
EP2613238A2 (en) Method and apparatus for managing icon in portable terminal
EP3096214B1 (en) Terminal control method and terminal control device
KR20130016329A (en) Device, method, and graphical user interface for managing folders
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
US11385785B2 (en) Interface for multiple simultaneous interactive views
US20100031185A1 (en) Web page push to new window
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN112988006B (en) Display method, display device, electronic equipment and storage medium
CN111176543A (en) Method, device, computer equipment and storage medium for realizing electronic signature
CN110377378B (en) Picture suspension display method, device, terminal and storage medium
CN114415886A (en) Application icon management method and electronic equipment
CN106855885B (en) Page processing method of browser and terminal
CN108399002B (en) Folder switching method and device
CN115917488A (en) Display interface processing method and device and storage medium
US11797164B2 (en) Interface for multiple simultaneous views
KR102180351B1 (en) User terminal device and method for providing user interface of user terminal device
CN113342222A (en) Application classification method and device and electronic equipment
CN112148406A (en) Page switching method and device, electronic equipment and readable storage medium
CN109558551A (en) Method, apparatus, storage medium and the electronic equipment of previewing file
CN112882626B (en) Display control method, electronic device and storage medium
WO2022227816A1 (en) Interface interaction method and apparatus, and electronic device and 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