CN116756353A - Processing method, processing device and electronic equipment - Google Patents

Processing method, processing device and electronic equipment Download PDF

Info

Publication number
CN116756353A
CN116756353A CN202310921120.4A CN202310921120A CN116756353A CN 116756353 A CN116756353 A CN 116756353A CN 202310921120 A CN202310921120 A CN 202310921120A CN 116756353 A CN116756353 A CN 116756353A
Authority
CN
China
Prior art keywords
image
memory
images
input
condition
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
CN202310921120.4A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310921120.4A priority Critical patent/CN116756353A/en
Publication of CN116756353A publication Critical patent/CN116756353A/en
Pending legal-status Critical Current

Links

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/51Indexing; Data structures therefor; Storage structures
    • 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/55Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a processing method, a processing device and electronic equipment, and belongs to the technical field of electronic equipment. The processing method comprises the following steps: under the condition that a first image is newly added in the electronic equipment, traversing other images except the first image in the electronic equipment, and acquiring a target image matched with the image content of the first image from the other images; under the condition that a target image is acquired, adding a main image tag to the first image, and moving the first image and the target image into a first memory; and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.

Description

Processing method, processing device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a processing method, a processing device and electronic equipment.
Background
In the related art, an image capturing function of an electronic device becomes one of the most commonly used functions of people, wherein a part of images are not reused after being used once, and a part of images are considered to be used later and not to be deleted by a user, but the images can only be re-captured due to difficulty in finding during the subsequent use, so that more and more images are caused.
Therefore, the related art has the problems of low image management efficiency and influence on user experience.
Disclosure of Invention
The embodiment of the application aims to provide a processing method, a processing device and electronic equipment, which can solve the problems of low image management efficiency and influence on user experience in the related technology.
In a first aspect, an embodiment of the present application provides a processing method, performed by an electronic device, where the processing method includes:
under the condition that a first image is newly added in the electronic equipment, traversing other images except the first image in the electronic equipment, and acquiring a target image matched with the image content of the first image from the other images;
under the condition that a target image is acquired, adding a main image tag to the first image, and moving the first image and the target image into a first memory;
and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
In a second aspect, an embodiment of the present application provides a processing apparatus, including:
an acquisition unit for traversing other images except the first image in the electronic equipment and acquiring a target image matched with the image content of the first image from the other images under the condition that the first image is newly added in the electronic equipment;
The processing unit is used for adding a main image tag to the first image and moving the first image and the target image into the first memory under the condition that the target image is acquired; and
and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method as in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface coupled to the processor for running a program or instructions implementing the steps of the method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as in the first aspect.
In the embodiment of the application, under the condition of newly adding the first image in the electronic equipment, the target image matched with the image content of the first image is firstly determined, then the main image label is added to the first image, and the first image and the target image are both moved to the first memory, so that the images with the same or similar image content can be intensively stored, and the user can conveniently search the images with the same or similar image content. Under the condition that the cleaning condition is met, the first image is reserved and the target image is deleted, so that unnecessary images can be automatically deleted, the storage space is saved, or an image management prompt is displayed, and a user can be reminded to process. In conclusion, the image management efficiency and the user experience are improved.
Drawings
FIG. 1 shows a flow chart of a processing method of an embodiment of the present application;
FIG. 2 shows one of the flow blocks of the processing method of an embodiment of the application;
FIG. 3 shows a second flow chart of a processing method according to an embodiment of the application;
FIG. 4 shows an interface schematic of a processing method according to an embodiment of the application;
FIG. 5 shows a block diagram of a processing device according to an embodiment of the application;
FIG. 6 shows a block diagram of an electronic device of an embodiment of the application;
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The processing method, the processing device and the electronic equipment provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
In some embodiments of the present application, a processing method is provided, fig. 1 shows a flowchart of the processing method of the embodiment of the present application, and as shown in fig. 1, the processing method includes:
step 102, traversing other images except the first image in the electronic equipment under the condition that the first image is newly added in the electronic equipment, and acquiring a target image matched with the image content of the first image from the other images;
step 104, adding a main image tag to the first image and moving the first image and the target image to a first memory under the condition that the target image is acquired;
and 106, under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
In the embodiment of the present application, the above processing method is performed by an electronic device, and the electronic device may be a mobile phone, a tablet computer, a notebook computer, or the like. The image is stored in a storage medium of the electronic device.
The user can add a new image in the electronic device in a screenshot mode, for example, during chat by chat software, the chat content is saved in a screenshot mode, or a video in playing is screenshot, a part of the evidence image is screenshot, and the like. The generated screenshot is the first image added in the electronic equipment.
Specifically, in the case where the first image is added to the electronic device, traversing other images than the first image in the electronic device, and acquiring a target image matching the image content of the first image from the other images than the first image in the electronic device. That is, when the user operates the electronic device and thus generates a new screenshot, a target image matching the content of the newly added screenshot may be obtained from other images in the electronic device. The similarity to the image content of the first image may be greater than a preset value, specifically, the preset value may be 80% or 90%. For example, when the first image content is a chat record, the target image is also a chat record, and when the first image is a credential, the target image is also a credential.
Further, in the case that the target image matching with the image content of the first image is acquired, the main image tag may be added to the first image, and both the first image and the target image matching with the image content thereof may be transferred to the first memory at the same time. It can be appreciated that, when the user performs multiple shots on the same or similar content, the user generally needs to update the content of the shots, that is, the latest shot needs to be kept by the user, so that by adding the main image tag to the first image, the user can be explicitly prompted that the first image is the latest shot, so as to be convenient for the user to view.
Further, when the new first image is matched with the target image, the traversed images except the first image also comprise images with main image labels stored in the first memory, and if the images with the main image labels stored in the first memory are matched with the first image newly added, the images with the main image labels are determined to be the target images of the first image. If the image with the main image tag stored in the first memory is not matched with the newly added first image, the image with the main image tag is still reserved, and the main image tag is added to the newly added first image, so that the number of the images with the main image tag in the first memory can be multiple.
In addition, the first image and the target image matched with the image content of the first image are moved to the first memory, so that the images with the same or similar image content can be stored in a centralized manner, and a user can conveniently find the images with the same or similar image content.
It will be appreciated that in traversing other images in the electronic device, both images in all memories of the electronic device are traversed, i.e. the first memory is included. In the case where the acquired target image is stored in a memory other than the first memory, a main image tag is added to the first image and moved into the first memory, while the target image in the other memory is moved into the first memory. When the acquired target image is stored in the first memory, the target image is indicated to be moved from other memories into the first memory before, and then the main image label is directly added to the first image and moved into the first memory.
Further, after the first image and the target image are moved into the first memory, the target image may be deleted and only the first image may be retained if the cleaning condition is satisfied.
In the embodiment of the application, under the condition that the first image is added in the electronic equipment, the target image matched with the image content of the first image is firstly determined, then the main image label is added to the first image, and the first image and the target image are both moved to the first memory, so that the images with the same or similar image content can be stored in a centralized way, and a user can conveniently find the images with the same or similar image content. Under the condition that the cleaning condition is met, the first image is reserved and the target image is deleted, so that unnecessary images can be automatically deleted, the storage space is saved, or an image management prompt is displayed, and a user can be reminded to process. In conclusion, the image management efficiency and the user experience are improved.
In some embodiments of the application, the cleaning condition includes the number of images in the first memory having the primary image tag reaching a first preset value.
In the embodiment of the application, after the first image and the target image are moved into the first memory, the target image can be deleted and only the first image is reserved under the condition that the number of the images with the main image labels in the first memory reaches the first preset value.
It will be understood that in the case that the image is already stored in the first memory, it indicates that an image having a main image tag is already stored in the first memory, at this time, in the case that the first image does not correspond to the image content of the image having the main image tag stored in the first memory, a new main image tag is added to the first image at this time, so that the number of image tags in the first memory is increased by one, until the number of image tags in the first memory reaches a first preset value, then the target image corresponding to each first image having the main image tag is deleted, and only the first image is retained. Therefore, only the first image with the image tag is reserved, the target image stored before the first image is deleted, and automatic cleaning of the images in the electronic equipment is realized, so that the number of the images in the first memory can be reduced, the storage space of the electronic equipment is ensured, meanwhile, each main image can be reserved, the mistaken deletion of the images which are required to be reserved by a user is avoided, and the loss of the user is avoided.
Or when the number of the images with the main image labels in the first memory reaches a first preset value, displaying an image management prompt for prompting a user to manage the images. Therefore, compared with the reminding of deleting according to the life cycle in the related technology, the reminding of carrying out image management according to the number of the main images in the first memory can effectively avoid repeatedly reminding the user and ensure the user experience of the electronic equipment.
For example, if the first preset value set by the user is 3, and the first memory has three images with different main image labels, the number of the images with the main image labels stored in the first memory is three, and at this time, the target image corresponding to each image with the main image label is deleted.
In some embodiments of the application, the processing method further comprises:
moving the first image to a second memory in the event that the target image is not acquired;
and displaying an image management prompt under the condition that the number of images in the second memory reaches a second preset value.
In the embodiment of the application, under the condition that the first image is added in the electronic equipment, the first input is received, all images in the electronic equipment are traversed in response to the first input, and the target image matched with the image content of the first image is acquired from all the images. That is, in the case where the user operates the electronic device so that a new screenshot is generated, a target image matching the content of the newly added screenshot can be acquired from among images used in the electronic device in response to the first input.
Further, under the condition that the target image is not acquired, the fact that the image matched with the image content of the first image does not exist in the electronic equipment is indicated, at the moment, the first image can be stored in the second memory, so that confusion of the image content in the first memory is avoided, and a user can conveniently search the image content.
Further, in the case that the number of images in the second memory reaches the second preset value, an image management prompt may be displayed to prompt the user to manage the images.
According to the embodiment of the application, the image management reminding is carried out according to the number of the images in the second memory, on one hand, compared with the deleting reminding according to the life cycle in the related art, the repeated reminding of the user can be effectively avoided, and the user experience of the electronic equipment is ensured. On the other hand, the image which needs to be reserved by the user is deleted in an automatic deleting mode, so that the loss of the user is avoided.
In some embodiments of the application, the processing method further comprises:
receiving a first input in the case of displaying an image management prompt;
displaying images in the first memory and the second memory in response to the first input;
receiving a second input to a second image of the images of the first memory and the second memory;
The second image is deleted in response to the second input.
In the embodiment of the application, when the number of the images with the main image labels in the first memory reaches a first preset value or when the number of the images in the second memory reaches a second preset value, an image management prompt can be displayed to prompt a user to manage the images in the first memory and the second memory.
Further, in the case of displaying the image management prompt, the first input may be received by the user. The electronic device displays all images in the first memory and the second memory on a display screen of the electronic device in response to the first input so that a user views the images in the first memory and the second memory.
Further, in the case of displaying the images in the first memory and the second memory, a second input of a user to a second image of the images in the first memory and the second memory is received to effect deletion of the second image. The second image is the image that the user needs to delete.
In the embodiment of the application, under the condition of displaying the image management prompt, all the images in the first memory and the second memory are displayed according to the first input of the user, and the second image is deleted according to the second input of the user on the second image, so that the user can delete the image which does not need to be reserved, and the storage space of the memory of the electronic equipment is ensured.
In some embodiments of the application, after displaying the images in the first memory and the second memory in response to the first input, the processing method further comprises:
receiving a third input to a third image of the images of the first memory and the second memory;
in response to the third input, the third image is moved into a third memory.
In the embodiment of the application, when the number of the images with the main image labels in the first memory reaches a first preset value or when the number of the images in the second memory reaches a second preset value, an image management prompt can be displayed to prompt a user to manage the images in the first memory and the second memory.
Further, in the case of displaying the image management prompt, the first input may be received by the user. The electronic device displays all images in the first memory and the second memory on a display screen of the electronic device in response to the first input so that a user views the images in the first memory and the second memory.
Further, in the case of displaying the images in the first and second memories, a third input by the user to a third one of the images in the first and second memories is received. The electronic device moves the third image into a third memory in response to the third input. It is understood that the third image is at least one of the images in the first memory and the second memory, and the third image is an image that the user needs to keep, and therefore, by moving the third image from the first memory or the second memory to the third memory, erroneous deletion of the image that needs to keep can be avoided. And meanwhile, under the condition that the images to be reserved are stored in the first memory or the second memory for a long time, browsing the images to be reserved when the user manages the images in the first memory and the second memory each time can be avoided, and the management cost is increased.
In a specific implementation process, fig. 3 shows a second flowchart of a processing method according to an embodiment of the present application, and as shown in fig. 3, in the case of displaying an image management prompt, an input of a user is received, it is determined that the user needs to perform image management, and images in the first memory and the second memory are displayed. At this time, in the case where the user selects the image to be deleted, the image to be deleted is deleted. And moving the image to be saved to a third memory in the case that the user selects the image to be saved.
In some embodiments of the present application, in the case that the first image is added to the electronic device, a fourth input of the user for the first image may also be received, so that the electronic device may determine a period of a storage duration of the first image in response to the fourth input, and store the first image in a memory of the electronic device.
Further, the electronic device may automatically delete the first image if the save time period of the first image reaches the save period. Or prompting the user whether the first image needs to be deleted or not when the preservation time of the first image reaches the preservation period, and prompting the user whether the first image needs to be deleted or not again when the preservation time of the first image reaches the next preservation time period if the first image is not deleted by the user. That is, in the case where the first image is not deleted, the deletion image prompt may be displayed in the case where the preservation period of the first image reaches an integer multiple of the preservation period.
It can be appreciated that, for some first images which are not important to the user, the user can automatically manage the first images in a manner of setting the period of the storage duration, so that the first images are automatically deleted, and the disturbance to the user is reduced.
In a specific embodiment, fig. 2 shows one of the flow charts of the processing method according to the embodiment of the present application, fig. 4 shows an interface schematic diagram of the processing method according to the embodiment of the present application, and as shown in fig. 2 and fig. 4, a user performs a screenshot in an electronic device, a timed delete tab is displayed on a display screen of the electronic device, and when the user selects the timed delete tab, a period of a save duration of the timed delete is set, and the screenshot is saved. And automatically deleting the screenshot when the storage duration of the screenshot reaches the storage duration period. If the user does not select to delete at regular time, traversing all images in the electronic equipment, and determining a target image corresponding to the screenshot content. If the target image is acquired, adding a main image tag to the screenshot, and moving the screenshot and the target image to a first memory. When the number of the screenshots with the main image labels in the first memory reaches a first preset value, displaying an image management prompt to prompt a user to manage. If the target image is not acquired, the screenshot is saved in a second memory, and when the number of images in the second memory reaches a second preset value, an image management prompt is displayed.
In some embodiments of the present application, a processing apparatus is provided, fig. 5 shows a block diagram of a processing apparatus according to an embodiment of the present application, and as shown in fig. 5, a processing apparatus 500 includes:
an obtaining unit 502, configured to traverse other images except the first image in the electronic device, and obtain a target image matching with the image content of the first image from the other images, where the first image is newly added in the electronic device;
a processing unit 504, configured to, in a case where the target image is acquired, add a main image tag to the first image, and move the first image and the target image into the first memory; and
and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
In the embodiment of the application, under the condition that the first image is added in the electronic equipment, the target image matched with the image content of the first image is firstly determined, then the main image label is added to the first image, and the first image and the target image are both moved to the first memory, so that the images with the same or similar image content can be stored in a centralized way, and a user can conveniently find the images with the same or similar image content. Under the condition that the cleaning condition is met, the first image is reserved and the target image is deleted, so that unnecessary images can be automatically deleted, the storage space is saved, or an image management prompt is displayed, and a user can be reminded to process. In conclusion, the image management efficiency and the user experience are improved.
In some embodiments of the application, the cleaning condition includes the number of images in the first memory having the primary image tag reaching a first preset value.
In the embodiment of the application, when the image is stored in the first memory, the image with the main image label is indicated to be stored in the first memory, and at this time, when the first image does not correspond to the image content of the image with the main image label stored in the first memory, a new main image label is added to the first image, so that the number of the image labels in the first memory is increased by one until the number of the image labels in the first memory reaches a first preset value, the target image corresponding to each first image with the main image label is deleted, and only the first image is reserved. Therefore, only the first image with the image tag is reserved, the target image stored before the first image is deleted, and automatic cleaning of the images in the electronic equipment is realized, so that the number of the images in the first memory can be reduced, the storage space of the electronic equipment is ensured, meanwhile, each main image can be reserved, the mistaken deletion of the images which are required to be reserved by a user is avoided, and the loss of the user is avoided.
Or when the number of the images with the main image labels in the first memory reaches a first preset value, displaying an image management prompt for prompting a user to manage the images. Therefore, compared with the reminding of deleting according to the life cycle in the related technology, the reminding of carrying out image management according to the number of the main images in the first memory can effectively avoid repeatedly reminding the user and ensure the user experience of the electronic equipment.
In some embodiments of the application, the processing unit is further configured to, in the event that the target image is not acquired, move the first image into the second memory;
the processing unit is further configured to display an image management hint if the number of images in the second memory reaches a second preset value.
According to the embodiment of the application, the image management reminding is carried out according to the number of the images in the second memory, on one hand, compared with the deleting reminding according to the life cycle in the related art, the repeated reminding of the user can be effectively avoided, and the user experience of the electronic equipment is ensured. On the other hand, the image which needs to be reserved by the user is deleted in an automatic deleting mode, so that the loss of the user is avoided.
In some embodiments of the application, the processing device further comprises a receiving unit, the receiving unit further configured to receive a first input in case of displaying the image management prompt;
The processing unit is further configured to display the images in the first memory and the second memory in response to the first input;
the receiving unit is further for receiving a second input for a second image of the images of the first memory and the second memory;
the processing unit is further configured to delete the second image in response to the second input.
In the embodiment of the application, under the condition of displaying the image management prompt, all the images in the first memory and the second memory are displayed according to the first input of the user, and the second image is deleted according to the second input of the user on the second image, so that the user can delete the image which does not need to be reserved, and the storage space of the memory of the electronic equipment is ensured.
In some embodiments of the application, the receiving unit is further for receiving a third input for a third image of the images of the first memory and the second memory;
the processing unit is further configured to move the third image into the third memory in response to the third input.
According to the embodiment of the application, the third image is moved from the first memory or the second memory to the third memory, so that the image which needs to be reserved is prevented from being deleted by mistake. And meanwhile, under the condition that the images to be reserved are stored in the first memory or the second memory for a long time, browsing the images to be reserved when the user manages the images in the first memory and the second memory each time can be avoided, and the management cost is increased.
The processing device in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The processing device provided by the embodiment of the present application can implement each process implemented by the above method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, an electronic device is further provided in the embodiment of the present application, fig. 6 shows a block diagram of the electronic device in the embodiment of the present application, and as shown in fig. 6, the electronic device 600 includes a processor 602, a memory 604, and a program or an instruction stored in the memory 604 and capable of running on the processor 602, where the program or the instruction is executed by the processor 602 to implement each process of the foregoing method embodiment, and the same technical effects are achieved, and are not repeated herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 710 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 710 is configured to traverse other images except the first image in the electronic device and obtain a target image matching with the image content of the first image from the other images when the first image is newly added in the electronic device; under the condition that a target image is acquired, adding a main image tag to the first image, and moving the first image and the target image into a first memory; and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
In the embodiment of the application, under the condition that the first image is added in the electronic equipment, the target image matched with the image content of the first image is firstly determined, then the main image label is added to the first image, and the first image and the target image are both moved to the first memory, so that the images with the same or similar image content can be stored in a centralized way, and a user can conveniently find the images with the same or similar image content. Under the condition that the cleaning condition is met, the first image is reserved and the target image is deleted, so that unnecessary images can be automatically deleted, the storage space is saved, or an image management prompt is displayed, and a user can be reminded to process. In conclusion, the image management efficiency and the user experience are improved.
In some embodiments of the application, the cleaning condition includes the number of images in the first memory having the primary image tag reaching a first preset value.
In the embodiment of the application, when the image is stored in the first memory, the image with the main image label is indicated to be stored in the first memory, and at this time, when the first image does not correspond to the image content of the image with the main image label stored in the first memory, a new main image label is added to the first image, so that the number of the image labels in the first memory is increased by one until the number of the image labels in the first memory reaches a first preset value, the target image corresponding to each first image with the main image label is deleted, and only the first image is reserved. Therefore, only the first image with the image tag is reserved, the target image stored before the first image is deleted, and automatic cleaning of the images in the electronic equipment is realized, so that the number of the images in the first memory can be reduced, the storage space of the electronic equipment is ensured, meanwhile, each main image can be reserved, the mistaken deletion of the images which are required to be reserved by a user is avoided, and the loss of the user is avoided.
Optionally, the processor 710 is further configured to, in a case where the target image is not acquired, move the first image into the second memory; and displaying an image management prompt under the condition that the number of images in the second memory reaches a second preset value.
According to the embodiment of the application, the image management reminding is carried out according to the number of the images in the second memory, on one hand, compared with the deleting reminding according to the life cycle in the related art, the repeated reminding of the user can be effectively avoided, and the user experience of the electronic equipment is ensured. On the other hand, the image which needs to be reserved by the user is deleted in an automatic deleting mode, so that the loss of the user is avoided.
Optionally, the processor 710 is further configured to receive a first input in the case of displaying an image management prompt; displaying images in the first memory and the second memory in response to the first input; receiving a second input to a second image of the images of the first memory and the second memory; the second image is deleted in response to the second input.
In the embodiment of the application, under the condition of displaying the image management prompt, all the images in the first memory and the second memory are displayed according to the first input of the user, and the second image is deleted according to the second input of the user on the second image, so that the user can delete the image which does not need to be reserved, and the storage space of the memory of the electronic equipment is ensured.
Optionally, in response to the first input, after displaying the images in the first and second memories, the processor 710 is further configured to receive a third input of a third image of the images of the first and second memories; in response to the third input, the third image is moved into a third memory.
According to the embodiment of the application, the third image is moved from the first memory or the second memory to the third memory, so that the image which needs to be reserved is prevented from being deleted by mistake. And meanwhile, under the condition that the images to be reserved are stored in the first memory or the second memory for a long time, browsing the images to be reserved when the user manages the images in the first memory and the second memory each time can be avoided, and the management cost is increased.
It should be appreciated that in embodiments of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, with the graphics processor 7041 processing image data of still images or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 709 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the method can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in part in the form of a computer software product stored on a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (11)

1. A processing method performed by an electronic device, the processing method comprising:
under the condition that a first image is newly added in the electronic equipment, traversing other images except the first image in the electronic equipment, and acquiring a target image matched with the image content of the first image from the other images;
adding a main image tag to the first image and moving the first image and the target image to a first memory under the condition that the target image is acquired;
and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
2. The method of claim 1, wherein the cleaning condition includes the number of images in the first memory having a primary image tag reaching a first preset value.
3. The processing method according to claim 1, characterized in that the processing method further comprises:
moving the first image into a second memory if the target image is not acquired;
and displaying the image management prompt under the condition that the number of the images in the second memory reaches a second preset value.
4. A method of treatment according to claim 3, further comprising:
receiving a first input in the case of displaying the image management prompt;
displaying images in the first memory and the second memory in response to the first input;
receiving a second input to a second image of the images of the first memory and the second memory;
the second image is deleted in response to the second input.
5. The processing method of claim 4, wherein the processing method further comprises, after displaying the images in the first memory and the second memory in response to the first input:
receiving a third input to a third image of the images of the first memory and the second memory;
the third image is moved into a third memory in response to the third input.
6. A processing apparatus for an electronic device, comprising:
an obtaining unit, configured to traverse other images except for a first image in the electronic device, and obtain a target image matching with an image content of the first image from the other images, where the first image is newly added in the electronic device;
The processing unit is used for adding a main image tag to the first image and moving the first image and the target image into a first memory under the condition that the target image is acquired; and
and under the condition that the cleaning condition is met, reserving the first image and deleting the target image, or displaying an image management prompt.
7. The processing device of claim 6, wherein the cleaning condition includes the number of images in the first memory having a primary image tag reaching a first preset value.
8. The processing device of claim 6, wherein the processing unit is further configured to move the first image into a second memory if the target image is not acquired;
the processing unit is further configured to display the image management hint if the number of images in the second memory reaches a second preset value.
9. The processing device of claim 8, further comprising a receiving unit to receive a first input if the image management prompt is displayed;
The processing unit is further configured to display images in the first memory and the second memory in response to the first input;
the receiving unit is further configured to receive a second input for a second image of the images in the first memory and the second memory;
the processing unit is further configured to delete the second image in response to the second input.
10. The processing apparatus of claim 9, wherein the receiving unit is further configured to receive a third input for a third image of the images in the first memory and the second memory;
the processing unit is further configured to move the third image into a third memory in response to the third input.
11. An electronic device comprising a processor and a memory storing a program or input executable on the processor, which when executed by the processor, performs the steps of the method of any of claims 1 to 5.
CN202310921120.4A 2023-07-26 2023-07-26 Processing method, processing device and electronic equipment Pending CN116756353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310921120.4A CN116756353A (en) 2023-07-26 2023-07-26 Processing method, processing device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310921120.4A CN116756353A (en) 2023-07-26 2023-07-26 Processing method, processing device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116756353A true CN116756353A (en) 2023-09-15

Family

ID=87953378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310921120.4A Pending CN116756353A (en) 2023-07-26 2023-07-26 Processing method, processing device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116756353A (en)

Similar Documents

Publication Publication Date Title
CN105681648A (en) Picture viewing method and device and electronic equipment
CN111880701B (en) Page switching method and device and electronic equipment
CN116756353A (en) Processing method, processing device and electronic equipment
CN115756275A (en) Screen capture method, screen capture device, electronic equipment and readable storage medium
CN113347076B (en) Session information deleting method and device
CN117112111A (en) Information display method and device and electronic equipment
US20240184434A1 (en) Display method and apparatus
CN117235319A (en) Display method, display device, electronic equipment and storage medium
CN117221822A (en) Network optimization method, device, electronic equipment and readable storage medium
CN117407135A (en) Task execution method and device and electronic equipment
CN116227520A (en) Information display method and device
CN117640819A (en) Image display method and device, electronic equipment and readable storage medium
CN117666889A (en) Method and device for processing association relationship and electronic equipment
CN114124869A (en) Information processing method and device, information display method and device, and electronic device
CN117406880A (en) Information display method, device, electronic equipment and medium
CN117909532A (en) Image searching method, electronic device, and readable storage medium
CN116775191A (en) Information prompting method and device and electronic equipment
CN117111811A (en) Screenshot method and device, electronic equipment and readable storage medium
CN116756099A (en) Display method and device
CN115793920A (en) Screenshot method and screenshot device
CN117608434A (en) Image display method, device, equipment and medium
CN117648144A (en) Image processing method, device, electronic equipment and readable storage medium
CN117369930A (en) Interface control method and device, electronic equipment and readable storage medium
CN117631932A (en) Screenshot method and device, electronic equipment and computer readable storage medium
CN116560506A (en) Handle position determining method and electronic equipment

Legal Events

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