WO2018000300A1 - 一种电子设备的数据操作方法及电子设备 - Google Patents

一种电子设备的数据操作方法及电子设备 Download PDF

Info

Publication number
WO2018000300A1
WO2018000300A1 PCT/CN2016/087842 CN2016087842W WO2018000300A1 WO 2018000300 A1 WO2018000300 A1 WO 2018000300A1 CN 2016087842 W CN2016087842 W CN 2016087842W WO 2018000300 A1 WO2018000300 A1 WO 2018000300A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage
target
storage space
virtual
electronic device
Prior art date
Application number
PCT/CN2016/087842
Other languages
English (en)
French (fr)
Inventor
涂永峰
郜文美
甘元莉
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680035461.XA priority Critical patent/CN107835986B/zh
Priority to US16/314,420 priority patent/US10877885B2/en
Priority to PCT/CN2016/087842 priority patent/WO2018000300A1/zh
Publication of WO2018000300A1 publication Critical patent/WO2018000300A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0804Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with main memory updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0653Monitoring storage devices or systems
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0667Virtualisation aspects at data level, e.g. file, record or object virtualisation
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0685Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays

Definitions

  • the present invention relates to the field of storage technologies, and in particular, to a data operation method and an electronic device of an electronic device.
  • the default storage space of the system is the internal storage space. If the user expands the external storage space through the electronic device, such as inserting one or more SD cards, the system will require the user to preset one.
  • the storage space is used as the default storage space or the internal storage space is used as the default storage space according to the factory settings. After the electronic device is used for a period of time, there may be a case where the storage space of the default memory is full instead of the storage space of the default memory.
  • the user needs to separately view the remaining space storage capacity of each storage space and manually set it.
  • the storage location of the current data can be used to allocate storage resources.
  • the user also needs to separately view different storage spaces to query the storage location of the data, which not only wastes the storage resources of the electronic device, but also brings great inconvenience to the user.
  • Embodiments of the present invention provide a data operation method and an electronic device for an electronic device, so as to improve storage resource utilization of the electronic device and convenience of data operation.
  • a first aspect of the embodiments of the present invention provides a data operation method for an electronic device, which is applied to an electronic device, where all storage spaces of the electronic device include an internal storage space and at least one external storage space, including:
  • the files of the same file type in all the storage spaces of the electronic devices stored in the virtual memory card are updated, and the merged virtual files are summarized, and the virtual storage path corresponding to the virtual storage card and the physical medium corresponding to the target storage space are updated.
  • selecting a suitable target storage space according to a preset rule improves the convenience of storage of the electronic device, and adopts a virtual memory card to realize unified management and allocation of the storage space, which is beneficial to improving storage resource utilization of the electronic device. rate.
  • selecting at least one of all storage spaces as a target storage space according to a preset rule includes:
  • the security level of the target write data meets the preset security threshold, select the internal storage space as the target storage space; otherwise, select at least one external storage space as the target storage space; or,
  • the preset space threshold selects at least one external storage space as the target storage space; otherwise, select the internal storage space as the target storage space; or
  • target write data is detachable data and the occupied space is larger than any one of the storage spaces, select an internal space and/or at least one external space as the target storage space; or
  • the storage location of the target write data is a secure storage area, select at least one external storage space as the target storage space; otherwise, select the internal storage space as the target storage space.
  • the method further includes:
  • the virtual storage card and the external storage space stored in the virtual storage card and the file of the same file type in the internal storage space of the electronic device are aggregated and the virtual file is merged, and the virtual file is created and virtualized.
  • the added at least one external storage space stored in the virtual storage card and the file of the same file type in all the storage spaces are updated.
  • the merged virtual file is summarized, and the mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the at least one external storage space is updated.
  • the method further includes:
  • mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the removed at least one external storage space is removed.
  • the method further includes:
  • the target storage device is selected from at least one storage device that has been in communication connection with the electronic device, and the target migration data is migrated to the target storage device, and the target migration data is part or all of the data that has been written into the electronic device. .
  • the amount of occupied space of the target write data does not satisfy the storage requirement of the storage space of the electronic device, and the storage space can be released by automatically performing data migration for writing the target write data, which is beneficial to the electronic device.
  • the flexible management of storage space improves the utilization of storage resources of electronic devices.
  • the method further includes:
  • a driver file of the virtual memory card is sent to the computer and the computer is instructed to install the driver file to cause the computer to display the storage information of the virtual memory card.
  • the method further includes:
  • the target read data is read through the target physical storage path.
  • the target read data is read in the form of a virtual memory card, and the search and read are performed from each of the separate storage spaces, thereby improving the efficiency of reading.
  • the method further includes:
  • a second aspect of the embodiments of the present invention provides an electronic device, including:
  • a receiving unit configured to receive a data write instruction, where the data write command carries the target write data
  • a selecting unit configured to select at least one of all storage spaces as the target storage space according to a preset rule
  • An operation unit configured to perform a write operation in a target storage space
  • the update unit is configured to update the files of the same file type in all the storage spaces of the electronic devices stored in the virtual memory card after the write operation is completed, and update the virtual files corresponding to the virtual storage card and update the virtual storage paths and targets corresponding to the virtual storage card.
  • a third aspect of the embodiments of the present invention provides an electronic device, including a display, at least one input device, a memory, and a processor, wherein the memory stores a set of programs, and the processor is configured to call a program stored in the memory, so that the device performs Some or all of the embodiments of the first aspect.
  • a fourth aspect of an embodiment of the present invention provides a graphical user interface on an electronic device, the electronic device having a display, at least one input device, a memory, and at least one processor for executing one or more programs in the save memory, the electronic All storage space of the device includes internal storage space and at least one external storage space, and the graphical user interface includes a virtual memory card icon that the user can query;
  • the user performs a query operation for storing information of the electronic device is detected
  • the stored information on the virtual memory card is displayed;
  • the storage information on the virtual storage card includes the virtual files of the files of the same file type in all the storage spaces of the electronic device.
  • a fifth aspect of an embodiment of the present invention provides a computer readable storage medium storing one or more programs, the one or more programs including instructions, when executed by an electronic device including a display and a plurality of applications, The instructions are for causing the embodiment of the present invention to further provide a computer readable storage medium storing one or more programs, the one or more programs including instructions, when an electronic device including an antenna and a plurality of applications When executed, the instructions are for causing the electronic device to perform some or all of the implementations of the first aspect.
  • FIG. 1 is a schematic flowchart of a data operation method of an electronic device according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a data operation method of another electronic device according to an embodiment of the present invention.
  • 3a is a schematic diagram of a storage location setting interface of an electronic device according to an embodiment of the present invention.
  • FIG. 3b is a schematic diagram of an internal storage space and an external storage space storage interface according to an embodiment of the present invention.
  • 3c is a schematic diagram of a virtual memory card interface of an electronic device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a classified storage interface of a virtual memory card of an electronic device according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a modularization of an electronic device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a modularization of another electronic device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device may include a user terminal such as a mobile phone, a computer, a Mobile Internet Device (MID), or the like, and other electronic devices that support an external storage space extension such as an SD card extension.
  • a user terminal such as a mobile phone, a computer, a Mobile Internet Device (MID), or the like
  • MID Mobile Internet Device
  • FIG. 1 is a schematic flowchart diagram of a data operation method of an electronic device according to an embodiment of the present invention.
  • a data operation method of an electronic device according to an embodiment of the present invention may include steps S101 to S103.
  • the electronic device receives a data write command, and the data write command carries the target write data.
  • the electronic device may include an internal physical memory and at least one external physical memory.
  • the user can input target write data through an input device of the electronic device such as a touch screen device, or transmit target write data from the other electronic device to the electronic device.
  • the electronic device receives a data write command, where the data write command carries target write data, and the target write data may be character information or an audio and video file. Or text documents and so on.
  • the user can select the corresponding storage location.
  • the electronic device does not need to automatically select the storage space, and directly targets the target.
  • the write data is directly written into the internal storage or the external storage space; if the user selects the "system automatically selects" the storage space, the system can automatically select according to the preset rule, and steps S102 and S103 are performed.
  • S102 Select at least one of the all storage spaces as a target storage space according to a preset rule, and perform a write operation in the target storage space.
  • the electronic device may select at least one of the all storage spaces as a target storage space according to a preset rule, and perform a write operation in the target storage space.
  • the electronic device may automatically select a target storage space according to a preset rule after receiving the data write command, where the preset rule may be a location, a security level, and a level of data written according to the target.
  • the preset rule may be a location, a security level, and a level of data written according to the target.
  • At least one condition of the type, the amount of occupied space, and the like selects the target storage space.
  • the target write data is password information
  • the security level is high. Therefore, the password information can be determined by determining that the security level of the target write data is high.
  • the target write data is a video file
  • the occupied space is relatively large.
  • the video occupying a relatively large amount of space may be used. Files are stored in external storage.
  • the electronic device updates the file of the same file type in all the storage spaces of the electronic device stored in the virtual memory card, and merges the merged virtual file, and updates the virtual memory card correspondingly.
  • the method of adding a virtual memory card to the electronic device may be adopted.
  • a file structure of a “virtual memory card” may be added to the file system of the mobile operating system, and the actual path of the stored content is the internal storage space of the electronic device and / or external storage space, the storage content may include the file structure of the internal memory card and the virtual file of the external SD memory card file structure.
  • the file of the same file type in all the storage spaces of the electronic device stored in the virtual memory card may be updated and merged, for example, if the target write data is The video file is written to the SD1 card, and the target write data can be summarized into a virtual file of the video class, and the mapping relationship between the virtual storage path corresponding to the virtual file and the SD1 card is updated.
  • the embodiment of the present invention can receive a data write instruction, and then select at least one of the all storage spaces as a target storage space according to a preset rule, and perform a write operation in the target storage space, and write After the operation is completed, the file of the same file type in all the storage spaces of the electronic device stored in the virtual storage card is updated, and the merged virtual file is summarized, and the virtual storage path corresponding to the virtual storage card and the target storage are updated.
  • the mapping relationship between the physical storage paths corresponding to the space the embodiment of the present invention automatically acquires a suitable target storage space by using a preset rule, improves the convenience of storage of the electronic device, and implements the unification of the storage space by using a virtual memory card. Management and distribution are beneficial to improve the utilization of storage resources of electronic devices.
  • FIG. 2 is a schematic flowchart diagram of another data operation method of an electronic device according to an embodiment of the present invention.
  • another data processing method for an electronic device according to an embodiment of the present invention may include steps S201 to S206.
  • the electronic device receives a data write command, and the data write command carries the target write data.
  • the electronic device may include an internal physical memory and at least one external physical memory.
  • the user can input target write data through an input device of the electronic device such as a touch screen device, or transmit target write data from the other electronic device to the electronic device.
  • the electronic device receives a data write command, where the data write command carries target write data, and the target write data may be character information or an audio and video file. Or text documents and so on.
  • the corresponding storage location can be selected.
  • the electronic device does not need to be performed.
  • the automatic selection of the storage space directly writes the target write data to the internal storage or the external storage space; if the user selects the "system automatically selects" the storage space, the system can automatically select according to the preset rules, and then the execution can be performed. Other steps in the embodiments of the present invention.
  • the electronic device determines whether the amount of occupied space of the target write data satisfies a storage requirement of a storage space of the electronic device.
  • a method of adding a virtual memory card to the electronic device may be adopted.
  • a file of the “virtual memory card” may be added to the file system of the mobile phone operating system.
  • the physical path of the storage content is an internal storage space and/or an external storage space of the electronic device, and the storage content may include a file structure of the internal storage card and a virtual file merged with the file structure of the external SD memory card.
  • the total storage space amount and the total remaining space amount of the virtual memory card may be obtained, if the storage requirement of the storage space of the electronic device is after the data is written to the write target, The electronic device determines whether the total amount of remaining space of the storage space is greater than a preset threshold, for example, 10%, and may determine, according to the determination result, whether data migration in the storage space is required. If the electronic device determines that the total amount of remaining space of the storage space is greater than a preset threshold after writing the target write data, it indicates that the target write data can be directly written, and step S204 is performed; otherwise, the electronic device needs to be performed first. After the data migration, the write operation of the target write data is performed, and step S203 can be performed.
  • a preset threshold for example, 10%
  • the target storage device selects a target storage device from at least one storage device that has communicated with the electronic device, and select a target.
  • the migration data is migrated to the target storage device, the target migration data being some or all of the data that has been written into the electronic device.
  • the electronic device may select a target from at least one storage device that has communicated with the electronic device.
  • the storage device migrates the target migration data to the target storage device, the target migration data being some or all of the data that has been written into the electronic device.
  • the remaining storage space in the electronic device cannot satisfy the target write data. Write, so it is necessary to release by storing a portion of the storage space in the electronic device. For example, in an electronic device In the case of networking, some or all of the data in the electronic device is uploaded to the cloud.
  • the electronic device can be connected to other storage devices through a WIFI hotspot, and then the stored data in the electronic device is migrated to other storage devices according to a preset migration rule.
  • the preset migration rule may be that the photos in the electronic device are migrated to other storage devices according to the pre-transmission rule of the storage time until the size of the migrated data meets the preset requirement or the remaining of the electronic device after the data is migrated.
  • the storage space can satisfy the storage requirement of the target write data.
  • the electronic device selects at least one of the all storage spaces as the target storage space according to a preset rule.
  • the target storage space may be automatically selected according to a preset rule.
  • the preset rule may be that the target storage space is selected according to at least one condition such as a location, a security level, a type, and a space occupation amount of the target data to be written.
  • the target write data is password information
  • the security level is high.
  • the password information can be written into the internal storage space by determining that the security level of the target write data is high.
  • the target write data is a video file
  • the occupied space is relatively large.
  • the video file with a relatively large amount of space can be stored externally. In storage space.
  • the internal storage space is selected as the target storage space; otherwise, the at least one external storage space is selected as the target storage space.
  • the electronic device may select a target storage space by using a security level of the target write data, for example, the target write data is a password, and the security level is high, and the internal storage is safer, more stable, and more reliable. Select internal storage as the target storage space.
  • the target write data is cached data, and the security level is low, so the at least one external storage space can be selected as the target storage space.
  • the foregoing selection of the target storage space is not limited to the foregoing preset rule, and one of the external storage spaces may be designated as the target storage space selected when the security level is high.
  • the target storage space selects the One less external storage space is used as the target storage space, otherwise, the internal storage space is selected as the target storage space.
  • the target write data with a large amount of occupied space may be set in the preset rule to be written to the external storage space instead of the internal storage space, for example, target write.
  • the amount of occupied data is 300M, and if the preset space threshold is 200M, one of the external storage spaces can be selected as the target storage space according to a preset rule.
  • the target write data is detachable data and the occupied space is larger than any one of the storage spaces
  • the internal space and/or the at least one external space is selected as the target storage space.
  • the total remaining space storage capacity can satisfy the target write data write.
  • the document and the video file may be selected to be stored in the internal storage space and the external storage space respectively according to the storage capacity of the remaining space of each storage space, or may be stored in two different external storage spaces.
  • the at least one external storage space is selected as the target storage space; otherwise, the internal storage space is selected as the target storage space.
  • At least one external space may be selected as the target storage space, and if in the public place, the current target write data may be directly written into the system. In memory.
  • Any optional step may be replaced by S204, or may be selected in combination with one or more steps.
  • the target storage space may be determined according to the security level and storage area of the target write data.
  • step S206 please refer to the specific explanation of step S103 in the embodiment of FIG. 1 , and details are not described herein again.
  • the virtual storage card and the external storage space stored in the virtual storage card and the same file type in the internal storage space of the electronic device are generated.
  • the file summarizes the merged virtual file, and establishes a mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the target storage space.
  • the electronic device initially has only internal storage space. After the user inserts the SD card into the electronic device for the first time, the electronic device can detect the newly added first external storage space and generate a virtual memory card.
  • the newly added SD card and the files of the same file type in the internal storage space such as video, audio, and documents, may be aggregated and merged to form a plurality of virtual files, and the virtual storage paths corresponding to the virtual memory cards may be separately established and The mapping relationship between the physical storage paths corresponding to the target storage space, for example, the mapping between the video storage path in the virtual storage card and the physical storage path corresponding to the SD1 card.
  • the added at least one external storage space is detected and the at least one external storage space is not the first external storage space, updating the added at least one external storage space stored in the virtual storage card and The files of the same file type in all the storage spaces are summarized into the merged virtual file, and the mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the newly added at least one external storage space is updated. .
  • the electronic device already has an internal storage space and an external storage space.
  • a new external storage space such as inserting the SD2 card into the electronic device
  • the source virtual file in the virtual memory card needs to be combined with the storage file in the new external storage space.
  • Update for example, if there are 300M video files in the SD2 card, the total occupied space of the original virtual video files can be increased by 300M, and the total storage capacity in the virtual memory card can be increased by 300M, and the video can be created in the virtual memory card.
  • any one of the at least one external storage space is removed, updating the same file in all the storage spaces stored in the virtual memory card according to the removed at least one external storage space And the mapping between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the removed at least one external storage space.
  • the electronic device can detect that the SD1 card is removed and can be stored in the virtual memory card. Delete the information about the SD card in the stored virtual file. For example, if the capacity of the SD1 card is 100M, the total storage capacity of the virtual memory card can be reduced by 1G, and the remaining space storage capacity can be reduced by 900M. Reduce the total storage capacity of virtual document files by 100M. Then, the mapping relationship between the physical storage path corresponding to the SD1 card and the virtual storage path of the virtual storage card can be released.
  • the drive file of the virtual memory card is sent to the computer and the computer is instructed to install the drive file to cause the computer to display the storage information of the virtual memory card.
  • the electronic device can automatically send the driver file of the virtual memory card to the computer, so that the computer automatically installs the driver file, and after the driver file is successfully installed, the computer interface is
  • the “virtual memory card” icon can be displayed. When opened, the virtual file corresponding to the virtual memory card can be seen, so that the user can easily perform copy-in, copy-out, and other file management operations.
  • receiving a data read instruction where the data read instruction carries a target virtual storage path corresponding to the target read data; determining a target physical storage path of the target virtual storage path mapping; and performing the target physical storage The path reads the target read data.
  • the user equipment receives the data read instruction, and obtains a target virtual storage path corresponding to the target read data that needs to be read according to the data read instruction, for example, the user clicks into the “virtual memory card” and further clicks the video icon, the index
  • the directory is a target virtual storage path, and then the physical storage path can be obtained according to the target virtual storage path, that is, the target read data is read from the internal storage space or the external storage space.
  • receiving a data deletion instruction where the data deletion instruction carries a target virtual storage path corresponding to the target deletion data; determining a target physical storage path of the target virtual storage path mapping; and deleting the target physical storage path by the target physical storage path The target deletes the data.
  • the user equipment may obtain the target virtual storage path corresponding to the target deletion data that needs to be deleted according to the data deletion instruction, and then obtain the physical storage path, and store the internal storage space or the external storage space.
  • the target reads the data for deletion.
  • the embodiment of the present invention can determine whether the target storage space is performed according to a preset rule by receiving a data write instruction, and then whether the occupied space of the target write data satisfies the storage requirement of the storage space of the electronic device. Select, or first migrate the data and then select the target storage space. After the writing operation is completed, the virtual file stored in the virtual memory card and the mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the target storage space are updated, and the target storage space is automatically selected, and The data storage is used to adjust the remaining space storage capacity, which improves the convenience and flexibility of the electronic device.
  • the virtual storage card is used to implement unified management and allocation of the storage space, which is beneficial to improving the storage resource utilization of the electronic device.
  • FIG. 3a to FIG. 3d are respectively a schematic diagram of a storage location setting interface, an internal storage space and an external storage space storage interface, a virtual memory card interface, and a virtual storage card classification storage interface on an electronic device according to the present invention. schematic diagram.
  • a query operation performed by the user to perform storage information on the electronic device is detected; in response to detecting the query operation, storage information on the virtual memory card is displayed; wherein the storage information on the virtual memory card includes the
  • the merged virtual files are summarized in the files of the same file type in all storage spaces of the electronic device.
  • the user may first select a corresponding storage location by clicking the storage location setting interface, as shown in FIG. 3a, the interface includes three buttons: internal storage 11, SD The card 12 and the system automatically select 13. If the user manually selects the internal storage 11 or the SD card 12 directly, the electronic device does not need to automatically select the storage space, and the target write data can be directly written to the internal storage space according to the selection. Or in external storage space.
  • the internal storage space and the external storage space storage interface as shown in FIG. 3b may be popped up, and the internal storage space interface and the external storage space storage interface of the interface are independent interfaces, and may be separate.
  • SD card storage can display total The amount of storage space and the amount of remaining storage space can also be displayed after classifying the stored files.
  • the system can automatically select according to the preset rule, and the interface shown in FIG. 3c can be displayed, and the 3c is a schematic diagram of the virtual memory card interface, wherein the virtual memory card
  • the icon 14 includes the total storage space 15 and the total remaining storage space 16 of the internal storage space and the external storage space. Clicking the icon of the virtual storage card may further query the storage condition, and may pop up the classified storage of the virtual storage card as shown in FIG. 3d.
  • Interface which can store all storage space in the electronic device, The file including the internal storage space and the external storage space is aggregated and generated to generate a virtual file, and can display information of multiple categories such as an application class and an image video class.
  • the user performs an increase operation on the first external storage space, and in response to detecting the space increase operation, the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the all storage spaces.
  • a mapping relationship is established, and the storage information on the virtual memory card is displayed; wherein the storage information on the virtual storage card includes the first external storage space and the same file in an internal storage space of the electronic device.
  • the type of file summarizes the merged virtual files.
  • the electronic device initially has only internal storage space.
  • the electronic device detects the increase operation of the external storage space, and can increase the operation in response to the space, the virtual memory card.
  • the mapping relationship between the corresponding virtual storage path and the physical storage path corresponding to all the storage spaces is established, and the storage information of the original internal storage space is no longer displayed, and the graphical user interface generates an icon of the virtual storage card and displays As shown in FIG. 3c, the virtual memory card icon is further clicked to display the storage information of the virtual memory card, wherein the storage information of the virtual memory card includes internal storage space and all files of the newly added SD card.
  • the merged virtual file as shown in Figure 3d.
  • the user performs a removal operation on the at least one external storage space, and in response to detecting the space removal operation, the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the all storage spaces
  • the mapping relationship is updated, and the updated storage information on the virtual memory card is displayed; wherein the updated storage information on the virtual memory card includes at least one of all storage spaces of the electronic device except the removal
  • the files of the same file type in the storage space of the external storage space are summarized into the merged virtual files.
  • the electronic device detects the removal operation of the external storage space, and can respond to the space removal operation, and the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to all the storage spaces.
  • the mapping relationship will be updated, the original virtual storage file will be updated, the total storage space and the remaining storage space in the interface as shown in Figure 3c will be based on the storage space and storage of the removed SD card. Adjust the amount of space on the original SD card. After further clicking the virtual memory card icon, the stored information of the updated virtual memory card can be displayed.
  • the embodiment of the invention adopts a graphical user interface of a “virtual memory card”, which can conveniently manage the read, write, query and storage space of the stored information, and summarize and store the storage information of multiple storage spaces. It is convenient for users to read.
  • FIG. 4 is a schematic diagram of a modularization of an electronic device according to an embodiment of the present invention.
  • the electronic device may include: a receiving unit 101, a selecting unit 102, an operating unit 103, and an updating unit 104, where:
  • the receiving unit 101 is configured to receive a data write instruction, where the data write command carries target write data.
  • the selecting unit 102 is configured to select at least one of the all storage spaces as the target storage space according to a preset rule.
  • the operation unit 103 is configured to perform a write operation in the target storage space.
  • the updating unit 104 is configured to update, after the completion of the writing operation, the file of the same file type in all the storage spaces of the electronic device stored in the virtual memory card, and merge the merged virtual file, and update the corresponding virtual memory card A mapping relationship between the virtual storage path and the physical storage path corresponding to the target storage space.
  • FIG. 5 is a schematic diagram of a modularization of an electronic device according to another embodiment of the present invention.
  • the electronic device may include: a receiving unit 101, a selecting unit 102, an operating unit 103, an updating unit 104, a adding unit 105, a releasing unit 106, a determining unit 107, a data migration unit 108, and a transmitting unit 109.
  • the mounting unit 110, the determining unit 111, the reading unit 112, and the deleting unit 113 wherein:
  • the receiving unit 101 is configured to receive a data write instruction, where the data write command carries target write data.
  • the selecting unit 102 is configured to select at least one of the all storage spaces as the target storage space according to a preset rule.
  • the selecting unit 102 is configured to: if the security level of the target write data meets a preset security threshold, select the internal storage space as a target storage space; otherwise, select the at least one external storage space as a target. a storage space; or, if the amount of occupied space of the target write data satisfies a preset space threshold, selecting the at least one external storage space as a target storage space; otherwise, selecting the location
  • the internal storage space is used as the target storage space; or, if the target write data is detachable data and the occupied space is larger than any one of the storage spaces, the internal space and/or the at least one external space is selected as the target storage space.
  • the storage location of the target write data is a secure storage area
  • the at least one external storage space is selected as the target storage space; otherwise, the internal storage space is selected as the target storage space.
  • the operation unit 103 is configured to perform a write operation in the target storage space.
  • the updating unit 104 is configured to update, after the completion of the writing operation, the file of the same file type in all the storage spaces of the electronic device stored in the virtual memory card, and merge the merged virtual file, and update the corresponding virtual memory card A mapping relationship between the virtual storage path and the physical storage path corresponding to the target storage space.
  • a new unit 105 configured to generate a virtual memory card and the same file stored in the virtual storage card and the internal storage space of the electronic device if the newly added first external storage space is detected
  • the type of the file is a merged virtual file, and a mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the target storage space is established; or, if at least one external is detected a storage space and the at least one external storage space is a non-first external storage space, and the updated at least one external storage space stored in the virtual storage card and the files of the same file type in the all storage spaces are aggregated and merged And a mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the newly added at least one external storage space.
  • the updating unit 104 is further configured to: if it is detected that any one of the at least one external storage space is removed, update all the storages stored in the virtual storage card according to the removed at least one external storage space A file of the same file type in space is aggregated into a merged virtual file;
  • the releasing unit 106 is configured to release a mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the removed at least one external storage space.
  • the determining unit 107 is configured to determine whether the amount of occupied space of the target write data meets a storage requirement of a storage space of the electronic device;
  • the selecting unit 102 is further configured to: if the amount of occupied space of the target write data meets a storage requirement of the storage space of the electronic device, select at least one of the all storage spaces as a target storage space according to a preset rule. ;
  • the data migration unit 108 is configured to select a target storage from at least one storage device that has been in communication connection with the electronic device, if the amount of occupied space of the target write data does not satisfy the storage requirement of the storage space of the electronic device.
  • the device migrates the target migration data to the target storage device, the target migration data being some or all of the data that has been written into the electronic device.
  • the sending unit 109 is configured to send a driving file of the virtual memory card to the computer if a computer connection signal is detected;
  • the installation unit 110 is configured to instruct the computer to install the driver file to enable the computer to display storage information of the virtual memory card.
  • the receiving unit 101 is configured to receive a data read instruction, where the data read instruction carries a target virtual storage path corresponding to the target read data;
  • a determining unit 111 configured to determine a target physical storage path of the target virtual storage path mapping
  • the reading unit 112 is configured to read the target read data by using the target physical storage path.
  • the receiving unit 101 is configured to receive a data deletion instruction, where the data deletion instruction carries a target virtual storage path corresponding to the target deletion data;
  • the determining unit 111 is further configured to determine a target physical storage path of the target virtual storage path mapping
  • the deleting unit 113 is configured to delete the target deletion data by using the target physical storage path.
  • FIG. 6 is a description of an electronic device involved in an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device 1000 according to an embodiment of the present invention.
  • the electronic device may include an output device 1001 such as a display, at least one input device 1002 such as a keyboard, a mouse, a memory 1003, a processor 1004 such as a CPU, and at least one communication bus 1005.
  • the memory 1003 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
  • Communication bus 1005 is used to implement connection communication between these components.
  • a processor is operative to execute and save one or more programs in the memory.
  • the processor 1004 is configured to invoke a program stored in the memory 1003 to perform the following operations:
  • the files of the same file type in all the storage spaces of the electronic device stored in the virtual memory card are updated, and the merged virtual file is summarized, and the virtual storage path corresponding to the virtual memory card is updated and the virtual storage path is The mapping relationship between physical storage paths corresponding to the target storage space.
  • the selecting, according to the preset rule, at least one of the all storage spaces as the target storage space includes:
  • the internal storage space is selected as the target storage space; otherwise, the at least one external storage space is selected as the target storage space; or, if the target is written The amount of occupied space of the data satisfies a preset space threshold, and the at least one external storage space is selected as the target storage space; otherwise, the internal storage space is selected as the target storage space; or, if the target write data is separable data And the amount of occupied space is greater than any one of the storage spaces, and the internal space and/or the at least one external space is selected as the target storage space; or, if the storage location of the target write data is a secure storage area, the at least An external storage space is used as the target storage space, otherwise, the internal storage space is selected as the target storage space.
  • the virtual storage card and the external storage space stored in the virtual storage card and the same file type in the internal storage space of the electronic device are generated.
  • the file is a merged virtual file, and a mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the target storage space is established; or, if at least one external storage is detected And the at least one external storage space is a non-first external storage space, and the added at least one external storage space stored in the virtual storage card and the files of the same file type in the all storage spaces are aggregated and merged And a mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the newly added at least one external storage space.
  • the file type file summarizes the merged virtual file; the mapping relationship between the virtual storage path corresponding to the virtual storage card and the physical storage path corresponding to the removed at least one external storage space is released.
  • the method further includes:
  • the drive file of the virtual memory card is sent to the computer and the computer is instructed to install the drive file to cause the computer to display the storage information of the virtual memory card.
  • the method further includes: receiving a data read instruction, where the data read instruction carries a target virtual storage path corresponding to the target read data; and determining a target physical storage path of the target virtual storage path map; The target physical storage path reads the target read data.
  • the method further includes: receiving a data deletion instruction, where the data deletion instruction carries a target virtual storage path corresponding to the target deletion data; determining a target physical storage path of the target virtual storage path mapping; The storage path deletes the target deletion data.
  • Embodiments of the present invention also provide a computer readable storage medium storing one or more programs, the one or more programs including instructions for executing the instructions when executed by an electronic device including a display and a plurality of applications
  • the embodiment of the present invention further provides a computer readable storage medium storing one or more programs, the one or more programs including instructions, when executed by an electronic device including a display and a plurality of applications, The instructions are for enabling the electronic device to perform the method described above with respect to Figures 1-2.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

一种电子设备的数据操作方法和电子设备,应用于电子设备上,所述电子设备的所有存储空间包括内部存储空间和至少一个外部存储空间,所述方法包括:接收数据写入指令,所述数据写入指令携带目标写入数据(S101);根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,并在所述目标存储空间执行写入操作(S102);在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系(S103)。有利于提高电子设备的存储资源利用率以及数据操作的便捷性。

Description

一种电子设备的数据操作方法及电子设备 技术领域
本发明涉及存储技术领域,尤其涉及一种电子设备的数据操作方法及电子设备。
背景技术
随着电子设备的智能化发展,电子设备中有限的内部存储空间已无法完全满足用户的需求,因此,越来越多的电子设备开始支持外部存储空间的扩展如安全数字(Secure Digital,SD)卡扩展等。若电子设备中只存在内部存储空间,系统的默认存储空间为内部存储空间,若用户经电子设备进行了外部存储空间的扩展如插入了一个或多个SD卡,则系统会要求用户预先设置一个存储空间作为默认存储空间或根据出厂设置时将内部存储空间作为默认存储空间。电子设备在使用一段时间之后,可能会存在默认存储器的存储空间已满而非默认存储器的存储空间存在较大剩余的情况,此时用户需分别查看各个存储空间的剩余空间存储容量后通过手动设置当前数据的存储位置才能实现存储资源的分配。同时,在进行数据读取时用户也需要分别查看不同的存储空间来查询数据的存储位置,不仅浪费了电子设备的存储资源,也给用户带来了极大的不便。
发明内容
本发明实施例提供了一种电子设备的数据操作方法及电子设备,以期提高电子设备的存储资源利用率以及数据操作的便捷性。
本发明实施例第一方面提供了一种电子设备的数据操作方法,应用于电子设备上,电子设备的所有存储空间包括内部存储空间和至少一个外部存储空间,包括:
接收数据写入指令,数据写入指令携带目标写入数据;
根据预设规则选择所有存储空间中的至少一个作为目标存储空间,并在目标存储空间执行写入操作;
在写入操作完成后,更新虚拟存储卡中存储的电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新虚拟存储卡对应的虚拟存储路径和目标存储空间对应的物理存储路径之间的映射关系。
上述技术方案中,按照预设规则选择合适的目标存储空间提高了电子设备存储的便捷性,并采用虚拟存储卡的方式实现对存储空间的统一管理和分配,有利于提高电子设备的存储资源利用率。
结合第一方面,在第一方面的第一种可能的实施方式中,根据预设规则选择所有存储空间中的至少一个作为目标存储空间,包括:
若目标写入数据的安全级别满足预设安全阈值,选择内部存储空间作为目标存储空间,否则,选择至少一个外部存储空间作为目标存储空间;或,
若目标写入数据的占用空间量满足预设空间阈值,选择至少一个外部存储空间作为目标存储空间,否则,选择内部存储空间作为目标存储空间;或,
若目标写入数据为可分离数据且占用空间量大于任意一个存储空间,选择内部空间和/或至少一个外部空间作为目标存储空间;或,
若目标写入数据的存储地点为安全存储区域,选择至少一个外部存储空间作为目标存储空间,否则,选择内部存储空间作为目标存储空间。
结合第一方面和第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,还包括:
若检测到新增的第一个外部存储空间,生成虚拟存储卡以及虚拟存储卡中存储的外部存储空间和电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件,并建立虚拟存储卡对应的虚拟存储路径和目标存储空间对应的物理存储路径之间的映射关系;或,
若检测到新增的至少一个外部存储空间且至少一个外部存储空间为非第一个外部存储空间,更新虚拟存储卡中存储的增加的至少一个外部存储空间和所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新虚拟存储卡对应的虚拟存储路径和新增至少一个外部存储空间对应的物理存储路径之间的映射关系。
结合第一方面和第一方面的第一、二种可能的实施方式,在第一方面的第三种可能的实施方式中,还包括:
若检测到至少一个外部存储空间中的任意一个被移除,根据被移除的至少一个外部存储空间更新虚拟存储卡中存储的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件;
解除虚拟存储卡对应的虚拟存储路径和移除的至少一个外部存储空间对应的物理存储路径之间的映射关系。
结合第一方面和第一方面的第一、二、三种可能的实施方式,在第一方面的第四种可能的实施方式中,接收数据写入指令之后,还包括:
判断目标写入数据的占用空间量是否满足电子设备的存储空间的存储要求;
若满足,执行根据预设规则选择所有存储空间中的至少一个作为目标存储空间的步骤;
若不满足,从与电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至目标存储设备中,目标迁移数据为已写入电子设备中的部分或全部数据。
上述技术方案中,在目标写入数据的占用空间量不满足电子设备的存储空间的存储要求,可以通过自动进行数据迁移来释放存储空间,以供目标写入数据的写入,有利于电子设备存储空间的灵活管理,提高了电子设备的存储资源利用率。
结合第一方面和第一方面的第一、二、三、四种可能的实施方式,在第一方面的第五种可能的实施方式中,还包括:
若检测到计算机连接信号,向计算机发送虚拟存储卡的驱动文件并指示计算机安装驱动文件以使计算机显示虚拟存储卡的存储信息。
结合第一方面和第一方面的第一、二、三、四、五种可能的实施方式,在第一方面的第六种可能的实施方式中,还包括:
接收数据读取指令,数据读取指令中携带目标读取数据对应的目标虚拟存储路径;
确定目标虚拟存储路径映射的目标物理存储路径;
通过目标物理存储路径读取目标读取数据。
上述技术方案,采用虚拟存储卡的形式读取目标读取数据,相比较从单独的每个存储空间中进行搜索和读取,提高了读取的效率。
结合第一方面和第一方面的第一、二、三、四、五、六种可能的实施方式,在第一方面的第七种可能的实施方式中,还包括:
接收数据删除指令,数据删除指令中携带目标删除数据对应的目标虚拟存储路径;
确定目标虚拟存储路径映射的目标物理存储路径;
通过目标物理存储路径删除目标删除数据。
本发明实施例第二方面提供了一种电子设备,包括:
接收单元,用于接收数据写入指令,数据写入指令携带目标写入数据;
选择单元,用于根据预设规则选择所有存储空间中的至少一个作为目标存储空间;
操作单元,用于在目标存储空间执行写入操作;
更新单元,用于在写入操作完成后,更新虚拟存储卡中存储的电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新虚拟存储卡对应的虚拟存储路径和目标存储空间对应的物理存储路径之间的映射关系。
本发明实施例第三方面提供了一种电子设备,包括显示器、至少一个输入设备、存储器和处理器,其中,存储器中存储一组程序,且处理器用于调用存储器中存储的程序,使得设备执行第一方面的部分或全部实施方式。
本发明实施例第四方面提供了一种电子设备上的图形用户界面,电子设备具有显示器、至少一个输入设备、存储器和用于执行保存存储器中的一个或多个程序的至少一个处理器,电子设备的所有存储空间包括内部存储空间和至少一个外部存储空间,图形用户界面包括用户可查询的虚拟存储卡图标;
用户执行对电子设备的存储信息的查询操作被检测到;
响应于检测到查询操作,虚拟存储卡上的存储信息被显示;
其中,虚拟存储卡上的存储信息包括电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件。
本发明实施例第五方面提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,当被包括显示器和多个应用程序的电子设备执行时,所述指令用于使所述本发明实施例还提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,当被包括天线和多个应用程序的电子设备执行时,所述指令用于使所述电子设备执行第一方面的部分或全部实施方式。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例中的一种电子设备的数据操作方法的流程示意图;
图2为本发明实施例中的另一种电子设备的数据操作方法的流程示意图;
图3a为本发明实施例中的一种电子设备的存储位置设置界面示意图;
图3b为本发明实施例中的一种内部存储空间和外部存储空间存储界面示意图;
图3c为本发明实施例中的一种电子设备的虚拟存储卡界面示意图;
图3d为本发明实施例中的一种电子设备的虚拟存储卡的分类存储界面示意图;
图4为本发明实施例中的一种电子设备的模块化示意图;
图5为本发明实施例中的另一种电子设备的模块化示意图;
图6为本发明实施例中的一种电子设备的结构示意图。
具体实施方式
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例中,所述电子设备可以包括用户终端如手机、电脑、移动互联网设备(Mobile Internet Device,MID)等或服务器以及其它支持外部存储空间扩展如SD卡扩展的电子设备。
请参见图1,图1为本发明的一个实施例提供的一种电子设备的数据操作方法的流程示意图。如图1所示,本发明的一个实施例提供的一种电子设备的数据操作方法可包括步骤S101~S103。
S101、接收数据写入指令,所述数据写入指令携带目标写入数据。
具体的,电子设备接收数据写入指令,所述数据写入指令携带目标写入数据。本发明实施例中,所述电子设备中可以包括一个内部物理存储器和至少一个外部物理存储器。用户可以通过电子设备的输入装置例如触屏装置输入目标写入数据,或从其它电子设备上将目标写入数据发送给所述电子设备。用户触发数据写入操作后,所述电子设备会接收到数据写入指令,所述数据写入指令携带有目标写入数据,所述目标写入数据可以是字符信息,也可以是音视频文件或文本文档等等。用户在触发数据写入操作时,可以选择相应的存储位置,若用户直接手动选择内部存储空间或者是外部存储空间如SD卡存储,则所述电子设备无需进行存储空间的自动选择,直接将目标写入数据直接写入至内部存储或外部存储空间中;若用户选择“系统自动选择”存储空间,则可以由系统根据预设规则进行自动选择,执行步骤S102和S103。
S102、根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,并在所述目标存储空间执行写入操作。
具体的,所述电子设备可以根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,并在所述目标存储空间执行写入操作。当用户确定由系统自动选择时,则电子设备可以在接收到数据写入指令后,根据预设规则自动选择目标存储空间,所述预设规则可以是根据目标写入数据的地点、安全级别、类型、占用空间量等至少一个条件选择目标存储空间,例如,目标写入数据为密码信息,安全级别较高,因此可以通过判断目标写入数据的安全级别较高确定将所述密码信息写入内部存储空间中;又如,目标写入数据为视频文件,占用空间量相对较大,为了避免电子设备因内存被占用较多而影响其系统运行速度,可将占用空间量相对较大的视频文件存储于外部存储空间中。
S103、在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
具体的,所述电子设备在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。本发明实施例中,为了保证电子设备能够对存储空间进行统一管 理,可以采用在电子设备中增加虚拟存储卡的方式,例如可以在手机操作系统的文件系统中增加一个“虚拟存储卡”的文件结构,其存储内容的实际路径为电子设备的内部存储空间和/或外部存储空间,存储内容可以包括内部存储卡的文件结构和外部SD存储卡的文件结构融合后的虚拟文件。在所述目标写入数据存储于目标存储空间之后,可以更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,例如若目标写入数据为视频文件,已写入至SD1卡中,则可以将目标写入数据汇总至视频类的虚拟文件中,并更新所述虚拟文件对应的虚拟存储路径与SD1卡之间的映射关系。
由上可见,本发明实施例可以通过接收数据写入指令,然后根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,并在所述目标存储空间执行写入操作,在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系,本发明实施例通过预设规则自动获取合适的目标存储空间,提高了电子设备存储的便捷性,并采用虚拟存储卡的方式实现对存储空间的统一管理和分配,有利于提高电子设备的存储资源利用率。
请参见图2,图2为本发明的一个实施例提供的另一种电子设备的数据操作方法的流程示意图。如图2所示,本发明的一个实施例提供的另一种电子设备的数据操作方法,可包括步骤S201~S206。
S201、接收数据写入指令,所述数据写入指令携带目标写入数据。
具体的,电子设备接收数据写入指令,所述数据写入指令携带目标写入数据。本发明实施例中,所述电子设备中可以包括一个内部物理存储器和至少一个外部物理存储器。用户可以通过电子设备的输入装置例如触屏装置输入目标写入数据,或从其它电子设备上将目标写入数据发送给所述电子设备。用户触发数据写入操作后,所述电子设备会接收到数据写入指令,所述数据写入指令携带有目标写入数据,所述目标写入数据可以是字符信息,也可以是音视频文件或文本文档等等。用户在触发数据写入操作时,可以选择相应的存储位置,若用户直接手动选择内部存储空间或者是外部存储空间如SD卡存储,则所述电子设备无需进行 存储空间的自动选择,直接将目标写入数据直接写入至内部存储或外部存储空间中;若用户选择“系统自动选择”存储空间,则可以由系统根据预设规则进行自动选择,则可以执行本发明实施例中的其它步骤。
S202、判断所述目标写入数据的占用空间量是否满足所述电子设备的存储空间的存储要求。
具体的,所述电子设备判断所述目标写入数据的占用空间量是否满足所述电子设备的存储空间的存储要求。本发明实施例中,为了保证电子设备能够对存储空间进行统一管理,可以采用在电子设备中增加虚拟存储卡的方式,例如可以在手机操作系统的文件系统中增加一个“虚拟存储卡”的文件结构,其存储内容的实际路径为电子设备的内部存储空间和/或外部存储空间,存储内容可以包括内部存储卡的文件结构和外部SD存储卡的文件结构融合后的虚拟文件。当用户采用系统自动选择存储空间时,可以获取到虚拟存储卡的总存储空间量和总剩余空间量,若所述电子设备的存储空间的存储要求为在写入目标写入数据之后,所述电子设备判断存储空间的总剩余空间量是否大于预设阈值例如10%,并可以根据判断结果确定是否需要进行存储空间中的数据迁移。若在写入目标写入数据之后,所述电子设备判断存储空间的总剩余空间量大于预设阈值,则说明所述目标写入数据可以直接进行写入,执行步骤S204,否则,需要先进行数据迁移之后再进行目标写入数据的写入操作,可执行步骤S203。
S203、若所述目标写入数据的占用空间量不满足所述电子设备的存储空间的存储要求,从与所述电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至所述目标存储设备中,所述目标迁移数据为已写入所述电子设备中的部分或全部数据。
具体的,若所述目标写入数据的占用空间量不满足所述电子设备的存储空间的存储要求,所述电子设备可以从与所述电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至所述目标存储设备中,所述目标迁移数据为已写入所述电子设备中的部分或全部数据。本发明实施例中,若所述目标写入数据的占用空间量不满足所述电子设备的存储空间的存储要求,则说明所述电子设备中的剩余存储空间无法满足所述目标写入数据的写入,因此需要通过将电子设备中的部分已写入的存储空间进行释放。例如可以在电子设备 进行联网的情况下,通过将所述电子设备中的部分或全部数据上传至云端。又如可以将所述电子设备通过WIFI热点与其它存储设备相连,然后按照预设迁移规则将所述电子设备中的存储数据迁移至其它的存储设备中。其中,预设迁移规则可以是将电子设备中的照片按照存储时间在先的先传的规则迁移至其它的存储设备,直到迁移数据的大小满足预设的要求或迁移数据之后的电子设备的剩余存储空间能够满足所述目标写入数据的存储要求。
S204、若所述目标写入数据的占用空间量满足所述电子设备的存储空间的存储要求,根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间。
具体的,若所述目标写入数据的占用空间量满足所述电子设备的存储空间的存储要求,所述电子设备根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间。本发明实施例中,若所述目标写入数据的占用空间量满足所述电子设备的存储空间的存储要求,可以根据预设规则自动选择目标存储空间。其中,预设规则可以是根据目标写入数据的地点、安全级别、类型、占用空间量等至少一个条件选择目标存储空间。例如,目标写入数据为密码信息,安全级别较高,因此可以通过判断目标写入数据的安全级别较高确定将所述密码信息写入内部存储空间中。又如,目标写入数据为视频文件,占用空间量相对较大,为了避免电子设备因内存被占用较多而影响其系统运行速度,因此可将占用空间量相对较大的视频文件存储于外部存储空间中。
可选的,若所述目标写入数据的安全级别满足预设安全阈值,选择所述内部存储空间作为目标存储空间,否则,选择所述至少一个外部存储空间作为目标存储空间。
在本发明实施例中,所述电子设备可以通过目标写入数据的安全级别来选择目标存储空间,例如目标写入数据为密码,其安全级别较高,由于内部存储更安全稳定可靠,因此可以选择内部存储空间为目标存储空间。又如,目标写入数据为缓存数据,安全级别较低,因此可以选择所述至少一个外部存储空间作为目标存储空间。可选的,上述对于目标存储空间的选择不局限于上述预设规则,也可以将其中一个外部存储空间指定为在安全级别较高时选择的目标存储空间。
可选的,若所述目标写入数据的占用空间量满足预设空间阈值,选择所述至 少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间。
在本发明实施例中,为了避免电子设备系统的顺畅运行,可以在预设规则中设置将占用空间量较大的目标写入数据写入至外部存储空间而非内部存储空间,例如,目标写入数据的占用空间量为300M,超过了预设空间阈值200M,则可以根据预设规则选择其中一个外部存储空间作为目标存储空间。
可选的,若所述目标写入数据为可分离数据且占用空间量大于任意一个存储空间,选择所述内部空间和/或所述至少一个外部空间作为目标存储空间。
本发明实施例中,在所述目标写入数据占用空间量较大的情况下,或者是当任意一个存储空间无法存储目标写入数据,而总剩余空间存储容量能够满足于目标写入数据写入的情况下,可以判断所述目标写入数据是否为可分离数据,即可以一部分存储于内部存储空间中,另一部分存储于外部存储空间中,例如,当所述目标写入数据为包含文本文档和视频文件,可以根据各个存储空间的剩余空间存储容量的情况选择将文本文档和视频文件分别存储于内部存储空间和外部存储空间中,也可以是存储于两个不同的外部存储空间中。
可选的,若所述目标写入数据的存储地点为安全存储区域,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间。
本发明实施例中,假设用户携带电子设备在私人场所存储目标写入数据,可以选择至少一个外部空间作为目标存储空间,而如果在公共场所,则可以将当前的目标写入数据直接写入系统内存中。
上述可选的任意步骤可替换S204,也可以一个或多个步骤相结合进行选择,例如可以根据所述目标写入数据的安全级别和存储区域,来确定目标存储空间。
S205、在所述目标存储空间执行写入操作。
S206、在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
步骤S206的详细解释请参考图1实施例中的步骤S103的具体解释,在此不再赘述。
进一步可选的,若检测到新增的第一个外部存储空间,生成虚拟存储卡以及所述虚拟存储卡中存储的所述外部存储空间和所述电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件,并建立所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
电子设备初始时只存在内部存储空间,当用户首次将SD卡插入所述电子设备中之后,所述电子设备可以检测到新增的第一个外部存储空间,并生成虚拟存储卡。新增的SD卡和内部存储空间中相同文件类型的文件如视频、音频、文档等可以进行汇总融合,形成多个虚拟文件,并可以分别建立所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系,例如可以建立虚拟存储卡中的视频存储路径与SD1卡对应的物理存储路径之间的映射关系。
进一步可选的,若检测到新增的至少一个外部存储空间且所述至少一个外部存储空间为非第一个外部存储空间,更新虚拟存储卡中存储的所述增加的至少一个外部存储空间和所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述新增至少一个外部存储空间对应的物理存储路径之间的映射关系。
电子设备已存在内部存储空间和外部存储空间,用户增加新的外部存储空间如将SD2卡插入所述电子设备中之后,虚拟存储卡中源虚拟文件需要结合新的外部存储空间中的存储文件进行更新,例如SD2卡中有300M的视频文件,则可以将原来的虚拟视频文件总占用空间量增加300M,并将虚拟存储卡中的总存储容量增加300M,并可以建立虚拟存储卡中存储视频的虚拟存储路径与SD2卡对应的物理存储路径之间的映射关系。
进一步可选的,若检测到所述至少一个外部存储空间中的任意一个被移除,根据所述被移除的至少一个外部存储空间更新虚拟存储卡中存储的所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件;解除所述虚拟存储卡对应的虚拟存储路径和所述移除的至少一个外部存储空间对应的物理存储路径之间的映射关系。
若电子设备中存在内部存储空间以及SD1卡和SD2卡两个外部存储空间,若用户拔出了SD1卡,则电子设备检测到SD1卡被移除后,可以在虚拟存储卡中存 储的虚拟文件中删除SD卡的相关信息,如SD1卡容量为1G中存储有100M的文档信息内容,则可以将虚拟存储卡的总存储容量减少1G,并将剩余空间存储容量减少900M,然后将虚拟文档文件的总存储容量减少100M。然后可以解除SD1卡对应的物理存储路径与虚拟存储卡的虚拟存储路径之间的映射关系。
进一步可选的,若检测到计算机连接信号,向所述计算机发送所述虚拟存储卡的驱动文件并指示所述计算机安装所述驱动文件以使所述计算机显示所述虚拟存储卡的存储信息。
检测到电子设备通过USB接口等方式连接到计算机中,电子设备可以自动向所述计算机发送虚拟存储卡的驱动文件,以使计算机自动安装所述驱动文件,当驱动文件安装成功之后,计算机界面上可以显示出“虚拟存储卡”图标,打开后可以看到虚拟存储卡对应的响应虚拟文件,从而使用户能够方便地执行文件的拷入、拷出以及其它的文件管理操作。
进一步可选的,接收数据读取指令,所述数据读取指令中携带目标读取数据对应的目标虚拟存储路径;确定所述目标虚拟存储路径映射的目标物理存储路径;通过所述目标物理存储路径读取所述目标读取数据。
用户设备接收到数据读取指令,可以根据所述数据读取指令获得需要读取的目标读取数据对应的目标虚拟存储路径,例如用户点击进入“虚拟存储卡”并进一步点击视频图标,该索引目录为目标虚拟存储路径,然后可以根据所述目标虚拟存储路径获得物理存储路径,即从内部存储空间或外部存储空间中读取所述目标读取数据。
进一步可选的,接收数据删除指令,所述数据删除指令中携带目标删除数据对应的目标虚拟存储路径;确定所述目标虚拟存储路径映射的目标物理存储路径;通过所述目标物理存储路径删除所述目标删除数据。
用户设备接收到数据删除指令,可以根据所述数据删除指令获得需要删除的目标删除数据对应的目标虚拟存储路径,然后获得物理存储路径,并将该内部存储空间或外部存储空间中存储的所述目标读取数据进行删除。
可以看出,本发明实施例可以通过接收数据写入指令,然后所述目标写入数据的占用空间量是否满足所述电子设备的存储空间的存储要求,确定是否按照预设规则进行目标存储空间选择,或先进行数据迁移再进行目标存储空间选择,在 写入操作完成之后,更新虚拟存储卡中存储的虚拟文件以及虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系,通过目标存储空间的自动选择,并通过数据迁移调整剩余空间存储容量,提高了电子设备的便捷性和灵活性,采用虚拟存储卡的方式实现对存储空间的统一管理和分配,有利于提高电子设备的存储资源利用率。
请参见图3a~3d,图3a~3d分别为本发明的一个电子设备上的存储位置设置界面示意图、内部存储空间和外部存储空间存储界面、虚拟存储卡界面示意图和虚拟存储卡的分类存储界面示意图。
用户执行对所述电子设备的存储信息的查询操作被检测到;响应于检测到所述查询操作,虚拟存储卡上的存储信息被显示;其中,所述虚拟存储卡上的存储信息包括所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件。
具体的,当用户欲对所述电子设备的存储信息进行查询操作时,首先可以通过点击存储位置设置界面来选择相应的存储位置,如图3a中的界面包括三个按钮:内部存储11、SD卡12和系统自动选择13,若用户直接手动选择内部存储11或者是SD卡12,则所述电子设备无需进行存储空间的自动选择,可根据选择将目标写入数据直接写入至内部存储空间或外部存储空间中。当用户点击内部存储11或SD卡12,则可以弹出如图3b所示的内部存储空间和外部存储空间存储界面,该界面的内部存储空间界面和外部存储空间存储界面为独立的界面,可以单独弹出,其中,内部存储空间可以将存储的文件划分成应用程序类,图片视频类,音乐、铃声、播客等类,下载内容类,缓存数据类以及其他类等进行显示,SD卡存储可以显示总存储空间量和剩余存储空间量,也可以将存储的文件进行类别划分后显示。
若用户点击如图3a中的系统自动选择13,则可以由系统根据预设规则进行自动选择,可显示出图3c所示的界面,所述3c为虚拟存储卡界面示意图,其中,虚拟存储卡图标14包含内部存储空间和外部存储空间的总存储空间15和总剩余存储空间16,点击虚拟存储卡的图标可进一步对存储情况进行查询,可弹出如图3d所示的虚拟存储卡的分类存储界面,该界面中可以将电子设备中所有存储空间, 包括内部存储空间和外部存储空间的文件进行汇总融合生成虚拟文件,可显示出应用程序类,图片视频类等多个类别的存储信息。
可选的,用户执行对第一个外部存储空间的增加操作被检测到;响应于检测到所述空间增加操作,虚拟存储卡对应的虚拟存储路径与所述所有存储空间对应的物理存储路径的映射关系被建立,且所述虚拟存储卡上的存储信息被显示;其中,所述虚拟存储卡上的存储信息包括所述第一个外部存储空间和所述电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件。
电子设备在初始时只存在内部存储空间,当用户第一次扩展外部存储空间如插入一个SD卡时,电子设备会检测到外部存储空间的增加操作,并可响应该空间增加操作,虚拟存储卡对应的虚拟存储路径与所述所有存储空间对应的物理存储路径的映射关系会被建立,原有的内部存储空间的存储信息将不再显示,图形用户界面会生成一个虚拟存储卡的图标并显示,如图3c所示的界面,进一步点击虚拟存储卡图标,可以显示出该虚拟存储卡的存储信息,其中,该虚拟存储卡的存储信息包括内部存储空间和新增的SD卡的所有文件汇总融合后的虚拟文件,如图3d所示的界面。
可选的,用户执行对至少一个外部存储空间的移除操作被检测到;响应于检测到所述空间移除操作,虚拟存储卡对应的虚拟存储路径与所述所有存储空间对应的物理存储路径的映射关系被更新,且所述虚拟存储卡上更新的存储信息被显示;其中,所述虚拟存储卡上更新的存储信息包括所述电子设备的所有存储空间中除所述移除的至少一个外部存储空间的存储空间中相同文件类型的文件汇总融合后的虚拟文件。
当用户移除一个SD卡时,电子设备会检测到外部存储空间的移除操作,并可响应该空间移除操作,虚拟存储卡对应的虚拟存储路径与所述所有存储空间对应的物理存储路径的映射关系会被更新,原有的虚拟存储文件将被更新显示,如图3c所示的界面中的总存储空间量和剩余存储空间量将会根据被移除的SD卡的存储空间以及存储于原SD卡上的文件的占用空间量进行调整。进一步点击虚拟存储卡图标后,可以显示出更新后的虚拟存储卡的存储信息。
本发明实施例采用“虚拟存储卡”的图形用户界面,可以方便与用户对存储信息进行读写、查询和存储空间的管理,将多个存储空间的存储信息进行汇总融 合,便于用户读取。
请参见图4,图4为本发明的一个实施例提供的一种电子设备模块化示意图。如图4所示,所述电子设备可以包括:接收单元101、选择单元102、操作单元103和更新单元104,其中:
接收单元101,用于接收数据写入指令,所述数据写入指令携带目标写入数据。
选择单元102,用于根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间。
操作单元103,用于在所述目标存储空间执行写入操作。
更新单元104,用于在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
上述各单元的具体解释请参见图1所示的方法实施例,在此不再赘述。
请参见图5,图5为本发明的另一个实施例提供的一种电子设备模块化示意图。如图5所示,所述电子设备可以包括:接收单元101、选择单元102、操作单元103、更新单元104、新增单元105、解除单元106、判断单元107、数据迁移单元108、发送单元109、安装单元110、确定单元111、读取单元112和删除单元113,其中:
接收单元101,用于接收数据写入指令,所述数据写入指令携带目标写入数据。
选择单元102,用于根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间。
可选的,选择单元102,具体用于若所述目标写入数据的安全级别满足预设安全阈值,选择所述内部存储空间作为目标存储空间,否则,选择所述至少一个外部存储空间作为目标存储空间;或,若所述目标写入数据的占用空间量满足预设空间阈值,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所 述内部存储空间作为目标存储空间;或,若所述目标写入数据为可分离数据且占用空间量大于任意一个存储空间,选择所述内部空间和/或所述至少一个外部空间作为目标存储空间;或,若所述目标写入数据的存储地点为安全存储区域,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间。
操作单元103,用于在所述目标存储空间执行写入操作。
更新单元104,用于在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
新增单元105,用于若检测到新增的第一个外部存储空间,生成虚拟存储卡以及所述虚拟存储卡中存储的所述外部存储空间和所述电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件,并建立所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系;或,若检测到新增的至少一个外部存储空间且所述至少一个外部存储空间为非第一个外部存储空间,更新虚拟存储卡中存储的所述增加的至少一个外部存储空间和所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述新增至少一个外部存储空间对应的物理存储路径之间的映射关系。
所述更新单元104,还用于若检测到所述至少一个外部存储空间中的任意一个被移除,根据所述被移除的至少一个外部存储空间更新虚拟存储卡中存储的所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件;
解除单元106,用于解除所述虚拟存储卡对应的虚拟存储路径和所述移除的至少一个外部存储空间对应的物理存储路径之间的映射关系。
判断单元107,用于判断所述目标写入数据的占用空间量是否满足所述电子设备的存储空间的存储要求;
所述选择单元102,还用于若所述目标写入数据的占用空间量满足所述电子设备的存储空间的存储要求,根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间;
数据迁移单元108,用于若所述目标写入数据的占用空间量不满足所述电子设备的存储空间的存储要求,从与所述电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至所述目标存储设备中,所述目标迁移数据为已写入所述电子设备中的部分或全部数据。
发送单元109,用于若检测到计算机连接信号,向所述计算机发送所述虚拟存储卡的驱动文件;
安装单元110,用于指示所述计算机安装所述驱动文件以使所述计算机显示所述虚拟存储卡的存储信息。
所述接收单元101,用于接收数据读取指令,所述数据读取指令中携带目标读取数据对应的目标虚拟存储路径;
确定单元111,用于确定所述目标虚拟存储路径映射的目标物理存储路径;
读取单元112,用于通过所述目标物理存储路径读取所述目标读取数据。
所述接收单元101,用于接收数据删除指令,所述数据删除指令中携带目标删除数据对应的目标虚拟存储路径;
所述确定单元111,还用于确定所述目标虚拟存储路径映射的目标物理存储路径;
删除单元113,用于通过所述目标物理存储路径删除所述目标删除数据。
上述实施例中的各单元具体解释请参见图2所述的方法实施例,在此不再赘述。
请参见图6,图6为本发明的一个实施例中涉及的电子设备进行描述。请参阅图6,图6是本发明实施例公开的一种电子设备1000的结构示意图。如图6所示,所述电子设备可以包括输出设备1001如显示器,至少一个输入设备1002如键盘、鼠标,存储器1003,处理器1004如CPU,至少一个通信总线1005。其中,存储器1003可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。通信总线1005用于实现这些组件之间的连接通信。处理器用于执行和保存所述存储器中的一个或多个程序。
具体地,处理器1004用于调用存储器1003中存储的程序,执行以下操作:
接收数据写入指令,所述数据写入指令携带目标写入数据;
根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,并在所述目标存储空间执行写入操作;
在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
在一个实施例中,所述根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,包括:
若所述目标写入数据的安全级别满足预设安全阈值,选择所述内部存储空间作为目标存储空间,否则,选择所述至少一个外部存储空间作为目标存储空间;或,若所述目标写入数据的占用空间量满足预设空间阈值,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间;或,若所述目标写入数据为可分离数据且占用空间量大于任意一个存储空间,选择所述内部空间和/或所述至少一个外部空间作为目标存储空间;或,若所述目标写入数据的存储地点为安全存储区域,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间。
在一个实施例中,若检测到新增的第一个外部存储空间,生成虚拟存储卡以及所述虚拟存储卡中存储的所述外部存储空间和所述电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件,并建立所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系;或,若检测到新增的至少一个外部存储空间且所述至少一个外部存储空间为非第一个外部存储空间,更新虚拟存储卡中存储的所述增加的至少一个外部存储空间和所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述新增至少一个外部存储空间对应的物理存储路径之间的映射关系。
在一个实施例中,若检测到所述至少一个外部存储空间中的任意一个被移除,根据所述被移除的至少一个外部存储空间更新虚拟存储卡中存储的所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件;解除所述虚拟存储卡对应的虚拟存储路径和所述移除的至少一个外部存储空间对应的物理存储路径之间的映射关系。
在一个实施例中,所述接收数据写入指令之后,还包括:
判断所述目标写入数据的占用空间量是否满足所述电子设备的存储空间的存储要求;若满足,执行所述根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间的步骤;若不满足,从与所述电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至所述目标存储设备中,所述目标迁移数据为已写入所述电子设备中的部分或全部数据。
在一个实施例中,若检测到计算机连接信号,向所述计算机发送所述虚拟存储卡的驱动文件并指示所述计算机安装所述驱动文件以使所述计算机显示所述虚拟存储卡的存储信息。
在一个实施例中,还包括:接收数据读取指令,所述数据读取指令中携带目标读取数据对应的目标虚拟存储路径;确定所述目标虚拟存储路径映射的目标物理存储路径;通过所述目标物理存储路径读取所述目标读取数据。
在一个实施例中,还包括:接收数据删除指令,所述数据删除指令中携带目标删除数据对应的目标虚拟存储路径;确定所述目标虚拟存储路径映射的目标物理存储路径;通过所述目标物理存储路径删除所述目标删除数据。
上述实施例中的具体解释请参见图1~2所述的方法实施例,在此不再赘述。
本发明实施例还提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,当被包括显示器和多个应用程序的电子设备执行时,所述指令用于使所述本发明实施例还提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,当被包括显示器和多个应用程序的电子设备执行时,所述指令用于使所述电子设备可以执行上述图1~图2所述的方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (21)

  1. 一种电子设备的数据操作方法,应用于电子设备上,所述电子设备的所有存储空间包括内部存储空间和至少一个外部存储空间,其特征在于,所述方法包括:
    接收数据写入指令,所述数据写入指令携带目标写入数据;
    根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,并在所述目标存储空间执行写入操作;
    在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
  2. 根据权利要求1所述的方法,其特征在于,所述根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间,包括:
    若所述目标写入数据的安全级别满足预设安全阈值,选择所述内部存储空间作为目标存储空间,否则,选择所述至少一个外部存储空间作为目标存储空间;或,
    若所述目标写入数据的占用空间量满足预设空间阈值,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间;或,
    若所述目标写入数据为可分离数据且占用空间量大于任意一个存储空间,选择所述内部空间和/或所述至少一个外部空间作为目标存储空间;或,
    若所述目标写入数据的存储地点为安全存储区域,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    若检测到新增的第一个外部存储空间,生成虚拟存储卡以及所述虚拟存储卡中存储的所述外部存储空间和所述电子设备的内部存储空间中相同文件类型的 文件汇总融合后的虚拟文件,并建立所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系;或,
    若检测到新增的至少一个外部存储空间且所述至少一个外部存储空间为非第一个外部存储空间,更新虚拟存储卡中存储的所述增加的至少一个外部存储空间和所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述新增至少一个外部存储空间对应的物理存储路径之间的映射关系。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    若检测到所述至少一个外部存储空间中的任意一个被移除,根据所述被移除的至少一个外部存储空间更新虚拟存储卡中存储的所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件;
    解除所述虚拟存储卡对应的虚拟存储路径和所述移除的至少一个外部存储空间对应的物理存储路径之间的映射关系。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述接收数据写入指令之后,还包括:
    判断所述目标写入数据的占用空间量是否满足所述电子设备的存储空间的存储要求;
    若满足,执行所述根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间的步骤;
    若不满足,从与所述电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至所述目标存储设备中,所述目标迁移数据为已写入所述电子设备中的部分或全部数据。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    若检测到计算机连接信号,向所述计算机发送所述虚拟存储卡的驱动文件并指示所述计算机安装所述驱动文件以使所述计算机显示所述虚拟存储卡的存储信息。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    接收数据读取指令,所述数据读取指令中携带目标读取数据对应的目标虚拟存储路径;
    确定所述目标虚拟存储路径映射的目标物理存储路径;
    通过所述目标物理存储路径读取所述目标读取数据。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    接收数据删除指令,所述数据删除指令中携带目标删除数据对应的目标虚拟存储路径;
    确定所述目标虚拟存储路径映射的目标物理存储路径;
    通过所述目标物理存储路径删除所述目标删除数据。
  9. 一种电子设备,其特征在于,所述电子设备包括:
    接收单元,用于接收数据写入指令,所述数据写入指令携带目标写入数据;
    选择单元,用于根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间;
    操作单元,用于在所述目标存储空间执行写入操作;
    更新单元,用于在写入操作完成后,更新虚拟存储卡中存储的所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系。
  10. 根据权利要求9所述的电子设备,其特征在于,所述选择单元具体用于:
    若所述目标写入数据的安全级别满足预设安全阈值,选择所述内部存储空间作为目标存储空间,否则,选择所述至少一个外部存储空间作为目标存储空间;或,
    若所述目标写入数据的占用空间量满足预设空间阈值,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间; 或,
    若所述目标写入数据为可分离数据且占用空间量大于任意一个存储空间,选择所述内部空间和/或所述至少一个外部空间作为目标存储空间;或,
    若所述目标写入数据的存储地点为安全存储区域,选择所述至少一个外部存储空间作为目标存储空间,否则,选择所述内部存储空间作为目标存储空间。
  11. 根据权利要求9或10所述的电子设备,其特征在于,所述电子设备还包括新增单元,所述新增单元用于:
    若检测到新增的第一个外部存储空间,生成虚拟存储卡以及所述虚拟存储卡中存储的所述外部存储空间和所述电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件,并建立所述虚拟存储卡对应的虚拟存储路径和所述目标存储空间对应的物理存储路径之间的映射关系;或,
    若检测到新增的至少一个外部存储空间且所述至少一个外部存储空间为非第一个外部存储空间,更新虚拟存储卡中存储的所述增加的至少一个外部存储空间和所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件,并更新所述虚拟存储卡对应的虚拟存储路径和所述新增至少一个外部存储空间对应的物理存储路径之间的映射关系。
  12. 根据权利要求9-11任一项所述的电子设备,其特征在于,所述电子设备还包括解除单元:
    所述更新单元,还用于若检测到所述至少一个外部存储空间中的任意一个被移除,根据所述被移除的至少一个外部存储空间更新虚拟存储卡中存储的所述所有存储空间中相同文件类型的文件汇总融合后的虚拟文件;
    所述解除单元,用于解除所述虚拟存储卡对应的虚拟存储路径和所述移除的至少一个外部存储空间对应的物理存储路径之间的映射关系。
  13. 根据权利要求9-12任一项所述的电子设备,其特征在于,所述电子设备还包括判断单元和数据迁移单元:
    所述判断单元,用于判断所述目标写入数据的占用空间量是否满足所述电子 设备的存储空间的存储要求;
    所述选择单元,还用于若所述目标写入数据的占用空间量满足所述电子设备的存储空间的存储要求,根据预设规则选择所述所有存储空间中的至少一个作为目标存储空间;
    所述数据迁移单元,用于若所述目标写入数据的占用空间量不满足所述电子设备的存储空间的存储要求,从与所述电子设备已进行通信连接的至少一个存储设备中选择目标存储设备,并将目标迁移数据迁移至所述目标存储设备中,所述目标迁移数据为已写入所述电子设备中的部分或全部数据。
  14. 根据权利要求9-13任一项所述的电子设备,其特征在于,所述电子设备还包括:
    发送单元,用于若检测到计算机连接信号,向所述计算机发送所述虚拟存储卡的驱动文件;
    安装单元,用于指示所述计算机安装所述驱动文件以使所述计算机显示所述虚拟存储卡的存储信息。
  15. 根据权利要求9-14任一项所述的电子设备,其特征在于,所述电子设备还包括确定单元和读取单元:
    所述接收单元,用于接收数据读取指令,所述数据读取指令中携带目标读取数据对应的目标虚拟存储路径;
    所述确定单元,用于确定所述目标虚拟存储路径映射的目标物理存储路径;
    所述读取单元,用于通过所述目标物理存储路径读取所述目标读取数据。
  16. 根据权利要求9-15任一项所述的电子设备,其特征在于,所述电子设备还包括确定单元和删除单元:
    所述接收单元,用于接收数据删除指令,所述数据删除指令中携带目标删除数据对应的目标虚拟存储路径;
    所述确定单元,用于确定所述目标虚拟存储路径映射的目标物理存储路径;
    所述删除单元,用于通过所述目标物理存储路径删除所述目标删除数据。
  17. 一种电子设备,其特征在于,所述电子设备包括显示器、至少一个输入设备、存储器和处理器,其中,所述存储器中存储一组程序,且所述处理器用于调用所述存储器中存储的程序,使得所述设备执行如权利要求1-8任一所述的方法。
  18. 一种电子设备上的图形用户界面,其特征在于,所述电子设备具有显示器、至少一个输入设备、存储器和用于执行保存所述存储器中的一个或多个程序的至少一个处理器,所述电子设备的所有存储空间包括内部存储空间和至少一个外部存储空间,所述图形用户界面包括用户可查询的虚拟存储卡图标;
    用户执行对所述电子设备的存储信息的查询操作被检测到;
    响应于检测到所述查询操作,虚拟存储卡上的存储信息被显示;
    其中,所述虚拟存储卡上的存储信息包括所述电子设备的所有存储空间中相同文件类型的文件汇总融合后的虚拟文件。
  19. 根据权利要求18所述的图形用户界面,其特征在于,所述用户执行对所述电子设备的存储信息的查询操作被检测到之前,
    用户执行对第一个外部存储空间的增加操作被检测到;
    响应于检测到所述空间增加操作,虚拟存储卡对应的虚拟存储路径与所述所有存储空间对应的物理存储路径的映射关系被建立,且所述虚拟存储卡上的存储信息被显示;
    其中,所述虚拟存储卡上的存储信息包括所述第一个外部存储空间和所述电子设备的内部存储空间中相同文件类型的文件汇总融合后的虚拟文件。
  20. 根据权利要求18或19所述的图形用户界面,其特征在于,所述用户执行对所述电子设备的存储信息的查询操作被检测到之前,
    用户执行对至少一个外部存储空间的移除操作被检测到;
    响应于检测到所述空间移除操作,虚拟存储卡对应的虚拟存储路径与所述所有存储空间对应的物理存储路径的映射关系被更新,且所述虚拟存储卡上更新的 存储信息被显示;
    其中,所述虚拟存储卡上更新的存储信息包括所述电子设备的所有存储空间中除所述移除的至少一个外部存储空间的存储空间中相同文件类型的文件汇总融合后的虚拟文件。
  21. 根据权利要求18-20任一项所述的图形用户界面,其特征在于,所述用户执行对所述电子设备的存储信息的查询操作被检测到之前,
    用户执行对目标数据的删除操作被检测到;
    响应于检测到所述目标数据的删除操作,虚拟存储卡上更新的存储信息被显示;
    其中,所述虚拟存储卡上更新的存储信息包括所述电子设备的所有存储空间中除目标数据之外的相同文件类型的文件汇总融合后的虚拟文件。
PCT/CN2016/087842 2016-06-30 2016-06-30 一种电子设备的数据操作方法及电子设备 WO2018000300A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201680035461.XA CN107835986B (zh) 2016-06-30 2016-06-30 一种电子设备的数据操作方法及电子设备
US16/314,420 US10877885B2 (en) 2016-06-30 2016-06-30 Electronic device data operation method and electronic device for improved electronic device storage
PCT/CN2016/087842 WO2018000300A1 (zh) 2016-06-30 2016-06-30 一种电子设备的数据操作方法及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/087842 WO2018000300A1 (zh) 2016-06-30 2016-06-30 一种电子设备的数据操作方法及电子设备

Publications (1)

Publication Number Publication Date
WO2018000300A1 true WO2018000300A1 (zh) 2018-01-04

Family

ID=60785645

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087842 WO2018000300A1 (zh) 2016-06-30 2016-06-30 一种电子设备的数据操作方法及电子设备

Country Status (3)

Country Link
US (1) US10877885B2 (zh)
CN (1) CN107835986B (zh)
WO (1) WO2018000300A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782144A (zh) * 2020-06-23 2020-10-16 上海传英信息技术有限公司 智能终端、数据存储方法及计算机可读存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658753B (zh) * 2016-09-14 2020-01-17 Oppo广东移动通信有限公司 一种数据迁移方法及终端设备
CN111831620B (zh) * 2019-04-16 2024-04-19 伊姆西Ip控股有限责任公司 用于存储管理的方法、设备和计算机程序产品
CN111680018A (zh) * 2020-04-26 2020-09-18 泰康保险集团股份有限公司 响应请求的方法、装置、设备及可读存储介质
CN116049096B (zh) * 2022-05-05 2024-04-16 荣耀终端有限公司 一种数据迁移方法、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169459A (zh) * 2010-11-29 2011-08-31 北京握奇数据系统有限公司 一种访问数据的方法、装置和智能卡
CN102622189A (zh) * 2011-12-31 2012-08-01 成都市华为赛门铁克科技有限公司 存储虚拟化的装置、数据存储方法及系统
CN103440208A (zh) * 2013-08-12 2013-12-11 华为技术有限公司 一种数据存储的方法及装置
CN103677674A (zh) * 2013-12-27 2014-03-26 华为技术有限公司 一种数据处理方法及装置

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI240861B (en) * 2002-01-11 2005-10-01 Integrated Circuit Solution In Data access method and architecture of flash memory
CN1293477C (zh) * 2002-04-03 2007-01-03 鲍尔凯斯特公司 为计算机和存储资源的管理使用分离的映像
CN100542341C (zh) * 2005-08-12 2009-09-16 深圳华为通信技术有限公司 实现移动终端间数据共享的方法和设备
US8090718B2 (en) * 2008-04-17 2012-01-03 Research In Motion Limited Methods and apparatus for improving backward seek performance for multimedia files
CN101938523A (zh) * 2010-09-16 2011-01-05 华中科技大学 一种iSCSI与FCP协议融合方法及其在容灾中的应用
US20120182939A1 (en) * 2011-01-14 2012-07-19 Qualcomm Incorporated Telehealth wireless communication hub and service platform system
JP2013017058A (ja) * 2011-07-04 2013-01-24 Canon Inc 携帯端末、設定方法、及びプログラム
CN102646042B (zh) 2012-02-28 2014-12-03 华为终端有限公司 一种应用程序数据存储的方法及终端设备
CN103425436B (zh) * 2012-05-21 2019-11-26 联想(北京)有限公司 终端设备以及虚拟存储单元管理方法
KR20140028454A (ko) * 2012-08-29 2014-03-10 삼성전자주식회사 휴대 단말기의 데이터 저장 방법 및 시스템
KR20140033964A (ko) * 2012-09-11 2014-03-19 삼성전자주식회사 단말기의 데이터 저장장치 및 방법
CN103853670A (zh) * 2012-11-28 2014-06-11 联想(北京)有限公司 一种信息处理方法及电子设备
CN103905530A (zh) * 2014-03-11 2014-07-02 浪潮集团山东通用软件有限公司 一种高性能全局负载均衡的分布式数据库数据路由方法
US9823846B2 (en) * 2014-08-20 2017-11-21 Qualcomm Incorporated Systems and methods for expanding memory for a system on chip
CN104283960B (zh) 2014-10-15 2018-11-20 福建亿榕信息技术有限公司 实现异构网络存储的虚拟化整合及分级管理的系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169459A (zh) * 2010-11-29 2011-08-31 北京握奇数据系统有限公司 一种访问数据的方法、装置和智能卡
CN102622189A (zh) * 2011-12-31 2012-08-01 成都市华为赛门铁克科技有限公司 存储虚拟化的装置、数据存储方法及系统
CN103440208A (zh) * 2013-08-12 2013-12-11 华为技术有限公司 一种数据存储的方法及装置
CN103677674A (zh) * 2013-12-27 2014-03-26 华为技术有限公司 一种数据处理方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782144A (zh) * 2020-06-23 2020-10-16 上海传英信息技术有限公司 智能终端、数据存储方法及计算机可读存储介质

Also Published As

Publication number Publication date
CN107835986B (zh) 2021-04-20
US10877885B2 (en) 2020-12-29
US20190227930A1 (en) 2019-07-25
CN107835986A (zh) 2018-03-23

Similar Documents

Publication Publication Date Title
US10841511B1 (en) Electronic device and method for image processing
US10467025B2 (en) Managing delivery of code and dependent data using application containers
WO2018000300A1 (zh) 一种电子设备的数据操作方法及电子设备
US10042681B2 (en) Systems and methods for managing navigation among applications
US10498698B2 (en) System for remotely controlling electronic device and method of operating the same
JP5955870B2 (ja) 仮想ディスクの最適圧縮のための方法、コンピュータ可読記憶媒体及びシステム
JP6475256B2 (ja) コンピュータ、制御デバイス及びデータ処理方法
KR20140125675A (ko) 앱 아이콘을 관리하는 방법, 장치 및 기록매체
JP2012185838A (ja) 豊富なドラッグドロップユーザインターフェース
WO2021098267A1 (zh) 一种磁盘处理的方法、系统、设备及可读存储介质
US20110231424A1 (en) Method and system for automated file aggregation on a storage device
WO2018018505A1 (zh) 一种不常用数据的识别方法和终端
US11232066B2 (en) Method for data migration and terminal
CN110520844A (zh) 云管理平台、虚拟机管理方法及其系统
CN114270315A (zh) 应用的水合
CN105279164B (zh) 一种基于ios系统的文件处理方法及装置
WO2023142763A1 (zh) 一种应用间信息的共享方法及终端
US20140258347A1 (en) Grouping files for optimized file operations
TWI497414B (zh) 檔案執行方法及系統
KR20220021787A (ko) 컨텐츠 박스 제공 방법 및 사용자 단말
US20110106861A1 (en) Interface Techniques Providing Contiguous Storage For Files
CN113806295B (zh) 一种文件迁移方法、系统、设备及计算机可读存储介质
WO2023198103A1 (zh) 进程间通信方法和电子设备
CN116934570A (zh) 一种应用程序页面的图像处理方法、装置及电子设备
CN114416644A (zh) 电子设备和文件访问方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16906701

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906701

Country of ref document: EP

Kind code of ref document: A1