CN102841905A - Electronic device and storage management method thereof - Google Patents

Electronic device and storage management method thereof Download PDF

Info

Publication number
CN102841905A
CN102841905A CN2011101730099A CN201110173009A CN102841905A CN 102841905 A CN102841905 A CN 102841905A CN 2011101730099 A CN2011101730099 A CN 2011101730099A CN 201110173009 A CN201110173009 A CN 201110173009A CN 102841905 A CN102841905 A CN 102841905A
Authority
CN
China
Prior art keywords
input operation
storage address
logical storage
address
management method
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.)
Granted
Application number
CN2011101730099A
Other languages
Chinese (zh)
Other versions
CN102841905B (en
Inventor
邓周
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110173009.9A priority Critical patent/CN102841905B/en
Publication of CN102841905A publication Critical patent/CN102841905A/en
Application granted granted Critical
Publication of CN102841905B publication Critical patent/CN102841905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an electronic device and a storage management method thereof. The electronic device is provided with a storage unit, wherein the storage unit is stored with a target and a mapping relation group, the mapping relation group comprises a physical storage address of the data of the target and a mapping relation of logic storage addresses of the target, and the method comprises following steps of detecting at least one time of first input operation; determining at least one target according to the first input operation, wherein the target corresponds to a physical storage address and a first logic storage address; detecting a second input operation; generating an address acquiring instruction when the second input operation is a first scheduled operation; acquiring a second logic storage address for responding to the address acquiring instruction, wherein the second logic storage address is different from the first logic storage address; and creating and storing a mapping relation between the second logic storage address and the physic storage address.

Description

Electronic equipment and memory management method thereof
Technical field
The present invention relates to the field of electronic equipment, more specifically, the present invention relates to a kind of electronic equipment and memory management method thereof.
Background technology
Electronic equipment such as portable terminal, personal computer stores various files usually.Under a lot of situation of the quantity of file, the user usually is stored in various document classifications in the file of being created through creating file.
In the creation method of existing file, user at first select File folder creates option to create file, selects then to add the object in the file of being created to, after this, selected object is moved (shearing) in said file.This method needs aforesaid three operation stepss at least, and is easy inadequately.
Summary of the invention
Because above-mentioned situation the invention provides a kind of electronic equipment and memory management method thereof, it can make that the user passes through to operate the establishment file simply, has improved user experience.
According to one embodiment of the invention; A kind of memory management method is provided; Be applied to have the electronic equipment of storage unit; Said cell stores has object and mapping relations group, and said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object, and said memory management method comprises: detect at least one first input operation; According to said at least one first input operation, confirm at least one object, the corresponding physical storage address of each said at least one object and first logical storage address; Detect second input operation; When said second input operation was first scheduled operation, calculated address was obtained instruction; Obtain instruction in response to said address, obtain second logical storage address, said second logical storage address is different with said first logical storage address; Create the mapping relations between said second logical storage address and said physical storage address; And store the mapping relations between said second logical storage address and said physical storage address.
Said confirm at least one object after, said memory management method also can comprise: show second number that can hold object in first number and/or said second logical storage address of determined object at most.
Said memory management method also can comprise: when said first number equals said second number, if detect said first input operation, make that then said first input operation is invalid.
In said memory management method, can carry out first input operation and the 3rd input operation for said object, and when detecting at least one first input operation, said memory management method can be so that said the 3rd input operation be invalid.
After said definite at least one object, and before said detection second input operation, said memory management method also can comprise: detect the 4th input operation; According to said the 4th input operation, obtain Select None; And from determined at least one object, delete Select None, with the object that obtains finally confirming.
Said second logical storage address that obtains can comprise: obtain instruction in response to said address, create the logical storage catalogue; And, obtain second logical storage address according to said logical storage catalogue.
According to another embodiment of the present invention; A kind of electronic equipment is provided; Comprise: storage unit, be configured to store object and mapping relations group, said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object; First detecting unit is configured to detect at least one first input operation; Confirm the unit, be configured to confirm at least one object according to said at least one first input operation, the corresponding physical storage address of each said at least one object and first logical storage address; Second detecting unit is configured to detect second input operation; Generation unit is configured to when said second input operation is first scheduled operation, and calculated address is obtained instruction; Acquiring unit is configured to obtain instruction in response to said address, obtains second logical storage address, and said second logical storage address is different with said first logical storage address; And the establishment unit, be configured to create the mapping relations between said second logical storage address and said physical storage address; Wherein, said storage unit also is configured to store the mapping relations between said second logical storage address and said physical storage address.
Said electronic equipment also can comprise: display processing unit is configured to show second number that can hold object in first number and/or said second logical storage address of determined object at most.
Said electronic equipment also can comprise: control module is configured to when said first number equals said second number, if detect said first input operation, make that then said first input operation is invalid.
In said electronic equipment; Can carry out first input operation and the 3rd input operation for said object, and said electronic equipment can comprise also: control module; Be configured to when detecting at least one first input operation, make that said the 3rd input operation is invalid.
Said electronic equipment also can comprise: the 3rd detecting unit is configured to detect the 4th input operation; And said definite unit can comprise: Select None obtains the unit, is configured to obtain Select None according to said the 4th input operation; And delete cells, from determined at least one object, delete Select None, with the object that obtains finally confirming.
Said acquiring unit can comprise: the directory creating unit, obtain instruction in response to said address, and create the logical storage catalogue; And the second logical address acquiring unit, according to said logical storage catalogue, obtain second logical storage address.
In the electronic equipment and memory management method thereof of the embodiment of the invention; Component content through the definite file that will create; Create instruction in response to file and create file, and the component content of determined file is moved in the said file, make the user only need alternative and the two step simple operationss of sending file establishment instruction can create the literary composition folder; Thereby made things convenient for user's operation, improved user experience.
Description of drawings
Fig. 1 is the process flow diagram of diagram according to the memory management method of the embodiment of the invention;
Fig. 2 illustrates the process flow diagram of memory management method according to another embodiment of the present invention;
Fig. 3 is the block diagram of diagram according to the main configuration of the electronic equipment of the embodiment of the invention;
Fig. 4 illustrates the block diagram of the main configuration of electronic equipment according to another embodiment of the present invention; And
Fig. 5 A-5C is that diagram is according to the demonstration synoptic diagram on the electronic equipment of the embodiment of the invention.
Embodiment
Below will be described in detail with reference to the attached drawings the embodiment of the invention.
At first, with reference to Fig. 1 the memory management method according to the embodiment of the invention is described.
Memory management method according to the embodiment of the invention is applied to the electronic equipment such as mobile phone, panel computer, notebook computer, personal computer etc.Said electronic equipment and storage unit communicative couplings.Said storage unit can be the built-in storage unit like ROM, RAM etc., also can be the external memory unit like storage card, portable hard drive etc.
Said cell stores has object and mapping relations group.Said object for example is a file or folder.Said file for example is audio file, video file, application program executable file, application program shortcut etc.The address that it is pointed out that the said object data of storage in the said storage unit is the physical storage address of said object data, and like 32 physical storage addresses or 64 physical storage addresses, it is normally transparent for the user.Said object is also corresponding to the required logical storage address of user capture.As for the XX text in the new folder that is stored in fdisk D dish, its logical storage address be D: new folder XX.doc.Said logical storage address is generally the user and knows.Said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object.In other words, be associated between said physical storage address and the said logical storage address, and the stored in form that this relevance is passed through the mapping relations group is in said storage unit.
When memory management method shown in Figure 1 began, at first, at step S101, said memory management method detected at least one first input operation.Particularly, said memory management method can detect said first input operation through mouse or keyboard interface, also can detect said first input operation through touch sensing unit.
After this, at step S102, said memory management method is confirmed at least one object according to said at least one first input operation.As stated, a corresponding physical storage address of each said at least one object and a logical storage address.At this, will be called first logical storage address as the said logical storage address of initial logic memory address.
At step S103, said memory management method detects second input operation.Likewise, said memory management method can detect said second input operation through mouse or keyboard interface, also can detect said second input operation through touch sensing unit.
At step S104, when said second input operation was first scheduled operation, calculated address was obtained instruction.Particularly, said memory management method judges whether said second input operation is first scheduled operation.Said first scheduled operation is that the user is used to instruct the operation of creating file.For example, said memory management method can judge whether said second input operation is the operation of clicking the predetermined hardkey/virtual push button on the said electronic equipment.When judging that said second input operation is first scheduled operation, said memory management method calculated address is obtained instruction.
After this, at step S105, said memory management method obtains instruction in response to said address, obtains second logical storage address.Particularly, said memory management method can obtain instruction in response to said address, creates a logical storage catalogue.Said logical storage catalogue is corresponding to the logical storage address of the file that will create.After this, said memory management method obtains second logical storage address according to said logical storage catalogue.Particularly, said memory management method is for example with said logical storage catalogue and combined with various forms in the title of the determined object of step S102, to obtain said second logical address.More specifically, said memory management method can splice said logical storage catalogue with the title of determined object mutually, to obtain said second logical address.Through above-mentioned processing, said memory management method can obtain said second logical address different with said first logical address.
After this, at step S106, said memory management method is created the mapping relations between said second logical storage address and said physical storage address.Particularly, said memory management method can be associated said second logical storage address to form new mapping relations with said physical storage address.After this, at step S107, said memory management method is written back to the relevant position in the said storage unit with formed mapping relations, to cover the relation between said first logical storage address and the said physical storage address.
Thus, the memory management method of the embodiment of the invention according to the Object Creation of user's appointment new file.That is to say that the memory management method of the embodiment of the invention can be presented as the file creation method.Said file creation method detects at least one first input operation, and confirms the one or more objects as the file content according to said at least one first input operation.After this, said file creation method further detects second input operation, and when said second input operation is first scheduled operation, creates file according to determined file content.Thus, said file creation method is created file for the user, and puts into file to the object that the user chooses, and further, can only put into the content of the object of choosing the file of establishment.For example; Choose under a file and the situation of a file as object the user, in one embodiment, said file creation method is created file; Comprising in the file of being created as the content of the file of object and as the file of object, is the single-stage file therefore.In another embodiment, said file creation method is created file, comprises file and file as object in the file of being created, and further comprises the content of himself in the said obj ect file folder, is the two-stage file therefore.
Memory management method according to the embodiment of the invention has been described above.Through said memory management method, when the user wants newly to create file, only need select one or more objects to confirm two easy steps of operation then, just can create the file that comprises selected object, improved user experience.In addition, the user not only can select one or more files (as use) to create file, and can select application and file to create new file forming multistage file, thereby has further improved user experience.
Below, will memory management method according to another embodiment of the present invention be described with reference to figure 2.As shown in Figure 2, step S101-S106 wherein is identical with the described memory management method of Fig. 1, and difference is, also comprises step S201-S203 according to the memory management method of present embodiment.Particularly, after step S102 confirms at least one object, and before step S103 detected second input operation, at step S201, said memory management method detected the 4th input operation that is used to delete object.After this, at step S202, said memory management method obtains Select None according to said the 4th input operation, and from determined at least one object, deletes said Select None at step S203, with the object that obtains finally confirming.
In this embodiment; The user not only can be only confirms then that through alternative two easy steps of operation create file; And can after alternative, delete one or more objects of its selection; Increase the dirigibility of user's operation thus, further improved user experience.
Corresponding to above-mentioned storage administration step, said memory management method can show determined object with the special display effect such as Gao Liang, amplification when step S102 confirms at least one object.In addition, thus when detecting repeatedly first input operation and confirm a plurality of object, alternatively, said memory management method can connect selected each object with line in chronological order, thereby points out the user to select which object in chronological order intuitively.
In addition; Alternatively; Thereby when detecting the 4th input operation deletion Select None as stated; Said memory management method can be cancelled object of before and after said Select None, confirming in chronological order and the line between the said Select None, and will between the object of confirming before and after the said Select None, connect with line, thereby points out the user to delete which object intuitively.Alternatively, said process can show with animation effect, so that user experience is better.
In addition; Alternatively; If split screen shows said a plurality of object in such as the electronic equipment of mobile phone, panel computer, then can in each screen, all show " confirming " button as the object of second input operation, carry out second input operation to make things convenient for the user.
In addition; Alternatively; After step S106 creates the mapping relations between said second logical storage address and said physical storage address; Said memory management method shows the mark of the new file of creating on said display unit, and the mark of determined object is deleted from initial position, changes under the file of being created showing.Alternatively, said memory management method can change the mark of first object of confirming in chronological order into the mark of file, and the mark of other determined objects is deleted from initial position, changes demonstration under the file of being created into.Alternatively, said process can show with animation effect, so that user experience is better.
In addition; Alternatively; After said memory management method is confirmed at least one object; Also can show second number that can hold object in first number and/or said second logical storage address of determined object at most, said user is current have been confirmed and can confirm how many objects at the most for how many objects to point out more intuitively.When said first number equals said second number,, make that then said first input operation is invalid if said memory management method detects said first input operation once more.That is to say that said memory management method does not continue to confirm object in response to said first input operation.
In addition; Alternatively; Said second input operation of carrying out except that said first input operation that said object is carried out with to the button that is used for confirm creating file, also can carry out the 3rd input operation, for example be used to delete and/or unload the operation of object said object.That is to say, under the preassigned pattern when the memory management method of the embodiment of the invention does not begin, can carry out first input operation or said the 3rd input operation said object.For example, be used to point out the mark (as adding mark) that carries out first input operation and be used to point out the mark that carries out the 3rd input operation (like delete flag) showing on the mark of said object or near the mark.When detecting the user and clicked said delete flag, said memory management method confirms to detect the 3rd input operation to said object.At this moment, said memory management method is carried out the processing corresponding to the 3rd input operation, as deleting or unload said object.And when detecting the user and clicked said interpolation mark, said memory management method confirms to detect first input operation to said object.At this moment, said memory management method gets into the operator scheme of the embodiment of the invention.Under this operator scheme, if when the memory management method of the embodiment of the invention begins, detect the 3rd input operation after this, then said memory management method makes that said the 3rd input operation is invalid.In other words, said memory management method is not in response to said the 3rd input operation deletion and/or unloading object.Alternatively, when detecting at least one time first input operation through touch sensing unit, said memory management method can no longer show and is used to point out the user to carry out the mark of the 3rd input operation, carries out the 3rd input operation to forbid the user.
In addition, alternatively, when the memory management method of the embodiment of the invention begins, can show at the ad-hoc location of the mark of said object and add mark, be used to point out the user to carry out first input operation.When after above-mentioned steps S102 confirms object in response to first input operation, said memory management method can replace with the cancellation mark with the interpolation mark of said object, is used to point out the user to carry out the 4th input operation.After this, when after step S203 deletes said object in response to the 4th input operation, can the cancellation mark of said object be replaced with the interpolation mark again.
Through above-mentioned various processing, not only can and can make that the display interface of said electronic equipment is more user friendly so that the user only confirms then that through alternative two easy steps of operation just can create file, further strengthen user experience.
More than, the memory management method according to the embodiment of the invention has been described.Below, will combine two concrete examples to describe said memory management method in more detail.
In the first concrete example, be applied to like electronic equipments such as personal computers according to the memory management method of the embodiment of the invention.Said electronic equipment comprises keyboard as input equipment, mouse etc. and as display unit of output device etc.In addition, as stated, said electronic equipment can comprise storage unit.Said cell stores has object and mapping relations group.Said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object.Said electronic equipment can move based on various operating systems.Below, will be that example is described with
Figure BDA0000071063270000081
system.In the file system based on Windows, each file generally includes a plurality of attributes such as filename, file higher level, file data, logical storage address, physical storage address.It is pointed out that file described here not only comprises like the file of video file, audio file etc., also comprises file self.When in such file system, creating file, said memory management method does not change the physical storage address of file data, and only changes the for example file attribute of logical storage address.
Particularly, in such electronic equipment, said memory management method passes through at least one first input operation that mouse interface, keyboard interface etc. detect the user, and confirms at least one object according to said at least one first input operation.More specifically, said memory management method can detect the selection operation that the user once select a plurality of objects through the keyboard and mouse interface, also can detect repeatedly to click and select the repeatedly clicking operation of each object respectively, confirms at least one object thus.In other words, the user for example can once select one or more objects through the choosing of click or mouse circle.In addition, as stated, the corresponding physical storage address of each said at least one object and first logical storage address.
Next, said memory management method detects second input operation through the keyboard and mouse interface, and judges whether said second input operation is first scheduled operation.For example, said first scheduled operation can be preset as the operation of clicking " new folder " option that shows on the display unit.When judging that detected second input operation is aforesaid operations, said memory management method calculated address is obtained instruction.
After this, said memory management method obtains instruction in response to said address, obtains second logical storage address.Particularly, at first, said memory management method generates new clauses and subclauses to the file that will create in said file system.Next, the environment of said memory management method when creating file is that said clauses and subclauses are filled each attribute.More specifically, said memory management method with " new folder " (alternatively, under situation of user name) with the title of user's name as filename.In addition; Said memory management method obtains residing access path when creating file (as D:); And with this access path and the combined logical storage address of above-mentioned filename as said clauses and subclauses (as D: new folder); With this access path as file higher level (as D:), thereby in file system, generated corresponding clauses and subclauses for the file that will create.This document clamp bar purpose logical storage address that obtained this moment is the logical storage catalogue described in the embodiment of the invention.
Then, said memory management method obtains second logical storage address based on said logical storage catalogue.Particularly, said memory management method can be combined with the filename of said logical storage catalogue and above-mentioned definite object, thereby obtain said second logical storage address.For example, under the situation of the file XX by name of above-mentioned definite object, said second logical storage address can be the D: new folder.Said memory management method writes back second logical storage address that is obtained the logical storage address attribute of said object; With the property value (first logical storage address) before replacing; Thus; Said second logical storage address is stored in the said object entry with said physical storage address as another property value of same target explicitly, thereby has formed said mapping relations.
Below, the second concrete example of the memory management method that an embodiment of the present invention will be described.In this example, said memory management method is applied to the electronic equipment like mobile phone, panel computer etc.Said electronic equipment comprises as touch sensing unit of input equipment etc. and as display unit of output device etc.Alternatively, said touch sensing unit can range upon range ofly be arranged on the said display unit, to form touch display screen.In addition, as stated, said electronic equipment can comprise storage unit.Said cell stores has object and mapping relations group.Said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object.Said electronic equipment can move based on various operating systems.Below, will be that example is described with the An Zhuo system.In the An Zhuo system, can show a plurality of application by split screen on the display interface of the multipad of said electronic equipment (Launcher).Here, as the data of the application of object be stored in usually corresponding to as app, app etc. the physical memory address of file.When carrying out said application, call the data of the said application that is stored in said physical memory address through Launcher.In addition, Launcher also manages the logical storage address of application concentratedly.For example, manage the information that is positioned at which position of which screen about application-specific among the said Launcher, as the logical storage address of said application-specific.When in such system, creating file, said memory management method does not change the physical storage address of file data equally, and only changes the logical storage address through Launcher.
Particularly, in such electronic equipment, said memory management method passes through at least one first input operation that touch sensing unit detects the user, and confirms at least one object according to said at least one first input operation.More specifically, said memory management method can detect at least clicking operation of user through said touch sensing unit, confirms at least one object thus.In other words, the user for example can be through touching click or touching the circle choosing and once select one or more objects.In addition, as stated, the corresponding physical storage address of each said at least one object and first logical storage address.
Next, said memory management method detects second input operation through touch sensing unit, and judges whether said second input operation is first scheduled operation.For example, said first scheduled operation can be preset as the operation of clicking " confirming " soft key that shows on the display unit.When judging that detected second input operation is aforesaid operations, said memory management method calculated address is obtained instruction.
After this, said memory management method obtains instruction in response to said address, obtains second logical storage address.Particularly, at first, said memory management method is through the file formation logic memory address of Launcher for creating, as be positioned at first relative position information of which which position of screen about the file that will create, as above-mentioned logical storage catalogue.After this, said memory management method obtains second logical storage address according to said logical storage catalogue.Particularly; Said memory management method generates second relative position information that is arranged in which position of file of being created about determined object through Launcher, and will said first relative position information and said second relative position information make up with as said second logical storage address.
Next; Said memory management method is associated said second logical storage address through Launcher with said physical storage address; Forming the mapping relations between said second logical storage address and the said physical storage address, thereby replace the mapping relations between said first logical storage address and the said physical storage address.
Memory management method according to the embodiment of the invention has been described above.Below, will be with reference to the electronic equipment of figure 3 descriptions according to the embodiment of the invention.As shown in Figure 3, comprise according to the electronic equipment 300 of the embodiment of the invention: storage unit 301, first detecting unit 302, confirm unit 303, second detecting unit 304, generation unit 305, acquiring unit 306 and create unit 307.
Particularly, said storage unit 301 is configured to storage object and mapping relations group.Said object for example is a file or folder.Said file for example is audio file, video file, application program executable file etc.The address that it is pointed out that the said object data of storage in the said storage unit is the physical storage address of said object data, and it is normally transparent for the user.Said object is also corresponding to the required logical storage address of user capture.As for the XX text in the new folder that is stored in fdisk D dish, its logical storage address be D: new folder XX.doc.Said logical storage address is generally the user and knows.Said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object.In other words, be associated between said physical storage address and the said logical storage address, and the stored in form that this relevance is passed through the mapping relations group is in said storage unit.
Said first detecting unit 302 is configured to detect at least one first input operation.Particularly, said first detecting unit 302 can be presented as mouse or keyboard interface, also can be presented as touch sensing unit.
Said definite unit 303 is configured to confirm at least one object according to said at least one first input operation.As stated, a corresponding physical storage address of each said at least one object and a logical storage address.At this, said logical storage address is called first logical storage address.
Said second detecting unit 304 is configured to detect second input operation.Likewise, said second detecting unit 304 can be presented as mouse or keyboard interface, also can be presented as touch sensing unit.In addition, said first detecting unit 302 can separately be set to different unit with said second detecting unit 304, also can merge to be set to a unit.
Said generation unit 305 is configured to when said second input operation is first scheduled operation, and calculated address is obtained instruction.Particularly, said generation unit 305 can comprise judging unit, is configured to judge whether said second input operation is first scheduled operation.Said first scheduled operation is that the user is used to instruct the operation of creating file.For example, said judging unit can judge whether said second input operation is the operation of clicking the predetermined hardkey/virtual push button on the said electronic equipment.
When judging that said second input operation is first scheduled operation, said acquiring unit 306 obtains instruction in response to said address, obtains second logical storage address.Particularly, said acquiring unit 306 can comprise the directory creating unit, is configured to obtain instruction in response to said address, creates the logical storage catalogue, and said logical storage catalogue is corresponding to the logical storage address of the file that will create; And the second logical address acquiring unit, according to said logical storage catalogue, obtain second logical storage address.Particularly, the said second logical address acquiring unit is for example combined with various forms with the title of said logical storage catalogue and said definite unit 303 determined objects, to obtain said second logical address.Through above-mentioned processing, said acquiring unit 306 can obtain said second logical address different with said first logical address.
Said establishment unit 307 is configured to create the mapping relations between said second logical storage address and said physical storage address, and said storage unit 301 is configured to store second logical storage address of being created and the mapping relations between physical storage address.Particularly, said establishment unit 307 can be associated said second logical storage address to form new mapping relations with said physical storage address.After this, said storage unit 301 can be written back to the relevant position in the said storage unit 301 with formed mapping relations, to cover the relation between said first logical storage address and the said physical storage address.
Thus, the electronic equipment 300 of the embodiment of the invention according to the Object Creation of user's appointment new file.That is to say that the electronic equipment 300 of the embodiment of the invention can be applied to the situation that file is created.Said electronic equipment 300 detects at least one first input operation through first detecting unit 302, and confirms the one or more objects as the file content through definite unit 303 according to said at least one first input operation.After this, said electronic equipment 300 further detects second input operation through second detecting unit 304, and when said second input operation is first scheduled operation, creates file through creating unit 307 according to determined file content.
Electronic equipment according to the embodiment of the invention has been described above.Through said electronic equipment, when the user wants newly to create file, only need select one or more objects to confirm two easy steps of operation then, just can create the file that comprises selected object, improved user experience.
It is to be noted; Electronic equipment according to the embodiment of the invention also can dispose as follows; Said electronic equipment comprises: storage unit; Be configured to store object and mapping relations group, said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object; First input interface detects at least one first input operation; Processor is configured to confirm at least one object according to said at least one first input operation, the corresponding physical storage address of each said at least one object and first logical storage address; Second input interface is configured to detect second input operation; Said processor also is configured to when said second input operation is first scheduled operation, and calculated address is obtained instruction; Obtain instruction in response to said address, obtain second logical storage address, said second logical storage address is different with said first logical storage address; Create the mapping relations between said second logical storage address and said physical storage address; And the mapping relations between said second logical storage address and said physical storage address are stored in the said storage unit.Wherein, said storage unit can be the built-in storage unit like ROM, RAM, also can be the external memory unit like storage card, portable hard drive.Said first input interface and said second input interface can be mouse interface, keyboard interface or sensor interface, and it can separately be set to two unit, also can merge into a unit.Said processor can for example be a CPU etc.The concrete configuration of said each parts is described in detail in reference to figure 1 described memory management method with operation, no longer repeats at this.
Below, will electronic equipment according to another embodiment of the present invention be described with reference to figure 4.As shown in Figure 4; Unit 301-307 wherein is identical with corresponding unit in the described electronic equipment 300 of Fig. 3, and difference is, also comprises the 3rd detecting unit 401 according to the electronic equipment 400 of present embodiment; Be configured to detect the 4th input operation; Similar with above-mentioned first detecting unit 302 and second detecting unit 304, said the 3rd detecting unit 401 can be presented as mouse or keyboard interface, also can be presented as touch sensing unit.In addition, said first detecting unit 302, said second detecting unit 304 can separately be set to different unit with said the 3rd detecting unit 401, also can merge to be set to a unit.
In addition, in Fig. 4, said definite unit 303 comprises: Select None obtains unit 402, is configured to obtain Select None according to said the 4th input operation; And delete cells 403, from determined at least one object, delete Select None, with the object that obtains finally confirming.
In this embodiment; The user not only can be only confirms then that through alternative two easy steps of operation create file; And can after alternative, delete one or more objects of its selection; Increase the dirigibility of user's operation thus, further improved user experience.
In addition, alternatively, said electronic equipment 300 and 400 also can comprise display processing unit and control module.Said display processing unit is configured to show determined object with the special display effect such as Gao Liang, amplification.In addition; Thereby when detecting repeatedly first input operation and confirm a plurality of object; Alternatively, said display processing unit can show the line that connects selected each object in chronological order, thereby points out the user to select which object in chronological order intuitively.
In addition; Alternatively; Said display processing unit can be configured to show the object before and after said Select None, confirmed in chronological order and the line between the said Select None with animation effect cancellation; And be presented at the line between the object of confirming before and after the said Select None, thereby point out the user to delete which object intuitively.
In addition; Alternatively; If split screen shows said a plurality of object in such as the electronic equipment of mobile phone, panel computer, then said display processing unit can all show " confirming " button as the object of second input operation in each screen, carry out second input operation to make things convenient for the user.
In addition; Alternatively; After the mapping relations that said establishment unit 307 is created between said second logical storage address and said physical storage address; Said display processing unit shows the mark of the new file of creating, and cancellation shows that at initial position the mark of determined object removes, and changes demonstration under the file of being created into.Alternatively, said display processing unit can change the demonstration of the mark of first object of confirming in chronological order into the mark of file, and cancellation shows at initial position and the mark of other determined objects changes demonstration under the file of being created into.Alternatively, said display processing unit can show said process with animation effect, so that user experience is better.
In addition; Alternatively; After at least one object is confirmed in said definite unit 303; Said display processing unit also can show second number that can hold object in first number and/or said second logical storage address of determined object at most, and said user is current have been confirmed and can confirm how many objects at the most for how many objects to point out more intuitively.When said first number equaled said second number, if said first detecting unit 302 detects said first input operation once more, then said control module made that said first input operation is invalid.That is to say that said control module makes said definite unit 303 not continue to confirm object in response to said first input operation.
In addition, alternatively, except that said first input operation and said second input operation, also can carry out the 3rd input operation, for example be used to delete and/or unload the operation of object said object.In the case, when detecting at least one first input operation through said first detecting unit 302, if said electronic equipment 300 detects the 3rd input operation after this, then said control module makes that said the 3rd input operation is invalid.In other words, said control module is not in response to said the 3rd input operation deletion and/or unloading object.Alternatively, when detecting at least one first input operation through said first detecting unit 302, said control module can carry out the 3rd input operation to forbid the user so that no longer demonstration is used to point out the user to carry out the mark of the 3rd input operation.
In addition, alternatively, before first detecting unit 302 of the embodiment of the invention detected first input operation, said display processing unit can show at the ad-hoc location of the mark of said object and adds mark, is used to point out the user to carry out first input operation.After object was confirmed in response to first input operation in said definite unit 303, said display processing unit can be shown as the cancellation mark with the interpolation mark replacement of said object, is used to point out the user to carry out the 4th input operation.After this, after said delete cells 403 was deleted said object in response to the 4th input operation, said display processing unit can be replaced the cancellation mark of said object again and be shown as the interpolation mark.
Above-mentioned various processing through display processing unit and control module; Not only can so that the user only through alternative confirm then the operation two easy steps just can create file; And can make that the display interface of said electronic equipment is more user friendly, further strengthen user experience.
Describe according to the demonstration synoptic diagram on the electronic equipment of the embodiment of the invention below with reference to Fig. 5.Fig. 5 A-5C shows the process when creating file according to the memory management method of the embodiment of the invention.
Shown in Fig. 5 A, application appA, appB...appP totally 16 objects on the display unit of electronic equipment, have been shown.When the user wants newly to create file, at first carry out as long by first input operation with alternative.Under the situation of Fig. 5 A, the user has carried out one time first input operation and has selected object appA, and is carrying out the input operation second time first with alternative appE.
Visible from Fig. 5 A, said memory management method will show with the special display effect that adds aperture by definite object appE in response to ongoing first input operation, so that it is distinguished with other objects mutually.In addition, said memory management method connects selected object appA and appE with line in chronological order, thereby points out the user to select which object in chronological order intuitively.In addition, said memory management method shows the interpolation mark in the upper left corner of the icon of said object, is used to point out the user to carry out first input operation.After confirming object appA in response to first input operation, said memory management method replaces with the cancellation mark with the interpolation mark of said object, is used to point out the user to carry out the 4th input operation.In addition; Said memory management method shows second number that can hold object in first number and/or said second logical storage address of determined object at most below display unit, said user is current have been confirmed and can confirm how many objects at the most for how many objects to point out more intuitively.In the case, the user is current to have confirmed an object, and can hold 12 objects at most in said second logical storage address.
When the user carries out repeatedly first input operation with after having selected a plurality of objects, the demonstration on the said display unit is for example shown in Fig. 5 B.In Fig. 5 B, in response to user's first input operation, said memory management method has been confirmed six object: appA, appE, appF, appM, appD and appL altogether in chronological order.At this moment, if the user carries out second input operation, for example click " √ " button of the below demonstration of display unit, then said memory management method carries out the processing of step S104-S107 in response to detecting second input operation, and shows the result shown in Fig. 5 C.In Fig. 5 C; Said memory management method is deleted above-mentioned six objects from the original display position; And at the icon of the first object appA place folder " new folder " confirmed; Under the catalogue of said file " new folder ", show said six objects, thereby created file.
More than, referring to figs. 1 through Fig. 5 electronic equipment and memory management method thereof according to the embodiment of the invention have been described.
Need to prove; In this manual; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make to comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
At last, need to prove also that above-mentioned a series of processing not only comprise the processing of carrying out by the time sequence with order described here, and comprise parallel or respectively rather than the processing of carrying out in chronological order.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement through hardware.Based on such understanding; All or part of can the coming out that technical scheme of the present invention contributes to background technology with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
In embodiments of the present invention, units/modules can realize with software, so that carried out by various types of processors.For instance, the executable code module of a sign can comprise the one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However; The executable code of institute's identification module need not to be physically located in together; But can comprise the different instruction on being stored in the coordination not, and when combining on these command logics, the regulation purpose that it constitutes units/modules and realizes this units/modules.
When units/modules can utilize software to realize; Consider the level of existing hardware technology; So can be with the units/modules of software realization; Do not considering under the condition of cost that those skilled in the art can build the corresponding hardware circuit and realize corresponding function, said hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, such as realizations such as field programmable gate array, programmable logic array, programmable logic devices.
More than the present invention has been carried out detailed introduction, used concrete example among this paper principle of the present invention and embodiment set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. memory management method; Be applied to have the electronic equipment of storage unit; Said cell stores has object and mapping relations group; Said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object, and said memory management method comprises:
Detect at least one first input operation;
According to said at least one first input operation, confirm at least one object, the corresponding physical storage address of each said at least one object and first logical storage address;
Detect second input operation;
When said second input operation was first scheduled operation, calculated address was obtained instruction;
Obtain instruction in response to said address, obtain second logical storage address, said second logical storage address is different with said first logical storage address;
Create the mapping relations between said second logical storage address and said physical storage address; And
Store the mapping relations between said second logical storage address and said physical storage address.
2. memory management method as claimed in claim 1, wherein, after said definite at least one object, said memory management method also comprises:
Show second number that can hold object in first number and/or said second logical storage address of determined object at most.
3. memory management method as claimed in claim 2 also comprises:
When said first number equals said second number,, make that then said first input operation is invalid if detect said first input operation.
4. memory management method as claimed in claim 1; Wherein, can carry out first input operation and the 3rd input operation for said object, and; When detecting at least one first input operation, said memory management method makes that said the 3rd input operation is invalid.
5. memory management method as claimed in claim 1, wherein, after said definite at least one object, and before said detection second input operation, said memory management method also comprises:
Detect the 4th input operation;
According to said the 4th input operation, obtain Select None; And
From determined at least one object, delete Select None, with the object that obtains finally confirming.
6. memory management method as claimed in claim 1, wherein, said second logical storage address that obtains comprises:
Obtain instruction in response to said address, create the logical storage catalogue; And
According to said logical storage catalogue, obtain second logical storage address.
7. electronic equipment comprises:
Storage unit is configured to store object and mapping relations group, and said mapping relations group comprises the mapping relations between the logical storage address of physical storage address and object of data of object;
First detecting unit is configured to detect at least one first input operation;
Confirm the unit, be configured to confirm at least one object according to said at least one first input operation, the corresponding physical storage address of each said at least one object and first logical storage address;
Second detecting unit is configured to detect second input operation;
Generation unit is configured to when said second input operation is first scheduled operation, and calculated address is obtained instruction;
Acquiring unit is configured to obtain instruction in response to said address, obtains second logical storage address, and said second logical storage address is different with said first logical storage address; And
Create the unit, be configured to create the mapping relations between said second logical storage address and said physical storage address;
Wherein, said storage unit also is configured to store the mapping relations between said second logical storage address and said physical storage address.
8. electronic equipment as claimed in claim 7 also comprises:
Display processing unit is configured to show second number that can hold object in first number and/or said second logical storage address of determined object at most.
9. electronic equipment as claimed in claim 7 also comprises:
Control module is configured to when said first number equals said second number, if detect said first input operation, make that then said first input operation is invalid.
10. electronic equipment as claimed in claim 7 wherein, can carry out first input operation and the 3rd input operation for said object, and said electronic equipment comprises also:
Control module is configured to when detecting at least one first input operation, make that said the 3rd input operation is invalid.
11. electronic equipment as claimed in claim 7 also comprises:
The 3rd detecting unit is configured to detect the 4th input operation;
And said definite unit comprises:
Select None obtains the unit, is configured to obtain Select None according to said the 4th input operation; And
Delete cells is deleted Select None from determined at least one object, with the object that obtains finally confirming.
12. electronic equipment as claimed in claim 7, wherein, said acquiring unit comprises:
The directory creating unit obtains instruction in response to said address, creates the logical storage catalogue; And
The second logical address acquiring unit according to said logical storage catalogue, obtains second logical storage address.
CN201110173009.9A 2011-06-24 2011-06-24 Electronic equipment and memory management method thereof Active CN102841905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110173009.9A CN102841905B (en) 2011-06-24 2011-06-24 Electronic equipment and memory management method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110173009.9A CN102841905B (en) 2011-06-24 2011-06-24 Electronic equipment and memory management method thereof

Publications (2)

Publication Number Publication Date
CN102841905A true CN102841905A (en) 2012-12-26
CN102841905B CN102841905B (en) 2016-06-01

Family

ID=47369278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110173009.9A Active CN102841905B (en) 2011-06-24 2011-06-24 Electronic equipment and memory management method thereof

Country Status (1)

Country Link
CN (1) CN102841905B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425392A (en) * 2013-08-13 2013-12-04 广东欧珀移动通信有限公司 Method and system for creating new folder on touch screen terminal
CN108804023A (en) * 2017-04-28 2018-11-13 爱思开海力士有限公司 Data storage device and its operating method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866259A (en) * 2005-05-21 2006-11-22 三星电子株式会社 Method and apparatus for creating new folder, and method and apparatus for storing data using the same
CN101187930A (en) * 2007-12-04 2008-05-28 浙江大学 Distribution type file system dummy directory and name space implementing method
US7774326B2 (en) * 2004-06-25 2010-08-10 Apple Inc. Methods and systems for managing data
CN101901263A (en) * 2010-07-22 2010-12-01 华为终端有限公司 Access method and device of file system
CN102033710A (en) * 2010-04-07 2011-04-27 苹果公司 Method for managing file folder and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774326B2 (en) * 2004-06-25 2010-08-10 Apple Inc. Methods and systems for managing data
CN1866259A (en) * 2005-05-21 2006-11-22 三星电子株式会社 Method and apparatus for creating new folder, and method and apparatus for storing data using the same
CN101187930A (en) * 2007-12-04 2008-05-28 浙江大学 Distribution type file system dummy directory and name space implementing method
CN102033710A (en) * 2010-04-07 2011-04-27 苹果公司 Method for managing file folder and related equipment
CN101901263A (en) * 2010-07-22 2010-12-01 华为终端有限公司 Access method and device of file system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425392A (en) * 2013-08-13 2013-12-04 广东欧珀移动通信有限公司 Method and system for creating new folder on touch screen terminal
CN108804023A (en) * 2017-04-28 2018-11-13 爱思开海力士有限公司 Data storage device and its operating method
CN108804023B (en) * 2017-04-28 2021-06-25 爱思开海力士有限公司 Data storage device and operation method thereof

Also Published As

Publication number Publication date
CN102841905B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US8418086B2 (en) Isolating received information on a locked device
JP6088520B2 (en) Roll user interface for narrow display devices
TWI604370B (en) Method, computer-readable medium and system for displaying electronic messages as tiles
US8990686B2 (en) Visual navigation of documents by object
US20140075354A1 (en) Apparatus and method for providing user interface for data management
TWI669652B (en) Information processing device, information processing method and computer program
CN107729304B (en) Interacting with a document as an application
CN107402906B (en) Dynamic content layout in grid-based applications
US20130139113A1 (en) Quick action for performing frequent tasks on a mobile device
JP2018503895A (en) Web content tagging and filtering
CN105378623A (en) Inset dynamic content preview pane
JP6178421B2 (en) User interface for content selection and extended content selection
CN105359078A (en) Information processing device, information processing method, and computer program
CN106126718A (en) A kind of picture management method and terminal
CN102945233A (en) Electronic equipment and data management method thereof
CN107111418A (en) With minimum destructive icon displacement
WO2022041609A1 (en) Icon arrangement method and apparatus, storage medium, and electronic device
CN102841905A (en) Electronic device and storage management method thereof
JP2012008916A (en) Electronic apparatus, folder creation system, folder creation method, and folder creation program
CN106227752A (en) A kind of photograph sharing method and terminal
CN110263006A (en) A kind of method and apparatus for downloading file on a user device
CN105630342A (en) Terminal and file display method of terminal
KR102246611B1 (en) Price differentiation by market for in-app software purchases
CN103809893A (en) List interface managing method and device of touch control equipment
CN110045895B (en) Information processing method, system, medium, and computing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant