CN107544815A - A kind of startup method and device of multicomputer system - Google Patents
A kind of startup method and device of multicomputer system Download PDFInfo
- Publication number
- CN107544815A CN107544815A CN201610489392.1A CN201610489392A CN107544815A CN 107544815 A CN107544815 A CN 107544815A CN 201610489392 A CN201610489392 A CN 201610489392A CN 107544815 A CN107544815 A CN 107544815A
- Authority
- CN
- China
- Prior art keywords
- processor
- multicomputer system
- executable file
- program
- version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Multi Processors (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment provides a kind of startup method and device of multicomputer system, wherein, this method includes:When monitoring to be discharged by the primary processor in multicomputer system from processor, the bootstrap from processor is run;The executable file obtained in space from processor is loaded from the program of multicomputer system by bootstrap;According to executable file, complete to start.Embodiments of the invention can quickly start multicomputer system in the case where reducing the system degree of coupling.
Description
Technical field
The present invention relates to multiprocessor computer system, the startup method and dress of more particularly to a kind of multicomputer system
Put.
Background technology
In multiprocessor systems on chips (SOC, System-on-a-Chip), multiple processors, such as centre be present
Manage device (CPU, Central Processing Unit) or signal processor (DSP, digital signal processor)
Deng.One of processor in SOC is typically chosen, as primary processor, to be responsible for completing other processors (i.e. from processor)
Version is obtained, parsed, loading and guiding operate, and is responsible for completing the remaining guiding work of present processor from processor.
It is that serially parsing can be held primary processor from processor that multicomputer system, which starts and (load and guide) method, at present
Style of writing part, then according to the information of parsing, corresponding storage space is put into by code and data, after loading is complete, release
From processor, bootstrap is run from processor, continues to complete present processor loading and program designation.
In this approach, primary processor is serial process, with the increase of processor number, load with the time of guiding into
Than increase, it is difficult to meet that user starts time requirement again;And in heterogeneous multi-processor chip, primary processor loading and guiding
Program needs to support the parsing of a variety of executable file formats, primary processor and high, the programming from the processor program degree of coupling
Complexity.
To sum up, the startup of multicomputer system is slower, and the degree of coupling of system is high.
The content of the invention
The purpose of the embodiment of the present invention is the startup method and device for providing a kind of multicomputer system, can be reducing
In the case of the degree of coupling of uniting, quickly start multicomputer system.
In order to achieve the above object, the embodiment provides a kind of startup method of multicomputer system, application
Include in multicomputer system from processor, this method:
When monitoring to be discharged by the primary processor in multicomputer system from processor, the guiding journey from processor is run
Sequence;
The executable file obtained in space from processor is loaded from the program of multicomputer system by bootstrap;
According to executable file, complete to start.
Wherein, after the step of according to executable file, completing to start, method also includes:
Startup successful information is reported to primary processor.
Wherein, according to executable file, the step of completing to start, including:
Executable file is parsed, obtains the version file data from processor;Wherein, version file data include
One or more program segments, the running position of each program segment, virtual spatial location and physical spatial location from processor;
According to the running position of each program segment, each program segment is moved to respective running position;
According to virtual spatial location and physical spatial location, the memory management unit from processor is configured.
Wherein, version file data also include the running position of one or more data segments and each data segment,
According to virtual spatial location and physical spatial location, configure from the memory management unit of processor the step of it
Before, method also includes:
According to the running position of each data segment, each data segment is moved to respective running position.
Wherein, according to virtual spatial location and physical spatial location, the step from the memory management unit of processor is configured
After rapid, method also includes:
Business configuration processor is jumped to from bootstrap, and performs initialization operation.
Embodiments of the invention additionally provide a kind of starter of multicomputer system, applied in multicomputer system
Include from processor, the device:
Monitoring modular, for monitor from processor by multicomputer system primary processor discharge when, run from
The bootstrap of processor;
First acquisition module, obtained for being loaded by bootstrap from the program of multicomputer system in space from processing
The executable file of device;
Starting module, for according to executable file, completing to start.
Wherein, device also includes:
Reporting module, for reporting startup successful information to primary processor.
Wherein, starting module includes:
First start unit, for being parsed to executable file, obtain the version file data from processor;Its
In, version file data include one or more program segments, the running position of each program segment, from the Virtual Space position of processor
Put and physical spatial location;
Second start unit, for the running position according to each program segment, each program segment is moved to respective running position
Put;
3rd start unit, for according to virtual spatial location and physical spatial location, configuring the internal memory pipe from processor
Manage unit.
Wherein, version file data also include the running position of one or more data segments and each data segment, device
Also include:
Module is moved, for the running position according to each data segment, each data segment is moved to respective running position.
Wherein, device also includes:
Jump module, for jumping to business configuration processor from bootstrap, and perform initialization operation.
Embodiments of the invention additionally provide a kind of from processor, include the starter of above-mentioned multicomputer system.
Embodiments of the invention additionally provide a kind of startup method of multicomputer system, applied in multicomputer system
Primary processor, this method includes:
Obtain in multicomputer system respectively from the executable file of processor, and the executable file got is loaded onto
In the program loading space of multicomputer system, make that respectively respective executable text can be obtained from program loading space from processor
Part;
Loading is discharged respectively from processor respectively from the bootstrap of processor, makes respectively to hold from processor according to respective
Part of composing a piece of writing is completed to start.
Wherein, discharging respectively after the step of processor, method also includes:
Obtain the startup successful information respectively reported from processor.
Wherein, obtain respectively from the startup successful information that processor reports the step of, including:
The startup successful information respectively reported from processor is obtained every a preset time.
Wherein, obtain multicomputer system in respectively from the executable file of processor the step of, including:
Obtain from processor version bag from the version repository of multicomputer system, include respectively from from processor version bag
Manage the executable file of device;
To carrying out decompression operations from processor version bag, get respectively from the executable file of processor.
Embodiments of the invention additionally provide a kind of starter of multicomputer system, applied in multicomputer system
Primary processor, its device includes:
Second acquisition module, for obtaining respectively from the executable file of processor in multicomputer system, and it will get
Executable file be loaded onto multicomputer system program loading space in, make respectively from processor can from program load space in
Obtain respective executable file;
Load-on module, for loading respectively from the bootstrap of processor, and discharge respectively from processor, make respectively from processor root
Complete to start according to respective executable file.
Wherein, device also includes:
3rd acquisition module, for obtaining the startup successful information respectively reported from processor.
Wherein, the 3rd acquisition module includes:
First acquisition unit, for obtaining the startup successful information respectively reported from processor every a preset time.
Wherein, the second acquisition module includes:
Second acquisition unit, for being obtained from the version repository of multicomputer system from processor version bag, from processor
Version bag is included respectively from the executable file of processor;
3rd acquiring unit, for carrying out decompression operations from processor version bag, getting respectively holding from processor
Style of writing part.
Embodiments of the invention additionally provide a kind of primary processor, include the starter of above-mentioned multicomputer system.
The such scheme of the present invention comprises at least following beneficial effect:
In an embodiment of the present invention, due to each in multicomputer system from processor parallel from multicomputer system
Respective executable file is obtained in program loading space, and completes to start according to respective executable file parallel, is solved
The startup of multicomputer system is slower, and system the degree of coupling it is high the problem of, reached in the case where reducing the system degree of coupling,
The quick effect for starting multicomputer system.
Brief description of the drawings
Fig. 1 is the flow chart of the startup method of multicomputer system in first embodiment of the invention;
Fig. 2 is the structural representation of the starter of multicomputer system in second embodiment of the invention;
Fig. 3 is the flow chart of the startup method of multicomputer system in fourth embodiment of the invention;
Fig. 4 is the structural representation of multicomputer system in fourth embodiment of the invention;
Fig. 5 is the flow chart of the startup method of multicomputer system in first example in fourth embodiment of the invention;
Fig. 6 is the flow chart of the startup method of multicomputer system in second example in fourth embodiment of the invention;
Fig. 7 is the structural representation of the starter of multicomputer system in fifth embodiment of the invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
First embodiment
As shown in figure 1, the first embodiment of the present invention provides a kind of startup method of multicomputer system, applied to more
Include in processor system from processor, this method:
Step 101, when monitoring to be discharged by the primary processor in multicomputer system from processor, run from processor
Bootstrap.
Wherein, above-mentioned from processor and primary processor can be CPU or DSP etc..
Step 102, loaded by bootstrap from the program of multicomputer system and holding from processor is obtained in space
Style of writing part.
Wherein, it is stored with said procedure loading space in multicomputer system respectively from the executable file of processor.Its
In, executable file refers to that load and execution can be carried out by operating system (operating system herein refers to above-mentioned bootstrap)
File.
In the first embodiment of the present invention, from processor can according to the mark of oneself from program load in space it is accurate,
It is rapidly obtained the executable file of oneself.
Step 103, according to executable file, complete to start.
In the first embodiment of the present invention, after execution of step 103, the above method also includes:Reported to primary processor
The step of starting successful information, so that primary processor carries out other operations, such as configuration service etc..Wherein, can lead to from processor
The mode that loading and guiding Success Flag position are reported to primary processor is crossed, startup successful information is reported to primary processor.
Wherein, in the first embodiment of the present invention, above-mentioned steps 103 specifically comprise the following steps:
The first step, executable file is parsed, obtain the version file data from processor.
Wherein, version file data include one or more program segments, the running position of each program segment, from processor
Virtual spatial location and physical spatial location.It should be noted that above-mentioned version file data may also include one or more
The running position of data segment and each data segment.
Second step, according to the running position of each program segment, each program segment is moved to respective running position.
It should be noted that if above-mentioned version file data also include one or more data segments and each data segment
Running position, now, it is also necessary to according to the running position of each data segment, each data segment is moved to respective running position.
3rd step, according to virtual spatial location and physical spatial location, configure the memory management unit from processor.That is,
The configuration space mapping relations in the memory management unit from processor.
4th step, business configuration processor is jumped to from bootstrap, and perform initialization operation.
In the first embodiment of the present invention, due to each in multicomputer system from processor parallel from multiprocessor system
Respective executable file is obtained in the program loading space of system, and completes to start according to respective executable file parallel, solution
Determined multicomputer system startup it is slower, and system the degree of coupling it is high the problem of, reached reduce the system degree of coupling feelings
Under condition, the quick effect for starting multicomputer system.
Second embodiment
As shown in Fig. 2 the second embodiment of the present invention provides a kind of starter of multicomputer system, applied to more
Include in processor system from processor, the device:
Monitoring modular 201, for when monitoring to be discharged by the primary processor in multicomputer system from processor, running
From the bootstrap of processor;
First acquisition module 202, for loaded by bootstrap from the program of multicomputer system obtained in space from
The executable file of processor;
Starting module 203, for according to executable file, completing to start.
Wherein, device also includes:
Reporting module, for reporting startup successful information to primary processor.
Wherein, starting module 203 includes:
First start unit, for being parsed to executable file, obtain the version file data from processor;Its
In, version file data include one or more program segments, the running position of each program segment, from the Virtual Space position of processor
Put and physical spatial location;
Second start unit, for the running position according to each program segment, each program segment is moved to respective running position
Put;
3rd start unit, for according to virtual spatial location and physical spatial location, configuring the internal memory pipe from processor
Manage unit.
Wherein, version file data also include the running position of one or more data segments and each data segment, device
Also include:
Module is moved, for the running position according to each data segment, each data segment is moved to respective running position.
Wherein, device also includes:
Jump module, for jumping to business configuration processor from bootstrap, and perform initialization operation.
In the second embodiment of the present invention, due to each in multicomputer system from processor parallel from multiprocessor system
Respective executable file is obtained in the program loading space of system, and completes to start according to respective executable file parallel, solution
Determined multicomputer system startup it is slower, and system the degree of coupling it is high the problem of, reached reduce the system degree of coupling feelings
Under condition, the quick effect for starting multicomputer system.
It should be noted that the starter for the multicomputer system that second embodiment of the invention provides is applied to above-mentioned
Applied to the device of the startup method of the multicomputer system from processor, i.e., the above-mentioned multiprocessor system being applied to from processor
All embodiments of the startup method of system are applied to the device, and can reach same or analogous beneficial effect.
3rd embodiment
The third embodiment of the present invention provides a kind of from processor, including the above-mentioned multiprocessor being applied to from processor
The starter of system.
It should be noted that third embodiment of the invention offer is applied to from processor from processor including above-mentioned
The starter of multicomputer system from processor, i.e., the above-mentioned starter being applied to from the multicomputer system of processor
All embodiments be applied to and should can reach same or analogous beneficial effect from processor.
Fourth embodiment
As shown in figure 3, the fourth embodiment of the present invention provides a kind of startup method of multicomputer system, applied to more
Primary processor in processor system, this method include:
Step 301, obtain in multicomputer system respectively from the executable file of processor, and the executable text that will be got
Part be loaded onto multicomputer system program loading space in, make respectively from processor can from program load space in obtain it is respective
Executable file.
Wherein, in the fourth embodiment of the present invention, as shown in figure 4, primary processor 401 can be by from multicomputer system
Obtain from processor version bag in 400 version repository 402, and to carrying out the mode of decompression operations from processor version bag, obtain
To respectively from the executable file of processor 403.And obtained each to make respectively load in space 404 from program from processor 403
Executable file, primary processor 401 can by the executable file got be loaded onto multicomputer system 400 program load
In space 404.Wherein, it is above-mentioned to include respectively from the executable file of processor 403 from processor version bag.
Wherein, primary processor to program loading space loading respectively from the executable file of processor when, can it is each can
Perform and added in file from the mark of processor belonging to it, so as to which from processor space can be loaded from program according to the mark of oneself
In accurately and rapidly get the executable file of oneself.Certainly, the data for loading space to program for ease of keeper are carried out
Management and control, it can also be additionally implemented for characterizing the information of its size, attribute etc. in each executable file.
Step 302, loading is respectively from the bootstrap of processor, and discharges respectively from processor, makes respectively from processor according to each
From executable file complete start.
In the fourth embodiment of the present invention, primary processor release can inquire about respectively opening from processor respectively after processor
Dynamic state.Specifically, respectively opening from processor can be obtained by way of obtaining the startup successful information respectively reported from processor
Dynamic state., can be every the startup that a preset time (such as 10 seconds) acquisition respectively reports from processor as a preferable example
Successful information.More specifically, the loading respectively reported from processor can be obtained every a preset time and guide Success Flag position
Mode, obtain the startup successful information respectively reported from processor.Wherein, if all successfully complete startup from processor, and on
Report starts successful information, and primary processor will proceed by other operations, such as configuration service etc.;And if do not report and open in the presence of time-out
Dynamic successful information will then report the mistake for starting and failing from processor, primary processor.It should be noted that the of the present invention
In four embodiments, the quantity of primary processor in multicomputer system is not limited, i.e. it can also be multiple that it, which can be one,.
It should be further stated that said procedure loading space can be accessed from processor and primary processor, and work as
After multicomputer system starts successfully, program loading space can discharge, empty so as to save system storage for other operations
Between.
It can be seen that in the fourth embodiment of the present invention, because primary processor will be loaded respectively from the executable file of processor
In the program loading space of multicomputer system, and just discharged respectively from after the respectively bootstrap from processor has been loaded
Manage device so that respectively respective executable file can be obtained from the program loading space of multicomputer system parallel from processor,
And complete to start according to respective executable file parallel, solve that the startup of multicomputer system is slower, and the coupling of system
The problem of high is spent, has reached the time in the case where reducing the system degree of coupling, reduced from processor loading executable file, has entered
And quickly start the effect of multicomputer system.
In the fourth embodiment of the present invention, the above method is expanded on further with two instantiations.
In first example, it is assumed that have N number of CPU processor and M DSP Processor in multicomputer system, wherein one
Individual CPU processor is primary processor, and other (N-1) individual CPU processor and M DSP Processor are from processor.As shown in figure 5,
The startup method of the multicomputer system comprises the following steps:
Step 501, primary processor is obtained from version repository from processor version bag, and performs decompression, will decompress what is obtained
Respectively program loading space is loaded onto from the executable file of processor.
It should be noted that, although (N+M-1) that multicomputer system includes being made up of CPU and DSP is individual from processor, but
It is that the operations such as primary processor execution decompression are identicals, DSP or CPU is not differentiated between, so as to simplify the design of primary processor
And reduce primary processor and from processor coupling.
Step 502, primary processor loading is respectively from the bootstrap of processor, and discharges respectively from processor.
Wherein, discharge and resetted from processor equivalent to releasing.And primary processor is performing completion step 501 and step 502
Afterwards, step 506 is performed.
Step 503, respectively respective bootstrap is run from processor.
For each bootstrap from processor, bootstrap mainly be responsible for from program load space in obtain can
File is performed, and parses executable file, the version file data-moving program segment and data segment obtained according to parsing, Yi Jipei
It is empty mapping relations etc..
It should be noted that, although in heterogeneous chip existing for CPU and DSP, from processor CPU and DSP loading and
Guiding function is identical, but CPU and DSP relative programs are realized and are possible to differ.But due to the difference of heterogeneous chip being realized
Part is put into be realized from processor, therefore primary processor does not have to concern.
Step 504, business configuration processor respectively is jumped to from processor from bootstrap, and performs initialization operation.
Step 505, respectively startup successful information is reported from processor.
Step 506, the startup successful information respectively reported from processor is obtained every a preset time.
Wherein, if all successfully complete startup from processor, other operations, such as configuration service etc. will be proceeded by;
And if not actuated success (do not report start successful information) be present will report the mistake for starting and failing from processor, primary processor
By mistake.
In second example, it is assumed that have N number of CPU processor in multicomputer system, based on one of CPU processor
Processor, other (N-1) individual CPU processors are from processor.As shown in fig. 6, the startup method of the multicomputer system includes
Following steps:
Step 601, primary processor is obtained from version repository from processor version bag, and performs decompression, will decompress what is obtained
Respectively program loading space is loaded onto from the executable file of processor.
Step 602, primary processor loading is respectively from the bootstrap of processor, and discharges respectively from processor.
Wherein, discharge and resetted from processor equivalent to releasing.And primary processor is performing completion step 601 and step 602
Afterwards, step 606 is performed.
Step 603, respectively respective bootstrap is run from processor.
For each bootstrap from processor, bootstrap mainly be responsible for from program load space in obtain can
File is performed, and parses executable file, the version file data-moving program segment and data segment obtained according to parsing, Yi Jipei
It is empty mapping relations etc..
Step 604, business configuration processor respectively is jumped to from processor from bootstrap, and performs initialization operation.
Step 605, respectively startup successful information is reported from processor.
Step 606, the startup successful information respectively reported from processor is obtained every a preset time.
Wherein, if all successfully complete startup from processor, other operations, such as configuration service etc. will be proceeded by;
And if not actuated success (do not report start successful information) be present will report the mistake for starting and failing from processor, primary processor
By mistake.
5th embodiment
As shown in fig. 7, the fifth embodiment of the present invention provides a kind of starter of multicomputer system, applied to more
Primary processor in processor system, its device include:
Second acquisition module 701, for obtaining respectively from the executable file of processor in multicomputer system, and it will obtain
To executable file be loaded onto multicomputer system program loading space in, make respectively from processor can from program load space
It is middle to obtain respective executable file;
Load-on module 702, for loading respectively from the bootstrap of processor, and discharge respectively from processor, make respectively from processing
Device is completed to start according to respective executable file.
Wherein, device also includes:
3rd acquisition module, for obtaining the startup successful information respectively reported from processor.
Wherein, the 3rd acquisition module includes:
First acquisition unit, for obtaining the startup successful information respectively reported from processor every a preset time.
Wherein, the second acquisition module 701 includes:
Second acquisition unit, for being obtained from the version repository of multicomputer system from processor version bag, from processor
Version bag is included respectively from the executable file of processor;
3rd acquiring unit, for carrying out decompression operations from processor version bag, getting respectively holding from processor
Style of writing part.
In the fifth embodiment of the present invention, because primary processor respectively will load on many places from the executable file of processor
In the program loading space for managing device system so that can respectively be obtained parallel from the program loading space of multicomputer system from processor
Respective executable file is taken, and completes to start according to respective executable file parallel, solves opening for multicomputer system
It is dynamic relatively slow, and system the degree of coupling it is high the problem of, reached in the case where reducing the system degree of coupling, reduced from processor loading
The time of executable file, and then the quick effect for starting multicomputer system.
It should be noted that the starter for the multicomputer system that fifth embodiment of the invention provides is applied to above-mentioned
Applied to the device of the startup method of the multicomputer system of primary processor, i.e., the above-mentioned multiprocessor system applied to primary processor
All embodiments of the startup method of system are applied to the device, and can reach same or analogous beneficial effect.
Sixth embodiment
The sixth embodiment of the present invention provides a kind of primary processor, including the above-mentioned multiprocessor applied to primary processor
The starter of system.
It should be noted that the primary processor that sixth embodiment of the invention provides is applied to primary processor including above-mentioned
The starter of the primary processor of the starter of multicomputer system, the i.e. above-mentioned multicomputer system applied to primary processor
All embodiments be applied to the primary processor, and can reach same or analogous beneficial effect.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (20)
1. a kind of startup method of multicomputer system, applied in multicomputer system from processor, it is characterised in that institute
The method of stating includes:
Monitor it is described discharged from processor by the primary processor in the multicomputer system when, operation is described from processor
Bootstrap;
Loaded by the bootstrap from the program of the multicomputer system and the holding from processor is obtained in space
Style of writing part;
According to the executable file, complete to start.
2. the method as described in claim 1, it is characterised in that described according to the executable file, complete the step started
After rapid, methods described also includes:
Startup successful information is reported to the primary processor.
3. the method as described in claim 1, it is characterised in that it is described according to the executable file, the step of completing to start,
Including:
The executable file is parsed, obtains the version file data from processor;Wherein, the version file
Data include one or more program segments, the running position of each program segment, the virtual spatial location and thing from processor
Manage locus;
According to the running position of each program segment, each program segment is moved to respective running position;
According to the virtual spatial location and physical spatial location, the configuration memory management unit from processor.
4. method as claimed in claim 3, it is characterised in that the version file data also include one or more data segments
And the running position of each data segment,
Described according to the virtual spatial location and physical spatial location, the memory management unit from processor is configured
Before step, methods described also includes:
According to the running position of each data segment, each data segment is moved to respective running position.
5. the method as described in claim 3 or 4, it is characterised in that described empty according to the virtual spatial location and physics
Between position, configuration is described after the step of memory management unit of processor, and methods described also includes:
Business configuration processor is jumped to from the bootstrap, and performs initialization operation.
6. a kind of starter of multicomputer system, applied in multicomputer system from processor, it is characterised in that institute
Stating device includes:
Monitoring modular, for monitor it is described discharged from processor by the primary processor in the multicomputer system when, fortune
The row bootstrap from processor;
First acquisition module, institute is obtained for being loaded by the bootstrap from the program of the multicomputer system in space
State the executable file from processor;
Starting module, for according to the executable file, completing to start.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Reporting module, for reporting startup successful information to the primary processor.
8. device as claimed in claim 6, it is characterised in that the starting module includes:
First start unit, for being parsed to the executable file, obtain the version file data from processor;
Wherein, the version file data include the running position, described from processor of one or more program segments, each program segment
Virtual spatial location and physical spatial location;
Second start unit, for the running position according to each program segment, each program segment is moved to respective running position;
3rd start unit, for described out of processor according to the virtual spatial location and physical spatial location, configuration
Deposit administrative unit.
9. device as claimed in claim 8, it is characterised in that the version file data also include one or more data segments
And the running position of each data segment, described device also include:
Module is moved, for the running position according to each data segment, each data segment is moved to respective running position.
10. device as claimed in claim 8 or 9, it is characterised in that described device also includes:
Jump module, for jumping to business configuration processor from the bootstrap, and perform initialization operation.
It is 11. a kind of from processor, it is characterised in that including the multicomputer system as described in any one of claim 6~10
Starter.
12. a kind of startup method of multicomputer system, applied to the primary processor in multicomputer system, it is characterised in that
Methods described includes:
Obtain respectively from the executable file of processor in the multicomputer system, and the executable file got is loaded onto
The multicomputer system program loading space in, make respectively from processor can from described program load space in obtain it is respective
Executable file;
Loading is discharged respectively from processor respectively from the bootstrap of processor, is made respectively from processor according to respective executable text
Part is completed to start.
13. method as claimed in claim 12, it is characterised in that discharged described respectively after the step of processor, it is described
Method also includes:
Obtain the startup successful information respectively reported from processor.
14. method as claimed in claim 13, it is characterised in that described to obtain the startup successful information respectively reported from processor
The step of, including:
The startup successful information respectively reported from processor is obtained every a preset time.
15. method as claimed in claim 12, it is characterised in that described to obtain in the multicomputer system respectively from processor
Executable file the step of, including:
Obtained from the version repository of the multicomputer system from processor version bag, it is described to include respectively from processor version bag
From the executable file of processor;
Decompression operations are carried out from processor version bag to described, are got respectively from the executable file of processor.
A kind of 16. starter of multicomputer system, applied to the primary processor in multicomputer system, it is characterised in that
Described device includes:
Second acquisition module, for obtaining respectively from the executable file of processor in the multicomputer system, and it will get
Executable file be loaded onto the multicomputer system program loading space in, make from processor from described program can respectively to add
Carry in space and obtain respective executable file;
Load-on module, for loading respectively from the bootstrap of processor, and discharge respectively from processor, make respectively from processor according to each
From executable file complete start.
17. device as claimed in claim 16, it is characterised in that described device also includes:
3rd acquisition module, for obtaining the startup successful information respectively reported from processor.
18. device as claimed in claim 17, it is characterised in that the 3rd acquisition module includes:
First acquisition unit, for obtaining the startup successful information respectively reported from processor every a preset time.
19. device as claimed in claim 16, it is characterised in that second acquisition module includes:
Second acquisition unit, it is described from for being obtained from the version repository of the multicomputer system from processor version bag
Reason device version bag is included respectively from the executable file of processor;
3rd acquiring unit, for carrying out decompression operations from processor version bag to described, get respectively holding from processor
Style of writing part.
20. a kind of primary processor, it is characterised in that including the multicomputer system as described in any one of claim 16~19
Starter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610489392.1A CN107544815A (en) | 2016-06-28 | 2016-06-28 | A kind of startup method and device of multicomputer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610489392.1A CN107544815A (en) | 2016-06-28 | 2016-06-28 | A kind of startup method and device of multicomputer system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107544815A true CN107544815A (en) | 2018-01-05 |
Family
ID=60962095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610489392.1A Pending CN107544815A (en) | 2016-06-28 | 2016-06-28 | A kind of startup method and device of multicomputer system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107544815A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108599981A (en) * | 2018-03-13 | 2018-09-28 | 迈普通信技术股份有限公司 | Management method, service card and the communication equipment of service card |
CN109460260A (en) * | 2018-10-24 | 2019-03-12 | 福州瑞芯微电子股份有限公司 | A kind of method and apparatus of quick turn-on |
CN109800032A (en) * | 2019-01-31 | 2019-05-24 | 深圳忆联信息***有限公司 | BOOTROM multicore loading method and device |
CN110377358A (en) * | 2019-06-28 | 2019-10-25 | 深圳市汇川技术股份有限公司 | Coprocessor firmware dynamic loading method, system, equipment and storage medium |
CN111209059A (en) * | 2020-01-14 | 2020-05-29 | 中国北方车辆研究所 | Embedded software multi-version control system and method |
CN115629824A (en) * | 2022-12-01 | 2023-01-20 | 摩尔线程智能科技(北京)有限责任公司 | GPU starting method, device, equipment, storage medium and program product |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963759A (en) * | 2006-12-01 | 2007-05-16 | 北京中星微电子有限公司 | Guide method and system of coprocessor |
CN101017440A (en) * | 2006-02-09 | 2007-08-15 | 恩益禧电子股份有限公司 | Multiprocessor system and start-up method from the same |
CN101192165A (en) * | 2006-11-29 | 2008-06-04 | 中兴通讯股份有限公司 | Master-slave mode multiprocessor system and software version loading method |
US20090158297A1 (en) * | 2007-12-12 | 2009-06-18 | Electronics And Telecommunications Research Institute | System and method of dynamically loading and executing module devices using inter-core-communication channel in multicore system environment |
CN101464807A (en) * | 2009-01-08 | 2009-06-24 | 杭州华三通信技术有限公司 | Application program loading method and device |
CN101533355A (en) * | 2009-04-15 | 2009-09-16 | 杭州华三通信技术有限公司 | Method for starting multioperation system and device thereof |
CN102253844A (en) * | 2010-05-18 | 2011-11-23 | 大唐移动通信设备有限公司 | Method and device for starting processor |
CN102646045A (en) * | 2012-03-08 | 2012-08-22 | 杭州海康威视数字技术股份有限公司 | Multiprocessor system and parallel startup method thereof |
CN103092652A (en) * | 2013-01-16 | 2013-05-08 | 深圳市怡化电脑有限公司 | Multiprocessor program loading device and loading method |
US20130151829A1 (en) * | 2011-12-08 | 2013-06-13 | International Business Machines Corporation | Multi-Chip Initialization Using a Parallel Firmware Boot Process |
CN104156234A (en) * | 2014-07-22 | 2014-11-19 | 华为技术有限公司 | Multi-core processor starting and bootloader big-little endian mode adapting method device |
JP2014229207A (en) * | 2013-05-24 | 2014-12-08 | 株式会社ケーヒン | Multi-core system |
-
2016
- 2016-06-28 CN CN201610489392.1A patent/CN107544815A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101017440A (en) * | 2006-02-09 | 2007-08-15 | 恩益禧电子股份有限公司 | Multiprocessor system and start-up method from the same |
CN101192165A (en) * | 2006-11-29 | 2008-06-04 | 中兴通讯股份有限公司 | Master-slave mode multiprocessor system and software version loading method |
CN1963759A (en) * | 2006-12-01 | 2007-05-16 | 北京中星微电子有限公司 | Guide method and system of coprocessor |
US20090158297A1 (en) * | 2007-12-12 | 2009-06-18 | Electronics And Telecommunications Research Institute | System and method of dynamically loading and executing module devices using inter-core-communication channel in multicore system environment |
CN101464807A (en) * | 2009-01-08 | 2009-06-24 | 杭州华三通信技术有限公司 | Application program loading method and device |
CN101533355A (en) * | 2009-04-15 | 2009-09-16 | 杭州华三通信技术有限公司 | Method for starting multioperation system and device thereof |
CN102253844A (en) * | 2010-05-18 | 2011-11-23 | 大唐移动通信设备有限公司 | Method and device for starting processor |
US20130151829A1 (en) * | 2011-12-08 | 2013-06-13 | International Business Machines Corporation | Multi-Chip Initialization Using a Parallel Firmware Boot Process |
CN102646045A (en) * | 2012-03-08 | 2012-08-22 | 杭州海康威视数字技术股份有限公司 | Multiprocessor system and parallel startup method thereof |
CN103092652A (en) * | 2013-01-16 | 2013-05-08 | 深圳市怡化电脑有限公司 | Multiprocessor program loading device and loading method |
JP2014229207A (en) * | 2013-05-24 | 2014-12-08 | 株式会社ケーヒン | Multi-core system |
CN104156234A (en) * | 2014-07-22 | 2014-11-19 | 华为技术有限公司 | Multi-core processor starting and bootloader big-little endian mode adapting method device |
Non-Patent Citations (2)
Title |
---|
张元 等编著: "《操作***原理及应用》", 31 July 2013, 北京:国防工业出版社 * |
郑鹏 等主编: "《Linux原理与应用》", 31 March 2008, 武汉:武汉大学出版社 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108599981A (en) * | 2018-03-13 | 2018-09-28 | 迈普通信技术股份有限公司 | Management method, service card and the communication equipment of service card |
CN109460260A (en) * | 2018-10-24 | 2019-03-12 | 福州瑞芯微电子股份有限公司 | A kind of method and apparatus of quick turn-on |
CN109460260B (en) * | 2018-10-24 | 2021-07-09 | 瑞芯微电子股份有限公司 | Method and device for quickly starting up |
CN109800032A (en) * | 2019-01-31 | 2019-05-24 | 深圳忆联信息***有限公司 | BOOTROM multicore loading method and device |
CN109800032B (en) * | 2019-01-31 | 2022-03-25 | 深圳忆联信息***有限公司 | BOOTROM multi-core loading method and device |
CN110377358A (en) * | 2019-06-28 | 2019-10-25 | 深圳市汇川技术股份有限公司 | Coprocessor firmware dynamic loading method, system, equipment and storage medium |
CN111209059A (en) * | 2020-01-14 | 2020-05-29 | 中国北方车辆研究所 | Embedded software multi-version control system and method |
CN111209059B (en) * | 2020-01-14 | 2023-03-03 | 中国北方车辆研究所 | Embedded software multi-version control system and method |
CN115629824A (en) * | 2022-12-01 | 2023-01-20 | 摩尔线程智能科技(北京)有限责任公司 | GPU starting method, device, equipment, storage medium and program product |
CN115629824B (en) * | 2022-12-01 | 2023-08-15 | 摩尔线程智能科技(北京)有限责任公司 | GPU starting method, device, equipment, storage medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107544815A (en) | A kind of startup method and device of multicomputer system | |
US11853774B2 (en) | Dynamically loaded plugin architecture | |
US10732963B2 (en) | System and method for automatically managing updated UEFI variables | |
EP2936315B1 (en) | On-the-fly technical support | |
US7870443B2 (en) | Method to isolate crash of an embedded multi-threaded application to a shared library call without core dump files or debugger | |
US9928059B1 (en) | Automated deployment of a multi-version application in a network-based computing environment | |
US20140372983A1 (en) | Identifying the introduction of a software failure | |
US11645068B2 (en) | Method for implementing function jump, apparatus, and computer storage medium | |
US9424168B2 (en) | System and method for automatic generation of software test | |
Ramamoorthy et al. | Advances in software engineering | |
CN110008106A (en) | Code test method, device and computer readable storage medium | |
CN111666210A (en) | Chip verification method and device | |
CN110750457B (en) | Automatic unit testing method and device based on memory database | |
US20160253157A1 (en) | Software refactoring | |
EP4318211A1 (en) | Method for inspecting code under weak memory order architecture, and corresponding device | |
US9600397B2 (en) | Dynamic debugging method of a software module and corresponding device | |
CN110134598B (en) | Batch processing method, device and system | |
CN103049374A (en) | Automatic testing method and device | |
CN110069455B (en) | File merging method and device | |
CN111562952A (en) | Dynamic loading method and dynamic loading device for double-core intelligent ammeter management unit | |
Gupta et al. | Testing functional requirements using B model specifications | |
CN107632864B (en) | Method for establishing UEFI Boot Order of specific ordering | |
CN114691496A (en) | Unit testing method, unit testing device, computing equipment and medium | |
CN115757172A (en) | Test execution method and device, storage medium and computer equipment | |
CN110399156B (en) | On-orbit upgrading method for aerospace software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |
|
RJ01 | Rejection of invention patent application after publication |