CN102841905B - Electronic equipment and memory management method thereof - Google Patents

Electronic equipment and memory management method thereof Download PDF

Info

Publication number
CN102841905B
CN102841905B CN201110173009.9A CN201110173009A CN102841905B CN 102841905 B CN102841905 B CN 102841905B CN 201110173009 A CN201110173009 A CN 201110173009A CN 102841905 B CN102841905 B CN 102841905B
Authority
CN
China
Prior art keywords
input operation
storage address
logical storage
management method
memory management
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.)
Active
Application number
CN201110173009.9A
Other languages
Chinese (zh)
Other versions
CN102841905A (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

Abstract

The invention provides a kind of electronic equipment and memory management method thereof, described electronic equipment has memory element, described memory element storage has object and mapping relations group, described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object, and described method includes: detection the first input operation at least one times; According to described first input operation at least one times, it is determined that at least one object, each described at least one object correspondence one physical storage address and first logical storage address; Detect the second input operation; When described second input operation is the first scheduled operation, generate address acquisition instruction; In response to described address acquisition instruction, obtaining the second logical storage address, described second logical storage address is different from described first logical storage address; And create and store the mapping relations between described second logical storage address and described physical storage address.

Description

Electronic equipment and memory management method thereof
Technical field
The present invention relates to the field of electronic equipment, more particularly it relates to an electronic equipment and memory management method thereof.
Background technology
Such as the electronic equipment of mobile terminal, personal computer is typically stored with various file. When the quantity of file is a lot, various document classifications are stored in the file created by user often through creating file.
In the creation method of existing file, first user selects file to create option to create file, then selects the object adding in the file created, hereafter, selected object moves (shearing) in described file. This method at least needs three operating procedures as above, easy not.
Summary of the invention
Because above-mentioned situation, the invention provides a kind of electronic equipment and memory management method thereof, it enables to user and creates file by operation simply, improves Consumer's Experience.
According to one embodiment of the invention, provide a kind of memory management method, it is applied to the electronic equipment with memory element, described memory element storage has object and mapping relations group, described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object, and described memory management method includes: detection the first input operation at least one times; According to described first input operation at least one times, it is determined that at least one object, each described at least one object correspondence one physical storage address and first logical storage address; Detect the second input operation; When described second input operation is the first scheduled operation, generate address acquisition instruction; In response to described address acquisition instruction, obtaining the second logical storage address, described second logical storage address is different from described first logical storage address; Create the mapping relations between described second logical storage address and described physical storage address; And store the mapping relations between described second logical storage address and described physical storage address.
Described determine at least one object after, described memory management method may also include that and shows the second number being at best able to hold object in the first number of determined object and/or described second logical storage address.
Described memory management method may also include that when described first number is equal to described second number, if be detected that described first input operation, then makes described first input operation invalid.
In described memory management method, the first input operation and the 3rd input operation can be carried out for described object, and, when the first input operation at least one times being detected, described memory management method can so that described 3rd input operation be invalid.
Described determine at least one object after, and before described detection the second input operation, described memory management method may also include that detection the 4th input operation; According to described 4th input operation, obtain Select None; And from least one object determined, delete Select None, with the object finally determined.
Described acquisition the second logical storage address comprises the steps that in response to described address acquisition instruction, creates logic storage catalogue; And store catalogue according to described logic, obtain the second logical storage address.
According to another embodiment of the present invention, provide a kind of electronic equipment, including: memory element, being configured to storage has object and mapping relations group, and described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object; First detection unit, is configured to detection the first input operation at least one times; Determine unit, be configured to according to described first input operation at least one times, it is determined that at least one object, each described at least one object correspondence one physical storage address and first logical storage address; Second detection unit, is configured to detection the second input operation; Generate unit, be configured to when described second input operation is the first scheduled operation, generate address acquisition instruction; Acquiring unit, is configured in response to described address acquisition instruction, obtains the second logical storage address, and described second logical storage address is different from described first logical storage address; And creating unit, it is configured to create the mapping relations between described second logical storage address and described physical storage address; Wherein, described memory element is additionally configured to store the mapping relations between described second logical storage address and described physical storage address.
Described electronic equipment may also include that display processing unit, is configured to show the second number being at best able to hold object in the first number of determined object and/or described second logical storage address.
Described electronic equipment may also include that control unit, is configured to, when described first number is equal to described second number, if be detected that described first input operation, then make described first input operation invalid.
In described electronic equipment, the first input operation and the 3rd input operation can be carried out for described object, and, described electronic equipment may also include that control unit, it is configured to when the first input operation at least one times being detected so that described 3rd input operation is invalid.
Described electronic equipment may also include that the 3rd detection unit, is configured to detection the 4th input operation; Further, described determine unit comprise the steps that Select None obtain unit, be configured to, according to described 4th input operation, obtain Select None; And deletion unit, from least one object determined, delete Select None, with the object finally determined.
Described acquiring unit comprises the steps that directory creating unit, in response to described address acquisition instruction, creates logic storage catalogue; And the second logical address acquiring unit, store catalogue according to described logic, obtain the second logical storage address.
In the electronic equipment and memory management method thereof of the embodiment of the present invention, it is determined by the component content of the file to create, create instruction in response to file and create file, and the component content of determined file is moved in described file, make user only need selection object and the two step simple operationss sending file establishment instruction can create literary composition folder, thus being convenient for users to operate, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart illustrating memory management method according to embodiments of the present invention;
Fig. 2 is the flow chart illustrating memory management method according to another embodiment of the present invention;
Fig. 3 is the block diagram of the main configuration illustrating electronic equipment according to embodiments of the present invention;
Fig. 4 is the block diagram illustrating the main configuration of electronic equipment according to another embodiment of the present invention; And
Fig. 5 A-5C illustrates the display schematic diagram on electronic equipment according to embodiments of the present invention.
Detailed description of the invention
The embodiment of the present invention is described in detail below with reference to accompanying drawing.
First, with reference to Fig. 1, memory management method according to embodiments of the present invention is described.
Memory management method according to embodiments of the present invention is applied to the electronic equipment of such as mobile phone, panel computer, notebook computer, personal computer etc. Described electronic equipment and memory element communicative couplings. Described memory element can be the built-in storage unit such as ROM, RAM etc., it is also possible to be the external memory unit such as storage card, portable hard drive etc.
Described memory element storage has object and mapping relations group. Described object is such as file or folder. Described file is such as audio file, video file, application program executable file, application program shortcut etc. It is pointed out that the physical storage address that address is described object data storing described object data in described memory element, such as 32 physical storage addresses or 64 physical storage addresses, it is usually transparent for a user. Described object also corresponds to user and accesses required logical storage address. For XX text in the new folder for being stored in fdisk D dish, its logical storage address be D: new folder XX.doc. Described logical storage address is generally known to user. Described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object. In other words, it is associated between described physical storage address and described logical storage address, and this relatedness is stored in described memory element by the form of mapping relations group.
When the memory management method shown in Fig. 1 starts, first, in step S101, detection the first input operation at least one times of described memory management method. Specifically, described memory management method can pass through mouse or keyboard interface described first input operation of detection, it is possible to detects described first input operation by touch sensing unit.
Hereafter, in step S102, described memory management method is according to described first input operation at least one times, it is determined that at least one object. As it has been described above, each corresponding physical storage address of at least one object described and a logical storage address. At this, the described logical storage address storing address as initial logic is called the first logical storage address.
In step S103, described memory management method detects the second input operation. Similarly, described memory management method can pass through mouse or keyboard interface described second input operation of detection, it is possible to detects described second input operation by touch sensing unit.
In step S104, when described second input operation is the first scheduled operation, generate address acquisition instruction. Specifically, described memory management method judges whether described second input operation is the first scheduled operation. Described first scheduled operation is that user creates the operation of file for instruction. Such as, described memory management method may determine that the operation of the predetermined hardkey/virtual push button whether described second input operation be click on described electronic equipment. When judging that described second input operation is the first scheduled operation, described memory management method generates address acquisition instruction.
Hereafter, in step S105, described memory management method, in response to described address acquisition instruction, obtains the second logical storage address. Specifically, described memory management method in response to described address acquisition instruction, can create a logic storage catalogue. The logical storage address of the described logic storage catalogue file corresponding to create. Hereafter, described memory management method stores catalogue according to described logic, obtains the second logical storage address. Specifically, it is combined in a variety of manners with the title in the determined object of step S102 that described logic is such as stored catalogue by described memory management method, to obtain described second logical address. More specifically, the title of described logic storage catalogue with determined object can be spliced by described memory management method mutually, to obtain described second logical address. By above-mentioned process, described memory management method can obtain described second logical address different from described first logical address.
Hereafter, in step S106, described memory management method creates the mapping relations between described second logical storage address and described physical storage address. Specifically, described second logical storage address can be associated to form new mapping relations by described memory management method with described physical storage address. Hereafter, in step S107, the mapping relations formed are written back to the relevant position in described memory element by described memory management method, to cover the relation between described first logical storage address and described physical storage address.
Thus, the new file of the memory management method of the embodiment of the present invention is specified according to user Object Creation. It is to say, the memory management method of the embodiment of the present invention can be presented as file folder creation method. Detection the first input operation at least one times of described file folder creation method, and determine the one or more objects as folder content according to described first input operation at least one times. Hereafter, described file folder creation method detects the second input operation further, and when described second input operation is the first scheduled operation, creates file according to determined folder content. Thus, described file folder creation method creates file for user, and the object that user is chosen is put in file, further, it is possible to only the content of the object chosen is put into the file of establishment. Such as, when user chooses a file and a file as object, in one embodiment, described file folder creation method creates file, the file created includes the content of the file as object and as the file of object, is therefore single-stage file. In another embodiment, described file folder creation method creates file, and the file created includes the file as object and file, and described obj ect file folder farther includes the content of himself, is therefore two-stage file.
Described above is memory management method according to embodiments of the present invention. By described memory management method, when user wants newly created file, it is only necessary to select one or more object to be then determined two easy steps of operation, just can create the file including selected object, improve Consumer's Experience. Additionally, user not only may select one or more file (such as application) creates file, and can select that application and file are to create new file to form multistage file, thus further improving Consumer's Experience.
Below, with reference to Fig. 2, memory management method according to another embodiment of the present invention will be described. As in figure 2 it is shown, the memory management method described in step S101-S106 and Fig. 1 therein is identical, it is different in that, also includes step S201-S203 according to the memory management method of the present embodiment. Specifically, after step S102 determines at least one object, and before step S103 detects the second input operation, in step S201, the detection of described memory management method is for deleting the 4th input operation of object. Hereafter, in step S202, described memory management method, according to described 4th input operation, obtains Select None, and deletes described Select None in step S203 from least one object determined, with the object finally determined.
In this embodiment, user is possible not only to only by selecting two easy steps that then object is determined operation to create file, and one or more objects of its selection can be deleted after selecting object, thereby increase the motility of user operation, further improve Consumer's Experience.
Corresponding to above-mentioned storage management process, described memory management method when step S102 determines at least one object, can show determined object with such as Special Effect Show highlighted, that amplify. Additionally, repeatedly the first input operation being detected so that it is determined that during multiple object, alternatively, described memory management method can connect each selected object with line in chronological order, thus which object prompting user have selected in chronological order intuitively.
In addition, alternatively, in the 4th input operation detected as described above thus when deleting Select None, line between the object determined before and after described Select None in chronological order and described Select None can be cancelled by described memory management method, and connect between the object determined before and after described Select None with line, thus which object prompting user deletes intuitively. Alternatively, said process can show by animation effect, so that Consumer's Experience is better.
In addition, alternatively, if split screen shows the plurality of object in the electronic equipment of such as mobile phone, panel computer, then can all show " determination " button of object as the second input operation in each screen, to facilitate user to carry out the second input operation.
In addition, alternatively, create the mapping relations between described second logical storage address and described physical storage address in step S106 after, described memory management method shows the labelling of newly created file on described display unit, and the labelling of determined object is deleted from initial position, change into and showing under the file created. Alternatively, the labelling of in chronological order first object determined can be changed into the labelling of file by described memory management method, and is deleted from initial position by the labelling of other determined objects, changes into and showing under the file created. Alternatively, said process can show by animation effect, so that Consumer's Experience is better.
In addition, alternatively, after described memory management method determines at least one object, may also display the second number being at best able to hold object in the first number of determined object and/or described second logical storage address, more intuitively to point out described user currently determine how many objects and at most may determine that how many objects. When described first number is equal to described second number, if described memory management method detects described first input operation again, then make described first input operation invalid. Continue to determine object it is to say, described memory management method is not responsive to described first input operation.
In addition, alternatively, except described first input operation that described object is carried out with to for, except determining described second input operation that the button creating file carries out, also described object being carried out the 3rd input operation, for instance for deleting and/or unload the operation of object. It is to say, under preassigned pattern when the memory management method of the embodiment of the present invention does not start, it is possible to described object is carried out the first input operation or described 3rd input operation. Such as, on the labelling of described object or near labelling, display is used for pointing out the labelling (as added labelling) carrying out the first input operation and for pointing out the labelling (as deleted labelling) carrying out the 3rd input operation. When detecting that user clicks described deletion labelling, described memory management method is determined and the 3rd input operation to described object detected. Now, described memory management method performs the process corresponding to the 3rd input operation, deleted or object as described in unloading. And when detecting that user clicks described interpolation labelling, described memory management method is determined and the first input operation to described object detected. Now, described memory management method enters the operator scheme of the embodiment of the present invention. In this mode of operation, if the 3rd input operation detected thereafter when the memory management method of the embodiment of the present invention starts, then described memory management method makes described 3rd input operation invalid. In other words, described memory management method is not responsive to described 3rd input operation deletion and/or unloading object. Alternatively, when the first input operation at least one times being detected by touch sensing unit, described memory management method can no longer show for pointing out user to carry out the labelling of the 3rd input operation, to forbid that user carries out the 3rd input operation.
Optionally, in addition, when the memory management method of the embodiment of the present invention starts, it is possible to labelling is added in the ad-hoc location display at the labelling of described object, is used for pointing out user to carry out the first input operation. After determining object at above-mentioned steps S102 in response to the first input operation, the interpolation labelling of described object can be replaced with cancellation labelling by described memory management method, is used for pointing out user to carry out the 4th input operation. Hereafter, after deleting described object in step S203 in response to the 4th input operation, the cancellation labelling of described object can be replaced with interpolation labelling again.
By above-mentioned various process, it is possible not only to so that user only by selecting two easy steps that then object is determined operation just can create file, and the display interface enabling to described electronic equipment is more user friendly, further enhances Consumer's Experience.
Above, memory management method according to embodiments of the present invention is described. Below, described memory management method will be more fully described in conjunction with two concrete examples.
In the first concrete example, memory management method according to embodiments of the present invention is applied to such as electronic equipments such as personal computers. Described electronic equipment includes as the keyboard of input equipment, mouse etc. and as the display unit etc. of outut device. Additionally, as it has been described above, described electronic equipment can include memory element. Described memory element storage has object and mapping relations group. Described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object. Described electronic equipment can run based on various operating systems. Hereinafter, will be withSystem is that example is described. Based in the file system of Windows, each file generally includes multiple 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 includes the file such as video file, audio file etc., also include file self. When creating file in such file system, described memory management method does not change the physical storage address of file data, and only changes the file attribute of such as logical storage address.
Specifically, in such electronic equipment, described memory management method is by first input operation at least one times of the detection user such as mouse interface, keyboard interface, and determines at least one object according to described first input operation at least one times. Once select the selection of multiple object operate more specifically, described memory management method can pass through keyboard and mouse interface detection user, it is possible to detection repeatedly click and select the repeatedly clicking operation of each object respectively, thereby determine that at least one object. In other words, user such as can be selected by click or mouse circle and once be selected one or more object. Additionally, as it has been described above, each corresponding physical storage address of at least one object described and the first logical storage address.
It follows that described memory management method detects the second input operation by keyboard and mouse interface, and judge whether described second input operation is the first scheduled operation. Such as, described first scheduled operation can be preset as and click the operation of " new folder " option of display on display unit. When judging that the second detected input operation is aforesaid operations, described memory management method generates address acquisition instruction.
Hereafter, described memory management method, in response to described address acquisition instruction, obtains the second logical storage address. Specifically, first, described memory management method generates new entry for the file to create in described file system. It follows that environment when described memory management method is according to establishment file, fill each attribute for described entry. More specifically, described memory management method with " new folder " (alternatively, when user names, using the title of user's name) as filename. In addition, described memory management method obtains residing access path when creating file (as D:), and using this access path and the combined logical storage address as described entry of above-mentioned filename (as D: new folder), using this access path as file higher level (as D:), thus file for create generates the entry of correspondence in file system. This document clamp bar purpose logical storage address now obtained is the logic storage catalogue described in the embodiment of the present invention.
Then, described memory management method stores catalogue based on described logic, obtains the second logical storage address. Specifically, it is combined with the filename of the above-mentioned object determined that described logic can be stored catalogue by described memory management method, thus obtaining described second logical storage address. Such as, when the file of the above-mentioned object determined is called XX, described second logical storage address can be D: new folder XX. The second acquired logical storage address is write back the logical storage address attribute of described object by described memory management method, with the property value (the first logical storage address) before replacing, thus, described second logical storage address and the described physical storage address as another property value of same target are stored in described object entry explicitly, thus defining described mapping relations.
Below, the concrete example of the second of the memory management method that an embodiment of the present invention will be described. In this example, described memory management method is applied to the electronic equipment such as mobile phone, panel computer etc. Described electronic equipment includes touch sensing unit as input equipment etc. and the display unit etc. as outut device. Alternatively, described touch sensing unit can stacking be arranged on described display unit, to form touch display screen. Additionally, as it has been described above, described electronic equipment can include memory element. Described memory element storage has object and mapping relations group. Described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object. Described electronic equipment can run based on various operating systems. Hereinafter, will be described for Android system. In Android system, the display interface of the multipad (Launcher) of described electronic equipment can show multiple application by split screen. Here, the specific physical storage address of file corresponding to such as system app, sdcard app etc. it is generally stored inside as the data of the application of object. When performing described application, called the data of the described application being stored in described specific physical storage address by Launcher. Additionally, Launcher also manages the logical storage address of application concentratedly. Such as, described Launcher manages the information of which position being positioned at which screen about application-specific, as the logical storage address of described application-specific. When creating file in such a system, described memory management method does not change the physical storage address of file data equally, and changes logical storage address only by Launcher.
Specifically, in such electronic equipment, described memory management method is by first input operation at least one times of touch sensing unit detection user, and determines at least one object according to described first input operation at least one times. More specifically, described memory management method can detect the clicking operation at least one times of user by described touch sensing unit, thereby determine that at least one object. In other words, user such as by touching click or can touch circle choosing and once select one or more object. Additionally, as it has been described above, each corresponding physical storage address of at least one object described and the first logical storage address.
It follows that described memory management method detects the second input operation by touch sensing unit, and judge whether described second input operation is the first scheduled operation. Such as, described first scheduled operation can be preset as and click the operation of " determination " soft key of display on display unit. When judging that the second detected input operation is aforesaid operations, described memory management method generates address acquisition instruction.
Hereafter, described memory management method, in response to described address acquisition instruction, obtains the second logical storage address. Specifically, first, described memory management method is that the file to create generates logical storage address by Launcher, as being positioned at the first relative position information of which which position of screen about the file to create, stores catalogue as above-mentioned logic. Hereafter, described memory management method stores catalogue according to described logic and obtains the second logical storage address. Specifically, described memory management method generates the second relative position information being arranged in which position of file created about determined object by Launcher, and combines described first relative position information and described second relative position information using as described second logical storage address.
Next, described second logical storage address is associated with described physical storage address by described memory management method by Launcher, to form the mapping relations between described second logical storage address and described physical storage address, thus the mapping relations replaced between described first logical storage address and described physical storage address.
Described above is memory management method according to embodiments of the present invention. Below, electronic equipment according to embodiments of the present invention is described reference Fig. 3. As it is shown on figure 3, electronic equipment 300 according to embodiments of the present invention includes: memory element 301, first detects unit 302, determines that unit 303, second detects unit 304, generates unit 305, acquiring unit 306 and creating unit 307.
Specifically, described memory element 301 is configured to storage object and mapping relations group. Described object is such as file or folder. Described file is such as audio file, video file, application program executable file etc. It is pointed out that the physical storage address that address is described object data storing described object data in described memory element, it is usually transparent for a user. Described object also corresponds to user and accesses required logical storage address. For XX text in the new folder for being stored in fdisk D dish, its logical storage address be D: new folder XX.doc. Described logical storage address is generally known to user. Described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object. In other words, it is associated between described physical storage address and described logical storage address, and this relatedness is stored in described memory element by the form of mapping relations group.
Described first detection unit 302 is configured to detection the first input operation at least one times. Specifically, described first detection unit 302 can be presented as mouse or keyboard interface, it is possible to is presented as touch sensing unit.
Described determine that unit 303 is configured to according to described first input operation at least one times, it is determined that at least one object. As it has been described above, each corresponding physical storage address of at least one object described and a logical storage address. At this, described logical storage address is called the first logical storage address.
Described second detection unit 304 is configured to detection the second input operation. Similarly, described second detection unit 304 can be presented as mouse or keyboard interface, it is possible to is presented as touch sensing unit. Additionally, described first detection unit 302 and described second detection unit 304 can be provided separately as different unit, it is possible to merge and be set to a unit.
Described generation unit 305 is configured to when described second input operation is the first scheduled operation, generates address acquisition instruction. Specifically, described generation unit 305 can include judging unit, is configured to judge whether described second input operation is the first scheduled operation. Described first scheduled operation is that user creates the operation of file for instruction. Such as, described judging unit may determine that the operation of the predetermined hardkey/virtual push button whether described second input operation be click on described electronic equipment.
When judging that described second input operation is the first scheduled operation, described acquiring unit 306, in response to described address acquisition instruction, obtains the second logical storage address. Specifically, described acquiring unit 306 can include directory creating unit, is configured in response to described address acquisition instruction, creates logic storage catalogue, the logical storage address of the described logic storage catalogue file corresponding to create; And the second logical address acquiring unit, store catalogue according to described logic, obtain the second logical storage address. Specifically, described logic is such as stored catalogue and determines that the title of the determined object of unit 303 is combined in a variety of manners with described by described second logical address acquiring unit, to obtain described second logical address. By above-mentioned process, described acquiring unit 306 can obtain described second logical address different from described first logical address.
Described creating unit 307 is configured to create the mapping relations between described second logical storage address and described physical storage address, and described memory element 301 is configured to store the mapping relations between the second logical storage address created and physical storage address. Specifically, described second logical storage address can be associated to form new mapping relations by described creating unit 307 with described physical storage address. Hereafter, the mapping relations formed can be written back to the relevant position in described memory element 301 by described memory element 301, to cover the relation between described first logical storage address and described physical storage address.
Thus, the new file of the electronic equipment 300 of the embodiment of the present invention is specified according to user Object Creation. It is to say, the electronic equipment 300 of the embodiment of the present invention can apply to the situation that file creates. Described electronic equipment 300 detects the first input operation at least one times by the first detection unit 302, and is determined by unit 303 and determines the one or more objects as folder content according to described first input operation at least one times. Hereafter, described electronic equipment 300 detects the second input operation by the second detection unit 304 further, and when described second input operation is the first scheduled operation, creates file by creating unit 307 according to determined folder content.
Described above is electronic equipment according to embodiments of the present invention. By described electronic equipment, when user wants newly created file, it is only necessary to select one or more object to be then determined two easy steps of operation, just can create the file including selected object, improve Consumer's Experience.
It is to be noted, electronic equipment according to embodiments of the present invention also can configure as follows, described electronic equipment includes: memory element, being configured to storage and have object and mapping relations group, described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object; First input interface, detects the first input operation at least one times; Processor, is configured to according to described first input operation at least one times, it is determined that at least one object, each described at least one object correspondence one physical storage address and first logical storage address; Second input interface, is configured to detection the second input operation; Described processor is additionally configured to when described second input operation is the first scheduled operation, generates address acquisition instruction; In response to described address acquisition instruction, obtaining the second logical storage address, described second logical storage address is different from described first logical storage address; Create the mapping relations between described second logical storage address and described physical storage address; And the mapping relations between described second logical storage address and described physical storage address are stored in described memory element. Wherein, described memory element can be the built-in storage unit such as ROM, RAM, it is also possible to be such as the external memory unit of storage card, portable hard drive. Described first input interface and described second input interface can be mouse interface, keyboard interface or sensor interface, and it can be provided separately is two unit, it is also possible to merge into a unit. Described processor can be such as CPU etc. The concrete configuration of described each parts and operation are described in detail in memory management method described in reference diagram 1, are not repeated at this.
Below, with reference to Fig. 4, electronic equipment according to another embodiment of the present invention will be described. As shown in Figure 4, the corresponding unit in electronic equipment 300 described in unit 301-307 and Fig. 3 therein is identical, it is different in that, electronic equipment 400 according to the present embodiment also includes the 3rd detection unit 401, it is configured to detection the 4th input operation, detecting unit 302 with above-mentioned first and the second detection unit 304 is similar, described 3rd detection unit 401 can be presented as mouse or keyboard interface, it is possible to is presented as touch sensing unit. Additionally, described first detection unit 302, described second detection unit 304 and described 3rd detection unit 401 can be provided separately as different unit, it is possible to merge and be set to a unit.
Additionally, in the diagram, described determine that unit 303 includes: Select None obtains unit 402, is configured to, according to described 4th input operation, obtain Select None; And delete unit 403, from least one object determined, delete Select None, with the object finally determined.
In this embodiment, user is possible not only to only by selecting two easy steps that then object is determined operation to create file, and one or more objects of its selection can be deleted after selecting object, thereby increase the motility of user operation, further improve Consumer's Experience.
Optionally, in addition, described electronic equipment 300 and 400 may also include display processing unit and control unit. Described display processing unit is configured to show determined object with such as Special Effect Show highlighted, that amplify. In addition, repeatedly the first input operation being detected so that it is determined that during multiple object, alternatively, described display processing unit can show the line connecting each selected object in chronological order, thus which object prompting user have selected in chronological order intuitively.
In addition, alternatively, described display processing unit is configurable to cancel the line between object and the described Select None that display is determined in chronological order before and after described Select None with animation effect, and be shown in the line between the object determined before and after described Select None, thus which object prompting user deletes intuitively.
In addition, alternatively, if split screen shows the plurality of object in the electronic equipment of such as mobile phone, panel computer, then described display processing unit can all show " determination " button of the object as the second input operation in each screen, to facilitate user to carry out the second input operation.
In addition, alternatively, create the mapping relations between described second logical storage address and described physical storage address in described creating unit 307 after, described display processing unit shows the labelling of newly created file, and at initial position, cancellation shows that the labelling of determined object removes, change into and showing under the file created. Alternatively, the display of the labelling of in chronological order first object determined can be changed into the labelling of file by described display processing unit, and cancels the labelling showing other determined objects at initial position, changes into and showing under the file created. Alternatively, described display processing unit can show said process by animation effect, so that Consumer's Experience is better.
In addition, alternatively, described determine that unit 303 determines at least one object after, described display processing unit may also display the second number being at best able to hold object in the first number of determined object and/or described second logical storage address, more intuitively to point out described user currently determine how many objects and at most may determine that how many objects. When described first number is equal to described second number, if described first detection unit 302 detects described first input operation again, then described control unit makes described first input operation invalid. It is to say, described control unit makes described to determine that unit 303 is not responsive to described first input operation and continues to determine object.
Optionally, in addition, except described first input operation and described second input operation, also described object can be carried out the 3rd input operation, for instance for deleting and/or unload the operation of object. In the case, when the first input operation at least one times being detected by described first detection unit 302, if described electronic equipment 300 detects the 3rd input operation thereafter, then described control unit makes described 3rd input operation invalid. In other words, described control unit is not responsive to described 3rd input operation deletion and/or unloading object. Alternatively, when by described first detect unit 302 the first input operation at least one times detected time, described control unit can so that no longer display is for pointing out user the labelling carrying out the 3rd input operation, to forbid that user carries out the 3rd input operation.
Optionally, in addition, before the first detection unit 302 of the embodiment of the present invention detects the first input operation, described display processing unit can show interpolation labelling at the ad-hoc location of the labelling of described object, is used for pointing out user to carry out the first input operation. When described determine that unit 303 determines object in response to the first input operation after, the interpolation labelling of described object can be replaced and be shown as cancelling labelling by described display processing unit, is used for pointing out user to carry out the 4th input operation. Hereafter, after described deletion unit 403 deletes described object in response to the 4th input operation, the cancellation labelling of described object can be replaced and be shown as adding labelling by described display processing unit again.
Above-mentioned various process by display processing unit and control unit, it is possible not only to so that user only by selecting two easy steps that then object is determined operation just can create file, and the display interface that enables to described electronic equipment is more user friendly, further enhances Consumer's Experience.
Below with reference to Fig. 5, the display schematic diagram on electronic equipment according to embodiments of the present invention is described. Fig. 5 A-5C illustrates the process when memory management method according to embodiments of the present invention creates file.
As shown in Figure 5A, the display unit of electronic equipment shows application appA, appB...appP totally 16 objects. When user wants newly created file, first carry out as long by the first input operation to select object. In the case of fig. 5 a, user has be carried out first input operation and have selected object appA, and is carrying out second time the first input operation to select object appE.
From Fig. 5 A, the object appE that described memory management method will be responsive to ongoing first input operation and determines shows with the Special Effect Show adding aperture, itself and other objects to be distinguished. Additionally, described memory management method connects selected object appA and appE with line in chronological order, thus which object prompting user have selected in chronological order intuitively. Additionally, described memory management method is at the upper left corner of the icon of described object display interpolation labelling, it is used for pointing out user to carry out the first input operation. After determining object appA in response to the first input operation, the interpolation labelling of described object is replaced with cancellation labelling by described memory management method, is used for pointing out user to carry out the 4th input operation. In addition, described memory management method is at best able to hold the second number of object in first number and/or described second logical storage address of the displayed below determined object of display unit, more intuitively to point out described user currently determine how many objects and at most may determine that how many objects. In the case, user currently determines an object, and is at best able in described second logical storage address hold 12 objects.
When user carries out repeatedly the first input operation with after have selected multiple object, the display on described display unit is such as shown in Figure 5 B. In figure 5b, in response to first input operation of user, described memory management method determines total of six object in chronological order: appA, appE, appF, appM, appD and appL. Now, if user carries out the second input operation, for instance click " �� " button displayed below of display unit, then described memory management method is in response to detecting that the second input operation carries out the process of step S104-S107, and shows result as shown in Figure 5 C. In figure 5 c, above-mentioned six objects are deleted by described memory management method from original display position, and at the icon at the first object appA place display file " new folder " determined, described six objects are shown, thus creating file under the catalogue of described file " new folder ".
Above, electronic equipment according to embodiments of the present invention and memory management method thereof are described referring to figs. 1 through Fig. 5.
It should be noted that, in this manual, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Finally, in addition it is also necessary to explanation, above-mentioned a series of process not only include the process performed in temporal sequence with order described here, and include the process performed parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required hardware platform by software to the present invention and realize, naturally it is also possible to implement all through hardware. Based on such understanding, what background technology was contributed by technical scheme can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
In embodiments of the present invention, units/modules can realize with software, in order to is performed by various types of processors. For example, the executable code module of a mark can include one or more physics or the logical block of computer instruction, for example, it can be built as object, process or function. However, the executable code of identified module need not be physically located together, but the different instruction in can including being stored in not coordination, when these command logics combine, its Component units/module and realize the regulation purpose of this units/modules.
When units/modules can utilize software to realize, consider the level of existing hardware technique, so units/modules that can be implemented in software, when being left out cost, those skilled in the art can build the hardware circuit of correspondence and realize corresponding function, and described hardware circuit includes ultra-large integrated (VLSI) circuit of routine or the existing quasiconductor of gate array and such as logic chip, transistor etc or other discrete element. Module can also use programmable hardware device, and such as field programmable gate array, programmable logic array, programmable logic device etc. realize.
Above the present invention being described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (12)

1. a memory management method, it is applied to the electronic equipment with memory element, described memory element storage has object and mapping relations group, described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object, and described memory management method includes:
Detection the first input operation at least one times;
According to described first input operation at least one times, it is determined that one or more objects, the corresponding physical storage address of each object and the first logical storage address;
Detect the second input operation;
When described second input operation is the first scheduled operation, generate address acquisition instruction;
In response to described address acquisition instruction, creating logic storage catalogue, store catalogue according to described logic, obtain the second logical storage address, described second logical storage address is different from described first logical storage address;
Create the mapping relations between described second logical storage address and described physical storage address; And
Store the mapping relations between described second logical storage address and described physical storage address.
2. memory management method as claimed in claim 1, wherein, described determine one or more object after, described memory management method also includes:
Show the second number being at best able to hold object in the first number of determined object and/or described second logical storage address.
3. memory management method as claimed in claim 2, also includes:
When described first number is equal to described second number, if be detected that described first input operation, then make described first input operation invalid.
4. memory management method as claimed in claim 1, wherein, the first input operation and the 3rd input operation can be carried out for described object, and, when the first input operation at least one times being detected, described memory management method makes described 3rd input operation invalid, and described 3rd input operation is object deletion action or object unloading operation.
5. memory management method as claimed in claim 1, wherein, described determine one or more object after, and before described detection the second input operation, described memory management method also includes:
Detect the 4th input operation;
According to described 4th input operation, obtain Select None; And
Select None is deleted, with the object finally determined from determined one or more objects.
6. memory management method as claimed in claim 1, wherein, described acquisition the second logical storage address includes:
In response to described address acquisition instruction, create logic storage catalogue; And
Store catalogue according to described logic, obtain the second logical storage address.
7. an electronic equipment, including:
Memory element, being configured to storage has object and mapping relations group, and described mapping relations group includes the mapping relations between the physical storage address of data of object and the logical storage address of object;
First detection unit, is configured to detection the first input operation at least one times;
Determine unit, be configured to according to described first input operation at least one times, it is determined that one or more objects, the corresponding physical storage address of each object and the first logical storage address;
Second detection unit, is configured to detection the second input operation;
Generate unit, be configured to when described second input operation is the first scheduled operation, generate address acquisition instruction;
Acquiring unit, is configured in response to described address acquisition instruction, creates logic storage catalogue, stores catalogue according to described logic, obtain the second logical storage address, and described second logical storage address is different from described first logical storage address; And
Creating unit, is configured to create the mapping relations between described second logical storage address and described physical storage address;
Wherein, described memory element is additionally configured to store the mapping relations between described second logical storage address and described physical storage address.
8. electronic equipment as claimed in claim 7, also includes:
Display processing unit, is configured to show the second number being at best able to hold object in the first number of determined object and/or described second logical storage address.
9. electronic equipment as claimed in claim 8, also includes:
Control unit, is configured to, when described first number is equal to described second number, if be detected that described first input operation, then make described first input operation invalid.
10. electronic equipment as claimed in claim 7, wherein, can carry out the first input operation and the 3rd input operation for described object, and, described electronic equipment also includes:
Control unit, is configured to when the first input operation at least one times being detected so that described 3rd input operation is invalid, and described 3rd input operation is object deletion action or object unloading operation.
11. electronic equipment as claimed in claim 7, also include:
3rd detection unit, is configured to detection the 4th input operation;
Further, described determine that unit includes:
Select None obtains unit, is configured to, according to described 4th input operation, obtain Select None; And
Delete unit, from determined one or more objects, delete Select None, with the object finally determined.
12. electronic equipment as claimed in claim 7, wherein, described acquiring unit includes:
Directory creating unit, in response to described address acquisition instruction, creates logic storage catalogue; And
Second logical address acquiring unit, stores catalogue according to described logic, obtains the 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 CN102841905A (en) 2012-12-26
CN102841905B true 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)

Families Citing this family (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
KR102395538B1 (en) * 2017-04-28 2022-05-10 에스케이하이닉스 주식회사 Data storage device and operating method thereof

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

Also Published As

Publication number Publication date
CN102841905A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
US11853523B2 (en) Display device and method of indicating an active region in a multi-window display
US10503255B2 (en) Haptic feedback assisted text manipulation
RU2501068C2 (en) Interpreting ambiguous inputs on touchscreen
US8418086B2 (en) Isolating received information on a locked device
CN110417988B (en) Interface display method, device and equipment
US10715651B2 (en) Multilayer mobile app interface
US20120144293A1 (en) Display apparatus and method of providing user interface thereof
US20150029149A1 (en) Apparatus and Method for Navigating on a Touch Sensitive Screen Thereof
KR101934998B1 (en) Method and system for providing user interface to a plurality of applications
US20130111412A1 (en) User interfaces and associated apparatus and methods
US20110072393A1 (en) Multi-context service
CN103116458A (en) Wallpaper display method of electronic equipment, device and electronic equipment
CN107506130B (en) Character deleting method and mobile terminal
CN104360805A (en) Application icon management method and application icon management device
CN106294872A (en) A kind of method of information processing and terminal
US20130111382A1 (en) Data collection interaction using customized layouts
CN106126718A (en) A kind of picture management method and terminal
CN105229586A (en) The navigation of the list-item on portable electric appts
CA2959686A1 (en) Personalized contextual menu for inserting content in a current application
CN106528690B (en) A kind of method and mobile terminal of application program accessing storage media
US20150058793A1 (en) Method, apparatus and recording medium for a scrolling screen
US20160004406A1 (en) Electronic device and method of displaying a screen in the electronic device
CN107193878B (en) Automatic naming method of song list and mobile terminal
CN102841905B (en) Electronic equipment and memory management method thereof
KR20160104961A (en) Method for processing page and electronic device thereof

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