CN114840702A - Album graphic file management method, device, storage medium and terminal - Google Patents

Album graphic file management method, device, storage medium and terminal Download PDF

Info

Publication number
CN114840702A
CN114840702A CN202110047050.5A CN202110047050A CN114840702A CN 114840702 A CN114840702 A CN 114840702A CN 202110047050 A CN202110047050 A CN 202110047050A CN 114840702 A CN114840702 A CN 114840702A
Authority
CN
China
Prior art keywords
graphic file
album
album graphic
floating window
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110047050.5A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110047050.5A priority Critical patent/CN114840702A/en
Publication of CN114840702A publication Critical patent/CN114840702A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method and a device for managing a picture file of an album, a storage medium and a terminal, and belongs to the technical field of equipment safety and management. The method comprises the following steps: responding to the fact that a terminal screen is unlocked under the condition that a preset condition is met, and displaying an album graphic file management floating window with a first size, wherein the album graphic file management floating window is used for displaying a graphic file operation management control; in response to the triggering operation of the graphic file operation management control, the album graphic file management floating window is switched to the album graphic file advanced management floating window in a scaling mode; the photo album graphic file advanced management floating window is used for displaying photo album graphic files to be processed; responding to a target gesture touch event of the photo album graphic file, dynamically displaying the operation processing process of the photo album graphic file, and dynamically switching and displaying the general view of the updated photo album graphic file. The scheme is automatically initiated by the terminal, a user does not need to manually select the photo album graphic files to be processed, the user operation cost is low, and the management efficiency is high.

Description

Album graphic file management method, device, storage medium and terminal
Technical Field
The present application relates to the field of device security and management technologies, and in particular, to a method and an apparatus for managing a picture file of an album, a storage medium, and a terminal.
Background
Because the storage space of the terminal is limited, when the number of pictures stored in the terminal is large, a part of the pictures is usually selected to be deleted, so as to clean the pictures.
In the related art, when cleaning pictures, a user is required to actively browse each picture in an album, and screen the pictures in a large number of pictures, so as to delete the selected pictures.
The picture cleaning action is actively initiated by the user and the user needs to manually select the picture to be cleaned, so that the user operation cost is high, the picture cleaning efficiency is low, and the intellectualization is insufficient.
Disclosure of Invention
The embodiment of the application provides a method and a device for managing a picture file of an album, a storage medium and a terminal. The scheme is automatically initiated by the terminal, a user does not need to manually select photo album graphic files to be processed, the user operation cost is low, the management efficiency is high, and the intelligent management method is more intelligent. The technical scheme is as follows:
in one aspect, a method for managing a graphic file of an album is provided, the method comprising:
responding to the fact that a terminal screen is unlocked under the condition that a preset condition is met, and displaying an album graphic file management floating window with a first size, wherein the album graphic file management floating window is used for displaying the current album graphic file outline of the terminal and a first operation management control output according to the album graphic file outline;
responding to the triggering operation of the first operation management control, and switching the album graphic file management floating window to an album graphic file advanced management floating window presented in a second size; the album graphic file advanced management floating window is used for displaying the album graphic file to be processed and a visual operation management prompt;
responding to a target gesture touch event of the photo album graphic file to be processed, dynamically displaying the operation processing process of the photo album graphic file to be processed, and dynamically switching and displaying the updated photo album graphic file profile, wherein the updated photo album graphic file profile is used for displaying the operation processing progress of the photo album graphic file and the corresponding operation management suggestion in real time.
In a possible implementation manner, the album graphics file to be processed is a fuzzy graphics file, and the method further includes:
reading an album, and carrying out gray processing on any non-screenshot graphic file in the album to obtain a gray graphic file;
determining the definition of the gray-scale image file according to the gray-scale value of each pixel point in the gray-scale image file, wherein the definition is determined according to the gray-scale difference value between each pixel point and the adjacent pixel point;
and determining the fuzzy graphic file as the photo album graphic file to be processed in response to the definition being smaller than a second threshold value.
In a possible implementation manner, the album graphic file to be processed is an album graphic file whose volume is smaller than a third threshold, and the method further includes:
reading an album, and acquiring attribute information of each album graphic file in the album, wherein the attribute information comprises the volume of the album graphic file;
and for any photo album graphic file in a photo album, determining the photo album graphic file as the photo album graphic file to be processed in response to the fact that the volume of the photo album graphic file is smaller than the third threshold value.
In one possible implementation, the method further includes: and responding to the target gesture touch event, and deleting the photo album graphic file to be processed in storage media of photo albums and terminals.
In another aspect, there is provided an album graphic file management apparatus including:
the terminal comprises a first display module, a second display module and a third display module, wherein the first display module is configured to respond to that a terminal screen is unlocked under the condition that a preset condition is met, and display an album graphic file management floating window with a first size, and the album graphic file management floating window is used for displaying the current album graphic file outline of the terminal and a first operation management control output according to the album graphic file outline;
the second display module is configured to respond to the triggering operation of the first operation management control, and the album graphic file management floating window is switched to an album graphic file advanced management floating window presented in a second size; the album graphic file advanced management floating window is used for displaying the album graphic file to be processed and a visual operation management prompt;
and the third display module is configured to respond to a target gesture touch event of the photo album graphic file to be processed, dynamically display the operation processing process of the photo album graphic file to be processed, and dynamically switch and display an updated photo album graphic file profile, wherein the updated photo album graphic file profile is used for displaying the operation processing progress of the photo album graphic file and a corresponding operation management suggestion in real time.
In one possible implementation, the second display module is further configured to:
responding to a triggering operation of the first operation management control, and displaying a first animation, wherein the first animation is used for showing that the album graphic file management floating window is amplified and switched to the album graphic file advanced management floating window, and the second size is larger than the first size.
In one possible implementation, the third display module is further configured to:
and displaying a second animation, wherein the second animation is used for presenting that the photo album graphic file to be processed gradually moves to the designated direction along with the target gesture touch event and gradually disappears on the photo album graphic file advanced management floating window.
In a possible implementation manner, the second display module is further configured to display a second operation management control on the advanced management floating window of the album graphic file in a manner of replacing the first operation management control;
the device further comprises: a fourth display module configured to display a third animation in response to a triggering operation on the second operation management control, wherein the third animation is used for presenting that the album graphic file advanced management floating window is reduced and switched to the album graphic file management floating window, and the first size is smaller than the second size; or responding to the situation that the photo album graphic file to be processed is empty, and displaying the third animation.
In a possible implementation manner, the number of the to-be-processed album graphic files is at least two, and the first album graphic file to be currently processed is displayed in the album graphic file advanced management floating window, and the apparatus further includes:
a fifth display module configured to display a fourth animation after dynamically switching and displaying the updated album graphic file profile; the fourth animation is used for showing that a second photo album graphic file automatically moves to the specified area and is gradually enlarged in the specified area, and the second photo album graphic file is the next photo album graphic file behind the first photo album graphic file.
In one possible implementation manner, the first display module is configured to display the album graphic file management floating window of the first size in response to the terminal screen being unlocked for the first time within a target time period.
In a possible implementation manner, the number of the album graphic files to be processed is at least two, and the second display module is further configured to:
displaying a first photo album graphic file to be processed currently on the advanced management floating window of the photo album graphic file in a third size, and displaying the rest photo album graphic files in a fourth size, wherein the fourth size is smaller than the third size; or the like, or, alternatively,
and displaying at least two album graphic files on the album graphic file advanced management floating window in a sequentially decreasing size order, wherein the size of the first album graphic file is the largest in the at least two album graphic files.
In one possible implementation, the fourth animation is further configured to present, starting from a third album graphic file, a next album graphic file sequentially moved to a position where the previous album graphic file was previously displayed, the third album graphic file being a next album graphic file located after the second album graphic file.
In a possible implementation manner, the number of the album graphic files to be processed is at least two, and the second display module is further configured to:
displaying at least two album graphic files on the advanced management floating window of the album graphic files according to the time sequence; or the like, or, alternatively,
displaying the at least two album graphic files on the advanced management floating window of the album graphic files according to the size of the album graphic files; or the like, or, alternatively,
and displaying the at least two album graphic files on the advanced management floating window of the album graphic files according to the priority of the types of the album graphic files.
In a possible implementation manner, the album graphic file to be processed is a screen capture graphic file obtained by a screen capture operation, and the apparatus further includes:
the first identification module is configured to read an album and acquire attribute information of each album graphic file in the album, wherein the attribute information comprises a file name of the album graphic file; and for any photo album graphic file in the photo album, responding to the fact that the file name of the photo album graphic file contains the target keyword, and determining the photo album graphic file as the photo album graphic file to be processed.
In a possible implementation manner, the album graphic file to be processed is a redundant album graphic file that is repeatedly photographed, and the apparatus further includes:
the second identification module is configured to read the photo album and acquire attribute information of a non-screenshot graphic file in the photo album, wherein the attribute information comprises the shooting time of the photo album graphic file; dividing non-screenshot graphic files shot in a target time interval into the same initial group; for any one initial grouping, extracting the characteristics of each non-screenshot graphic file in the initial grouping; based on the extracted feature data, dividing the non-screenshot graphic files in the initial grouping again to obtain M new groupings, wherein M is a positive integer; and determining the photo album graphic files to be processed in each divided new group.
In one possible implementation, the second identification module is configured to:
creating a list for the initial grouping, wherein the number of lines of the list is the total number of the photo album graphic files included in the initial grouping, and one non-screenshot graphic file in the initial grouping corresponds to one line of elements in the list;
wherein the elements in the same row are used for indicating the similarity between the same non-screenshot album graphic file and other non-screenshot graphic files in the initial group; the value of the element is a first value or a second value; the first numerical value is used for indicating that the similarity between two non-screenshot graphic files is greater than a first threshold; the second value is used for indicating that the similarity between two non-screenshot graphic files is smaller than the first threshold;
for any row of elements in the list, in response to that the number of target elements, which take the value of the first numerical value, in the row of elements is greater than zero and the row corresponds to a new group, adding a non-screenshot graphic file indicated by the target elements to the new group.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the album graphic file management method.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, the at least one program code being loaded and executed by a processor to implement the album graphic file management method described above.
In another aspect, there is provided a computer program product or a computer program comprising computer program code stored in a computer readable storage medium, the computer program code being read by a processor of a terminal from the computer readable storage medium, the computer program code being executed by the processor to cause the terminal to perform the above album graphic file management method.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a convenient album file management tool for a user, and particularly, the embodiment of the application can automatically identify album graphic files to be processed, remind the user to manage the album graphic files in a floating window mode, and after the user triggers a management flow through a popped floating window, the embodiment of the application can automatically switch the album graphic file management floating window to the album graphic file advanced management floating window, support the user to adopt an interaction mode of gesture touch control to manage the album graphic files, is friendly to user experience, and obviously improves the management efficiency of the user through a convenient interaction mode. The scheme is automatically initiated by the terminal, a user does not need to manually select photo album graphic files to be processed, the user operation cost is low, the management efficiency is high, and the method is intelligent.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment related to a method for managing a graphic file of an album according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for managing a graphic file of an album according to an embodiment of the present application;
FIG. 3 is a diagram of a floating management window for a graphic file of an album according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an example of a floating window for further managing a graphic file of an album;
FIG. 5 is a schematic diagram of another album graphic file advanced management floating window provided in the embodiment of the present application;
FIG. 6 is a schematic diagram of another album graphic file advanced management floating window provided in the embodiment of the present application;
FIG. 7 is a schematic diagram of another album graphic file advanced management floating window provided by the embodiment of the application;
FIG. 8 is a schematic diagram of another album graphic file advanced management floating window provided in the embodiment of the present application;
FIG. 9 is a schematic diagram of another album graphic file advanced management floating window provided in the embodiment of the present application;
FIG. 10 is a schematic diagram of another album graphic file management floating window provided by the embodiment of the application;
FIG. 11 is a flowchart illustrating identification of a pending album graphic file according to an embodiment of the present disclosure;
FIG. 12 is a flowchart illustrating another example of identifying a pending album graphic file according to an embodiment of the present disclosure;
FIG. 13 is a flowchart illustrating another example of identifying a pending album graphic file according to an embodiment of the present disclosure;
FIG. 14 is a flowchart illustrating another example of identifying a pending album graphic file according to an embodiment of the present disclosure;
FIG. 15 is a flowchart illustrating another example of identifying a pending album graphic file according to an embodiment of the present disclosure;
FIG. 16 is a flowchart illustrating another example of identifying a pending album graphic file according to an embodiment of the present disclosure;
FIG. 17 is a schematic structural diagram of an apparatus for managing graphic files in an album according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution. It will be further understood that, although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by these terms.
These terms are only used to distinguish one element from another element. For example, a first album graphic file can be referred to as a second album graphic file, and similarly, the second album graphic file can also be referred to as a first album graphic file without departing from the scope of the various examples. The first album graphic file and the second album graphic file may both be album graphic files and, in some cases, may be separate and distinct album graphic files.
For example, at least one album graphic file may be an album graphic file, two album graphic files, three album graphic files, and any integer number of album graphic files greater than or equal to one. The plurality of album graphic files may be two or more, for example, the plurality of album graphic files may be two album graphic files, three album graphic files, or any integer number of album graphic files greater than or equal to two.
The technical scheme provided by the embodiment of the application is used for managing the photo album graphic files. Illustratively, the solution relates to the field of Cloud Technology.
The cloud technology is a hosting technology for unifying series resources such as hardware, software, network and the like in a wide area network or a local area network to realize data calculation, storage, processing and sharing. In addition, the cloud technology can also be a general name of a network technology, an information technology, an integration technology, a management platform technology, an application technology and the like based on cloud computing business model application, can form a resource pool, can be used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
The embodiment of the application particularly relates to Cloud Security (Cloud Security) in the technical field of Cloud. The cloud security refers to a general name of security software, hardware, users, mechanisms and security cloud platforms applied based on the cloud computing business model. The cloud security integrates emerging technologies and concepts such as parallel processing, grid computing and unknown virus behavior judgment, abnormal monitoring of software behaviors in the network is achieved through a large number of meshed clients, the latest information of trojans and malicious programs in the internet is obtained and sent to the server for automatic analysis and processing, and then the virus and trojan solution is distributed to each client.
As one example, the main research directions for cloud security include, but are not limited to: 1. the cloud computing security mainly researches how to guarantee the security of the cloud and various applications on the cloud, including the security of a cloud computer system, the secure storage and isolation of user data, user access authentication, information transmission security, network attack protection, compliance audit and the like; 2. the cloud of the security infrastructure mainly researches how to adopt cloud computing to newly build and integrate security infrastructure resources and optimize a security protection mechanism, and comprises the steps of constructing a super-large-scale security event and an information acquisition and processing platform through a cloud computing technology, realizing the acquisition and correlation analysis of mass information, and improving the handling control capability and the risk control capability of the security event of the whole network; 3. the cloud security service mainly researches various security services, such as anti-virus services and the like, provided for users based on a cloud computing platform.
Illustratively, the picture cleaning scheme provided by the embodiment of the present application specifically relates to cloud security services. And more particularly to album management in the field of wireless security.
Some noun terms or abbreviations referred to in the embodiments of the present application are described below.
Photo album graphic file: illustratively, an album graphic file refers to a picture in an album in the embodiments of the present application. Wherein, according to the picture source division, the picture includes but not limited to: the method comprises the steps of taking pictures through a camera, sending pictures through other terminals, downloading pictures from the Internet, obtaining screen shot pictures through screen shot operation and the like.
Managing photo album graphic files: illustratively, the album graphic file refers to picture cleaning in the embodiments of the present application. Wherein, the picture cleaning includes but is not limited to: moving the picture from the album to a recycle bin or completely removing the picture from the storage medium of the terminal.
HSV (Hue Saturation Value) feature: the method is a method for representing points in an RGB (Red Green Blue ) color model in a cylindrical coordinate system. In detail, HSV is a color space created according to the intuitive nature of color, also known as a hexagonal cone model. The parameters of the colors in this model are: hue (H), saturation (S), and lightness (V).
Fig. 1 is a schematic diagram of an implementation environment related to a method for managing a graphic file of an album according to an embodiment of the present application.
Referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
Optionally, the terminal 101 is installed with a target application program, which not only provides the album graphic file management function, but also provides other functions for the user, such as fraud interception, device disinfection, software management, traffic monitoring, privacy protection, and the like, and the present application is not limited herein. Illustratively, the target application is a security management type application, and the server 102 is a server that provides services for the target application.
Optionally, the server 102 is an independent physical server, or a server cluster or distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and artificial intelligence platform. Optionally, the terminal 101 is a smart phone, a tablet computer, a notebook computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 101 and the server 102 are directly or indirectly connected through wired or wireless communication, and the present application is not limited thereto.
Optionally, the terminal 101 is responsible for executing the album graphic file management scheme provided by the embodiment of the present application; or, the security management application installed on the terminal 101 is responsible for executing the album graphic file management scheme provided in the embodiment of the present application; or, a certain functional module included in the security management application is responsible for executing the album graphic file management scheme provided in the embodiment of the present application, which is not limited herein.
Fig. 2 is a flowchart of a method for managing an album graphic file according to an embodiment of the present application, where an execution subject of the method is the terminal 101 in fig. 1. Referring to fig. 2, a method flow provided by an embodiment of the present application includes the following steps.
201. And responding to the fact that the terminal screen is unlocked under the condition that the preset condition is met, and displaying an album graphic file management floating window with a first size, wherein the album graphic file management floating window is used for displaying the current album graphic file outline of the terminal and a first operation management control output according to the album graphic file outline.
In the embodiment of the present application, the album graphic file management floating window is as shown in fig. 3. Referring to fig. 3, there is shown in fig. 3 an album graphic file management floating window 1 of a first size. Exemplary terminal current album graphic file profiles include, but are not limited to: the total number of album graphic files to be processed (also referred to as the first number).
Illustratively, the album graphic file profile includes, but is not limited to: the management tool name, a thumbnail of the album graphic file, the total number of album graphic files, and an operations management control, also referred to herein as a first operations management control.
Optionally, the album graphic file management floating window 1 is displayed on the display screen of the terminal in a floating manner in a manner of being placed on the top layer. The mode of being placed on the top layer refers to displaying on the forefront of all layers.
Alternatively, the album graphic file management floating window 1 is displayed at a timing when the terminal automatically recognizes the album graphic file to be processed. For example, when the security management application of the terminal recognizes that there is a screen shot graphic file, a redundant graphic file repeatedly shot, or the like, the album graphic file management floating window 1 is automatically displayed.
In one possible implementation, the types of album graphic files to be processed include, but are not limited to: the method includes the steps of obtaining a screen shot graphic file through screen shot operation, a redundant photo album graphic file shot repeatedly, a fuzzy graphic file, a low-quality graphic file with a small size and the like, and the method is not limited herein.
Alternatively, the album graphic file management scheme terminal is executed periodically, such as once per day. In one possible implementation manner, in response to the terminal screen being unlocked when a preset condition is met, displaying an album graphic file management floating window of a first size, the method includes: and displaying the album graphic file management floating window with the first size in response to the terminal screen being unlocked for the first time within the target time period.
In addition, the terminal can display the album graphic file management floating window with the first size in the target time period when the terminal is in a lighting state; optionally, the terminal screen being in the lighting state includes but is not limited to: and the terminal screen is lighted after the user unlocks the terminal screen operation, and the terminal screen is always in a lighted state.
Illustratively, the target time period is night, for example, the album graphic file management floating window 1 is automatically popped up on the terminal screen at night, namely, the user is reminded to manage the album graphic file in an idle period before the user goes to bed. For example, the security management application on the terminal automatically registers an alarm clock in the background process, and the user automatically pops up the album graphic file management floating window 1 when unlocking the terminal screen for the first time between 8 o 'clock in the evening and 2 o' clock in the morning.
202. Responding to the triggering operation of the first operation management control, and switching the album graphic file management floating window to an album graphic file advanced management floating window presented in a second size; the advanced management floating window of the photo album graphic file is used for displaying the photo album graphic file to be processed and a visual operation management prompt.
Optionally, the triggering operation of the first operation management control by the user may be a click operation, which is not limited herein. As can be seen from comparison between fig. 3 and fig. 4, the album graphic file management floating window 1 switches to the album graphic file management floating window 2 presented in the second size in response to the user's trigger operation on the first operation management control 11.
Referring to fig. 4, on the album graphic file order management floating window 2, a second operation management control 12 is displayed in place of the first operation management control 11. In addition, a visual operation management prompt is also displayed on the album graphic file advanced management floating window 2. Illustratively, the visual operations management cues include at least one of: the second number of the current remaining photo album graphic files to be processed, the management gestures of the photo album graphic files and the text description of the management mode. Alternatively, the second number may be "30 album graphic files remain" in fig. 4, the text description of the management manner may be "delete album graphic files by sliding up" in fig. 4, and the management gesture may be an arrow mark and a gesture mark in fig. 4, which is not limited herein.
Optionally, there are at least two album graphic files to be processed, and the first album graphic file to be processed currently is displayed in a designated area on the album graphic file advanced management floating window 2 in the form of a preview. For example, the designated area is the middle area where the graphic file 1 of fig. 4 is located.
In one possible implementation, as shown in fig. 4, a total of two album graphic files, namely, the album graphic file 1 and the album graphic file 2, are displayed on the album graphic file order management floating window 2.
In another possible implementation manner, the method provided in the embodiment of the present application further includes: displaying a first photo album graphic file to be processed currently on the photo album graphic file advanced management floating window 2 in a third size, and displaying the rest photo album graphic files in a fourth size, wherein the fourth size is smaller than the third size; or, at least two album graphic files are displayed on the album graphic file advanced management floating window 2 in the order of descending size order, and the size of the first album graphic file is the largest in the at least two album graphic files.
In another possible implementation manner, the method provided in the embodiment of the present application further includes:
2021. displaying at least two album graphic files on the album graphic file advanced management floating window 2 according to the time sequence; for example, N preview images are displayed in the sequence of time from far to near, wherein N is a positive integer, and one preview image corresponds to one photo album graphic file to be processed.
2022. Displaying at least two album graphic files on the album graphic file advanced management floating window 2 according to the volume; for example, N preview images are displayed in descending order of size.
2023. And displaying at least two album graphic files on the advanced management floating window 2 according to the priority of the types of the album graphic files. Optionally, album graphic file types include, but are not limited to: the method comprises the steps of screen capture of a graphic file, repeated shooting of a redundant photo album graphic file, a fuzzy graphic file and a low-quality photo album graphic file with a small size. Illustratively, N preview images are displayed in order of priority from high to low.
203. Responding to a target gesture touch event of the photo album graphic file to be processed, dynamically displaying the operation processing process of the photo album graphic file to be processed, and dynamically switching and displaying the updated photo album graphic file profile, wherein the updated photo album graphic file profile is used for displaying the operation processing progress of the photo album graphic file and the corresponding operation management suggestion in real time.
Alternatively, the target gesture touch event may be a long press of a single picture sliding up and loosing hands. Besides, the management gesture of the photo album graphic file can be as follows: the user can slide down and release his/her hand by long pressing a single photo album graphic file, slide left and release his/her hand by long pressing a single photo album graphic file, slide right and release his/her hand by long pressing a single photo album graphic file, etc., and the application is not limited herein.
Referring to fig. 5 to 7, taking the first album graphic file as the album graphic file 1 in fig. 5 to 7 as an example, if the gesture touch operation performed by the user on the album graphic file 1 is consistent with the preset album graphic file cleaning gesture, the terminal may display a second animation in response to the target gesture touch event, where as shown in fig. 5 to 7, the second animation is used to show that the album graphic file 1 gradually moves to the designated direction along with the target gesture touch event and gradually disappears on the album graphic file advanced management floating window 2. Wherein the designated direction may be upward, downward, leftward or rightward, and the present application is not limited thereto. In addition, after detecting the long-press operation of the user on the single album graphic file, as shown in fig. 6, the user may be prompted for a next operation, such as "slide up and then release his/her hand immediately", which is not limited herein.
Illustratively, referring to FIG. 7, the updated album graphic file profile includes at least one of: the second number of the current photo album graphic files to be processed, the number of the cleaned photo album graphic files, the cleaning success identification and the text description of the cleaning mode of the photo album graphic files. The operation processing progress can be represented by the second number and the number of the cleaned album graphic files, and the operation management suggestion includes but is not limited to a text description of the cleaning mode of the album graphic files. Alternatively, the number may be "29 remaining album graphic files" in fig. 8 and 9, the text description of the album graphic file cleaning manner may be "delete album graphic files by sliding upward continuously" in fig. 8 and 9, and the number of cleaned album graphic files may be "delete 1 album graphic files" in fig. 7, which is not limited herein.
In another possible implementation, after deleting the first album graphic file, the next album graphic file located after the first album graphic file, i.e., the second album graphic file, may be processed continuously. That is, the method provided by the embodiment of the present application further includes: and displaying a fourth animation after dynamically switching and displaying the general view of the updated album graphic file.
Optionally, the fourth animation is used for presenting that the second album graphic file automatically moves to the designated area and gradually enlarges in the designated area; in addition, the fourth animation is also used to present that, starting from a third album graphic file, the next album graphic file is sequentially moved to a position where the previous album graphic file was previously displayed, wherein the third album graphic file is the next album graphic file located after the second album graphic file.
Taking the second album graphic file as the album graphic file 2 in fig. 8 and 9, the third album graphic file as the album graphic file 3 in fig. 9, and the designated area as the middle position of the album graphic file order management floating window 2 as an example, the process is as shown in fig. 8 and 9. As shown in fig. 8 and 9, the album graphic file 2 is displayed at the middle of the album graphic file order management floating window 2, and the album graphic file 3 is sequentially moved to the position where the album graphic file 2 was previously displayed.
In another possible implementation manner, the method provided in the embodiment of the present application further includes: responding to the triggering operation of the second operation management control 12, displaying a third animation, wherein the third animation is used for showing that the album graphic file advanced management floating window 2 is reduced and switched to the album graphic file management floating window 1; or, responding to the emptying of the photo album graphic file to be processed, and displaying the third animation. After the cleaning of the album graphic file is terminated or finished, the album graphic file advanced management floating window 2 is as shown in fig. 10. Optionally, the triggering operation of the second operation management control 12 by the user may be a click operation, which is not limited herein.
Optionally, after the album graphic file advanced management floating window 2 recovers to the preset time of the first size, the album graphic file advanced management floating window 2 automatically disappears on the terminal screen.
The embodiment of the application provides a convenient album file management tool for a user, and particularly, the embodiment of the application can automatically identify album graphic files to be processed, remind the user to manage the album graphic files in a floating window mode, and after the user triggers a management flow through a popped floating window, the embodiment of the application can automatically switch the album graphic file management floating window to the album graphic file advanced management floating window, support the user to adopt an interaction mode of gesture touch control to manage the album graphic files, is friendly to user experience, and obviously improves the management efficiency of the user through a convenient interaction mode. The scheme is automatically initiated by the terminal, a user does not need to manually select photo album graphic files to be processed, the user operation cost is low, the management efficiency is high, and the method is intelligent.
Taking album graphic file management as picture cleaning, the above album graphic file management floating window as picture cleaning floating window, and the above album graphic file advanced management floating window as picture advanced cleaning floating window as an example, the following exemplifies the album graphic file management scheme provided by the embodiment of the present application through fig. 3 to fig. 10.
1. And popping up a picture to clean the floating window.
Optionally, the display timing of the picture cleaning floating window is that the terminal automatically identifies the picture to be cleaned. For example, when the terminal automatically recognizes that there are screen shot pictures, redundant pictures repeatedly taken, and the like, a picture clearing floating window as shown in fig. 3 is automatically popped up. Illustratively, referring to fig. 3, the picture cleaning floating window displays a floating window name "album graphic file management", thumbnails of pictures to be cleaned, a prompt message "30 album graphic files are newly added today, it takes 1 minute to process a bar" and an operation management control "management is expanded".
As can be seen from a comparison of fig. 3 and 4, in response to the user clicking the "expand management" operation management control, the picture cleaning floating window is automatically switched to the picture progressive cleaning floating window of the second size in an enlarged manner. Further, referring to fig. 4, how many album graphic files are to be cleaned is indicated on the picture step cleaning floating window, such as "30 album graphic files remain"; a picture cleaning gesture, such as an arrow mark and a gesture mark in fig. 4; and prompting how to clear the text description of the picture, such as sliding upwards to delete the photo album graphic file. Meanwhile, two preview images are displayed at the bottom of the picture cleaning floating window, wherein one preview image corresponds to an album graphic file to be cleaned, and the first preview image to be processed is arranged in the middle by default.
2. And the user cleans the picture by executing gesture touch operation.
Illustratively, the gesture touch operation is a gesture sliding operation, and referring to fig. 5 to 7, if the gesture sliding operation performed by the user on the album graphic file 1 is consistent with the preset picture cleaning gesture, in response to the gesture sliding operation, the animation effect that the album graphic file 1 gradually moves upwards along with the gesture sliding event and gradually disappears on the picture advanced cleaning floating window is presented on the picture advanced cleaning floating window.
In addition, referring to fig. 6, after detecting a long press operation of the user on the album graphic file 1, the further clearing floating window of the picture prompts the user to perform a next operation, such as "slide up and then release hands immediately", which is not limited herein. In addition, referring to fig. 7, after the album graphic file 1 is deleted, the image advanced cleaning floating window prompts the number of the currently remaining images to be cleaned, the number of the cleaned images and the cleaning success identifier.
3. The next picture to be cleaned is leading.
Referring to fig. 8 and 9, after deleting the album graphic file 1, the next album graphic file 2 is automatically moved to the left and automatically enlarged when moved to the middle position, and the picture step cleaning floating window prompts to continue to slide upward to delete the album graphic file 2, and simultaneously the album graphic file 3 is sequentially moved to the position where the album graphic file 2 was previously displayed.
4. The state that the picture to be cleaned is empty is achieved.
Referring to fig. 10, after all the pictures to be cleaned are cleaned, the advanced cleaning floating window of the pictures is automatically switched to the cleaning floating window of the pictures with the first size, and the pictures to be cleaned are prompted to be cleaned.
According to the embodiment of the application, the picture to be cleaned can be automatically identified, the user is reminded to clean the picture through the floating window, after the user triggers the picture cleaning process through the popped floating window, the floating window can be automatically switched to the large-size floating window, the user is supported to adopt the gesture touch interaction mode to clean the picture, the user experience is friendly, and the picture cleaning efficiency of the user is remarkably improved through the convenient interaction mode.
In addition, in order to display the photo album graphic file to be processed immediately when the photo album graphic file management floating window is popped up, the identification process of the photo album graphic file to be processed is carried out in a background of the terminal in a silent mode, the photo album graphic file to be processed is written into the database after the identification is finished, and when the photo album graphic file management floating window is popped up, the database is directly read to display the photo album graphic file to be processed, so that the response speed can be improved, and the user experience is improved. How to identify different types of album graphic files to be processed is described by the following embodiment.
In a possible implementation manner, referring to fig. 11, the album graphic file to be processed is a screenshot graphic file obtained through a screenshot operation, and the method provided in the embodiment of the present application further includes:
1101. reading the photo album, and obtaining attribute information of each photo album graphic file in the photo album, wherein the attribute information comprises the file name of the photo album graphic file.
For example, the album may be a terminal local album or a cloud album, and the present application is not limited herein.
1102. And for any photo album graphic file in the photo album, determining the photo album graphic file as the photo album graphic file to be processed in response to the target keyword contained in the file name of the photo album graphic file.
Optionally, the target keyword is "screen shot" or "screenshot," and the application is not limited herein. In addition, the attribute information includes path information, time information, volume size, compression type, and the like, in addition to the file name, and the present application is not limited thereto.
Optionally, the process of identifying the screenshot graphic file is further described below with respect to FIG. 12.
1201. Judging whether the photo album has the right to access; if yes, go to step 1202;
if not, identifying the photo album graphic file to be processed, and not displaying the photo album graphic file management floating window on the terminal screen.
1202. And reading the photo album.
1203. And acquiring attribute information of each photo album graphic file.
1204. And taking out an album graphic file in the album.
1205. Judging whether the file name of the photo album graphic file contains a target keyword or not; if so, the following step 1206 is performed.
1206. And marking the photo album graphic file as a screen capture graphic file.
1207. Traversing all photo album graphic files in the photo album; if so, the following step 1206 is performed.
1208. And storing the marked screen capture graphic file into a screen capture graphic file database.
Illustratively, each entry in the database is a unique ID for the screenshot graphic file.
In another possible implementation manner, referring to fig. 13, the photo album graphic file to be processed is a redundant photo album graphic file that is repeatedly photographed, and the method provided in the embodiment of the present application further includes:
1301. reading the photo album, and obtaining attribute information of the non-screenshot graphic file in the photo album, wherein the attribute information comprises the shooting time of the photo album graphic file.
In the embodiment of the application, the non-screenshot graphic file refers to other album graphic files except the screenshot graphic file in the album.
1302. Dividing non-screenshot graphic files shot in a target time interval into the same initial group.
Optionally, the target time interval is 30s, which is not limited herein. Illustratively, at a time interval of 30s, the embodiment of the application divides the photo album graphic files shot within 30s into the same initial group, and treats the photo album graphic files in the same initial group as potential duplicate photo album graphic files. This step is based on the assumption that album graphic files photographed at short time intervals are more likely to be similar redundant album graphic files according to the habit of people photographing album graphic files.
1303. For any one initial grouping, extracting the characteristics of each non-screenshot graphic file in the initial grouping; and dividing the non-screenshot graphic files included in the initial grouping again based on the extracted feature data to obtain M new groupings.
Wherein, the value of M is a positive integer. Optionally, in the embodiment of the present application, the tool QQImageCompare is used to perform feature extraction, and extract HSV features, which is not limited herein.
Wherein the above grouping is also referred to herein as a Bucket (Bucket), such as the initial grouping is referred to as a vat and the new grouping is referred to as a keg. And further extracting features of the non-screenshot graphic files contained in each barrel, and calculating the similarity between every two non-screenshot graphic files based on the extracted feature data, so that the barrels are further split into a plurality of kegs containing more similar album graphic files.
After the above-mentioned step 1303 is performed on each initial packet, a plurality of new packets can be obtained.
1304. And determining the photo album graphic files to be processed in each divided new group.
Optionally, for any new group, one album graphic file in the new group may be reserved, and the remaining album graphic files in the new group are all used as the album graphic files to be processed.
Optionally, the process of dividing the preliminary grouping of step 1302 above is further described below with fig. 14.
1401. Judging whether the photo album has the right to access; if yes, the following step 1402 is executed.
If not, identifying the photo album graphic file to be processed, and not displaying the photo album graphic file management floating window on the terminal screen.
1402. And reading the photo album.
1403. And acquiring attribute information of each photo album graphic file.
1404. Let i equal to 0, b equal to 0; and taking out the photo album graphic file P _ i in the photo album. Wherein, i is used for identifying the photo album graphic file, and b is used for identifying the barrel.
1405. Judging whether the photo album graphic file P _ i is a screen capture graphic file or not; if yes, i is i + 1; if not, the following step 1406 is performed.
1406. Putting the photo album graphic file P _ i into a bucket _ b; j ═ i + 1.
1407. And taking out the photo album graphic file P _ j in the photo album.
1408. Judging whether the photo album graphic file P _ j is a screen shot graphic file or not; if not, the following step 1409 is performed.
1409. Judging whether the difference between the shooting time stamp of the photo album graphic file P _ i and the shooting time stamp of the photo album graphic file P _ j is smaller than a target time interval or not; if so, the following step 1410 is performed.
1410. Putting the photo album graphics file P _ j into a bucket B _ B; j equals j + 1.
1411. If the value of j is not greater than the total number of the photo album graphic files, the above step 1407 is repeatedly executed.
In another possible implementation manner, referring to fig. 15, the step 1303 "subdividing the non-screenshot graphics files included in the initial packet based on the extracted feature data" includes the following steps:
1303-1, creating a list for the initial grouping, where the number of rows in the list is the total number of album graphic files included in the initial grouping, and one non-screenshot graphic file in the initial grouping corresponds to one row of elements in the list.
Wherein the elements in the same row are used to indicate the similarity between the same non-screenshot graphic file and other non-screenshot graphic files in the initial group; the value of any element is a first value or a second value; the first numerical value is used for indicating that the similarity between the two non-screenshot graphic files is greater than a first threshold value; the second value is used to indicate that the similarity between two non-screenshot graphic files is less than a first threshold.
Optionally, the value of the first value is 1, the value of the second value is 0, and the value of the first threshold is 75%, which is not limited herein.
1303-2, for any row of elements in the list, in response to that the number of the elements with the value of the first numerical value in the row of elements is greater than zero and the row corresponds to a new group, adding the non-screenshot graphic file indicated by the element with the value of the first numerical value to the new group.
Alternatively, the above steps 1303-1 to 1303-3 are exemplified below by fig. 16.
For all the photo album graphic files in one big bucket, assuming that the total number of the photo album graphic files in the big bucket is N, and recording each photo album graphic file as P _0, P _1, … and P _ N-1; calculating HSV characteristics of each photo album graphic file, and marking the HSV characteristics of the ith photo album graphic file as HSV (P _ i); maintaining a list T, wherein the number of rows of the list T is N, which is the number of the photo album graphic files in the big barrel; if T (i, j) is equal to a first numerical value, the photo album graphic file P _ i and the photo album graphic file P _ j are similar photo album graphic files; if T (i, j) is the second value, the photo album graphic file P _ i and the photo album graphic file P _ j are dissimilar photo album graphic files; wherein, for the photo album graphic file P _ i, calculating the similarity S between HSV (P _ j) and HSV (P _ i); wherein i is more than or equal to 0 and less than N, and i is less than j and less than N; if S is greater than the threshold value K, T (i, j) is recorded in the list T as the first numerical value and T (j, i) as the first numerical value. Alternatively, the similarity calculation uses the qqimagecompass, a third party so library. For each row in the list T, if the number of elements of which the median value in the row is a first numerical value is greater than 0, judging whether the row has a barrel; and if not, creating an empty bucket, and then putting the photo album graphic file corresponding to the element position subscript with the first numerical value into the empty bucket to form a keg comprising more similar photo album graphic files. Wherein i and j are used to identify the album graphic file, b is used to identify the bucket, and r is used to identify the row in the list T.
Referring to fig. 16, the above text description may be expressed as the following steps:
1601. let b equal to 0; judging whether the current b is larger than the total number of the big barrels; if not, the following step 1602 is performed.
1602. And calculating the HSV characteristics of each photo album graphic file in the big bucket.
1603. Let i equal to 0; judging whether the current i is larger than the number of the photo album graphic files in the big barrel or not; if not, go to step 1604; if so, the following step 1607 is performed.
1604. Let j equal i + 1; judging whether the current j is larger than the number of the photo album graphic files in the big barrel or not; if yes, i is i + 1; if not, the following step 1605 is executed.
1605. Judging HSV (P _ j) -HSV (P _ i) is larger than K; if not, j is j + 1; if so, the following step 1605 is performed.
1606. T (i, j) is recorded as a first numerical value, and T (j, i) is recorded as a first numerical value.
1607. Let r be 0; judging whether the current r is larger than the line number of the list T or not; if not, go to step 1608; if so, b is b + 1.
1608. Judging whether the number of the first numerical values in the r row is greater than 0; if yes, go to step 1609; if not, r is r + 1.
1609. Judging whether a new barrel B _ r corresponding to the photo album graphic file P _ r exists or not; if not, the following step 1610 is executed; if so, the following step 1611 is performed.
1610. A new bucket B _ r is created, into which the album graphics file P _ r is put.
1611. And putting the photo album graphic file corresponding to the element position subscript with the value of the first numerical value into a new barrel B _ r.
In another possible implementation manner, the album graphic file to be processed may also be a fuzzy graphic file, and the method provided in the embodiment of the present application further includes: reading the photo album, and carrying out gray processing on any non-screenshot graphic file in the photo album to obtain a gray graphic file; determining the definition of the gray-scale image file according to the gray-scale value of each pixel point in the gray-scale image file; optionally, the definition is determined according to a gray difference between each pixel point and an adjacent pixel point; and determining the non-screen-shot graphic file as the photo album graphic file to be processed in response to the definition of the photo album graphic file being less than a second threshold value.
In another possible implementation manner, the album graphic file to be processed may also be an album graphic file whose volume is smaller than a third threshold, and the method provided in the embodiment of the present application further includes: reading the photo album, and acquiring attribute information of each photo album graphic file in the photo album, wherein the attribute information comprises the volume of each photo album graphic file; and for any photo album graphic file in the photo album, determining the photo album graphic file as the photo album graphic file to be processed in response to the volume of the photo album graphic file being smaller than a third threshold value.
In another possible implementation manner, in order to improve the pop-up rate of the album graphic file management floating window, the terminal may attempt to pop-up the album graphic file management floating window in a manner of combining the floating window and the Activity. Optionally, while managing pop-up of the floating window of the album graphic file, the terminal may read the database, read bitmap data of each album graphic file according to the path information of each album graphic file, and use the ViewPager component to display an album graphic file list (the aforementioned N preview images) in a Gallery style, where each Item is one album graphic file, and exemplarily set to display at most two items. In addition, the terminal detects the touch gesture of the user by rewriting an onTouch method of the ViewPager component; when detecting that the user executes a preset album graphic file management gesture, applying a displacement animation in a specified direction (such as vertical upward) to the Item touched by the user, and removing the Item from the ViewPager component, wherein the next album graphic file is advanced into an album graphic file advanced management floating window. In addition, after the animation is played, the operating system is requested to delete the photo album graphic file, and further management of the photo album graphic file is achieved.
Fig. 17 is a schematic structural diagram of an apparatus for managing graphic files in an album according to an embodiment of the present application. Referring to fig. 17, the apparatus includes:
a first display module 1701, configured to display an album graphic file management floating window of a first size in response to a terminal screen being unlocked under a preset condition, where the album graphic file management floating window is used to display a current album graphic file profile of the terminal and a first operation management control output according to the album graphic file profile;
a second display module 1702 configured to switch from the album graphic file management floating window to an album graphic file advanced management floating window presented in a second size in response to a triggering operation of the first operation management control; the album graphic file advanced management floating window is used for displaying the album graphic file to be processed and a visual operation management prompt;
the third display module 1703 is configured to respond to a target gesture touch event for the photo album graphic file to be processed, dynamically display an operation processing procedure of the photo album graphic file to be processed, and dynamically switch and display an updated photo album graphic file profile, where the updated photo album graphic file profile is used to display an operation processing progress of the photo album graphic file and a corresponding operation management suggestion in real time.
The embodiment of the application provides a convenient album file management tool for a user, and particularly, the embodiment of the application can automatically identify album graphic files to be processed, remind the user to manage the album graphic files in a floating window mode, and after the user triggers a management flow through a popped floating window, the embodiment of the application can automatically switch the album graphic file management floating window to the album graphic file advanced management floating window, support the user to adopt an interaction mode of gesture touch control to manage the album graphic files, is friendly to user experience, and obviously improves the management efficiency of the user through a convenient interaction mode. The scheme is automatically initiated by the terminal, a user does not need to manually select photo album graphic files to be processed, the user operation cost is low, the management efficiency is high, and the method is intelligent.
In one possible implementation, the second display module is further configured to:
responding to a triggering operation of the first operation management control, and displaying a first animation, wherein the first animation is used for showing that the album graphic file management floating window is amplified and switched to the album graphic file advanced management floating window, and the second size is larger than the first size.
In one possible implementation, the third display module is further configured to:
and displaying a second animation, wherein the second animation is used for presenting that the photo album graphic file to be processed gradually moves to the designated direction along with the target gesture touch event and gradually disappears on the photo album graphic file advanced management floating window.
In a possible implementation manner, the second display module is further configured to display a second operation management control on the advanced management floating window of the album graphic file in a manner of replacing the first operation management control;
the device further comprises: a fourth display module configured to display a third animation in response to a triggering operation on the second operation management control, wherein the third animation is used for presenting that the album graphic file advanced management floating window is reduced and switched to the album graphic file management floating window, and the first size is smaller than the second size; or responding to the situation that the photo album graphic file to be processed is empty, and displaying the third animation.
In a possible implementation manner, the number of the photo album graphic files to be processed is at least two, and the first photo album graphic file to be currently processed is displayed in the photo album graphic file advanced management floating window, and the apparatus further includes:
a fifth display module configured to display a fourth animation after dynamically switching and displaying the updated album graphic file profile; and the fourth animation is used for presenting that a second album graphic file automatically moves to the specified area and is gradually enlarged in the specified area, wherein the second album graphic file is the next album graphic file behind the first album graphic file.
In one possible implementation manner, the first display module is configured to display the album graphic file management floating window of the first size in response to the terminal screen being unlocked for the first time within a target time period.
In a possible implementation manner, the number of the album graphic files to be processed is at least two, and the second display module is further configured to:
displaying a first photo album graphic file to be processed currently in a third size on the photo album graphic file advanced management floating window, and displaying the rest photo album graphic files in a fourth size, wherein the fourth size is smaller than the third size; or the like, or, alternatively,
and displaying at least two album graphic files on the album graphic file advanced management floating window in a sequentially decreasing size order, wherein the size of the first album graphic file is the largest in the at least two album graphic files.
In one possible implementation, the fourth animation is further used to present, starting from a third preview image, a next preview image moving in sequence to a position where the previous preview image was previously displayed, the third preview image being the next preview image after the second preview image.
In a possible implementation manner, the number of the album graphic files to be processed is at least two, and the second display module is further configured to:
displaying at least two album graphic files on the advanced management floating window of the album graphic files according to the time sequence; or the like, or, alternatively,
displaying the at least two album graphic files on the advanced management floating window of the album graphic files according to the size of the album graphic files; or the like, or, alternatively,
and displaying the at least two album graphic files on the advanced management floating window of the album graphic files according to the priority of the types of the album graphic files.
In a possible implementation manner, the album graphic file to be processed is a screen capture graphic file obtained by a screen capture operation, and the apparatus further includes:
the first identification module is configured to read an album and acquire attribute information of each album graphic file in the album, wherein the attribute information comprises a file name of the album graphic file; and for any photo album graphic file in the photo album, responding to the fact that the file name of the photo album graphic file contains the target keyword, and determining the photo album graphic file as the photo album graphic file to be processed.
In a possible implementation manner, the album graphic file to be processed is a redundant album graphic file that is repeatedly photographed, and the apparatus further includes:
the second identification module is configured to read the photo album and acquire attribute information of a non-screenshot graphic file in the photo album, wherein the attribute information comprises the shooting time of the photo album graphic file; dividing non-screenshot graphic files shot in a target time interval into the same initial group; for any initial grouping, extracting the characteristics of each non-screenshot graphic file in the initial grouping; based on the extracted feature data, dividing the non-screenshot graphic files in the initial grouping again to obtain M new groupings, wherein M is a positive integer; and determining the photo album graphic files to be processed in each divided new group.
In one possible implementation, the second identification module is configured to:
creating a list for the initial grouping, wherein the number of lines of the list is the total number of the photo album graphic files included in the initial grouping, and one non-screenshot graphic file in the initial grouping corresponds to one line of elements in the list;
wherein the elements in the same row are used for indicating the similarity between the same non-screenshot album graphic file and other non-screenshot graphic files in the initial group; the value of the element is a first value or a second value; the first numerical value is used for indicating that the similarity between two non-screenshot graphic files is greater than a first threshold; the second value is used for indicating that the similarity between two non-screenshot graphic files is smaller than the first threshold;
for any row of elements in the list, in response to that the number of target elements, which take the value of the first numerical value, in the row of elements is greater than zero and the row corresponds to a new group, adding a non-screenshot graphic file indicated by the target elements to the new group.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It should be noted that: the album graphic file management apparatus provided in the above embodiment is exemplified by the division of the above functional modules only when managing the album graphic file, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. In addition, the album graphic file management apparatus and the album graphic file management method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 18 shows a block diagram of a terminal 1800 according to an exemplary embodiment of the present application.
Generally, the terminal 1800 includes: a processor 1801 and a memory 1802.
The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 1801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1802 is used to store at least one program code for execution by the processor 1801 to implement the album graphic file management method provided by the method embodiments herein.
In some embodiments, the terminal 1800 may further optionally include: a peripheral interface 1803 and at least one peripheral. The processor 1801, memory 1802, and peripheral interface 1803 may be connected by buses or signal lines. Each peripheral device may be connected to the peripheral device interface 1803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1804, display 1805, camera assembly 1806, audio circuitry 1807, positioning assembly 1808, and power supply 1809.
The peripheral interface 1803 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, memory 1802, and peripheral interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral interface 1803 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuitry 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1804 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display 1805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1805 is a touch display screen, the display screen 1805 also has the ability to capture touch signals on or over the surface of the display screen 1805. The touch signal may be input to the processor 1801 as a control signal for processing. At this point, the display 1805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1805 can be one, disposed on a front panel of the terminal 1800; in other embodiments, the number of the display screens 1805 may be at least two, and each of the display screens is disposed on a different surface of the terminal 1800 or is in a foldable design; in other embodiments, the display 1805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1800. Even more, the display 1805 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display 1805 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1806 is used to capture images or video. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1801 for processing or inputting the electric signals to the radio frequency circuit 1804 to achieve voice communication. The microphones may be provided in a plurality, respectively, at different positions of the terminal 1800 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1801 or the radio frequency circuitry 1804 to sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 1807 may also include a headphone jack.
The positioning component 1808 is utilized to locate a current geographic position of the terminal 1800 for navigation or LBS (Location Based Service). The Positioning component 1808 may be a Positioning component based on a Global Positioning System (GPS) in the united states, a beidou System in china, or a galileo System in russia.
The power supply 1809 is used to power various components within the terminal 1800. The power supply 1809 may be ac, dc, disposable or rechargeable. When the power supply 1809 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 1800 also includes one or more sensors 1810. The one or more sensors 1810 include, but are not limited to: acceleration sensor 1811, gyro sensor 1812, pressure sensor 1813, fingerprint sensor 1814, optical sensor 1815, and proximity sensor 1818.
The acceleration sensor 1811 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal 1800. For example, the acceleration sensor 1811 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1801 may control the display 1805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1811. The acceleration sensor 1811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1812 may detect a body direction and a rotation angle of the terminal 1800, and the gyro sensor 1812 may cooperate with the acceleration sensor 1811 to collect a 3D motion of the user on the terminal 1800. The processor 1801 may implement the following functions according to the data collected by the gyro sensor 1812: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 1813 may be disposed on the side bezel of the terminal 1800 and/or on the lower layer of the display 1805. When the pressure sensor 1813 is disposed on a side frame of the terminal 1800, a user's grip signal on the terminal 1800 can be detected, and the processor 1801 performs left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1813. When the pressure sensor 1813 is disposed at the lower layer of the display screen 1805, the processor 1801 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1814 is used to collect the fingerprint of the user, and the processor 1801 identifies the user according to the fingerprint collected by the fingerprint sensor 1814, or the fingerprint sensor 1814 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1801 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1814 may be disposed at the front, rear, or side of the terminal 1800. When a physical key or vendor Logo is provided on the terminal 1800, the fingerprint sensor 1814 may be integrated with the physical key or vendor Logo.
The optical sensor 1815 is used to collect the ambient light intensity. In one embodiment, the processor 1801 may control the display brightness of the display screen 1805 based on the ambient light intensity collected by the optical sensor 1815. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1805 is increased; when the ambient light intensity is low, the display brightness of the display 1805 is reduced. In another embodiment, the processor 1801 may also dynamically adjust the shooting parameters of the camera assembly 1806 according to the intensity of the ambient light collected by the optical sensor 1815.
A proximity sensor 1818, also known as a distance sensor, is typically provided on the front panel of the terminal 1800. The proximity sensor 1818 is used to collect the distance between the user and the front surface of the terminal 1800. In one embodiment, when the proximity sensor 1818 detects that the distance between the user and the front surface of the terminal 1800 gradually decreases, the processor 1801 controls the display 1805 to switch from the bright screen state to the dark screen state; when the proximity sensor 1818 detects that the distance between the user and the front surface of the terminal 1800 is gradually increased, the processor 1801 controls the display 1805 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 18 is not intended to be limiting of terminal 1800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, including program code executable by a processor in a terminal to perform the album graphic file management method in the above-described embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product or a computer program including computer program code stored in a computer-readable storage medium, the computer program code being read by a processor of a terminal from the computer-readable storage medium, the computer program code being executed by the processor to cause the terminal to execute the above album graphic file management method.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for managing a graphic file of an album, the method comprising:
responding to the fact that a terminal screen is unlocked under the condition that a preset condition is met, and displaying an album graphic file management floating window with a first size, wherein the album graphic file management floating window is used for displaying the current album graphic file outline of the terminal and a first operation management control output according to the album graphic file outline;
responding to the triggering operation of the first operation management control, and switching the album graphic file management floating window to an album graphic file advanced management floating window presented in a second size; the album graphic file advanced management floating window is used for displaying the album graphic file to be processed and a visual operation management prompt;
responding to a target gesture touch event of the photo album graphic file to be processed, dynamically displaying the operation processing process of the photo album graphic file to be processed, and dynamically switching and displaying the updated photo album graphic file profile, wherein the updated photo album graphic file profile is used for displaying the operation processing progress of the photo album graphic file and the corresponding operation management suggestion in real time.
2. The method of claim 1, wherein switching from the album graphic file management floating window to an album graphic file advanced management floating window rendered in a second size in response to the triggering operation of the first operation management control comprises:
responding to a triggering operation of the first operation management control, and displaying a first animation, wherein the first animation is used for showing that the album graphic file management floating window is amplified and switched to the album graphic file advanced management floating window, and the second size is larger than the first size.
3. The method according to claim 1, wherein the operation process of dynamically displaying the photo album graphic file to be processed comprises:
and displaying a second animation, wherein the second animation is used for presenting that the photo album graphic file to be processed gradually moves to the designated direction along with the target gesture touch event and gradually disappears on the photo album graphic file advanced management floating window.
4. The method of claim 1, further comprising:
displaying a second operation management control on the advanced management floating window of the photo album graphic file in a mode of replacing the first operation management control; responding to the triggering operation of the second operation management control, and displaying a third animation, wherein the third animation is used for showing that the album graphic file advanced management floating window is reduced and switched to the album graphic file management floating window, and the first size is smaller than the second size;
or responding to the situation that the photo album graphic file to be processed is empty, and displaying the third animation.
5. The method according to claim 1, wherein the number of the photo album graphic files to be processed is at least two, and the first photo album graphic file to be currently processed is displayed in a designated area on the photo album graphic file advanced management floating window, and the method further comprises:
displaying a fourth animation after dynamically switching and displaying the general view of the updated album graphic file;
and the fourth animation is used for presenting that a second album graphic file automatically moves to the specified area and is gradually enlarged in the specified area, wherein the second album graphic file is the next album graphic file behind the first album graphic file.
6. The method according to claim 1, wherein the displaying the album graphic file management floating window of the first size in response to the terminal screen being unlocked under the preset condition is performed, and comprises:
and responding to the terminal screen being unlocked for the first time in the target time period, and displaying the album graphic file management floating window with the first size.
7. The method of claim 1, wherein there are at least two of the album graphic files to be processed, the method further comprising:
displaying a first photo album graphic file to be processed currently on the advanced management floating window of the photo album graphic file in a third size, and displaying the rest photo album graphic files in a fourth size, wherein the fourth size is smaller than the third size; or the like, or, alternatively,
and displaying at least two album graphic files on the album graphic file advanced management floating window in a sequentially decreasing size order, wherein the size of the first album graphic file is the largest in the at least two album graphic files.
8. The method of claim 5, wherein the fourth animation is further used to present a sequential movement of a next album graphic file to a previously displayed position of the previous album graphic file beginning with a third album graphic file that is the next album graphic file after the second album graphic file.
9. The method of claim 1, wherein there are at least two of the album graphic files to be processed, the method further comprising:
displaying at least two album graphic files on the advanced management floating window of the album graphic files according to the time sequence; or the like, or, alternatively,
displaying the at least two album graphic files on the advanced management floating window of the album graphic files according to the size of the album graphic files; or the like, or, alternatively,
and displaying the at least two album graphic files on the advanced management floating window of the album graphic files according to the priority of the types of the album graphic files.
10. The method according to any one of claims 1 to 9, wherein the photo album graphic file to be processed is a screen shot graphic file obtained by a screen shot operation, the method further comprising:
reading an album, and acquiring attribute information of each album graphic file in the album, wherein the attribute information comprises a file name of the album graphic file;
and for any photo album graphic file in the photo album, responding to the fact that the file name of the photo album graphic file contains the target keyword, and determining the photo album graphic file as the photo album graphic file to be processed.
11. The method according to any one of claims 1 to 9, wherein the album graphic file to be processed is a redundant album graphic file repeatedly photographed, the method further comprising:
reading an album, and acquiring attribute information of a non-screenshot graphic file in the album, wherein the attribute information comprises the shooting time of the album graphic file;
dividing non-screenshot graphic files shot in a target time interval into the same initial group;
for any one initial grouping, extracting the characteristics of each non-screenshot graphic file in the initial grouping; based on the extracted feature data, dividing the non-screenshot graphic files in the initial grouping again to obtain M new groupings, wherein M is a positive integer;
and determining the photo album graphic files to be processed in each divided new group.
12. The method of claim 11, wherein the repartitioning of the non-screenshot graphics files included in the initial grouping based on the extracted feature data comprises:
creating a list for the initial grouping, wherein the number of lines of the list is the total number of the photo album graphic files included in the initial grouping, and one non-screenshot graphic file in the initial grouping corresponds to one line of elements in the list;
wherein the elements in the same row are used for indicating the similarity between the same non-screenshot album graphic file and other non-screenshot graphic files in the initial group; the value of the element is a first value or a second value; the first numerical value is used for indicating that the similarity between two non-screenshot graphic files is greater than a first threshold; the second value is used for indicating that the similarity between two non-screenshot graphic files is smaller than the first threshold;
for any row of elements in the list, in response to that the number of target elements, which take the value of the first numerical value, in the row of elements is greater than zero and the row corresponds to a new group, adding a non-screenshot graphic file indicated by the target elements to the new group.
13. An apparatus for managing a graphic file of an album, the apparatus comprising:
the terminal comprises a first display module, a second display module and a third display module, wherein the first display module is configured to respond to that a terminal screen is unlocked under the condition that a preset condition is met, and display an album graphic file management floating window with a first size, and the album graphic file management floating window is used for displaying the current album graphic file outline of the terminal and a first operation management control output according to the album graphic file outline;
the second display module is configured to respond to the triggering operation of the first operation management control, and the album graphic file management floating window is switched to an album graphic file advanced management floating window presented in a second size; the album graphic file advanced management floating window is used for displaying the album graphic files to be processed and visual operation management prompts;
and the third display module is configured to respond to a target gesture touch event of the photo album graphic file to be processed, dynamically display the operation processing process of the photo album graphic file to be processed, and dynamically switch and display an updated photo album graphic file profile, wherein the updated photo album graphic file profile is used for displaying the operation processing progress of the photo album graphic file and a corresponding operation management suggestion in real time.
14. A terminal characterized in that it comprises a processor and a memory, said memory having stored therein at least one program code, which is loaded and executed by said processor to implement the album graphic file management method according to any one of claims 1 to 12.
15. A computer-readable storage medium, wherein at least one program code is stored therein, which is loaded and executed by a processor to implement the album graphic file management method according to any one of claims 1 to 12.
CN202110047050.5A 2021-01-14 2021-01-14 Album graphic file management method, device, storage medium and terminal Pending CN114840702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110047050.5A CN114840702A (en) 2021-01-14 2021-01-14 Album graphic file management method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110047050.5A CN114840702A (en) 2021-01-14 2021-01-14 Album graphic file management method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN114840702A true CN114840702A (en) 2022-08-02

