Search

KR-102963811-B1 - METHOD AND ELECTRONIC DEVICE FOR MANAGING MEMORY

KR102963811B1KR 102963811 B1KR102963811 B1KR 102963811B1KR-102963811-B1

Abstract

According to various embodiments, the electronic device may include a display module, a memory, and a processor operatively connected to the display module and the memory, and the processor may identify declaration information corresponding to at least one app that supports a trash bin function, obtain trash bin-related information corresponding to the at least one app based on the identified declaration information, generate a user interface for accessing a trash bin storage space corresponding to the at least one app based on the trash bin-related information corresponding to the at least one app, and display the user interface through the display module. Various other embodiments may be possible.

Inventors

  • 김혜정
  • 김준호
  • 윤성수
  • 천재홍
  • 이광렬

Assignees

  • 삼성전자 주식회사

Dates

Publication Date
20260513
Application Date
20210113

Claims (20)

  1. In electronic devices, Display module; Memory; and A processor operatively connected to the display module and the memory; comprising The above processor is, In response to the execution of at least one app, the declaration information corresponding to the at least one app is checked, and Based on the above-mentioned confirmed declaration information, determine whether the above-mentioned at least one app supports a trash bin function, and If at least one of the above apps supports the trash bin function, a trash bin storage space is secured for each of the at least one app, and Based on the above at least one app, access permission to the secured trash bin storage space is granted to the trash bin management app, and Based on the granting of the above access permission, information related to the trash storage space to which the above access permission has been granted is obtained through the above trash management app, and Based on the information related to the above-mentioned acquired trash storage space, a user interface for accessing the trash storage space through the above-mentioned trash management app is created, and An electronic device that displays the user interface through the above display module.
  2. In Article 1, The above processor is, Obtaining the declaration information from at least one of the above apps, and The above-mentioned acquired declaration information is stored in the memory, and An electronic device comprising the above declaration information, information indicating whether the at least one app supports the trash bin function, the number of files stored in the trash bin storage space, information on the capacity of the files stored in the trash bin storage space, and information indicating whether access to the trash bin storage space is possible through another app.
  3. In Article 2, The above processor is, An electronic device that, based on the above trash bin management app, accesses the trash bin storage space to which the above access permission has been granted, and performs at least one of the operations of checking data stored in the trash bin storage space, deleting data, and restoring data.
  4. In Paragraph 3, The above processor is, Using the above trash management app, check the location of the trash storage space based on information related to the above trash storage space, and An electronic device that accesses data stored in the above trash bin storage space.
  5. In Article 1, An electronic device comprising at least one of the following: information related to the above trash bin storage space, URI (uniform resource identifier) information for data stored in the above trash bin storage space, information about the current storage location after the data has been deleted, information about the storage location before the data has been deleted, the name of the data, and the type of the data.
  6. In Article 1, The above processor is, An electronic device that, when data is deleted using at least one of the above apps, stores the deleted data in the trash storage space for a certain period of time, and deletes the data from the trash storage space when the certain period of time is exceeded.
  7. In Article 1, The above memory is an electronic device comprising an app-only area accessible through the trash bin management app and a public area accessible through all apps.
  8. In Article 1, The above processor is, Create a database based on information related to the above trash bin storage space, and Based on the database generated above, the user interface is generated so that at least one app is integrated and displayed in the first display area, and An electronic device that classifies and displays data stored in the trash bin storage space according to type based on the above user interface.
  9. In Article 1, The above processor is, The above-mentioned Recycle Bin storage space to which the above-mentioned access rights have been granted is integrated into the first storage space of the memory, and An electronic device that integrates and manages deleted data from each of the at least one app based on the above-mentioned first storage space.
  10. In terms of method, An operation to check declaration information corresponding to at least one app in response to the execution of at least one app; An operation to determine whether the at least one app supports a trash bin function based on the above-mentioned confirmed declaration information; If the above at least one app supports the trash bin function, the operation of securing trash bin storage space for each of the above at least one app; An action of granting access rights to the secured trash bin storage space to the trash bin management app based on at least one of the above apps; An operation to obtain information related to the trash storage space to which the access permission has been granted, through the trash management app based on the granting of the access permission; The operation of creating a user interface for accessing the trash storage space through the trash management app based on the information related to the above-mentioned acquired trash storage space; and A method comprising the operation of displaying the above user interface on a display module.
  11. delete
  12. delete
  13. delete
  14. delete
  15. delete
  16. delete
  17. delete
  18. delete
  19. delete
  20. delete

Description

Memory Management Method and Electronic Device {METHOD AND ELECTRONIC DEVICE FOR MANAGING MEMORY} Various embodiments of the present invention relate to a memory management method and an electronic device. With the advancement of information and communication technology and semiconductor technology, various electronic devices are evolving into multimedia devices that provide diverse multimedia services. For example, multimedia services may include at least one of voice call services, messaging services, broadcasting services, wireless internet services, camera services, electronic payment services, or music playback services. The electronic device may install at least one application to provide various services required by the user. For example, the electronic device may install a music application for playing sound sources desired by the user, a call application for voice call services, a message application for transmitting messages, and/or a camera application for camera services. In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components. FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present invention. FIG. 2 is an example diagram illustrating the integrated management of trash can storage space based on an application that supports a trash can function according to various embodiments of the present invention. FIG. 3 is a block diagram of an electronic device according to various embodiments of the present invention. FIG. 4 is a flowchart illustrating a method for managing memory according to various embodiments of the present invention. FIG. 5 is an exemplary diagram illustrating a trash can storage space according to various embodiments of the present invention. FIG. 6 is an exemplary diagram illustrating a user interface for an integrated trash can storage space according to various embodiments of the present invention. FIG. 7a is an exemplary diagram illustrating a physically integrated trash can storage space according to various embodiments of the present invention. FIG. 7b is an exemplary diagram illustrating a database for managing deleted data according to various embodiments of the present invention. FIG. 8a is an exemplary diagram illustrating the process of managing deleted content when content is deleted according to various embodiments of the present invention. FIG. 8b is an example diagram illustrating the process of storing a cache file in a database format and managing the storage space where the cache file is stored, according to various embodiments of the present invention. FIG. 8c is an exemplary diagram illustrating the process of managing a clipboard according to various embodiments of the present invention. FIG. 8d is an exemplary diagram illustrating the process of managing a deleted application when the application is uninstalled according to various embodiments of the present invention. FIG. 9 is an exemplary diagram illustrating a user interface displayed on a display module through a trash can management application according to various embodiments of the present invention. FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or may communicate with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the electronic device (101) may include a processor (120), memory (130), input module (150), sound output module (155), display module (160), audio module (170), sensor module (176), interface (177), connection terminal (178), haptic module (179), camera module (180), power management module (188), battery (189), communication module (190), subscriber identification module (196), or antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)). The processor (120) can control at least one other component (e.g., hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., program (140)), for example, and can perform various data processing or operations. According to one embodiment, as at least part of the data processing o