CN101246431A - Management method for loading multi-core different operating system images - Google Patents

Management method for loading multi-core different operating system images Download PDF

Info

Publication number
CN101246431A
CN101246431A CNA2008100855038A CN200810085503A CN101246431A CN 101246431 A CN101246431 A CN 101246431A CN A2008100855038 A CNA2008100855038 A CN A2008100855038A CN 200810085503 A CN200810085503 A CN 200810085503A CN 101246431 A CN101246431 A CN 101246431A
Authority
CN
China
Prior art keywords
processor
main control
operating system
image file
module
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
CNA2008100855038A
Other languages
Chinese (zh)
Other versions
CN101246431B (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.)
Global Innovation Polymerization LLC
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100855038A priority Critical patent/CN101246431B/en
Publication of CN101246431A publication Critical patent/CN101246431A/en
Application granted granted Critical
Publication of CN101246431B publication Critical patent/CN101246431B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a management method for loading multi-core different operation system comprising the following steps: compiling the master operating system of main processor and secondary operating system of secondary processor into a same mapping file, loading the mapping file by the main processor, partly module in loaded mapping file is assigned by the main processor to the secondary processor and corresponding resource is allotted to the secondary processor, and partly module is loaded by corresponding resource used by the secondary processor. The invention simplifies the management of multi-core processor.

Description

