CN103870762A - Partition accessing method and electronic equipment - Google Patents

Partition accessing method and electronic equipment Download PDF

Info

Publication number
CN103870762A
CN103870762A CN201210552969.0A CN201210552969A CN103870762A CN 103870762 A CN103870762 A CN 103870762A CN 201210552969 A CN201210552969 A CN 201210552969A CN 103870762 A CN103870762 A CN 103870762A
Authority
CN
China
Prior art keywords
data partition
unit
partition
operating system
data
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
CN201210552969.0A
Other languages
Chinese (zh)
Other versions
CN103870762B (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 CN201210552969.0A priority Critical patent/CN103870762B/en
Publication of CN103870762A publication Critical patent/CN103870762A/en
Application granted granted Critical
Publication of CN103870762B publication Critical patent/CN103870762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6236Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database between heterogeneous systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a partition accessing method and electronic equipment using the partition accessing method. The electronic equipment comprises a storing unit, wherein the storing unit comprises a partition header unit and a plurality of data partition units; a part of the data partition units is divided into first data partition parts, and the other part is divided into second data partition parts; each first data partition part comprises a plurality of data partition units; each second data partition part comprises a plurality of data partition units; first operation system data is installed in the data partition units belonging to the first data partition parts; second operation system data is installed in the data partition units belonging to the second data partition parts. The partition accessing method comprises the following steps that a partition protecting position in the partition header unit is set; when the partition protecting position is effective, a first operation system only accesses the data partition units in the first data partition parts; when the partition protecting position is effective, a second operation system only accesses the data partition units in the second data partition parts.

Description

Regional addressing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more specifically, the present invention relates to the electronic equipment of a kind of regional addressing method and this regional addressing method of use.
Background technology
Recently,, along with the continuous enhancing of the hardware capability of electronic equipment, the electronic equipment based on mixing (Hybrid) framework catches on.A kind of novel Hybrid system based on hard two soft frameworks has been proposed, in this one hard two soft Hybrid systems, can on a set of hardware system, move two operating systems (such as
Figure BDA00002609331200011
operating system and
Figure BDA00002609331200012
operating system).
For the electronic equipment that utilizes these hard two soft Hybrid systems; need to be by two operating system installation in the same memory storage in electronic equipment, therefore need in this memory storage, to be respectively used to the mutual isolation and protection of subregion of different operating system.Partition scheme in existing storage device partition based on using Main Boot Record (MBR, Master Boot Record).Along with the issue of Extensible Firmware Interface (EFI) standard and unified Extensible Firmware Interface (UEFI) standard, based on EFI or the platform architecture based on UEFI substitute gradually framework based on traditional B IOS model and as for designing, the selection framework of structure and operating data processing system.Storage device partition framework-Globally Unique Identifier partition table the form (GPT, Globally Unique Identifier Partition Table Format) being used by EFI also becomes the storage device partition scheme of main flow gradually.Compared with MBR partition scheme, GPT has more advantage, because it allows each disk to have nearly 128 subregions, support the volume size up to 18 peta-bytes, allow primary partition table and backup disk partition table to be used for redundancy, also support unique disk and partition id (GUID).
Because the existing partition scheme for MBR has not been suitable for GPT subregion; cause the regional addressing method of the partition scheme based on MBR in prior art not to be suitable for the memory storage based on GPT subregion; therefore be desirable to provide a kind of regional addressing method of the GPT of being suitable for partition scheme; it can be realized in the memory storage based on GPT partition scheme of two operating systems of installation; as required by the respective memory device subregion in operating system access memory storage, effectively this operating system of isolation and protection is not now had a storage device partition of access right simultaneously.
Summary of the invention
Because above-mentioned situation; the invention provides the electronic equipment of a kind of regional addressing method and this regional addressing method of use; to realize in the memory storage based on GPT partition scheme of two operating systems of installation; as required by the respective memory device subregion in operating system access memory storage, effectively this operating system of isolation and protection is not now had a storage device partition of access right simultaneously.
According to one embodiment of present invention, a kind of regional addressing method is provided, be applied in an electronic equipment, described electronic equipment comprises storage unit, described storage unit comprises subregion header unit and unit, multiple data partition, part in unit, described multiple data partition is divided into the first data partition part, another part is divided into the second data partition part, wherein said the first data partition part comprises unit, multiple data partition, and described the second data partition part comprises unit, multiple data partition; Described the first operating system data are installed in the unit, data partition that belongs to described the first data partition part, and described the second operating system data are installed in the unit, data partition that belongs to described the second data partition part; Described regional addressing method comprises: the partition protecting position in described subregion header unit is set; When described the first operating system is effective in described partition protecting position, only access the unit, data partition in described the first data partition part; When described the second operating system is effective in described partition protecting position, only access the unit, data partition in described the second data partition part.
In addition; regional addressing method according to an embodiment of the invention; also comprise: when invalid in described partition protecting position, the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part and described the second data partition part.
In addition, regional addressing method according to an embodiment of the invention, multiple subregion gateway units are wherein set in described storage unit, described multiple subregion gateway unit is corresponding one by one with unit, described multiple data partition, described regional addressing method also comprises: partition protecting position in described subregion header unit being set for after effectively, the zone attribute position in each subregion gateway unit is set; Described the first operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the first data partition part; Described the second operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the second data partition part.
In addition, regional addressing method according to an embodiment of the invention, multiple subregion gateway units are wherein set in described storage unit, described multiple subregion gateway unit is corresponding one by one with unit, described multiple data partition, described regional addressing method also comprises: partition protecting position in described subregion header unit being set for after effectively, the zone attribute position in each subregion gateway unit is set; Invalid in described partition protecting position, and described zone attribute position is while being also invalid, the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part and described the second data partition part.
In addition, regional addressing method according to an embodiment of the invention, the step of the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part and described the second data partition part comprises: the data in unit, data partition in the second data partition part described in described the first operating system update; Or the data in unit, data partition in the first data partition part described in described the second operating system update.
In addition; regional addressing method according to an embodiment of the invention, also comprises: while being invalid in described partition protecting position, reset described partition protecting position for after effective; restart described the first operating system and the second operating system, so that come into force in the partition protecting position resetting.
According to another embodiment of the present invention, provide a kind of electronic equipment, described electronic equipment comprises storage unit and processor; Described storage unit comprises subregion header unit and unit, multiple data partition, part in unit, described multiple data partition is divided into the first data partition part, another part is divided into the second data partition part, wherein said the first data partition part comprises unit, multiple data partition, and described the second data partition part comprises unit, multiple data partition; Described the first operating system data are installed in the unit, data partition that belongs to described the first data partition part, and described the second operating system data are installed in the unit, data partition that belongs to described the second data partition part; Described processor, arranges the partition protecting position in described subregion header unit, so that described the first operating system when effective in described partition protecting position, is only accessed the unit, data partition in described the first data partition part; When described the second operating system is effective in described partition protecting position, only access the unit, data partition in described the second data partition part.
In addition; electronic equipment according to an embodiment of the invention; described processor; also when invalid in described partition protecting position, make the unit, data partition in the first data partition part and described the second data partition part described in described the first operating system and described the second operating system access.
In addition, electronic equipment according to an embodiment of the invention, also comprises multiple subregion gateway units in described storage unit, and described multiple subregion gateway units are corresponding one by one with unit, described multiple data partition; Described processor, also in the partition protecting position that described subregion header unit is set for after effectively, the zone attribute position in each subregion gateway unit is set; Make described the first operating system effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the first data partition part; Described the second operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the second data partition part.
In addition, electronic equipment according to an embodiment of the invention, in described storage unit, also comprise multiple subregion gateway units, described multiple subregion gateway unit is corresponding one by one with unit, described multiple data partition: described processor, also in the partition protecting position that described subregion header unit is set for after effectively, the zone attribute position in each subregion gateway unit is set; Invalid in described partition protecting position, and described zone attribute position is while being also invalid, make the unit, data partition in the first data partition part and described the second data partition part described in described the first operating system and described the second operating system access.
According to the electronic equipment of the regional addressing method of the embodiment of the present invention and this regional addressing method of use; realize in the memory storage based on GPT partition scheme of two operating systems of installation; as required by the respective memory device subregion in operating system access memory storage, effectively this operating system of isolation and protection is not now had a storage device partition of access right simultaneously.
It being understood that general description above and detailed description are below both exemplary, and the further illustrating of the intention technology that is to provide claimed.
Accompanying drawing explanation
Fig. 1 is that diagram is according to the theory structure schematic diagram of the electronic equipment of the embodiment of the present invention;
Fig. 2 is that diagram is according to the theory structure schematic diagram of the storage unit of the embodiment of the present invention;
Fig. 3 is that diagram is according to the process flow diagram of the first embodiment of the regional addressing method of the embodiment of the present invention;
Fig. 4 is that diagram is according to the process flow diagram of the second embodiment of the regional addressing method of the embodiment of the present invention; And
Fig. 5 is that diagram is according to the process flow diagram of the 3rd embodiment of the regional addressing method of the embodiment of the present invention.
Embodiment
Hereinafter, multiple embodiment, application and modification are described with reference to the accompanying drawings.In addition, embodiment described below is preferred specific example, and is provided with technical preferred various restrictions, but in the following description, the invention is not restricted to these embodiment.
First, describe according to the electronic equipment of the embodiment of the present invention with reference to Fig. 1.Described electronic equipment is for example preferably personal computer, smart mobile phone, personal digital assistant, palm PC etc.
Fig. 1 is that diagram is according to the theory structure schematic diagram of the electronic equipment of the embodiment of the present invention.Can be the electronic equipment of the hard two soft mixed architectures based on novel according to the electronic equipment 1 of the embodiment of the present invention, that is to say, on a set of hardware system, move two operating systems, such as operating system and
Figure BDA00002609331200052
operating system.As shown in Figure 1, there is processor 10 and storage unit 20 according to the electronic equipment 1 of the embodiment of the present invention, two different operating systems and system file and other application and the data relevant to each operating system are wherein installed in storage unit 20.Hold intelligiblely, in Fig. 1, for simplified characterization only illustrates the assembly being closely related with the present invention, certainly can also comprise other assembly, such as display unit, input block, communication unit etc. according to the electronic equipment 1 of the embodiment of the present invention.
Below, further specifically describe according to the storage unit 20 in the electronic equipment 1 of the embodiment of the present invention with reference to Fig. 2.
Fig. 2 is that diagram is according to the theory structure schematic diagram of the storage unit of the embodiment of the present invention.As shown in Figure 2, comprise subregion header unit 21, subregion gateway unit 22, the first data partition part 23 and the second data partition part 24 according to the storage unit 20 of the embodiment of the present invention.
Particularly, described subregion gateway unit 22 comprises multiple subregion entrances, that is, and and entrance 1, entrance 2... entrance n.Described the first data partition part 23 comprises (, unit, data partition, unit, multiple data partition 1, unit, data partition 2... unit, data partition m), and described the second data partition part 24 comprises (, unit, data partition, unit, multiple data partition m+1, unit, data partition m+2... unit, data partition m+k).Each subregion entrance in described subregion gateway unit 22 is corresponding one by one with the unit, each data partition in described the first data partition part 23 and described the second data partition part 24.That is to say, meet N=m+k.In one embodiment of the invention, the first operating system (such as operating system) data are installed in the unit, data partition that belongs to described the first data partition part, the second operating system (such as
Figure BDA00002609331200054
operating system) data are installed in the unit, data partition that belongs to described the second data partition part.User can dynamically arrange the partition size of described the first data partition part 23 and described the second data partition part 24 as required.,, under the prerequisite that meets N=m+k, m and k can dynamically adjust relative size.
In one embodiment of the invention, storage unit 20 can adopt Globally Unique Identifier partition table form (GPT) framework.Main GPT header (Primary GPT Header) under GPT framework is the example of described subregion header unit 21, entrance 1-128 under GPT framework is the example of described subregion gateway unit 22, and the subregion 1-128 under GPT framework is described the first data partition part 23 and the overall example of described the second data partition part 24.Hold intelligiblely, include but not limited to each part mentioned above according to the storage unit 20 of the embodiment of the present invention.For example, can also comprise the shielded MBR(Protective MBR under GPT framework according to the storage unit 20 of the embodiment of the present invention) unit etc.
In one embodiment of the invention, described subregion header unit 21 stores partition protecting position.For example, when described partition protecting position (is made as when effective; be set to " 1 ") time; described the first operating system is only accessed the unit, data partition in described the first data partition part, and described the second operating system is only accessed the unit, data partition in described the second data partition part.On the contrary, for example, in the time that described partition protecting position is made as when invalid (, being set to " 0 "), the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part 23 and described the second data partition part 24.Hold intelligible, the comprising of the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part 23 and described the second data partition part 24: the data described in described the first operating system update in the first data partition part 23 and described the second unit, the interior data partition of data partition part 24; Or the data described in described the second operating system update in the first data partition part 23 and described the second unit, the interior data partition of data partition part 24.In addition, " renewal " comprise reading and writing, modification, the deletion for corresponding operating system data at this.
In another embodiment of the present invention, the each subregion entrance in described subregion gateway unit 22 be provided with described the first data partition part 23 and the second data partition part 24 in zone attribute position one to one, unit, each data partition.Described zone attribute position is used to specify the operating system of addressable corresponding data zoning unit.For example, when described zone attribute position is made as when effective, identify operating system (one of the first operating system and the second operating system) access of installing in the data partition part (one of described the first data partition part 23 and second data partition part 24) under the unit, Jin Yougai data partition, unit, data partition corresponding with it.On the contrary, when described zone attribute position is made as when invalid, identifying the data partition unit corresponding with it can be by described the first operating system and described the second operating system access.Particularly; in the time that booting operating system program loads; first this boot checks the partition protecting position of storage in described subregion header unit 21, and according to the validity of described partition protecting position, the zone attribute position in the each subregion entrance in described subregion gateway unit 22 is set.That is to say, if described partition protecting position is effective, zone attribute position in each subregion entrance is correspondingly set effective, and vice versa.Particularly; in Application Example at described the first operating system access corresponding to the unit, data partition of described the second operating system; call operation system bootstrap routine is arranged partition protecting position by the application program of initiating accessing operation in described the first operating system, and booting operating system program correspondingly arranges the zone attribute position in each subregion entrance according to the partition protecting position arranging in the time restarting described the first operating system subsequently.Therefore, associated setting is realized with zone attribute position in partition protecting position, is made as effective or invalid by booting operating system program simultaneously.Described the first operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the first data partition part 23; Described the second operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the second data partition part 24.On the contrary, invalid in described partition protecting position, and described zone attribute position is while being also invalid, the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part 23 and described the second data partition part 24.
Above, see figures.1.and.2 and described according to the electronic equipment of the embodiment of the present invention and storage unit.Below, further describe for according to the regional addressing method of the electronic equipment of the embodiment of the present invention and storage unit to Fig. 5 with reference to Fig. 3.
Fig. 3 is that diagram is according to the process flow diagram of the first embodiment of the regional addressing method of the embodiment of the present invention.As shown in Figure 3, comprise the following steps according to the regional addressing method of the embodiment of the present invention.
In step S301, the partition protecting position in described subregion header unit 21 is set.After this, process and enter step S302.
In step S302, judge whether the partition protecting position in described subregion header unit 21 is made as effectively.
If obtain positive result in step S302, the partition protecting position in described subregion header unit 21 is made as effectively, processes and enters in step S303.In step S303, the first operating system is only accessed the unit, data partition in the first data partition part 23, and the second operating system is only accessed the unit, data partition in the second data partition part 24.
On the contrary, if obtain negative decision in step S302, the partition protecting position in described subregion header unit 21 be made as invalid, process enter in step S304.In step S304, the unit, data partition in the first operating system and second operating system access the first data partition part 23 and the second data partition part 24.
Fig. 4 is that diagram is according to the process flow diagram of the second embodiment of the regional addressing method of the embodiment of the present invention.Compared with the first embodiment of the second embodiment of the regional addressing method shown in Fig. 4 and the regional addressing method shown in Fig. 3, further consider that the zone attribute position of each subregion entrance setting is to carry out regional addressing.As shown in Figure 4, comprise the following steps according to the regional addressing method of the embodiment of the present invention.
In step S401, the partition protecting position in described subregion header unit 21 is set.After this, process and enter step S401 '.
In step S401 ', according to the partition protecting position arranging, the zone attribute position in each subregion gateway unit is set in step S401.Describe above with reference to Fig. 2, if described partition protecting position is effective, zone attribute position in each subregion entrance has correspondingly been set effective.On the contrary, if described partition protecting position is invalid, zone attribute position in each subregion entrance is correspondingly set invalid.After this, process and enter step S402.
In step S402, judge whether that partition protecting position is effective and zone attribute position is effective.It should be noted that; in another embodiment of the present invention; as front with reference to as described in Fig. 3; the setting that is associated of partition protecting position and zone attribute position; it is effective or invalid to be that partition protecting position and zone attribute position are made as simultaneously, in this step S402, can only judge that whether partition protecting position or zone attribute position be effective.
If obtain positive result in step S402, the partition protecting position in described subregion header unit 21 is effective, and zone attribute position in each subregion entrance in described subregion gateway unit 22 is effective, processes and enters in step S403.In step S403, the first operating system is only accessed the unit, data partition in the first data partition part 23, and the second operating system is only accessed the unit, data partition in the second data partition part 24.
On the contrary, if obtain negative decision in step S402, the partition protecting position in described subregion header unit 21 is invalid, and zone attribute position in each subregion entrance in described subregion gateway unit 22 is invalid, processes and enters in step S404.In step S404, the unit, data partition in the first operating system and second operating system access the first data partition part 23 and the second data partition part 24.
Fig. 5 is that diagram is according to the process flow diagram of the 3rd embodiment of the regional addressing method of the embodiment of the present invention.Described the 3rd embodiment specifically describes according to the regional addressing method of the embodiment of the present invention for upgrade the flow process of another operating system in one of two operating systems.Particularly, suppose that the first operating system is
Figure BDA00002609331200081
operating system, the second operating system is
Figure BDA00002609331200082
operating system.?
Figure BDA00002609331200083
under operating system, complete
Figure BDA00002609331200084
the renewal of operating system comprises the following steps.
In step S501,
Figure BDA00002609331200085
operating system update application program is passed through
Figure BDA00002609331200086
application programming interface (API) the call operation system bootstrap routine (UEFI Runtime Services) of operating system, so that it is invalid that partition protecting position in described subregion header unit 21 is set.After this, process and enter step S502.
In step S502, the partition protecting position that booting operating system program basis arranges in step S501, the second operating system that arranges and will upgrade (
Figure BDA00002609331200087
operating system) zone attribute position in corresponding each subregion gateway unit is invalid, makes the temporary transient invalid renewal for system of partition protecting.After this, process and enter step S503.
In step S503, the first operating system (
Figure BDA00002609331200088
operating system) under, renewal the second operating system ( operating system).Particularly,
Figure BDA000026093312000810
operating system update application program will
Figure BDA000026093312000811
operating system boot.img, system.img write unit, corresponding data partition in the second data partition part 24.After this, process and enter step S504.
In step S504, it is effective that booting operating system program resets zone attribute position in partition protecting position and the each subregion gateway unit in described subregion header unit 21.After this, process and enter step S505.
In step S505, restart the first operating system (
Figure BDA00002609331200091
operating system) and the second operating system ( operating system), partition protecting is come into force.
Describe according to the electronic equipment of the regional addressing method of the embodiment of the present invention and this regional addressing method of use referring to figs. 1 through Fig. 5 above; it can be realized in the memory storage based on GPT partition scheme of two operating systems of installation; as required by the respective memory device subregion in operating system access memory storage, effectively this operating system of isolation and protection is not now had a storage device partition of access right simultaneously.
It should be noted that, in this manual, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Finally, also it should be noted that, above-mentioned a series of processing not only comprise the processing of carrying out by time series with order described here, and comprise processing parallel or that carry out respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential hardware platform by software and realize, and can certainly all implement by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
Above the present invention is described in detail, has applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (10)

1. a regional addressing method, it is characterized in that, be applied in an electronic equipment, described electronic equipment comprises storage unit, described storage unit comprises subregion header unit and unit, multiple data partition, and the part in unit, described multiple data partition is divided into the first data partition part, and another part is divided into the second data partition part, wherein said the first data partition part comprises unit, multiple data partition, and described the second data partition part comprises unit, multiple data partition; Described the first operating system data are installed in the unit, data partition that belongs to described the first data partition part, and described the second operating system data are installed in the unit, data partition that belongs to described the second data partition part; Described regional addressing method comprises:
Partition protecting position in described subregion header unit is set;
When described the first operating system is effective in described partition protecting position, only access the unit, data partition in described the first data partition part;
When described the second operating system is effective in described partition protecting position, only access the unit, data partition in described the second data partition part.
2. regional addressing method as claimed in claim 1, described regional addressing method also comprises:
When invalid in described partition protecting position, the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part and described the second data partition part.
3. regional addressing method as claimed in claim 1 wherein arranges multiple subregion gateway units in described storage unit, and described multiple subregion gateway units are corresponding one by one with unit, described multiple data partition, and described regional addressing method also comprises:
Partition protecting position in described subregion header unit being set for after effectively, the zone attribute position in each subregion gateway unit is set;
Described the first operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the first data partition part;
Described the second operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the second data partition part.
4. regional addressing method as claimed in claim 2 wherein arranges multiple subregion gateway units in described storage unit, and described multiple subregion gateway units are corresponding one by one with unit, described multiple data partition, and described regional addressing method also comprises:
Partition protecting position in described subregion header unit being set for after effectively, the zone attribute position in each subregion gateway unit is set;
Invalid in described partition protecting position, and described zone attribute position is while being also invalid, the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part and described the second data partition part.
5. described regional addressing method as claimed in claim 2, the step of the unit, data partition described in described the first operating system and described the second operating system access in the first data partition part and described the second data partition part comprises:
Data in unit, data partition in the second data partition part described in described the first operating system update; Or
Data in unit, data partition in the first data partition part described in described the second operating system update.
6. regional addressing method as claimed in claim 2, also comprises:
While being invalid in described partition protecting position, reset described partition protecting position for after effective, restart described the first operating system and the second operating system, so that come into force in the partition protecting position resetting.
7. an electronic equipment, is characterized in that, described electronic equipment comprises storage unit and processor;
Described storage unit comprises subregion header unit and unit, multiple data partition, part in unit, described multiple data partition is divided into the first data partition part, another part is divided into the second data partition part, wherein said the first data partition part comprises unit, multiple data partition, and described the second data partition part comprises unit, multiple data partition; Described the first operating system data are installed in the unit, data partition that belongs to described the first data partition part, and described the second operating system data are installed in the unit, data partition that belongs to described the second data partition part;
Described processor, arranges the partition protecting position in described subregion header unit, so that described the first operating system when effective in described partition protecting position, is only accessed the unit, data partition in described the first data partition part; When described the second operating system is effective in described partition protecting position, only access the unit, data partition in described the second data partition part.
8. electronic equipment according to claim 7, is characterized in that,
Described processor, also when invalid in described partition protecting position, makes the unit, data partition in the first data partition part and described the second data partition part described in described the first operating system and described the second operating system access.
9. electronic equipment according to claim 7, is characterized in that,
In described storage unit, also comprise multiple subregion gateway units, described multiple subregion gateway units are corresponding one by one with unit, described multiple data partition;
Described processor, also in the partition protecting position that described subregion header unit is set for after effectively, the zone attribute position in each subregion gateway unit is set; Make described the first operating system effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the first data partition part; Described the second operating system is effective in described partition protecting position, and described zone attribute position is also effectively time, only accesses the unit, data partition in described the second data partition part.
10. electronic equipment according to claim 8, is characterized in that,
In described storage unit, also comprise multiple subregion gateway units, described multiple subregion gateway units are corresponding one by one with unit, described multiple data partition:
Described processor, also in the partition protecting position that described subregion header unit is set for after effectively, the zone attribute position in each subregion gateway unit is set; Invalid in described partition protecting position, and described zone attribute position is while being also invalid, make the unit, data partition in the first data partition part and described the second data partition part described in described the first operating system and described the second operating system access.
CN201210552969.0A 2012-12-18 2012-12-18 Regional addressing method and electronic equipment Active CN103870762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210552969.0A CN103870762B (en) 2012-12-18 2012-12-18 Regional addressing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210552969.0A CN103870762B (en) 2012-12-18 2012-12-18 Regional addressing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103870762A true CN103870762A (en) 2014-06-18
CN103870762B CN103870762B (en) 2017-08-29

Family

ID=50909285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210552969.0A Active CN103870762B (en) 2012-12-18 2012-12-18 Regional addressing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103870762B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536820A (en) * 2014-12-29 2015-04-22 宇龙计算机通信科技(深圳)有限公司 Method and device for operating multiple systems and terminal
CN104573505A (en) * 2014-12-30 2015-04-29 北京工业大学 Single hard disk and double operating system partitioning method by filtration drive
CN104866431A (en) * 2015-06-12 2015-08-26 联想(北京)有限公司 Data processing method and device
WO2017174000A1 (en) * 2016-04-06 2017-10-12 Huawei Technologies Co., Ltd. Dynamic partitioning of processing hardware
CN109033812A (en) * 2018-07-16 2018-12-18 山东华芯半导体有限公司 It is a kind of to control the device and method that UKEY logs in multi partition operating system by UEFI
CN114168207A (en) * 2021-12-06 2022-03-11 成都傲梅科技有限公司 Method for backing up and booting startup item by one key based on UEFI

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040064729A1 (en) * 2002-09-30 2004-04-01 International Business Machines Corporation Security system for replicated storage devices on computer networks
CN101785239A (en) * 2007-07-13 2010-07-21 英特尔公司 Key based hidden partition system
CN101566972B (en) * 2009-05-12 2010-12-08 苏州国芯科技有限公司 Safety control method of user multi-partitioned memory space access right in embedded system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040064729A1 (en) * 2002-09-30 2004-04-01 International Business Machines Corporation Security system for replicated storage devices on computer networks
CN101785239A (en) * 2007-07-13 2010-07-21 英特尔公司 Key based hidden partition system
CN101566972B (en) * 2009-05-12 2010-12-08 苏州国芯科技有限公司 Safety control method of user multi-partitioned memory space access right in embedded system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536820A (en) * 2014-12-29 2015-04-22 宇龙计算机通信科技(深圳)有限公司 Method and device for operating multiple systems and terminal
CN104536820B (en) * 2014-12-29 2018-11-30 宇龙计算机通信科技(深圳)有限公司 Run the method, apparatus and terminal of multisystem
CN104573505A (en) * 2014-12-30 2015-04-29 北京工业大学 Single hard disk and double operating system partitioning method by filtration drive
CN104866431A (en) * 2015-06-12 2015-08-26 联想(北京)有限公司 Data processing method and device
CN104866431B (en) * 2015-06-12 2018-08-31 联想(北京)有限公司 A kind of data processing method and device
WO2017174000A1 (en) * 2016-04-06 2017-10-12 Huawei Technologies Co., Ltd. Dynamic partitioning of processing hardware
US10133504B2 (en) 2016-04-06 2018-11-20 Futurewei Technologies, Inc. Dynamic partitioning of processing hardware
CN109033812A (en) * 2018-07-16 2018-12-18 山东华芯半导体有限公司 It is a kind of to control the device and method that UKEY logs in multi partition operating system by UEFI
CN114168207A (en) * 2021-12-06 2022-03-11 成都傲梅科技有限公司 Method for backing up and booting startup item by one key based on UEFI
CN114168207B (en) * 2021-12-06 2023-04-25 成都傲梅科技有限公司 UEFI-based backup and one-key boot startup method

Also Published As

Publication number Publication date
CN103870762B (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN112765271B (en) Block chain transaction index storage method and device, computer equipment and medium
CN103870762A (en) Partition accessing method and electronic equipment
CN111800462B (en) Micro service instance processing method, micro service instance processing device, computer equipment and storage medium
US9239934B2 (en) Mobile computing system for providing high-security execution environment
CN105094707A (en) Method and device for storing and reading data
US20130227085A1 (en) Terminal and method for using cloud services
CN102426523A (en) Multi-dimensional objects
CN104267981B (en) A kind of method and device of application layout on loading desktop
CN108090233B (en) Autonomous management device and method for application program
US20140067879A1 (en) Application management for a terminal
CN103593370B (en) The method and browser of expanded application are realized in a browser
CN102982130A (en) Synchronized method for not only structured query language (NOSQL) and relational database management system (RDBMS) database and system thereof
CN105190525A (en) Management of access to a hybrid drive in power saving mode
CN103389900A (en) Control method and device for Android equipment camera
CN104268472B (en) Reduction is by the method and apparatus of third party's dynamic base Modification growth function address
CN109445841A (en) Interface document management method, device, server and storage medium
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN105653539A (en) Index distributed storage implement method and device
CN107506200A (en) A kind of screen content switching method, terminal and computer-readable recording medium
CN104182414A (en) Method and equipment for managing database in multi-tenant system
CN109739738A (en) Event log management method, system and relevant apparatus based on HTML5
CN104951528A (en) Data migration method and terminal
CN101685396A (en) System and method for controlling function icon
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
CN106681866B (en) A kind of method, apparatus and system for guaranteeing to apply consistency

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant