A physical storage setting method, system and mobile terminal
By pre-defining the association table between memory number and block number in the mobile terminal, the problem of address changes after external memory failure is solved, the flexible setting of memory address and storage efficiency is achieved, and the user is provided with a convenient solution .
Patent Information
- Application Number
- CN202110099694.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-25
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-01-25
AI Technical Summary
After the external memory is replaced in existing mobile terminals, the memory address will change, causing a series of problems and lack of flexibility.
By pre-defined the association table between the memory number and the block number, when the mobile terminal detects the physical memory access, it obtains the memory number and looks for the corresponding block number in the association table, allowing dynamic modification of the association table to flexibly set the memory address. .
It realizes flexible setting of memory addresses, improves storage efficiency, avoids the problem of memory address changes after external memory failure replacement, and provides users with a convenient solution.
Smart Images

Figure CN112817975B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile terminal batteries, and in particular to a physical memory setting method, system and mobile terminal. Background Art
[0002] Mobile terminals or mobile communication terminals refer to computer devices that can be used on the move. Broadly speaking, they include mobile phones, notebooks, tablet computers, POS machines, and even car computers. However, in most cases, they refer to mobile phones or smart phones with multiple application functions and tablet computers. As networks and technologies develop towards increasingly broadband, the mobile communication industry will move towards a true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing power of mobile terminals has become powerful, and mobile terminals are changing from simple communication tools to comprehensive information processing platforms. This also adds a broader development space for mobile terminals.
[0003] Mobile terminals, as simple communication devices, have been accompanying the development of mobile communications for decades. Since 2007, intelligence has triggered a genetic mutation in mobile terminals, fundamentally changing the traditional positioning of terminals as the end of mobile networks. Almost in an instant, mobile smart terminals have transformed into key entrances and major innovation platforms for Internet services, new media, e-commerce and information service platforms, and the most important hub for the interaction of Internet resources, mobile network resources and environmental resources. Their operating systems and processor chips have even become the strategic commanding heights of the entire ICT industry today. The disruptive changes caused by mobile smart terminals have opened the prelude to the development of the mobile Internet industry and started a new technology industry cycle. With the continuous development of mobile smart terminals, their influence will be comparable to that of radio, television and the Internet (PC), becoming the fourth terminal product in human history that has been widely penetrated, rapidly popularized, and has a huge impact, penetrating into all aspects of human social life.
[0004] The memory unit is actually a kind of sequential logic circuit. According to the type of use of memory, it can be divided into read-only memory (ROM) and random access memory (RAM). The functions of the two are quite different, so the descriptions are also different. The memory is a collection of many storage units, arranged in order of unit numbers. Each unit is composed of a number of ternary bits to represent the value stored in the storage unit. This structure is very similar to the structure of an array, so in the VHDL language, the memory is usually described by an array. The memory is a memory component used to store programs and various data information. The memory can be divided into two categories: main memory (referred to as main memory or internal memory) and auxiliary memory (referred to as auxiliary memory or external memory); the main memory is the one that directly exchanges information with the CPU. The working mode of the main memory is to store or read various types of information according to the address of the storage unit, which is collectively referred to as access memory. The carrier that gathers the storage units in the main memory is called a storage body. Each unit in the storage body can store a string of information represented by a binary code. The total number of bits of the information is called the word length of a storage unit. The address of the storage unit corresponds one-to-one to the information stored in it. There is only one unit address, which is fixed, while the information stored in it can be replaced. The binary code indicating each unit is called the address code. When looking for a unit, its address code must be given first. The register that temporarily stores this address code is called the memory address register (MAR). In order to store information taken from the storage unit of the main memory or information to be stored in a storage unit, a memory data register (MDR) is also set.
[0005] At present, there are many kinds of programs and functions on mobile terminals. For example, users of common mobile terminals are equipped with navigation, WeChat, Weibo, Alipay, etc. Each of these programs and functions supports multiple accounts and accumulates a large number of pictures, data, files, etc. in daily use, so that the mobile terminal often needs a large amount of memory to save them. Therefore, some mobile terminal manufacturers set up external memory on it to meet the above needs; in actual use, since the interface of the external memory is fixed, its storage address is also fixed, lacking flexibility. At the same time, when the external memory fails and is replaced, the memory address will change, causing some problems.
[0006] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0007] The main purpose of the present invention is to provide a physical memory setting method, system and mobile terminal, aiming to solve the problem in the prior art that when an external memory fails and is replaced, the memory address will change and cause some faults.
[0008] To achieve the above object, the present invention provides a physical memory setting method, the physical memory setting method comprising the following steps:
[0009] A correlation table between a memory number and a block number of a predefined physical memory;
[0010] When the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory;
[0011] According to the acquired memory number, the corresponding block number is searched in the association table of the memory number and the block number of the predefined physical memory.
[0012] Optionally, the physical memory setting method, wherein the step of searching for a corresponding block number in a predefined association table of memory numbers and block numbers of the physical memory according to the acquired memory number, further comprises:
[0013] The obtained block number of the physical memory is reported.
[0014] Optionally, the physical memory setting method further comprises:
[0015] Receive the user's operation instruction and dynamically modify the association table between the storage number and the block number of the physical storage.
[0016] Optionally, in the physical memory setting method, the association table between the memory number and the block number of the predefined physical memory specifically includes:
[0017] predefine the memory number of the physical memory;
[0018] The memory number is associated with the block number to generate an association table.
[0019] Optionally, in the physical memory setting method, the association table between the memory number and the block number of the physical memory is a lookup table, and the association table between the memory number and the block number of the physical memory is composed of a plurality of rows, each row representing an association relationship between a memory number and a block number.
[0020] Optionally, the physical memory setting method, wherein when the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory specifically includes:
[0021] The mobile terminal detects in real time whether the physical storage is accessed;
[0022] When the mobile terminal detects that the physical memory is accessed, the memory number is obtained according to the predefined memory number of the physical memory.
[0023] Optionally, the physical memory setting method, wherein the step of searching for a corresponding block number in a predefined association table of memory numbers and block numbers of the physical memory according to the acquired memory number, specifically includes:
[0024] The mobile terminal searches, according to the memory number obtained by the mobile terminal, in an association table pre-defined between the memory number and the block number of the physical memory;
[0025] The mobile terminal searches for the corresponding block number in the association table between the memory number and the block number of the physical memory row by row in sequence until the corresponding block number is found.
[0026] In addition, to achieve the above-mentioned purpose, the present invention further provides a physical memory setting system, wherein the physical memory setting system comprises:
[0027] A pre-defined module, used for pre-defining an association table between a storage number and a block number of a physical storage;
[0028] An information acquisition module, configured to acquire a memory number of the accessed physical memory when the mobile terminal detects that the physical memory is accessed;
[0029] The information search module is used to search for the corresponding block number in a predefined association table of the memory number and the block number of the physical memory according to the acquired memory number.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a mobile terminal, wherein the mobile terminal includes: a memory, a processor, and a physical memory setting program stored on the memory and executable on the processor, and when the physical memory setting program is executed by the processor, the steps of the physical memory setting method as described above are implemented.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a physical memory setting program, and when the physical memory setting program is executed by a processor, the steps of the physical memory setting method as described above are implemented.
[0032] The present invention predefines an association table of a physical memory's memory number and a block number; when the mobile terminal detects the physical memory access, the memory number of the physical memory accessed is obtained; and according to the obtained memory number, the corresponding block number is searched in the association table of the physical memory number and the block number predefines. The present invention aims to flexibly set the address of the memory when the device produced by the mobile terminal manufacturer has an external memory, so that the memory improves the storage efficiency, and at the same time avoids the problem caused by the change of the memory address after the external memory fails and is replaced, thereby bringing convenience to the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a flow chart of a preferred embodiment of the physical memory setting method of the present invention;
[0034] Figure 2 is a flow chart of step S10 in a preferred embodiment of the physical memory setting method of the present invention;
[0035] Figure 3 is a flow chart of step S20 in a preferred embodiment of the physical memory setting method of the present invention;
[0036] Figure 4 is a flow chart of step S30 in a preferred embodiment of the physical memory setting method of the present invention;
[0037] Figure 5 It is a schematic diagram of the principle of a preferred embodiment of the physical memory setting system of the present invention;
[0038] Figure 6 The figure is a schematic diagram of the operating environment of a preferred embodiment of the mobile terminal of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] A computer's memory can be divided into internal memory and external memory. Internal memory is frequently used by the computer during program execution and is directly accessible during an instruction cycle. External memory requires the computer to read information from an external storage device such as a tape or disk. This is similar to a student taking notes in class. If the student knows the content without looking at the notes, the information is stored in "internal memory." If the student must refer to the notes, the information is in "external memory." There are many types of internal memory. Random Access Memory (RAM) is used as a high-speed scratch memory area during computing. Data can be stored, read, and replaced with new data in RAM. RAM is available when the computer is running. It contains information that is placed at the problem the computer is working on at the moment. Most RAM is "volatile," meaning that the information will be lost when the computer is turned off. Read-Only Memory (ROM) is volatile. It is used to store instruction sets that the computer needs when necessary. Information stored in ROM is hard-wired (i.e., it is a physical part of the electronics) and cannot be changed by the computer (hence the term "read-only"). Changeable ROM, called programmable read-only memory (PROM), can be altered by exposing it to an external electrical device or an optical device such as a laser.
[0041] At present, there are many kinds of programs and functions on mobile terminals. For example, users of common mobile terminals are equipped with navigation, WeChat, Weibo, Alipay, etc. Each of these programs and functions supports multiple accounts and accumulates a large number of pictures, data, files, etc. in daily use, so that the mobile terminal often needs a large amount of memory to save them. Therefore, some mobile terminal manufacturers set up external memory on it to meet the above needs; in actual use, since the interface of the external memory is fixed, its storage address is also fixed, lacking flexibility. At the same time, when the external memory fails and is replaced, the memory address will change, causing some problems.
[0042] Therefore, in view of the above-mentioned defects of the prior art, the physical memory setting method described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the physical memory setting method includes the following steps:
[0043] Step S10, pre-define an association table between the storage number and the block number of the physical storage.
[0044] For detailed process, please refer to Figure 2 , which is a flowchart of step S10 in the physical memory setting method provided by the present invention.
[0045] like Figure 2 As shown, the step S10 includes:
[0046] S11, pre-define the memory number of the physical memory;
[0047] S12. Associating the memory number with the block number to generate an association table.
[0048] Specifically, the association table between the storage number and the block number of the physical storage is a lookup table, which is composed of a plurality of rows, each row representing an association relationship between a storage number and a block number.
[0049] For example, the mobile terminal has five physical memories, which can be called the first memory, the second memory, the third memory, the fourth memory, and the fifth memory; then the block numbers corresponding to the five memories are: the first memory corresponds to the block number A, the second memory corresponds to the block number B, the third memory corresponds to the block number C, the fourth memory corresponds to the block number D, and the fifth memory corresponds to the block number E; then the lookup table representing the association table between the memory number and the block number is as follows:
[0050] First memory: A;
[0051] Second memory: B;
[0052] The third memory: C;
[0053] Fourth memory: D;
[0054] Fifth memory: E.
[0055] Here, each line represents the association between a memory number and a block number. For example, the content of the first line is "First Memory: A", which means that the corresponding block number of the first memory is A. For example, the content of the second line is "Second Memory: B", which means that the corresponding block number of the second memory is B. For example, the content of the third line is "Third Memory: C", which means that the corresponding block number of the third memory is C. For example, the content of the fourth line is "Fourth Memory: D", which means that the corresponding block number of the fourth memory is D. For example, the content of the fifth line is "Fifth Memory: E", which means that the corresponding block number of the fifth memory is E.
[0056] Step S20: When the mobile terminal detects that the physical memory is accessed, the memory number of the accessed physical memory is obtained.
[0057] For detailed process, please refer to Figure 3 , which is a flowchart of step S20 in the physical memory setting method provided by the present invention.
[0058] like Figure 3 As shown, the step S20 includes:
[0059] S21, the mobile terminal detects in real time whether the physical storage is accessed;
[0060] S22: When the mobile terminal detects that the physical memory is accessed, the mobile terminal obtains a memory number according to a predefined memory number of the physical memory.
[0061] Specifically, the mobile terminal detects in real time whether the physical memory is accessed. When the mobile terminal detects that the physical memory is accessed, the mobile terminal obtains the memory number of the physical memory just connected to the mobile terminal according to the predefined memory number of the memory.
[0062] Step S30: According to the acquired memory number, a corresponding block number is searched in a predefined association table of memory numbers and block numbers of the physical memory.
[0063] For detailed process, please refer to Figure 4 , which is a flowchart of step S30 in the physical memory setting method provided by the present invention.
[0064] like Figure 4 As shown, the step S30 includes:
[0065] S31, the mobile terminal searches in a predefined association table of the memory number and the block number of the physical memory according to the memory number obtained by the mobile terminal;
[0066] S32. The mobile terminal searches for the corresponding block number in the association table of the memory number and the block number of the physical memory row by row in sequence until the corresponding block number is found.
[0067] Specifically, the mobile terminal searches for the corresponding block number row by row in sequence in the association table of the memory number and the block number of the predefined physical memory according to the acquired memory number until the corresponding block number is found.
[0068] Furthermore, after the step S40, the method further includes: reporting the acquired block number of the physical memory.
[0069] Furthermore, the technical solution of the present invention also includes: receiving a user's operation instruction, dynamically modifying the association table between the storage number and the block number of the physical storage, that is, the content of the association table between the storage number and the block number of the physical storage can be modified at will to change the corresponding relationship between the storage number and the block number; for example, the content of the lookup table representing the association table between the storage number and the block number is as follows:
[0070] First memory: A;
[0071] Second memory: B;
[0072] The third memory: C;
[0073] Fourth memory: D;
[0074] Fifth memory: E.
[0075] Therefore, accessing the first storage device indicates accessing A, accessing the second storage device indicates accessing B, accessing the third storage device indicates accessing C, accessing the fourth storage device indicates accessing D, and accessing the fifth storage device indicates accessing E. At this time, if the lookup table representing the association table between the storage device number and the block number is modified as follows:
[0076] First memory: K;
[0077] Second memory: F;
[0078] The third memory: C;
[0079] Fourth memory: W;
[0080] Fifth memory: E.
[0081] Then, accessing the first memory means accessing K, accessing the second memory means accessing F, accessing the third memory means accessing C, accessing the fourth memory means accessing W, and accessing the fifth memory means accessing E, thereby achieving the purpose of dynamically modifying the association table between the memory number and the block number of the physical memory.
[0082] In addition, if the lookup table representing the association table between the memory number and the block number is modified as follows:
[0083] First memory: M;
[0084] Second memory: N;
[0085] Third memory: O;
[0086] Fourth memory: P;
[0087] Fifth memory: Q.
[0088] Then, accessing the first memory means accessing M, accessing the second memory means accessing N, accessing the third memory means accessing O, accessing the fourth memory means accessing P, and accessing the fifth memory means accessing Q, which also achieves the purpose of dynamically modifying the association table of the memory number and block number of the physical memory.
[0089] The purpose of storage management is to provide users with convenient, safe and sufficiently large storage space. Convenience means separating logical addresses from physical addresses. Users only write programs in their own logical address space and do not need to worry about the details of physical space and physical address. The address conversion is automatically completed by the operating system. Security means that multiple user processes residing in the memory at the same time will not interfere with each other and will not access the space occupied by the operating system. Sufficient storage space means using virtual storage technology to logically expand the memory space, so that users can run larger programs in smaller memory. With the rapid development of data storage technology, users have higher and higher requirements for storage cost performance. Cloud storage technology does not require the support of hardware equipment, which greatly increases the security performance of storage. Users do not need to maintain hardware facilities, reducing investment costs and improving storage efficiency.
[0090] The present invention provides a mobile terminal memory association control method, the method pre-defines an association table of a memory number and a block number of a physical memory; when the physical memory access is detected, the memory number is obtained; according to the obtained memory number, the corresponding block number is searched in the association table of the memory number and the block number of the pre-defined physical memory. When the device produced by the mobile terminal manufacturer has an external memory, the address of the memory can be flexibly set, so that the memory improves the storage efficiency, and at the same time avoids the problem of the memory address changing after the external memory fails and is replaced.
[0091] Furthermore, based on the above-mentioned physical memory setting method, the present invention also provides a physical memory setting system, such as Figure 5 As shown, the physical memory setting system includes:
[0092] A pre-definition module 50, used to pre-define an association table between a memory number and a block number of a physical memory;
[0093] The information acquisition module 60 is used to acquire the memory number of the connected physical memory when the mobile terminal detects the physical memory access;
[0094] The information search module 70 is used to search for a corresponding block number in a predefined association table of the memory number and the block number of the physical memory according to the acquired memory number.
[0095] The pre-defined module 50 is specifically used to pre-define the memory number of the physical memory, and associate the memory number with the block number to generate an association table; the information acquisition module 60 is specifically used to detect in real time whether the physical memory is accessed, and when the mobile terminal detects that the physical memory is accessed, the memory number is obtained according to the pre-defined memory number of the physical memory; the information search module 70 is specifically used to search in the association table of the memory number and the block number of the pre-defined physical memory according to the memory number obtained by the mobile terminal, and search for the corresponding block number in the association table of the memory number and the block number of the physical memory in sequence row by row until the block number is found.
[0096] The association table between the memory number and the block number of the physical memory is a lookup table, and the association table between the memory number and the block number of the physical memory is composed of a plurality of rows, each row representing an association relationship between a memory number and a block number.
[0097] The present invention aims to flexibly set the address of the memory when the device produced by the mobile terminal manufacturer is equipped with an external memory, so that the memory improves the storage efficiency, and at the same time avoids some problems caused by changes in the memory address when the external memory fails and is replaced.
[0098] Furthermore, if Figure 6 As shown, based on the above-mentioned physical memory setting method and system, the present invention also provides a mobile terminal accordingly, and the mobile terminal includes a processor 10, a memory 20 and a display 30. Figure 6 Only some components of the mobile terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0099] In some embodiments, the memory 20 may be an internal storage unit of the mobile terminal, such as a hard disk or memory of the mobile terminal. In other embodiments, the memory 20 may also be an external storage device of the mobile terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the mobile terminal. Further, the memory 20 may also include both an internal storage unit of the mobile terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the mobile terminal, such as the program code of the mobile terminal installed. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a physical memory setting program 40 is stored on the memory 20, and the physical memory setting program 40 can be executed by the processor 10, thereby realizing the physical memory setting method in the present application.
[0100] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the physical memory setting method.
[0101] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the mobile terminal and to display a visual user interface. The components 10-30 of the mobile terminal communicate with each other via a system bus.
[0102] In one embodiment, when the processor 10 executes the physical memory setting program 40 in the memory 20, the following steps are implemented:
[0103] A correlation table between a memory number and a block number of a predefined physical memory;
[0104] When the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory;
[0105] According to the acquired memory number, the corresponding block number is searched in the association table of the memory number and the block number of the predefined physical memory.
[0106] Wherein, according to the acquired memory number, searching for the corresponding block number in a predefined association table of memory numbers and block numbers of the physical memory, and then further comprising:
[0107] The obtained block number of the physical memory is reported.
[0108] The physical memory setting method further includes:
[0109] Receive the user's operation instruction and dynamically modify the association table between the storage number and the block number of the physical storage.
[0110] The association table of the memory number and the block number of the predefined physical memory specifically includes:
[0111] predefine the memory number of the physical memory;
[0112] The memory number is associated with the block number to generate an association table.
[0113] The association table between the memory number and the block number of the physical memory is a lookup table, and the association table between the memory number and the block number of the physical memory is composed of a plurality of rows, each row representing an association relationship between a memory number and a block number.
[0114] When the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory specifically includes:
[0115] The mobile terminal detects in real time whether the physical storage is accessed;
[0116] When the mobile terminal detects that the physical memory is accessed, the memory number is obtained according to the predefined memory number of the physical memory.
[0117] The step of searching, according to the acquired memory number, for a corresponding block number in a predefined association table of memory numbers and block numbers of physical memories specifically includes:
[0118] The mobile terminal searches, according to the memory number obtained by the mobile terminal, in an association table pre-defined between the memory number and the block number of the physical memory;
[0119] The mobile terminal searches for the corresponding block number in the association table between the memory number and the block number of the physical memory row by row in sequence until the corresponding block number is found.
[0120] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a physical memory setting program, and when the physical memory setting program is executed by a processor, the steps of the physical memory setting method described above are implemented.
[0121] In summary, the present invention provides a physical memory setting method, system and mobile terminal, the method comprising: pre-defining an association table between a memory number and a block number of a physical memory; when the mobile terminal detects that the physical memory is connected, obtaining the memory number of the connected physical memory; and searching for the corresponding block number in the association table between the memory number and the block number of the pre-defined physical memory according to the obtained memory number. The present invention aims to flexibly set the address of the memory when the device produced by the mobile terminal manufacturer has an external memory, so that the memory improves the storage efficiency, and at the same time avoids the problem caused by the change of the memory address when the external memory fails and is replaced, thereby bringing convenience to the user.
[0122] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0123] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0124] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for setting a physical memory, characterized in that: The physical memory setting method comprises: A correlation table between a memory number and a block number of a predefined physical memory; The association table between the memory number and the block number of the predefined physical memory specifically includes: predefine the memory number of the physical memory; Associating the memory number with the block number to generate an association table; When the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory; When the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory specifically includes: The mobile terminal detects in real time whether the physical storage is accessed; When the mobile terminal detects that the physical memory is accessed, the memory number is obtained according to the predefined memory number of the physical memory; According to the acquired memory number, searching for a corresponding block number in a predefined association table of memory numbers and block numbers of the physical memory; The physical memory setting method also includes: Receive the user's operation instruction, dynamically modify the association table between the storage number and the block number of the physical storage, so as to change the corresponding relationship between the storage number and the block number. If the association table is continued to be modified, the association table between the storage number and the block number of the physical storage is also dynamically modified.
2. The physical storage configuration method according to claim 1, characterized in that: According to the acquired memory number, searching for the corresponding block number in a predefined association table of memory numbers and block numbers of the physical memory, and then further comprising: The obtained block number of the physical memory is reported.
3. The physical storage configuration method according to claim 1, characterized in that: The association table between the memory number and the block number of the physical memory is a lookup table, and the association table between the memory number and the block number of the physical memory is composed of a plurality of rows, each row representing an association relationship between a memory number and a block number.
4. The physical storage configuration method according to claim 1, characterized in that: The step of searching, according to the acquired memory number, for a corresponding block number in a predefined association table of memory numbers and block numbers of the physical memory includes: The mobile terminal searches, according to the memory number obtained by the mobile terminal, in an association table pre-defined between the memory number and the block number of the physical memory; The mobile terminal searches for the corresponding block number in the association table between the memory number and the block number of the physical memory row by row in sequence until the corresponding block number is found.
5. A physical storage configuration system, characterized in that: The physical storage setting system comprises: A pre-defined module, used for pre-defining an association table between a storage number and a block number of a physical storage; The association table between the memory number and the block number of the predefined physical memory specifically includes: predefine the memory number of the physical memory; Associating the memory number with the block number to generate an association table; An information acquisition module, configured to acquire a memory number of the accessed physical memory when the mobile terminal detects that the physical memory is accessed; When the mobile terminal detects that the physical memory is accessed, obtaining the memory number of the accessed physical memory specifically includes: The mobile terminal detects in real time whether the physical storage is accessed; When the mobile terminal detects that the physical memory is accessed, the memory number is obtained according to the predefined memory number of the physical memory; An information search module, used to search for a corresponding block number in a predefined association table of memory numbers and block numbers of a physical memory according to the acquired memory number; The physical memory setting method also includes: Receive the user's operation instruction, dynamically modify the association table between the storage number and the block number of the physical storage, so as to change the corresponding relationship between the storage number and the block number. If the association table is continued to be modified, the association table between the storage number and the block number of the physical storage is also dynamically modified.
6. A mobile terminal, characterized in that: The mobile terminal comprises: a memory, a processor and a physical memory setting program stored in the memory and executable on the processor, wherein the physical memory setting program implements the steps of the physical memory setting method as described in any one of claims 1 to 4 when executed by the processor.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a physical memory setting program, and when the physical memory setting program is executed by a processor, the steps of the physical memory setting method according to any one of claims 1 to 4 are implemented.