The management method of loading multi-core different operating system images
Technical field
The present invention relates to the communications field, in particular to a kind of management method of loading multi-core different operating system images.
Background technology
Along with complicated network environmentization, enterprise or Internet Service Provider need the content of more careful Control Network transmission, mainly show the strick precaution to virus, network attack.Method commonly used has configuration ACL (Access Control Lists, Access Control List), deep message detection, intrusion detection etc.At these disposal routes, in order to improve treatment effeciency biglyyer, polycaryon processor arises at the historic moment.Can message be distributed on the different processors according to the rule of configuration and handle, thus the treatment effeciency of raising message.
Reflection is the execute file of operating system, generally is stored in the nonvolatile memory, is used for the system back that powers on and load uses.Polycaryon processor is that a plurality of processors are integrated on the chip, and is inner by special bus connection.Different processors can move same operating system, perhaps different operating system.The loading of operating system also has nothing in common with each other on the dissimilar processors.Many CPU (Central Processing Unit, central processing unit), multiple operating system must cause the increase of system loads management complexity, how it is managed the also problem with regard to having become everybody relatively to pay close attention to.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: the management of polycaryon processor system is comparatively complicated, and the compiling number of times of reflection is more.
Summary of the invention
Problems such as the present invention aims to provide a kind of management method of loading multi-core different operating system images, and the management that can solve the polycaryon processor system is comparatively complicated, and the compiling number of times of reflection is more.
In an embodiment of the present invention, provide a kind of management method of loading multi-core different operating system images, comprised the steps: the master operating system of main control processor and being compiled into the same image file from processor from operating system; Main control processor loads image file; Main control processor specifies the part of module in the image file that loads by loading from processor, and distributes respective resources to give from processor; And from processor use respective resources loading section module.
Preferably, specifically comprise with the master operating system of main control processor with from being compiled into the same image file of processor: analyze the module that is different from master operating system from operating system from operating system; The compiling master operating system wherein adds module in image file; Main control processor is specified the part of module in the image file that loads by loading from processor and specifically comprised: main control processor is specified module by loading from processor as part of module.
Preferably, the compiling master operating system is in image file, and wherein add module and specifically comprise: with module compiles is that task or function join in the image file; Main control processor is specified the part of module in the image file that loads by loading from processor and is specifically comprised: the pointer of main control processor acquisition task or function from the loading code section of image file; Main control processor sends to pointer from processor.
Preferably, main control processor pointer of acquisition task or function from the loading code section of image file specifically comprises: main control processor is according to the pointer of the task of task or function or function name acquisition task or function from the loading code section of image file.
Preferably, main control processor sends to pointer from processor and specifically comprises: main control processor sends to pointer from processor by wakeup message.
Preferably, distribute respective resources specifically to be comprised from processor: main control processor calculates and executes the task or the needed work space of function from processor; Main control processor distributes the memory headroom that equals the work space size that begins from the address of pointer to give from processor.
Preferably, use respective resources loading section module specifically to comprise from processor: from processor loading section module in the memory headroom that the address from pointer begins.
This embodiment is because adopt the operating system with master and slave CPU to be compiled in the same image file, master cpu is to distribute respective resources and the loading method from CPU from CPU, so it is comparatively complicated to have overcome the management of polycaryon processor system, the more problem of compiling number of times of reflection, and then reached the management effect of simplifying the polycaryon processor system.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram according to the management method of the loading multi-core different operating system images of the embodiment of the invention;
Fig. 2 shows the synoptic diagram according to the explanation of image file in the method for the unified management loading multi-core different operating system images of the embodiment of the invention; And
Fig. 3 shows the process flow diagram according to the method for the unified management loading multi-core different operating system images of the embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the process flow diagram according to the management method of the loading multi-core different operating system images of the embodiment of the invention, comprises the steps:
Step S10 is with the master operating system of main control processor and being compiled into the same image file from operating system from processor;
Step S20, main control processor loads image file;
Step S30, main control processor specifies the part of module in the image file that loads by loading from processor, and distributes respective resources to give from processor; And
Step S40 uses respective resources loading section module from processor.
This embodiment is because adopt the operating system with master and slave CPU to be compiled in the same image file, master cpu is to distribute respective resources and the loading method from CPU from CPU, so it is comparatively complicated to have overcome the management of polycaryon processor system, the more problem of compiling number of times of reflection, and then reached the management effect of simplifying the polycaryon processor system.
Preferably, specifically comprise with the master operating system of main control processor with from being compiled into the same image file of processor: analyze the module that is different from master operating system from operating system from operating system; The compiling master operating system wherein adds module in image file; Main control processor is specified the part of module in the image file that loads by loading from processor and specifically comprised: main control processor is specified module by loading from processor as part of module.
Preferably, the compiling master operating system is in image file, and wherein add module and specifically comprise: with module compiles is that task or function join in the image file; Main control processor is specified the part of module in the image file that loads by loading from processor and is specifically comprised: the pointer of main control processor acquisition task or function from the loading code section of image file; Main control processor sends to pointer from processor.
Preferably, main control processor pointer of acquisition task or function from the loading code section of image file specifically comprises: main control processor is according to the pointer of the task of task or function or function name acquisition task or function from the loading code section of image file.
Preferably, main control processor sends to pointer from processor and specifically comprises: main control processor sends to pointer from processor by wakeup message.
Preferably, distribute respective resources specifically to be comprised from processor: main control processor calculates and executes the task or the needed work space of function from processor; Main control processor distributes the memory headroom that equals the work space size that begins from the address of pointer to give from processor.
Preferably, use respective resources loading section module specifically to comprise from processor: from processor loading section module in the memory headroom that the address from pointer begins.
The new multinuclear of this embodiment, the loading management method of multiple operating system be by the following technical solutions:
The method of the unified management loading multi-core different operating system images of this embodiment comprises with lower module:
A, master control CPU management operating system
B, from CPU operating system
The method of the unified management loading multi-core different operating system images of this embodiment may further comprise the steps:
The first step: the operating system of master and slave CPU is compiled in the same image file;
Second step: the master cpu loading of videoing; And
The 3rd step: master cpu is given from CPU and is distributed respective resources and loading from CPU.
This embodiment compared with prior art simplified the management of the system of polycaryon processor, reduced the compiling number of times of reflection, and the reflection that is equivalent to only to compile host CPU gets final product.And simplified the loading flow process, the user need not to consider to load from CPU the problems such as distribution in space again.
This embodiment is applicable to from CPU operating system different with host CPU, and under the simple relatively situation of operating system of CPU.
The realization of whole functional is made up of two parts:
Master and slave CPU operating system will be compiled in the image file.From system is that mode with function occurs.
Start the back host CPU and load earlier, from code segment, extract address pointer then, send to from CPU again, and wake execution up from the CPU entrance function.
Fig. 2 shows the synoptic diagram according to the explanation of image file in the method for the unified management loading multi-core different operating system images of the embodiment of the invention, has illustrated from the position of CPU code segment:
The code segment file that has comprised master and slave CPU in the image file of the method for the unified management loading multi-core different operating system images of this embodiment, in general the operating system call function ratio of host CPU is more, so relative complex, can be shared from a lot of systemic-functions of CPU operating system with host CPU, so simple relatively.Its difference can add in the operating system of host CPU in the mode of a task or function.That is to say in fact and just occur in the mode of a process or task from the relative host CPU of CPU.For example can use a function, realize the circulation of a while (1) { }.
Fig. 3 shows the process flow diagram according to the method for the unified management loading multi-core different operating system images of the embodiment of the invention, and the method for the unified management loading multi-core different operating system images of this embodiment may further comprise the steps:
The first step: system powers on, and host CPU begins to load (label 100) from the default location of this processor regulation, and the position of dissimilar processor defineds is also different.Finish simple initialization (label 400) from CPU this moment, is in waiting status (label 500).
Second step: host CPU loads finishes back (label 200) according to prior agreement, and acquisition is from the code segment pointer (label 300) of CPU entrance function from the code segment of self operating system.This can directly obtain according to function name.And distributed corresponding memory source from CPU.
The 3rd step: this pointer sent to from CPU (label 310) and wake up from CPU by inside story bring into operation.Begin load operating (label 510) from the pointer address that carries from message after CPU receives wakeup message, finish loading (label 600) at last.
This embodiment is because adopt the operating system with master and slave CPU to be compiled in the same image file, master cpu is to distribute respective resources and the loading method from CPU from CPU, so it is comparatively complicated to have overcome the management of polycaryon processor system, the more problem of compiling number of times of reflection, and then reached the management effect of simplifying the polycaryon processor system.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the management method of a loading multi-core different operating system images is characterized in that, comprises the steps:
With the master operating system of main control processor and being compiled into the same image file from processor from operating system;
Described main control processor loads described image file;
Part of module in the described image file that described main control processor will load is specified by described and is loaded from processor, and it is described from processor to distribute respective resources to give; And
Describedly use described respective resources to load described part of module from processor.
2. management method according to claim 1 is characterized in that, specifically comprises with the master operating system of main control processor with from being compiled into the same image file from operating system of processor:
Analyze the described module that is different from described master operating system from operating system;
Compile described master operating system in described image file, wherein add described module;
Part of module in the described image file that described main control processor will load is specified by described the loading from processor and specifically comprised: described main control processor is specified described module and is loaded from processor by described as described part of module.
3. management method according to claim 2 is characterized in that, compiles described master operating system in described image file, wherein adds described module and specifically comprises:
With described module compiles is that task or function join in the described image file;
Part of module in the described image file that described main control processor will load is specified by described the loading from processor and is specifically comprised:
Described main control processor obtains the pointer of described task or function from the loading code section of described image file;
Described main control processor sends to described pointer described from processor.
4. management method according to claim 3 is characterized in that, described main control processor obtains described task or function from the loading code section of described image file pointer specifically comprises:
Described main control processor obtains described task or function according to the task or the function name of described task or function from the loading code section of described image file pointer.
5. management method according to claim 3 is characterized in that, described main control processor sends to described pointer and describedly specifically comprises from processor:
Described main control processor sends to described pointer described from processor by wakeup message.
6. management method according to claim 3 is characterized in that, distributes respective resources specifically to comprise from processor to described:
Described main control processor calculating is described carries out described task or the needed work space of function from processor;
Described main control processor distributes the memory headroom that equals described work space size that begins from the address of described pointer to give described from processor.
7. management method according to claim 6 is characterized in that, describedly uses described respective resources to load described part of module from processor specifically to comprise:
Describedly in the described memory headroom that the address from described pointer begins, load described part of module from processor.
CN2008100855038A 2008-03-10 2008-03-10 Management method for loading multi-core different operating system images Expired - Fee Related CN101246431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100855038A CN101246431B (en) 2008-03-10 2008-03-10 Management method for loading multi-core different operating system images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100855038A CN101246431B (en) 2008-03-10 2008-03-10 Management method for loading multi-core different operating system images

