CN109408222A - Intelligent terminal and its space management, the device with store function - Google Patents
Intelligent terminal and its space management, the device with store function Download PDFInfo
- Publication number
- CN109408222A CN109408222A CN201710717567.4A CN201710717567A CN109408222A CN 109408222 A CN109408222 A CN 109408222A CN 201710717567 A CN201710717567 A CN 201710717567A CN 109408222 A CN109408222 A CN 109408222A
- Authority
- CN
- China
- Prior art keywords
- partition
- system application
- space
- user
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
Abstract
The invention discloses a kind of intelligent terminal and its space management, with the device of store function, the space management is the following steps are included: intelligent terminal judges whether to detect the trigger event of deletion system application;If detecting the trigger event, system is applied and is deleted from system application partition;Remaining system applies required space in statistical system application partition, according to the size in required space, repartition system application partition and user partition respectively shared by corresponding region of memory space size;Wherein, user partition is area of space for users to use.By the above method, the internal storage space of intelligent terminal can be dynamically managed, promotes user experience.
Description
Technical field
The present invention relates to electronic communication fields, more particularly to a kind of intelligent terminal and its space management, have and deposit
Store up the device of function.
Background technique
With the fast development of electronic communication, intelligent terminal is more more and more universal, while diversified in order to realize
Function, the application in intelligent terminal are also more and more.For example, intelligent terminal application included when dispatching from the factory, user are from application shop
Or tripartite's application of related web page downloading, these applications all occupy the memory space of intelligent terminal.
Currently, application included when intelligent terminal factory includes that the system of unsuppressible-suppression applies three with other software manufacturer
Fang Yingyong, these applications are generally all stored in system partitioning.Wherein, the tripartite that user has permission deletion other software manufacturer answers
With, but the application is not shown on the interface of intelligent terminal only after deleting, it is actually or empty in occupation of its memory
Between, cause the unnecessary waste of intelligent terminal memory headroom.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of intelligent terminal and its space management, there is storage function
The device of energy can dynamically manage the internal storage space of intelligent terminal, promote user experience.
In order to solve the above technical problems, first technical solution that the present invention uses is: providing a kind of based on intelligent terminal
Space management, the space management is the following steps are included: the intelligent terminal judges whether to detect deletion system
The trigger event of system application;If detecting the trigger event, the system is deleted from system application partition;Statistics institute
Stating remaining system in system application partition applies required space to repartition the system according to the size in the required space
Unite application partition and user partition respectively shared by corresponding region of memory space size;Wherein, the user partition be for
The area of space that family uses.
In order to solve the above technical problems, second technical solution that the present invention uses is: a kind of intelligent terminal is provided, it is described
Intelligent terminal includes memory, processor and calculating that is being stored on the memory and can running on the processor
Machine program, the processor realize any space management in the present invention when executing described program.
In order to solve the above technical problems, the third technical solution that the present invention uses is: providing a kind of with store function
Device, be stored thereon with program data, described program can be performed any space management of the realization present invention.
It is distributed the beneficial effects of the present invention are: the present invention passes through the system that will be freed out using occupied memory headroom
To user partition, the internal storage space that user can be used is increased, while avoiding the idle problem of internal storage space,
The function that dynamic manages internal storage space is realized, the utilization rate of intelligent terminal memory space is improved, improves user's body
It tests.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of space management of intelligent terminal of the present invention;
Fig. 2 is the display interface schematic diagram of one embodiment of dialog box in the space management of Fig. 1 intelligent terminal;
Fig. 3 is one embodiment of system application partition and user partition in the space management of Fig. 1 intelligent terminal
Structural schematic diagram;
Fig. 4 is the idle space and user partition one of the system application partition in the space management of Fig. 1 intelligent terminal
The structural schematic diagram of embodiment;
Fig. 5 is one reality of system application partition and user partition after the idle space of Fig. 4 system application partition is moved
Apply the structural schematic diagram of mode;
Fig. 6 is that the idle space of Fig. 5 system application partition is allocated to the system application partition after user partition and user point
The structural schematic diagram of one embodiment of area;
Fig. 7 is the structural schematic diagram of one embodiment of intelligent terminal of the present invention;
Fig. 8 is the structural schematic diagram of one embodiment of computer storage medium of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment belongs to the scope of protection of the invention.
Refering to fig. 1, Fig. 1 is the flow diagram of one embodiment of space management of intelligent terminal of the present invention.This implementation
The space management of mode is as follows:
101: the intelligent terminal judges whether to detect the trigger event of deletion system application.
Wherein, the intelligent terminal includes smart phone, tablet computer, smart television and other smart machines, such as intelligence
Energy wrist-watch, it is not limited here.
In the present embodiment, it includes application built-in when intelligent terminal dispatches from the factory that the system, which is applied, wherein built in part
Using the system application for unsuppressible-suppression, such as phone, short message or calendar;Part built-in application is deletable system application, intelligence
Energy terminal user can choose whether to delete aforementioned system application according to the demand of itself.It should be noted that in present embodiment
The operation object of space management is deletable system application.
In a specific embodiment, the trigger action of intelligent terminal detection user determines whether that deletion system is answered
Trigger event.Wherein, trigger action includes long-pressing or the icon for clicking the application of some system.
Specifically, when intelligent terminal detects the trigger event of deletion system application, further described in judgement determination
Whether system application is deletable system application.If it is deletable system application, then the triggering for thering is deletion system to apply
Event is triggered.If it is the system application of unsuppressible-suppression, then this system application unsuppressible-suppression of user is reminded.
102: if detecting the trigger event, the system being applied and is deleted from system application partition.
In the present embodiment, if intelligent terminal detects the trigger event of deletion system application, the system is answered
Deleted with from system application partition, wherein the content of deletion include system application installation kit, registration table, shortcut or
Other related data informations.
In a specific embodiment, the triggering thing of deletion system application is triggered in order to avoid user misoperation
Part, when intelligent terminal detects the trigger event of deletion system application, intelligent terminal issues prompt information, to remind user to be
No determining deletion system application.Further, intelligent terminal receives the response message that user issues according to prompt information, and sentences
Whether disconnected response message includes determining the control instruction for deleting system application.If referred to including the control for deleting system application
It enables, which is applied and is deleted from system application partition.
In one of them embodiment, illustrate so that the prompt information of sending is pop-up dialog box as an example.When intelligent end
When end detects the trigger event of deletion system application, intelligent terminal pops up dialog box, and whether to remind user to determine, deletion should
System application.The dialog box includes whether to delete the confirmation option of the text information of the application and user.Wherein, dialog box is aobvious
Show the specific position in intelligent terminal screen, marginal position or middle position such as screen, specific location can be according to the actual situation
Design, is not specifically limited herein.
In order to clearly illustrate the dialog box in above embodiment, referring to Fig.2, Fig. 2 is the space pipe of Fig. 1 intelligent terminal
The display interface schematic diagram of one embodiment of dialog box in reason method.
As shown in Fig. 2, including two kinds of confirmation options of "Yes" and "No" in dialog box, when user triggers the confirmation choosing of "Yes"
, if user clicks the corresponding screen position of "Yes", then the control instruction that intelligent terminal receives is that the system is deleted in confirmation
Using.If user triggers the confirmation option of "No", if user clicks the corresponding screen position of "No", then intelligent terminal is connect
The control instruction received is the system application that unerases.
With continued reference to Fig. 2, intelligent terminal receives the response message that user issues according to dialog box, whether judges response message
The control instruction of system application is deleted including determining.Specifically, if the response message for the user that intelligent terminal receives is
"Yes" in dialog box then deletes the system application from system partitioning.
103: the remaining system in the system application partition that counts applies required space, according to the big of the required space
It is small, repartition the space size of the respective shared corresponding region of memory of the system application partition and user partition;Wherein, institute
Stating user partition is area of space for users to use.
In the present embodiment, the memory space of intelligent terminal includes system application partition and user partition.Wherein, system
Application partition is mainly used for the application built in storage system file and system, and user partition is area of space for users to use,
It is mainly used for storing the data information of user, such as the tripartite's application downloaded from application shop or webpage or video, picture etc..
It is emphasized that system application partition can only carry out relevant operation by developer, intelligent terminal user can not
Use the corresponding memory space in system application partition.
Specifically, system application partition is located at physical bit different in Intelligent terminal data subregion from user partition
It sets.Wherein, system application partition and user partition can respectively include multiple region of memory, such as 1,2 or other numbers,
Such as 4, it can design, be not specifically limited herein according to the actual situation.In one of them embodiment, system application partition
Including 2 region of memory, for storing not off-loadable system application, another storage region is used for one of region of memory
Store off-loadable system application.Meanwhile the physical location of system application partition and user partition is not specifically limited, it can basis
Actual conditions design, but need to guarantee system application partition and user partition is adjacent, the i.e. physics of system application partition
The physical address of address and user partition is continuous.
In one of them embodiment, the physical location of system application partition is located at the physical location of user partition
Front, and the end physical address of system application partition and the start physical address of user partition are continuous, wherein physically
Location is unique storage address corresponding to each byte units in memory.
In order to clearly illustrate system application partition end physical address and user partition start physical address be connect
Continuous, it is one embodiment party of system application partition and user partition in the space management of Fig. 1 intelligent terminal refering to Fig. 3, Fig. 3
The structural schematic diagram of formula.
As shown in figure 3, the data subregion 30 in memory includes system application partition 31 and user partition 32, system application
The end physical address of subregion 31 and the start physical address of user partition 32 are continuous.It wherein, is with word in memory
Section is that unit stores information, and correctly to store or obtaining information, each byte units gives a unique storage address,
Referred to as physical address, physical address are numbered from 0, sequentially add 1 every time, therefore the physical address space of memory is in line
Property increase.It is usually indicated with binary number, is signless integer, format write is hexadecimal number.
In the present embodiment, the start physical address of the end physical address Yu user partition 32 of system application partition 31
It is that continuously, i.e., the physical address of the last byte unit is the end object of system application partition 31 in system application partition 31
Address is managed, is the start physical address of user partition 32 after the end physical address increase by 1 of system application partition 31.
Optionally, in another embodiment, the physical location of user partition is located at the physical location of system partitioning
Front, and the end physical address of user partition and the start physical address of system application partition are continuous, wherein physically
Location is unique storage address corresponding to each byte units in memory.
In a specific embodiment, it is empty using required storage to count remaining system in the system application partition
Between, according to the size of the required memory space, repartition system application partition and user partition respectively it is shared it is corresponding in
Deposit the space size in region.
Specifically, intelligent terminal issues the user with the taken up space prompt information of system application for whether discharging deletion,
Middle prompt information can be dialog box.If shared by the system application that the release for receiving user's reply within a preset time is deleted
After the confirmation instruction in space, remaining system applies required memory space in intelligent terminal statistical system application partition.Wherein, in advance
If time can be designed according to the actual situation such as 30s, 1min for 5s, 10s or other numerical value, do not do specific limit herein
It is fixed, need to only it meet user-friendly.
Further, the size of required memory space is applied according to system in system application partition, the system of repartitioning is answered
With the space size of the respective shared corresponding region of memory of subregion and user partition.In one of them embodiment, will be
Being greater than system in system application partition in system application partition applies the Spacial domain decomposition in required space into user partition.
In order to clearly illustrate that memory space that system application partition would sit idle for is allocated to the process of user partition, refering to figure
4, Fig. 4 be one embodiment party of idle space and user partition of the system application partition in the space management of Fig. 1 intelligent terminal
The structural schematic diagram of formula.
As shown in figure 4, deleting after specific system applications has part idle space 41 in system application partition, wherein leaving unused
The physical address in space 41 and the physical address of user partition 42 are discontinuous, need would sit idle for space 41 and move to system application point
The end in area, so that the physical address of idle space 41 and the physical address of user partition 42 are continuous.Further, refering to Fig. 5,
Fig. 5 is one embodiment of system application partition and user partition after the idle space of Fig. 4 system application partition is moved
Structural schematic diagram, as shown in figure 5, after moving, the physical address of idle space 51 and the physical address of user partition 52
Continuously, then intelligent terminal would sit idle for space 51 and be allocated to user partition 52, form new space distribution structure.Refering to Fig. 6, figure
6 be that the idle space of Fig. 5 system application partition is allocated to one embodiment party of system application partition and user partition after user partition
The structural schematic diagram of formula, as shown in fig. 6, system application partition 61 does not include the memory deleted and left unused after specific system applications
Space, user partition 62 include to divide the idle memory headroom to come from system application partition 61.
Wherein, the division of above-mentioned memory space moved with memory space is virtual process, only redistributes and is
The position of internal storage location shared by system application or data.
It should be noted that if delete the physical address of memory headroom leave unused after specific system applications and
The physical address of user partition is continuous, then does not need the process that idle memory space is moved.
In another embodiment, General System application can periodically update, and system application may occupy more after update
More memory headrooms, therefore there are surpluses for the memory space needs in system application partition.Memory can be set in general intelligence terminal
Allocation list, for the size storage allocation space according to the type and required memory headroom applied in subregion.
Specifically, intelligent terminal updates intelligent terminal using required memory space according to system in system application partition
Spatial data information in memory configurations table in system application partition and user partition, repartitions according to memory configurations table and is
Unite application partition and user partition respectively shared by corresponding region of memory space size, wherein system application partition and user
The total storage space of subregion is certain value.It is according to statistics division result, storage partially idle in system application partition is empty
Between be divided to user partition.
It is different from the prior art, present embodiment passes through the system that will be freed out and distributes using occupied memory headroom
To user partition, the internal storage space that user can be used is increased, while avoiding the idle problem of internal storage space,
The function that dynamic manages internal storage space is realized, the utilization rate of intelligent terminal memory space is improved, improves user's body
It tests.
It is the structural schematic diagram of one embodiment of intelligent terminal of the present invention refering to Fig. 7, Fig. 7.As shown in fig. 7, intelligent terminal
70 include memory 72, processor 71 and computer journey that is being stored on memory 72 and can running on processor 71
Sequence.Processor 71 executes computer program and realizes the space management in following any embodiment.
Wherein, intelligent terminal 70 includes smart phone, tablet computer, smart television and other smart machines, such as intelligence
Wrist-watch, it is not limited here.
In a specific embodiment, processor 71 judges whether to detect the trigger event of deletion system application.
It includes application built-in when intelligent terminal 70 dispatches from the factory that the system, which is applied, wherein part built-in application is the system of unsuppressible-suppression
Using such as phone, short message or calendar;Part built-in application is deletable system application, and 70 user of intelligent terminal can be according to certainly
The demand of body chooses whether to delete aforementioned system application.It should be noted that in present embodiment space management operation
Object is deletable system application.
In one of them embodiment, the trigger action that processor 71 detects user determines whether that deletion system is answered
Trigger event.Wherein, trigger action includes long-pressing or the icon for clicking the application of some system.
Specifically, when processor 71 detects the trigger event of deletion system application, further described in judgement determination
Whether system application is deletable system application.If it is deletable system application, it is determined that there is deletion system to apply
Trigger event is triggered.If it is the system application of unsuppressible-suppression, then this system application unsuppressible-suppression of user is reminded.
In the present embodiment, if processor 71 detects the trigger event of deletion system application, it is by selected
System application is deleted from system application partition, installation kit, registration table, shortcut or other related datas including system application
Information.
In a specific embodiment, the triggering thing of deletion system application is triggered in order to avoid user misoperation
Part, when processor 71 detects the trigger event of deletion system application, processor 71 issues prompt information, to remind user to be
No determining deletion system application.Further, processor 71 receives the response message that user issues according to prompt information, judgement
Whether response message includes determining the control instruction for deleting system application.If referred to including the control for deleting system application
It enables, which is applied and is deleted from system application partition.
In one of them embodiment, illustrate so that the prompt information of sending is pop-up dialog box as an example.Work as processor
71 detect deletion system application trigger event when, processor 71 pop up dialog box, with remind user whether determine deletion should
System application.The dialog box includes whether to delete the confirmation option of the text information of the application and user.Wherein, dialog box is aobvious
Show the specific position in 70 screen of intelligent terminal, marginal position or middle position such as screen, specific location can be according to practical feelings
Condition design, is not specifically limited herein.
It include two kinds of confirmation options of "Yes" and "No" in dialog box, when user triggers the confirmation option of "Yes", such as user
The corresponding screen position of "Yes" is clicked, then the control instruction that processor 71 receives is that the system application is deleted in confirmation.If
User triggers the confirmation option of "No", as user clicks the corresponding screen position of "No", the then control that processor 71 receives
System instruction is the system application that unerases.Specifically, if the response message for the user that intelligent terminal receives is dialog box
In "Yes", then the system application is deleted from system partitioning.
In a specific embodiment, the memory space of intelligent terminal 70 includes system application partition and user point
Area.Wherein, system application partition is mainly used for the application built in storage system file and system, and user partition is for users to use
Area of space, be mainly used for store user data information, such as downloaded from application shop or webpage tripartite application or
Video, picture etc..
It is emphasized that system application partition can only be carried out relevant operation by developer, 70 user of intelligent terminal without
Method uses the corresponding memory space in system application partition.
Specifically, system application partition is located at physical bit different in 70 data subregion of intelligent terminal from user partition
It sets.Wherein, system application partition and user partition can respectively include multiple region of memory, such as 1,2 or other numbers,
Such as 4, it can design, be not specifically limited herein according to the actual situation.
In a specific embodiment, system application partition includes 2 region of memory, and one of region of memory is used
In storing not off-loadable system application, another storage region is for storing off-loadable system application.Meanwhile system application
The physical location of subregion and user partition is not specifically limited, and can be designed according to the actual situation, but needs to guarantee system application point
Area and user partition be it is adjacent, i.e. the physical address of system application partition and the physical address of user partition is continuous.
In one of them embodiment, the physical location of system application partition is located at the physical location of user partition
Front, and the end physical address of system application partition and the start physical address of user partition are continuous, wherein physically
Location is unique storage address corresponding to each byte units in memory.It wherein, is to be in memory with byte
Unit stores information, and correctly to store or obtaining information, each byte units gives a unique storage address, referred to as
Physical address, physical address are numbered from 0, sequentially add 1 every time, therefore the physical address space of memory is linearly to increase
Long.It is usually indicated with binary number, is signless integer, format write is hexadecimal number.System application partition
End physical address and the start physical address of user partition be continuous, i.e. the last byte list in system application partition
The physical address of member is the end physical address of system application partition, after the end physical address increase by 1 of system application partition i.e.
For the start physical address of user partition.
Optionally, in another embodiment, the physical location of user partition is located at the physical location of system partitioning
Front, and the end physical address of user partition and the start physical address of system application partition are continuous, wherein physically
Location is unique storage address corresponding to each byte units in memory.
In the present embodiment, it counts remaining system in the system application partition and applies required memory space, according to
The size of memory space needed for described, repartition system application partition and user partition respectively shared by corresponding region of memory
Space size.
Specifically, processor 71 issues the user with the taken up space prompt information of system application for whether discharging deletion,
Middle prompt information can be dialog box.If shared by the system application that the release for receiving user's reply within a preset time is deleted
After the confirmation instruction in space, remaining system applies required memory space in 71 statistical system application partition of processor.Wherein, in advance
If time can be designed according to the actual situation such as 30s, 1min for 5s, 10s or other numerical value, do not do specific limit herein
It is fixed, need to only it meet user-friendly.
Further, processor 71 applies the size of required memory space according to system in system application partition, draws again
The space size of the respective shared corresponding region of memory of subsystem application partition and user partition.One of them embodiment
In, system in system application partition will be greater than in system application partition and applies the Spacial domain decomposition in required space to user partition
In.
Specifically, there is part idle space in system application partition after deletion specific system applications, wherein idle space
Physical address and user partition physical address it is discontinuous, need would sit idle for space and move to the end of system application partition,
So that the physical address of idle space and the physical address of user partition are continuous.After moving, idle space is physically
The physical address of location and user partition is continuous, and then processor 71 would sit idle for space and be allocated to user partition, forms new space
Distribution structure.System application partition does not include the memory deleted and left unused after specific system applications in new space distribution structure
Space, user partition include to divide the idle memory headroom to come from system application partition.
Wherein, the division of above-mentioned memory space moved with memory space is virtual process, only redistributes and is
The position of internal storage location shared by system application or data.
It should be noted that if delete the physical address of memory headroom leave unused after specific system applications and
The physical address of user partition is continuous, then does not need the process that idle memory space is moved.
In another embodiment, General System application can periodically update, and system application may occupy more after update
More memory headrooms, therefore there are surpluses for the memory space needs in system application partition.In being arranged in general intelligence terminal 70
Allocation list is deposited, for the size storage allocation space according to the type and required memory headroom applied in subregion.
Specifically, processor 71 updates intelligent terminal 70 using required memory space according to system in system application partition
Memory configurations table in spatial data information in system application partition and user partition, repartitioned according to memory configurations table
The space size of the respective shared corresponding region of memory of system application partition and user partition, wherein system application partition and use
The total storage space of family subregion is certain value.According to statistics division result, by storage partially idle in system application partition
Space is divided to user partition.
It is different from the prior art, present embodiment passes through the system that will be freed out and distributes using occupied memory headroom
To user partition, the internal storage space that user can be used is increased, while avoiding the idle problem of internal storage space,
The function that dynamic manages internal storage space is realized, the utilization rate of intelligent terminal memory space is improved, improves user's body
It tests.
It is the structural schematic diagram of one embodiment of computer storage medium of the present invention refering to Fig. 8, Fig. 8.In present embodiment
In, at least one program 81 is stored in the device 80 with store function.Program 81 is for executing following any embodiment
In space management.
Wherein, the device 80 with store function can be storage chip, hard disk in intelligent terminal and either move
The tool of dynamic other read-write storages such as hard disk or flash disk, CD, can also be server etc., is not specifically limited herein.
Here, being illustrated with the storage chip that the device 80 with store function is the storage chip in intelligent terminal.
Wherein, intelligent terminal includes smart phone, tablet computer, smart television and other smart machines, such as smartwatch, herein not
It limits.
In a specific embodiment, program 81 judges whether to detect the trigger event of deletion system application.Institute
Stating system and applying includes application built-in when intelligent terminal dispatches from the factory, wherein and part built-in application is the system application of unsuppressible-suppression,
Such as phone, short message or calendar;Part built-in application is deletable system application, and intelligent terminal user can be according to itself demand
It chooses whether to delete aforementioned system application.It should be noted that the operation object of space management is in present embodiment
Deletable system application.
In one of them embodiment, the trigger action that program 81 detects user determines whether deletion system application
Trigger event.Wherein, trigger action includes long-pressing or the icon for clicking the application of some system.
Specifically, when program 81 detects the trigger event of deletion system application, further judgement determines the system
Whether system application is deletable system application.If it is deletable system application, then the triggering thing for thering is deletion system to apply
Part is triggered.If it is the system application of unsuppressible-suppression, then this system application unsuppressible-suppression of user is reminded.
In the present embodiment, if program 81 detects the trigger event of deletion system application, by selected system
Deleted using from system application partition, wherein the content deleted include system application installation kit, registration table, shortcut or
Other related data informations.
In a specific embodiment, the triggering thing of deletion system application is triggered in order to avoid user misoperation
Part, when program 81 detects the trigger event of deletion system application, whether program 81 issues prompt information, to remind user true
Surely the system application is deleted.Further, program 81 receives the response message that user issues according to prompt information, and judges to respond
Whether information includes determining the control instruction for deleting system application.If, will including the control instruction for deleting system application
The system is applied and is deleted from system application partition.
In one of them embodiment, illustrate so that the prompt information of sending is pop-up dialog box as an example.When program 81
When detecting the trigger event of deletion system application, program 81 pops up dialog box, deletes the system to remind user whether to determine
Using.The dialog box includes whether to delete the confirmation option of the text information of the application and user.Wherein, dialog box is shown in
The specific position of intelligent terminal screen, marginal position or middle position such as screen, specific location can design according to the actual situation,
It is not specifically limited herein.
It include two kinds of confirmation options of "Yes" and "No" in dialog box, when user triggers the confirmation option of "Yes", such as user
The corresponding screen position of "Yes" is clicked, then the control instruction that program 81 receives is that the system application is deleted in confirmation.If with
Family triggers the confirmation option of "No", and if user clicks the corresponding screen position of "No", then the control that program 81 receives refers to
It enables as the system application that unerases.Specifically, if the response message for the user that intelligent terminal receives is in dialog box
"Yes" then deletes the system application from system partitioning.
In a specific embodiment, the memory space of intelligent terminal includes system application partition and user partition.
Wherein, system application partition is mainly used for the application built in storage system file and system, and user partition is for users to use
Area of space is mainly used for storing the data information of user, such as the tripartite's application downloaded from application shop or webpage or view
Frequently, picture etc..
It is emphasized that system application partition can only carry out relevant operation by developer, intelligent terminal user can not
Use the corresponding memory space in system application partition.
Specifically, system application partition is located at physical bit different in Intelligent terminal data subregion from user partition
It sets.Wherein, system application partition and user partition can respectively include multiple region of memory, such as 1,2 or other numbers,
Such as 4, it can design, be not specifically limited herein according to the actual situation.
In a specific embodiment, system application partition includes 2 region of memory, and one of region of memory is used
In storing not off-loadable system application, another storage region is for storing off-loadable system application.Meanwhile system application
The physical location of subregion and user partition is not specifically limited, and can be designed according to the actual situation, but needs to guarantee system application point
Area and user partition be it is adjacent, i.e. the physical address of system application partition and the physical address of user partition is continuous.
In one of them embodiment, the physical location of system application partition is located at the physical location of user partition
Front, and the end physical address of system application partition and the start physical address of user partition are continuous, wherein physically
Location is unique storage address corresponding to each byte units in memory.
It specifically, is for correctly storage or to obtain information to store information as unit of byte in memory, each
Byte units give a unique storage address, and referred to as physical address, physical address is numbered from 0, sequentially add every time
1, therefore the physical address space of memory linearly increases.It is usually indicated with binary number, is that no symbol is whole
Number, format write is hexadecimal number.The end physical address of system application partition and the start physical address of user partition are
Continuously, i.e., in system application partition the last byte unit physical address be system application partition end physically
Location is the start physical address of user partition after the end physical address increase by 1 of system application partition.
Optionally, in another embodiment, the physical location of user partition is located at the physical location of system partitioning
Front, and the end physical address of user partition and the start physical address of system application partition are continuous, wherein physically
Location is unique storage address corresponding to each byte units in memory.
In the present embodiment, it counts remaining system in the system application partition and applies required memory space, according to
The size of memory space needed for described, repartition system application partition and user partition respectively shared by corresponding region of memory
Space size.
Specifically, program 81 issues the user with the system for whether discharging deletion using taken up space prompt information, wherein
Prompt information can be dialog box.If the system that the release for receiving user's reply within a preset time is deleted is using institute's duty
Between confirmation instruction after, in 81 statistical system application partition of program remaining system apply required memory space.Wherein, preset
Time can be designed according to the actual situation, be not specifically limited herein such as 30s, 1min for 5s, 10s or other numerical value,
Need to only it meet user-friendly.
Further, program 81 applies the size of required memory space according to system in system application partition, repartitions
The space size of the respective shared corresponding region of memory of system application partition and user partition.One of them embodiment
In, system in system application partition will be greater than in system application partition and applies the Spacial domain decomposition in required space to user partition
In.
Specifically, there is part idle space in system application partition after deletion specific system applications, wherein idle space
Physical address and user partition physical address it is discontinuous, need would sit idle for space and move to the end of system application partition,
So that the physical address of idle space and the physical address of user partition are continuous.After moving, idle space is physically
The physical address of location and user partition is continuous, and then program 81 would sit idle for space and be allocated to user partition, forms new space point
Distribution structure.It is empty not include the memory deleted and left unused after specific system applications for system application partition in new space distribution structure
Between, user partition includes to divide the idle memory headroom to come from system application partition.
Wherein, the division of above-mentioned memory space moved with memory space is virtual process, only redistributes and is
The position of internal storage location shared by system application or data.
It should be noted that if delete the physical address of memory headroom leave unused after specific system applications and
The physical address of user partition is continuous, then does not need the process that idle memory space is moved.
In another embodiment, General System application can periodically update, and system application may occupy more after update
More memory headrooms, therefore there are surpluses for the memory space needs in system application partition.Memory can be set in general intelligence terminal
Allocation list, for the size storage allocation space according to the type and required memory headroom applied in subregion.
Specifically, program 81 updates in intelligent terminal according to system in system application partition using required memory space
System application partition in allocation list and the spatial data information in user partition are deposited, system is repartitioned according to memory configurations table
The space size of the respective shared corresponding region of memory of application partition and user partition, wherein system application partition and user point
The total storage space in area is certain value.According to statistics division result, by memory space partially idle in system application partition
It is divided to user partition.
It is different from the prior art, present embodiment passes through the system that will be freed out and distributes using occupied memory headroom
To user partition, the internal storage space that user can be used is increased, while avoiding the idle problem of internal storage space,
The function that dynamic manages internal storage space is realized, the utilization rate of intelligent terminal memory space is improved, improves user's body
It tests.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of space management of intelligent terminal, which is characterized in that the space management the following steps are included:
The intelligent terminal judges whether to detect the trigger event of deletion system application;
If detecting the trigger event, the system is applied and is deleted from system application partition;
It counts remaining system in the system application partition and applies required space, according to the size in the required space, again
Divide the space size of the respective shared corresponding region of memory of the system application partition and user partition;Wherein, the user
Subregion is area of space for users to use.
2. space management according to claim 1, which is characterized in that remained in the statistics system application partition
Under system apply required space, according to the size in the required space, repartition the system application partition and user point
Area respectively the space size of shared correspondence region of memory the step of specifically include:
The system for whether discharging deletion is issued the user with using taken up space prompt information;
After the system for receiving the release deletion of user's reply within a preset time is instructed using taken up space confirmation, institute is counted
Stating remaining system in system application partition applies required space to repartition the system according to the size in the required space
Unite application partition and user partition respectively shared by corresponding region of memory space size.
3. space management according to claim 1 or 2, which is characterized in that the statistics system application partition
In remaining system apply required space, according to the size in the required space, repartition the system application partition and use
Family subregion respectively the space size of shared correspondence region of memory the step of specifically include:
It counts remaining system in the system application partition and applies required space;
The Spacial domain decomposition in the required space will be greater than in the system application partition into the user partition.
4. space management according to claim 1 or 2, which is characterized in that the statistics system application partition
In remaining system apply required space, according to the size in the required space, repartition the system application partition and use
Family subregion respectively the space size of shared correspondence region of memory the step of specifically include:
It counts remaining system in the system application partition and applies required space;
According in system application partition in the memory configurations table of intelligent terminal described in the required spatial update and user partition
Spatial data information;Wherein, the overall space of the system application partition and the user partition is certain value;
The system application partition and user partition respectively shared corresponding memory field are repartitioned according to the memory configurations table
The space size in domain.
5. space management according to claim 1, which is characterized in that the system application partition and the user point
Area is located at physical location different in the Intelligent terminal data subregion.
6. space management according to claim 1, which is characterized in that if described detect the trigger event,
The step of deleting from system application partition is applied to specifically include the system:
Prompt information is issued, deletes the system application to remind user whether to determine;
Receive the response message that user issues according to the prompt information;
Judge whether the response message includes determining the control instruction for deleting the system application;
If the system is applied and is deleted from system application partition including the control instruction.
7. space management according to claim 1, which is characterized in that the region of memory is multiple.
8. space management according to claim 5, which is characterized in that the physical bit set of the system application partition
Before the physical location of the user partition, and the end physical address of the system application partition and the user partition
Start physical address be continuous, wherein the physical address is unique corresponding to each byte units in memory
Storage address.
9. a kind of intelligent terminal, which is characterized in that the intelligent terminal includes memory, processor and is stored in the storage
Computer program that is on device and can running on the processor, the processor realize claim when executing described program
Any space management in 1-8.
10. a kind of device with store function, is stored thereon with computer program, which is characterized in that the computer program
It can be performed and realize any space management in claim 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710717567.4A CN109408222A (en) | 2017-08-18 | 2017-08-18 | Intelligent terminal and its space management, the device with store function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710717567.4A CN109408222A (en) | 2017-08-18 | 2017-08-18 | Intelligent terminal and its space management, the device with store function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408222A true CN109408222A (en) | 2019-03-01 |
Family
ID=65462909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710717567.4A Pending CN109408222A (en) | 2017-08-18 | 2017-08-18 | Intelligent terminal and its space management, the device with store function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408222A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444152A (en) * | 2020-03-30 | 2020-07-24 | 北京小米移动软件有限公司 | File system, file system access method, electronic device, and storage medium |
CN111562887A (en) * | 2020-05-09 | 2020-08-21 | 青岛海信传媒网络技术有限公司 | Display device and partition capacity expansion method |
WO2023169185A1 (en) * | 2022-03-10 | 2023-09-14 | 华为技术有限公司 | Memory management method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324576A (en) * | 2012-03-23 | 2013-09-25 | 联想(北京)有限公司 | Memory space changing method and electronic equipment |
CN103559054A (en) * | 2013-10-30 | 2014-02-05 | 华为终端有限公司 | Implementing and deleting method and device for intelligent terminal multi-operation system |
CN104021022A (en) * | 2014-06-23 | 2014-09-03 | 联想(北京)有限公司 | Partition adjusting method and electronic equipment |
-
2017
- 2017-08-18 CN CN201710717567.4A patent/CN109408222A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324576A (en) * | 2012-03-23 | 2013-09-25 | 联想(北京)有限公司 | Memory space changing method and electronic equipment |
CN103559054A (en) * | 2013-10-30 | 2014-02-05 | 华为终端有限公司 | Implementing and deleting method and device for intelligent terminal multi-operation system |
CN104021022A (en) * | 2014-06-23 | 2014-09-03 | 联想(北京)有限公司 | Partition adjusting method and electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444152A (en) * | 2020-03-30 | 2020-07-24 | 北京小米移动软件有限公司 | File system, file system access method, electronic device, and storage medium |
CN111562887A (en) * | 2020-05-09 | 2020-08-21 | 青岛海信传媒网络技术有限公司 | Display device and partition capacity expansion method |
CN111562887B (en) * | 2020-05-09 | 2023-10-27 | 青岛海信传媒网络技术有限公司 | Display device and partition capacity expansion method |
WO2023169185A1 (en) * | 2022-03-10 | 2023-09-14 | 华为技术有限公司 | Memory management method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701025B (en) | A kind of method for recovering internal storage and device | |
US8099548B2 (en) | Power efficient media playback on general purpose portable devices | |
JP7138804B2 (en) | INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM | |
CN106168885B (en) | A kind of method and system of the logical volume dynamic capacity-expanding based on LVM | |
CN105190525B (en) | Management is in energy-saving mode to the access of hybrid drive | |
WO2018036505A1 (en) | Method and device for managing background applications of terminal | |
CN109408222A (en) | Intelligent terminal and its space management, the device with store function | |
CN110221781B (en) | Manufacturing method and device of disk fragments, storage medium and intelligent terminal | |
CN103902575A (en) | Pictorial information loading method and related device | |
CN107071284A (en) | A kind of photographic method and terminal | |
CN103902562A (en) | Method and device for upgrading terminal databases | |
CN108920271A (en) | Application cache method for cleaning, device, storage medium and terminal | |
CN111104219A (en) | Binding method, device, equipment and storage medium of virtual core and physical core | |
CN105094811A (en) | Method can device for processing events | |
CN104272273A (en) | Dynamic memory allocation | |
CN115017030A (en) | Resource allocation method, device, electronic equipment and storage medium | |
CN109582439A (en) | DCN dispositions method, device, equipment and computer readable storage medium | |
CN102290033B (en) | Method and device for refreshing image | |
CN106716980A (en) | Method for displaying view and terminal device | |
CN112817835A (en) | Performance data acquisition method and device, processor and electronic device | |
CN112698793A (en) | Data storage method and device, machine readable medium and equipment | |
CN106201464A (en) | A kind of application icon processing method freezing application and mobile terminal | |
CN109933435A (en) | Control method, device and computer equipment | |
CN108932155A (en) | Virtual machine memory management method, device, electronic equipment and readable storage medium storing program for executing | |
CN106528196B (en) | The APP loading method of smart machine and the smart machine, system of application this method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |