CN117435134A - Space management method, device, equipment and medium of ESIM card - Google Patents

Space management method, device, equipment and medium of ESIM card Download PDF

Info

Publication number
CN117435134A
CN117435134A CN202311396743.0A CN202311396743A CN117435134A CN 117435134 A CN117435134 A CN 117435134A CN 202311396743 A CN202311396743 A CN 202311396743A CN 117435134 A CN117435134 A CN 117435134A
Authority
CN
China
Prior art keywords
management table
storage
information management
component
flash memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311396743.0A
Other languages
Chinese (zh)
Inventor
孙阳阳
王海涛
裴伯硙
李佳俊
衣莉莉
曹龙涛
张立星
韩梦梦
孙森田
刘觅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicom Vsens Telecommunications Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Vsens Telecommunications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Vsens Telecommunications Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311396743.0A priority Critical patent/CN117435134A/en
Publication of CN117435134A publication Critical patent/CN117435134A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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/0608Saving storage space on storage 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/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage 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/0638Organizing or formatting or addressing of data
    • 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/0644Management of space entities, e.g. partitions, extents, pools
    • 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/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • 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/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a space management method, device, equipment and medium of an ESIM card. Comprising the following steps: determining storage addresses and storage capacities of components in a user configuration file of the ESIM card in a FLASH memory, wherein the user configuration file comprises one or more components; an information management table of a user configuration file is established in a RAM memory, wherein the information management table comprises a storage address and a storage capacity; and installing the components in the FLASH memory according to the information management table, and synchronizing the information management table into the FLASH memory. By the method, the speed of downloading and installing the user configuration file is improved, the problem of failure caused by low processing speed in the downloading and installing process is avoided, the dynamic management of the ESIM card storage space is realized, and the space management performance is effectively improved.

Description

Space management method, device, equipment and medium of ESIM card
Technical Field
The present invention relates to the field of computer data storage, and in particular, to a space management method, apparatus, device, and medium for an ESIM card.
Background
An Embedded-SIM (ESIM) is a programmable SIM card, which is different from a traditional physical subscriber identity module (Subscriber Identity Module, SIM) that needs to be inserted into a device for use, and is built in the device, and through software configuration and remote management, ESIM card codes and user data are stored in a FLASH memory, so that functions of downloading, installing, deleting and the like after an operator profile (profile) can be performed.
In the prior art, during the downloading, installation and deletion of user configuration files, the ESIM only sequentially completes the space allocation and recovery of each file and application, and the original deletion process also needs to search the FLASH memory for the position of each file and application to be deleted, and then recalculate the recovery space.
However, the conventional space management method has a problem that the processing effect on the FLASH memory space is poor.
Disclosure of Invention
The application provides a space management method, device, equipment and medium of an ESIM card, which are used for solving the problem that the existing space management method has poor processing effect on FLASH storage space.
In a first aspect, the present application provides a method for space management of an ESIM card, where the method includes:
determining storage addresses and storage capacities of components in a user configuration file of the ESIM card in a FLASH memory, wherein the user configuration file comprises one or more components;
an information management table of a user configuration file is established in a RAM memory, wherein the information management table comprises a storage address and a storage capacity;
and installing the components in the FLASH memory according to the information management table, and synchronizing the information management table into the FLASH memory.
In this embodiment of the present application, before determining the storage address and the storage capacity of the component in the FLASH memory in the user profile of the ESIM card, the method further includes:
determining scattered unoccupied storage space in a FLASH memory;
and (3) carrying out space concentration on the dispersed unoccupied storage spaces to obtain continuous unoccupied storage spaces meeting the storage capacity.
In the embodiment of the application, determining the storage address and the storage capacity of the component in the user configuration file of the ESIM card in the FLASH memory comprises the following steps:
determining continuous unoccupied storage space in a FLASH memory;
determining a starting storage address and an ending storage address of each component according to the continuous unoccupied storage space and the storage capacity of each component;
and determining the storage addresses of the components in the continuous unoccupied storage space according to the starting storage address and the ending storage address.
In the embodiment of the application, the components comprise a file system component and an application component, and the information management table of the user configuration file is built in the RAM memory, and comprises:
determining a file system component, a storage address and a storage capacity of an application component, and a file system component partition and an application component partition in an information management table;
writing the storage address and the storage capacity of the file system component into the file system component partition to obtain a target file system component partition;
writing the storage address and the storage capacity of the application component into the application component partition to obtain a target application component partition;
and obtaining an information management table according to the target file system component partition and the target application component partition.
In this embodiment of the present application, installing a component in a FLASH memory according to an information management table, and synchronizing the information management table into the FLASH memory, including:
reading an information management table in the FLASH memory to obtain a storage address and a storage capacity of the component;
and installing the components in the FLASH memory according to the storage addresses and the storage capacity of the components.
In an embodiment of the present application, the method further includes:
determining a component to be deleted;
and according to the information management table, deleting the components to be deleted in the FLASH memory.
In this embodiment of the present application, according to an information management table, performing component deletion on a component to be deleted in a FLASH memory, including:
determining the storage address and the storage capacity of the component to be deleted on an information management table;
deleting the component to be deleted on the information management table according to the storage address and the storage capacity of the component to be deleted;
synchronizing the deleted information management table to a space information management table of the FLASH memory;
and according to the synchronized space information management table, deleting the components to be deleted in the FLASH memory.
In a second aspect, the present application provides a space management device of an ESIM card, the device including:
the address and capacity determining module is used for determining the storage address and the storage capacity of the components in the FLASH memory in the user configuration file of the ESIM card, wherein the user configuration file comprises one or more components;
the management table establishing module is used for establishing an information management table of the user configuration file in the RAM memory, wherein the information management table comprises a storage address and a storage capacity;
and the component installation module is used for installing the component in the FLASH memory according to the information management table and synchronizing the information management table into the FLASH memory.
In a third aspect, the present application provides an apparatus comprising: a processor, a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the methods of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for performing the method of the present application when executed by a processor.
The space management method, the space management device, the space management equipment and the space management medium for the ESIM card are provided, and the storage address and the storage capacity of components in a FLASH memory in a user configuration file of the ESIM card are determined, wherein the user configuration file comprises one or more components; an information management table of a user configuration file is established in a RAM memory, wherein the information management table comprises a storage address and a storage capacity; and installing the components in the FLASH memory according to the information management table, and synchronizing the information management table into the FLASH memory.
Therefore, the information management table storing the user configuration file information can be established in the RAM memory through the RAM memory and the information management table of the user configuration file, and the components are installed in the FLASH memory according to the information management table, so that the quick downloading and installation of the user configuration file can be realized, the installation performance is improved, and the erasing and writing of the FLASH memory are reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic flow chart of a space management method of an ESIM card according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a space management device of an ESIM card according to an embodiment of the present disclosure;
fig. 3 is a block diagram of an apparatus for performing a space management method of an ESIM card according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail; these drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The implementation manner of the execution body is not particularly limited in this embodiment, as long as the execution body can determine the storage address and the storage capacity of the component in the user configuration file of the ESIM card in the FLASH memory, where the user configuration file includes one or more components; an information management table of a user configuration file is established in a RAM memory, wherein the information management table comprises a storage address and a storage capacity; and installing the components in the FLASH memory according to the information management table, and synchronizing the information management table into the FLASH memory.
The user configuration file (profile) is a set of settings and files defining an environment required by system loading when a user logs in, and is used for configuring the user and the system environment, and the profile is divided into a plurality of different components including a file system 1, a file system 2, an application 1, an application 2 and the like, and is installed in a FLASH memory of an ESIM card after being downloaded.
The FLASH memory is a Non-Volatile (Non-Volatile) memory, ESIM card codes and user data are stored in the FLASH memory, a Page (Page) is adopted for erasing operation, one Page usually comprises a plurality of bytes or sectors, and the service life of the memory can reach more than hundred thousand times of erasing; the write operation of any FLASH device can only be performed in empty or erased cells, so in most cases, the erase must be performed before the write operation is performed.
The RAM memory is a random access memory and is used for storing data and temporary variables when the equipment runs and has volatility; the system can be read and written at any time (except when refreshed), has high speed, and is usually used as a temporary data storage medium of an operating system or other running programs; wherein the RAM memory and the FLASH memory are stored on the ESIM card.
In the prior art, during the downloading, installation and deletion of the profile, the ESIM only sequentially completes the space allocation and recovery of each file and application, and the operation not only can carry out multiple times of erasing on the profile storage area of the FLASH, but also can frequently update the space management table of the FLASH, and the process requires more time, has poorer performance and can influence the service life of the FLASH page; the original deleting process also needs to go to the FLASH memory to search the position of each file and application to be deleted, and then recalculate the recovery space, which takes a very long time.
In order to solve the above problems, the embodiment of the application provides a space management method of an ESIM card, which can establish a profile information management table in a RAM memory through a RAM memory without life limitation and a profile information management table, record the storage addresses and storage capacities of components in a FLASH memory in the profile, and directly transfer the profile management table from the RAM to the FLASH memory after the completion of the recording, thereby rapidly completing the rapid installation of file applications.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a space management method of an ESIM card according to an embodiment of the present application. As shown in fig. 1, the space management method of the ESIM card may include the steps of:
s110, determining the storage address and the storage capacity of the components in the FLASH memory in the user configuration file of the ESIM card, wherein the user configuration file comprises one or more components.
Based on the information, the files and the applications in the profile can be installed by distributing corresponding addresses and sizes in the FLASH memory, and the components of the profile are installed in the FLASH memory according to the storage information by determining the storage information of each component in the profile.
S120, an information management table of the user configuration file is established in the RAM memory, wherein the information management table comprises storage addresses and storage capacity.
Based on the method, an information management table is established in a RAM memory, and the storage positions and the sizes of various file systems (including a plurality of catalogues and files and corresponding to the profile components) and applications in the profile are recorded in the profile information management table, so that the profile information management table is directly transferred from the RAM to the FLASH after the recording is finished, and the quick installation of the file applications is completed.
S130, installing the components in the FLASH memory according to the information management table, and synchronizing the information management table into the FLASH memory.
The synchronizing the information management table to the FLASH memory may be writing the content in the profile information management table into the FLASH memory for saving, and synchronously updating the content of the FLASH space management table.
Based on the information, corresponding files and applications are installed in the FLASH storage space according to the information in the profile information management table through the storage information of the profile components recorded in the information management table, after the installation is successful, the content in the profile information management table is written into the FLASH for storage, and the FLASH space management content is synchronously updated. Each newly downloaded profile creates a corresponding profile information management table.
In this embodiment, in order to improve the download and installation speed of the user configuration file, improve the installation performance, reduce the erasing of the FLASH memory, and improve the service life of the FLASH memory, by utilizing the advantages of the RAM memory that the data is convenient to read/write, flexible to use, and suitable for the occasion of quickly replacing the data, a profile information management table recorded with the storage information of each component in the FLASH memory is built in the RAM memory, so that the profile information management table is transferred from the RAM to the FLASH, and the quick installation of the profile file application is quickly completed in the FLASH memory.
It should be noted that, the storage space in the FLASH is divided into each small space region, and the size of the newly downloaded and written profile exceeds the size limit of the small space region, so that space recovery is required first, and it is ensured that the newly downloaded and written profile content is not limited. Therefore, before downloading profile, space recovery can be carried out on all storage space contents in FLASH, so that the block size in the space is ensured not to be limited by segments; specifically, before determining the storage address and the storage capacity of the component in the user configuration file of the ESIM card in the FLASH memory, the method further includes:
determining scattered unoccupied storage space in a FLASH memory;
and (3) carrying out space concentration on the dispersed unoccupied storage spaces to obtain continuous unoccupied storage spaces meeting the storage capacity.
The space concentration is to recover the storage space in the FLASH memory, so that the newly downloaded and written profile content is ensured not to be limited by the space, and the dynamic allocation of the space is realized; the space reclamation may be a background memory reclamation, a direct memory reclamation, a full reclamation, a partial reclamation, or the like, as long as it can ensure that the block size in the space is not limited by segments, and a continuous unoccupied storage space satisfying the storage capacity is obtained.
Based on the method, the dispersed blank storage space is determined, and the space is recovered, so that continuous unoccupied storage space meeting the storage capacity is obtained, free writing of profile content is ensured, and dynamic management of the storage space is realized.
It should be noted that the profile is divided into a plurality of different components, including a file system 1, a file system 2, an application 1, an application 2, and the like, and each file system includes a plurality of directories and files, corresponding to the profile components. Therefore, the storage address and the storage capacity of each component in the profile may be recorded in the information management table, specifically, determining the storage address and the storage capacity of the component in the user profile of the ESIM card in the FLASH memory includes:
determining continuous unoccupied storage space in a FLASH memory;
determining a starting storage address and an ending storage address of each component according to the continuous unoccupied storage space and the storage capacity of each component;
and determining the storage addresses of the components in the continuous unoccupied storage space according to the starting storage address and the ending storage address.
Based on the above, according to the storage capacity of each component in the profile, determining the initial storage address and the final storage address of the component in the continuous unoccupied storage space in the FLASH memory, thereby determining the storage address of the component in the FLASH memory, and facilitating the subsequent installation of the profile component according to the storage address.
It should be noted that the profile is divided into a plurality of different components including a file system 1, a file system 2, an application 1, an application 2, and the like, and the storage information of each component is recorded in the profile information management table. Therefore, the profile information management table may be partitioned, and the storage information of the file system and the storage information of the application may be recorded correspondingly, and specifically, the components include a file system component and an application component, and the information management table of the user configuration file is built in the RAM memory, which includes:
determining a file system component, a storage address and a storage capacity of an application component, and a file system component partition and an application component partition in an information management table;
writing the storage address and the storage capacity of the file system component into the file system component partition to obtain a target file system component partition;
writing the storage address and the storage capacity of the application component into the application component partition to obtain a target application component partition;
and obtaining an information management table according to the target file system component partition and the target application component partition.
Based on the above, the initial information management table is partitioned to obtain a file system component partition and an application component partition, and storage information of the file system component and the application component is written into the corresponding partitions respectively, so that the profile information management table is obtained.
After the profile information management table recorded with the storage information of each component is transferred from the RAM to the FLASH, the quick installation of the file application in the FLASH memory through the information management table can be realized. Specifically, installing a component in a FLASH memory according to an information management table, and synchronizing the information management table to the FLASH memory, including:
reading an information management table in the FLASH memory to obtain a storage address and a storage capacity of the component;
and installing the components in the FLASH memory according to the storage addresses and the storage capacity of the components.
Based on the above, the storage address and the storage capacity of the component are determined by reading the information management table in the FLASH memory, so that the corresponding file and application are installed in the FLASH memory space according to the content recorded in the profile information management table.
It should be noted that, the component to be deleted can be determined rapidly through the profile information management table, so that the component to be deleted is deleted, and recovery and release of the completed space are realized. Therefore, when the file and the application are deleted, the quick deletion of the target can be completed directly through the file information management table, and the method specifically further comprises the following steps:
determining a component to be deleted;
and according to the information management table, deleting the components to be deleted in the FLASH memory.
Based on the information, the components to be deleted are deleted in the FLASH memory by determining the information of the components to be deleted in the profile information management table.
It should be noted that, through the storage address and the storage capacity of the component to be deleted in the profile information management table, the storage information of the component to be deleted in the FLASH storage space can be determined. Therefore, deleting the component to be deleted in the profile information management table, and synchronously updating the space management table of the FLASH, thereby realizing the recovery and release of the completed space, and concretely, deleting the component to be deleted in the FLASH memory according to the information management table, including:
determining the storage address and the storage capacity of the component to be deleted on an information management table;
deleting the component to be deleted on the information management table according to the storage address and the storage capacity of the component to be deleted;
synchronizing the deleted information management table to a space information management table of the FLASH memory;
and according to the synchronized space information management table, deleting the components to be deleted in the FLASH memory.
Based on the method, the storage information of the component to be deleted in the FLASH storage space is determined through the profile information management table, the component to be deleted is deleted on the information management table and is synchronized to the space information management table of the FLASH memory, so that the component to be deleted is deleted according to the space information management table, the component deleting speed is improved, the performance is greatly improved, and meanwhile, the problem of failure caused by low processing speed in the deleting process is avoided.
In the embodiment, a profile information management table is established in a RAM memory which is convenient for reading/writing data, flexible in use and suitable for occasions of quick data replacement, so that storage information such as a profile component to be installed, a storage address and a storage capacity of the profile component to be deleted and the like is directly recorded on the information management table, and the recorded profile information management table is synchronized to a FLASH memory, so that installation and deletion of each component of the profile are completed in the FLASH memory according to the profile information management table; therefore, the method avoids repeated erasing and writing of the Profile storage area of the FLASH and frequent updating of the space management table of the FLASH, can effectively reduce the time for downloading and installing the Profile and deleting the Profile, improves the speed of installation and deletion, greatly improves the performance, and avoids the problem of failure caused by slow processing speed in the downloading, installing and deleting process.
Fig. 2 is a schematic structural diagram of an ESIM card space management device 200 according to an embodiment of the present application, and as shown in fig. 2, the ESIM card space management device 200 includes: an address and capacity determination module 210, a management table creation module 220, and a component installation module 230.
An address and capacity determination module 210, configured to determine a storage address and a storage capacity of a component in a user profile of the ESIM card in the FLASH memory, where the user profile includes one or more components;
a management table establishing module 220, configured to establish an information management table of the user configuration file in the RAM memory, where the information management table includes a storage address and a storage capacity;
the component installation module 230 is configured to install a component in the FLASH memory according to the information management table, and synchronize the information management table to the FLASH memory.
In the embodiment of the present application, the space management device 200 of the ESIM card may be specifically configured to:
determining scattered unoccupied storage space in a FLASH memory;
and (3) carrying out space concentration on the dispersed unoccupied storage spaces to obtain continuous unoccupied storage spaces meeting the storage capacity.
In the embodiment of the present application, the address and capacity determining module 210 may be further specifically configured to:
determining continuous unoccupied storage space in a FLASH memory;
determining a starting storage address and an ending storage address of each component according to the continuous unoccupied storage space and the storage capacity of each component;
and determining the storage addresses of the components in the continuous unoccupied storage space according to the starting storage address and the ending storage address.
In the embodiment of the present application, the components include a file system component and an application component, and the management table creating module 220 may be further specifically configured to:
determining a file system component, a storage address and a storage capacity of an application component, and a file system component partition and an application component partition in an information management table;
writing the storage address and the storage capacity of the file system component into the file system component partition to obtain a target file system component partition;
writing the storage address and the storage capacity of the application component into the application component partition to obtain a target application component partition;
and obtaining an information management table according to the target file system component partition and the target application component partition.
In the embodiment of the present application, the component mounting module 230 may be specifically used for:
reading an information management table in the FLASH memory to obtain a storage address and a storage capacity of the component;
and installing the components in the FLASH memory according to the storage addresses and the storage capacity of the components.
In the embodiment of the present application, the space management device 200 of the ESIM card may be specifically configured to:
determining a component to be deleted;
and according to the information management table, deleting the components to be deleted in the FLASH memory.
In the embodiment of the present application, the space management device 200 of the ESIM card may be specifically configured to:
determining the storage address and the storage capacity of the component to be deleted on an information management table;
deleting the component to be deleted on the information management table according to the storage address and the storage capacity of the component to be deleted;
synchronizing the deleted information management table to a space information management table of the FLASH memory;
and according to the synchronized space information management table, deleting the components to be deleted in the FLASH memory.
Fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present application. As shown in fig. 3, the apparatus 300 includes:
the device 300 may include a processor 301 of one or more processing cores, a memory 302 of one or more computer-readable storage media, a communication component 303, and the like. The processor 301, the memory 302, and the communication section 303 are connected via a bus 304.
In a specific implementation, at least one processor 301 executes computer-executable instructions stored in memory 302, such that at least one processor 301 performs a message processing method as described above.
The specific implementation process of the processor 301 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 3, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules within a processor.
The Memory may comprise high-speed Memory (Random Access Memory, RAM) or may further comprise Non-volatile Memory (NVM), such as at least one disk Memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
In some embodiments, a computer program product is also presented, comprising a computer program or instructions which, when executed by a processor, implement the steps in a space management method of any of the ESIM cards described above.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium having stored therein a plurality of computer-executable instructions that can be loaded by a processor to perform steps in any of the methods for space management of ESIM cards provided by embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
The steps in any one of the space management methods of the ESIM card provided in the embodiments of the present application may be executed due to the instructions stored in the storage medium, so that the beneficial effects that any one of the space management methods of the ESIM card provided in the embodiments of the present application may be achieved are detailed in the previous embodiments and are not described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A space management method for an ESIM card, applied to the ESIM card, the method comprising:
determining storage addresses and storage capacities of components in a user configuration file of an ESIM card in a FLASH memory, wherein the user configuration file comprises one or more components;
establishing an information management table of the user configuration file in a RAM memory, wherein the information management table comprises the storage address and the storage capacity;
and installing the component in the FLASH memory according to the information management table, and synchronizing the information management table into the FLASH memory.
2. The method of claim 1, wherein prior to said determining the storage address and storage capacity of components in the user profile of the ESIM card in FLASH memory, the method further comprises:
determining dispersed unoccupied storage space in the FLASH memory;
and carrying out space concentration on the scattered unoccupied storage spaces to obtain continuous unoccupied storage spaces meeting the storage capacity.
3. The method of claim 1, wherein determining the storage address and storage capacity of components in the FLASH memory in the user profile of the ESIM card comprises:
determining continuous unoccupied storage space in the FLASH memory;
determining a starting storage address and an ending storage address of each component according to the continuous unoccupied storage space and the storage capacity of each component;
and determining the storage address of each component in the continuous unoccupied storage space according to the starting storage address and the ending storage address.
4. The method of claim 1, wherein the components include a file system component and an application component, the creating an information management table of the user profile in RAM memory, comprising:
determining the file system component, the storage address and the storage capacity of the application component, and the file system component partition and the application component partition in the information management table;
writing the storage address and the storage capacity of the file system component into the file system component partition to obtain a target file system component partition;
writing the storage address and the storage capacity of the application component into the application component partition to obtain a target application component partition;
and obtaining the information management table according to the target file system component partition and the target application component partition.
5. The method of claim 1, wherein said installing said component in said FLASH memory and synchronizing said information management table into said FLASH memory in accordance with said information management table comprises:
reading an information management table in the FLASH memory to obtain a storage address and a storage capacity of the component;
and installing the components in the FLASH memory according to the storage addresses and the storage capacities of the components.
6. The method according to claim 1, wherein the method further comprises:
determining a component to be deleted;
and according to the information management table, carrying out component deletion on the components to be deleted in the FLASH memory.
7. The method according to claim 6, wherein said performing component deletion on the component to be deleted in the FLASH memory according to the information management table includes:
determining the storage address and the storage capacity of the component to be deleted on the information management table;
deleting the components to be deleted on the information management table according to the storage addresses and the storage capacities of the components to be deleted;
synchronizing the deleted information management table to a space information management table of the FLASH memory;
and according to the synchronized space information management table, carrying out component deletion on the components to be deleted in the FLASH memory.
8. A space management device for an ESIM card, the device comprising:
the address and capacity determining module is used for determining the storage address and the storage capacity of the components in the FLASH memory in the user configuration file of the ESIM card, wherein the user configuration file comprises one or more components;
the management table establishing module is used for establishing an information management table of the user configuration file in the RAM, wherein the information management table comprises the storage address and the storage capacity;
and the component installation module is used for installing the component in the FLASH memory according to the information management table and synchronizing the information management table into the FLASH memory.
9. An apparatus, comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions that are callable by a processor to perform the method of any one of claims 1 to 7.
CN202311396743.0A 2023-10-25 2023-10-25 Space management method, device, equipment and medium of ESIM card Pending CN117435134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311396743.0A CN117435134A (en) 2023-10-25 2023-10-25 Space management method, device, equipment and medium of ESIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311396743.0A CN117435134A (en) 2023-10-25 2023-10-25 Space management method, device, equipment and medium of ESIM card