Family

ID=82561381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110047050.5A Pending CN114840702A (en) 2021-01-14 2021-01-14 Album graphic file management method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN114840702A (en)

Similar Documents

Publication Publication Date Title
CN108776568B (en) Webpage display method, device, terminal and storage medium
WO2019120068A1 (en) Thumbnail display control method and mobile terminal
CN108182021A (en) Multimedia messages methods of exhibiting, device, storage medium and equipment
CN111597008A (en) Popup management method, popup management device, terminal and storage medium
CN110069181B (en) File processing method, device, equipment and storage medium crossing folders
CN110795007B (en) Method and device for acquiring screenshot information
CN108132790B (en) Method, apparatus and computer storage medium for detecting a garbage code
CN112068762A (en) Interface display method, device, equipment and medium of application program
CN112181572A (en) Interactive special effect display method and device, terminal and storage medium
CN110377195B (en) Method and device for displaying interaction function
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN111159449B (en) Image display method and electronic equipment
CN112950525A (en) Image detection method and device and electronic equipment
CN111083039B (en) Message unread mark processing method and device, storage medium and terminal
CN110290426B (en) Method, device and equipment for displaying resources and storage medium
CN111935516B (en) Audio file playing method, device, terminal, server and storage medium
CN111782950A (en) Sample data set acquisition method, device, equipment and storage medium
CN110442277A (en) Show the method and electronic equipment of the preview window information
CN114818624A (en) Online table sharing method and device, electronic equipment and storage medium
WO2022228042A1 (en) Display method, electronic device, storage medium, and program product
CN115115679A (en) Image registration method and related equipment
CN110365906A (en) Image pickup method and mobile terminal
CN110825288A (en) Image screening processing method and electronic equipment
CN115936998A (en) Picture splicing method and device, electronic equipment and storage medium
CN111694535B (en) Alarm clock information display method and device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40074040

Country of ref document: HK