Publications (2)

Publication Number Publication Date
CN101246431A true CN101246431A (en) 2008-08-20
CN101246431B CN101246431B (en) 2010-08-18

Family

ID=39946899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100855038A Expired - Fee Related CN101246431B (en) 2008-03-10 2008-03-10 Management method for loading multi-core different operating system images

Country Status (1)

Country Link
CN (1) CN101246431B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135904A (en) * 2011-03-11 2011-07-27 华为技术有限公司 Multi-core target system oriented mapping method and device
CN102253844A (en) * 2010-05-18 2011-11-23 大唐移动通信设备有限公司 Method and device for starting processor
WO2012016472A1 (en) * 2010-08-03 2012-02-09 中兴通讯股份有限公司 Method and system for loading linux operating system in multicore central processing unit (cpu)
CN102110196B (en) * 2009-12-25 2015-04-29 中国长城计算机深圳股份有限公司 Method and system for safely transmitting data among parallel-running multiple user operating systems
CN104714846A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Resource processing method, operating system and equipment
CN104714843A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Method and device supporting multiple processors through multi-kernel operating system living examples
CN104714821A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Operating system instance establishing method and device
CN107315615A (en) * 2017-06-30 2017-11-03 中国航空工业集团公司雷华电子技术研究所 A kind of C6678 multi-core DSPs software loads the simplification generation method of image
CN109634672A (en) * 2018-12-04 2019-04-16 中国航空工业集团公司西安航空计算技术研究所 A kind of multi-core processor loading method based on intercore communication
WO2020083019A1 (en) * 2018-10-23 2020-04-30 百富计算机技术(深圳)有限公司 Decoding method based on multi-core processor, terminal device and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110196B (en) * 2009-12-25 2015-04-29 中国长城计算机深圳股份有限公司 Method and system for safely transmitting data among parallel-running multiple user operating systems
CN102253844A (en) * 2010-05-18 2011-11-23 大唐移动通信设备有限公司 Method and device for starting processor
WO2012016472A1 (en) * 2010-08-03 2012-02-09 中兴通讯股份有限公司 Method and system for loading linux operating system in multicore central processing unit (cpu)
CN102135904A (en) * 2011-03-11 2011-07-27 华为技术有限公司 Multi-core target system oriented mapping method and device
CN104714821A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Operating system instance establishing method and device
CN104714843A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Method and device supporting multiple processors through multi-kernel operating system living examples
CN104714846A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Resource processing method, operating system and equipment
CN104714846B (en) * 2013-12-17 2018-06-05 华为技术有限公司 Method for processing resource, operating system and equipment
CN104714843B (en) * 2013-12-17 2018-06-15 华为技术有限公司 More kernel operating system instances support the method and device of multiprocessor
CN104714821B (en) * 2013-12-17 2018-07-31 华为技术有限公司 Operation system example creation method and device
US10180843B2 (en) 2013-12-17 2019-01-15 Huawei Technologies Co., Ltd. Resource processing method and device for a multi-core operating system
CN107315615A (en) * 2017-06-30 2017-11-03 中国航空工业集团公司雷华电子技术研究所 A kind of C6678 multi-core DSPs software loads the simplification generation method of image
CN107315615B (en) * 2017-06-30 2020-11-27 中国航空工业集团公司雷华电子技术研究所 Simplified generation method for C6678 multi-core DSP software loading image
WO2020083019A1 (en) * 2018-10-23 2020-04-30 百富计算机技术(深圳)有限公司 Decoding method based on multi-core processor, terminal device and storage medium
CN109634672A (en) * 2018-12-04 2019-04-16 中国航空工业集团公司西安航空计算技术研究所 A kind of multi-core processor loading method based on intercore communication

Also Published As

Publication number Publication date
CN101246431B (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN101246431B (en) Management method for loading multi-core different operating system images
US11385939B2 (en) Method and system for modeling and analyzing computing resource requirements of software applications in a shared and distributed computing environment
Aksit et al. Real-time specification inheritance anomalies and real-time filters
US8495598B2 (en) Control flow graph operating system configuration
Castilhos et al. Distributed resource management in NoC-based MPSoCs with dynamic cluster sizes
WO2017071266A1 (en) Service and resource orchestration system, method and device
CN109117252B (en) Method and system for task processing based on container and container cluster management system
CN102158535A (en) Cloud computing operating system
US20220171652A1 (en) Distributed container image construction scheduling system and method
US20100121904A1 (en) Resource reservations in a multiprocessor computing environment
US20110302302A1 (en) Adaptive mobile cloud system using private virtual intance and construction method thereof
CN112149169A (en) Application access method and device and computer readable storage medium
CN111064746A (en) Resource allocation method, device, equipment and storage medium
Pautet et al. Glade: A framework for building large object-oriented real-time distributed systems
CN104991823A (en) Method and device for realizing Javascript multitask mechanism
CN114911586A (en) Task scheduling method, device and system
US20100122261A1 (en) Application level placement scheduler in a multiprocessor computing environment
da Rosa Righi et al. Towards cloud-based asynchronous elasticity for iterative HPC applications
JP2010218151A (en) Virtual computer management mechanism and cpu time allocation control method in virtual computer system
CN114257614A (en) Multi-service-mode hospital big data platform system and resource scheduling method
CN103473089A (en) Distributed JAVA program running method, device and system
US20100122254A1 (en) Batch and application scheduler interface layer in a multiprocessor computing environment
CN110413333B (en) Micro-service management method and device of Windows system based on NodeJS and PowerShell
US9201688B2 (en) Configuration of asynchronous message processing in dataflow networks
CN116089020B (en) Virtual machine operation method, capacity expansion method and capacity expansion system

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
TR01 Transfer of patent right

Effective date of registration: 20180703

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: 518057 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee before: ZTE Corp.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100818

CF01 Termination of patent right due to non-payment of annual fee