Publications (1)

Publication Number Publication Date
CN117435134A true CN117435134A (en) 2024-01-23

Family

ID=89554756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311396743.0A Pending CN117435134A (en) 2023-10-25 2023-10-25 Space management method, device, equipment and medium of ESIM card

Country Status (1)

Country Link
CN (1) CN117435134A (en)

Similar Documents

Publication Publication Date Title
CN110297603B (en) Method and device for improving random writing performance based on solid state disk and computer equipment
CN106557427B (en) Memory management method and device for shared memory database
CN109086078B (en) Android system upgrading method and device, server and mobile terminal
CN103608866A (en) Data wiping method and device for flash memory
CN112463656B (en) Method and system for recovering abnormal power failure of solid state disk and storage medium
CN110716845B (en) Log information reading method of Android system
CN110019063B (en) Method for computing node data disaster recovery playback, terminal device and storage medium
CN105446664A (en) Memory file storage method and storage apparatus
CN103229150B (en) data control method and system
CN112835528A (en) Dirty page refreshing method and device, electronic equipment and storage medium
CN113434470B (en) Data distribution method and device and electronic equipment
CN113190241A (en) Method and device for expanding capacity of data partition, electronic equipment and storage medium
CN110618828B (en) Data updating method and device
CN114840449B (en) Data storage method, device, equipment and storage medium based on MCU chip flash
CN110704091A (en) Firmware upgrading method and device
CN117435134A (en) Space management method, device, equipment and medium of ESIM card
CN116225317A (en) Data read-write method and device for user identification card, user identification card and medium
CN115712394A (en) Data reading and writing method and device, computer equipment and readable storage medium
CN111562983B (en) Memory optimization method and device, electronic equipment and storage medium
CN110287064B (en) Method and device for restoring disk data and electronic equipment
CN112433959A (en) Method and device for realizing data storage processing, computer storage medium and terminal
CN113468105A (en) Data structure of data snapshot, related data processing method, device and system
CN112148486A (en) Memory page management method, device and equipment and readable storage medium
CN112148220A (en) Method and device for realizing data processing, computer storage medium and terminal
CN114816833B (en) Writing method, device and system of flash data

Legal Events

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