CN103150181B - Method and device for starting process - Google Patents
Method and device for starting process Download PDFInfo
- Publication number
- CN103150181B CN103150181B CN201310054996.XA CN201310054996A CN103150181B CN 103150181 B CN103150181 B CN 103150181B CN 201310054996 A CN201310054996 A CN 201310054996A CN 103150181 B CN103150181 B CN 103150181B
- Authority
- CN
- China
- Prior art keywords
- dynamic process
- current software
- configuration information
- information
- software entity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention provides a method and a device for starting a process. The method comprises the following steps: obtaining configuration information about the dynamic process of a current software entity; constructing starting information of the dynamic process according to the configuration information of the dynamic process; and starting the dynamic process of the current software entity according to the starting information of the dynamic process. Through the invention, the process starting process of the software entity can be flexibly controlled, the maintainability and the extensibility of the overall software entity system are improved, and the system resources are saved.
Description
Technical field
The present invention relates to the technical field of mobile communication, more particularly to a kind of method of process initiation,
And, a kind of device of process initiation.
Background technology
Software Governance framework is the framework of managing process, the main startup including software entity, software
Operational management three partial content of the upgrading of entity and software entity, wherein, the liter of software entity
Level relates generally to interpolation, deletion, renewal and replacement of software entity etc., current software entity
Upgrading is mainly the heat upgrading flow process of software entity;The operational management of software entity mainly includes software
The failure strategy of entity is processed.
At present, the startup of software Governance framework shorter mention software entity, in correlation technique, software
The startup of entity is mainly static startup, and it is substantially before starting the static process of software entity
The first configuration information of fixing static state process, then starts accordingly soft according to the configuration information fixed in advance
The static process of part entity.However, this static method form starting more single it is impossible to clever
The process initiation process of ground alive control software entity, thus whole software entity system can not be improved
Maintainability and extensibility.
Thus, need the urgent technical problem solving of those skilled in the art to be exactly at present:As
What provides a kind of method of process initiation, is capable of the process initiation process of neatly control software entity,
Improve maintainability and the extensibility of whole software entity system, save system resource.
Content of the invention
The invention provides a kind of method of process initiation, being capable of neatly the entering of control software entity
Journey start-up course, improves maintainability and the extensibility of whole software entity system, saves system
Resource.
Accordingly, present invention also offers a kind of device of process initiation is in order to ensure said method
Realize and apply.
In order to solve the above problems, the invention discloses a kind of method of process initiation, including:
Obtain the configuration information of Current software entity dynamic process;
Configuration information according to described dynamic process builds the startup information of dynamic process;
Startup information according to described dynamic process starts the dynamic process of Current software entity.
It is preferred that before the step of the described configuration information obtaining Current software entity dynamic process,
Also include:
Obtain the configuration information of Current software entity static state process;
Start the static process of Current software entity according to the configuration information of described static state process.
It is preferred that the step of the described configuration information obtaining Current software entity dynamic process includes:
Read the configuration information of the dynamic process being previously written in Current software entity data bak.
It is preferred that the step of the described configuration information obtaining Current software entity dynamic process also includes:
The upgrade command issuing according to Current software entity control station, generates the configuration letter of dynamic process
Breath.
It is preferred that the step of the described configuration information obtaining Current software entity dynamic process includes:
When Current software physical system initializes, read in Current software entity data bak and write in advance
The configuration information of the first dynamic process entering;
When Current software physical system is run, the upgrading that foundation Current software entity control station issues
Order, generates the configuration information of the second dynamic process;
The described configuration information according to dynamic process builds the step bag of the startup information of dynamic process
Include:
Configuration information according to described first dynamic process builds the startup information of the first dynamic process;
Configuration information according to described second dynamic process builds the startup information of the second dynamic process;
The step that the described startup information according to dynamic process starts the dynamic process of Current software entity
Including:
Start the first of Current software entity according to the startup information of described first dynamic process dynamically to enter
Journey;
Start the second of Current software entity according to the startup information of described second dynamic process dynamically to enter
Journey.
It is preferred that described startup information includes process initiation path, process identification (PID), process port letter
Breath and the affiliated nodal information of process.
It is preferred that methods described also includes:
The delete command issuing according to described Current software entity control station, deletes dynamic process.
It is preferred that the described delete command issuing according to Current software entity control station, delete dynamic
The step of process includes:
In the system operation of described Current software entity, issue according to Current software entity control station
Delete command, delete the second dynamic process.
The invention also discloses a kind of device of process initiation, including:
First acquisition module, for obtaining the configuration information of Current software entity dynamic process;
Build module, for building the startup of dynamic process according to the configuration information of described dynamic process
Information;
First starting module, real for starting Current software according to the startup information of described dynamic process
The dynamic process of body.
It is preferred that described device also includes:
Second acquisition module, for, before calling the first acquisition module, obtaining Current software entity
The configuration information of static process;
Second starting module, real for starting Current software according to the configuration information of described static state process
The static process of body.
It is preferred that described first acquisition module includes:
First reading submodule, for reading be previously written in Current software entity data bak dynamic
The configuration information of process.
It is preferred that described first acquisition module also includes:
First generation submodule, for the upgrade command issuing according to Current software entity control station,
Generate the configuration information of dynamic process.
It is preferred that described first acquisition module includes:
Second reading submodule, for when Current software physical system initializes, reading currently soft
The configuration information of the first dynamic process being previously written in part entity data bak;
Second generation submodule, for when Current software physical system is run, according to Current software
The upgrade command that entity control station issues, generates the configuration information of the second dynamic process;
Described structure module includes:
First structure submodule, builds first for the configuration information according to described first dynamic process
The startup information of dynamic process;
Second structure submodule, builds second for the configuration information according to described second dynamic process
The startup information of dynamic process;
Described first starting module includes:
First startup submodule, current for starting according to the startup information of described first dynamic process
First dynamic process of software entity;
Second startup submodule, current for starting according to the startup information of described second dynamic process
Second dynamic process of software entity.
It is preferred that described startup information includes process initiation path, process identification (PID), process port letter
Breath and the affiliated nodal information of process.
It is preferred that described device also includes:
Removing module, for the delete command issuing according to described Current software entity control station, deletes
Except dynamic process.
It is preferred that described removing module includes:
Delete submodule, in the system operation of described Current software entity, according to currently soft
The delete command that part entity control station issues, deletes the second dynamic process.
Compared with background technology, the present invention has advantages below:
The present invention passes through to obtain the configuration information of Current software entity dynamic process, builds it and starts letter
Breath, and then start corresponding dynamic process in Current software entity, can neatly control software real
The process initiation process of body, improves maintainability and the extensibility of whole software entity system, section
Save system resource.
Furthermore, the different Starting mode of dynamic process in Current software entity can be carried out by the present invention
Combination, can reach the polytropy of whole software entity system.
Brief description
Fig. 1 shows a kind of steps flow chart of the embodiment of the method 1 of process initiation that the present invention provides
Figure;
Fig. 2 shows the schematic diagram of static process initiation in correlation technique;
Fig. 3 shows the schematic diagram that in the embodiment of the present invention 1, dynamic process starts;
Fig. 4 shows a kind of steps flow chart of the embodiment of the method 2 of process initiation that the present invention provides
Figure;
Fig. 5 shows the schematic diagram that in the embodiment of the present invention 2, dynamic process starts;
Fig. 6 shows a kind of steps flow chart of the embodiment of the method 3 of process initiation that the present invention provides
Figure;
Fig. 7 shows the schematic diagram that in the embodiment of the present invention 3, dynamic process starts;
Fig. 8 shows a kind of structured flowchart of the device embodiment of process initiation that the present invention provides.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, with reference to
The present invention is further detailed explanation for the drawings and specific embodiments.
For making those skilled in the art more fully understand the present invention, below to right in software Governance framework
Management simple declaration in process initiation.
In correlation technique, after the system start-up of described Current software entity, can be by following process
Management data structures start corresponding process,
Wherein, management of process structure mainly includes process title, process identification (PID)(I.e. process id), interior
Portion identifies(I.e. internal id), process bundling port information, the essential information such as process initiation parameter, section
Point management structure mainly includes entering of configuration in node type and node and saves belonging to the processes such as row information
Point information.
One of core idea of the present invention is, by obtaining dynamic process in Current software entity
Configuration information builds its startup information, then starts the dynamic of Current software entity according to the information of startup
Process, is capable of the process initiation process of neatly control software entity, improves whole software entity system
The maintainability of system and extensibility, save system resource.
With reference to Fig. 1, the step showing the embodiment of the method 1 of a kind of process initiation that the present invention provides
Flow chart, specifically may comprise steps of:
Step 101, obtains the configuration information of Current software entity dynamic process;
In a kind of preferred embodiment of the embodiment of the present invention, described step 101 can include following
Sub-step:
Sub-step S111, reads joining of the dynamic process being previously written in Current software entity data bak
Confidence ceases.
Step 102, builds the startup information of dynamic process according to the configuration information of described dynamic process;
Step 103, starts Current software entity according to the startup information of described dynamic process and dynamically enters
Journey.
With reference to Fig. 3, show the schematic diagram that in the embodiment of the present invention 1, dynamic process starts.Concrete
In realization, after the static process initiation of described Current software entity, system basic functions are normal, can
To read the configuration information of the dynamic process being previously written in Current software entity data bak.Described dynamic
The configuration information of state process can similar with the configuration information of above-mentioned static state process it is also possible in static state
It is extended on the basis of the configuration information of process.Software Governance framework can be by working as of acquiring
The configuration information of front software entity dynamic process builds the startup information of dynamic process, then according to institute
The startup information stating dynamic process starts Current software entity dynamic process.Wherein, described startup is believed
Breath can include process initiation path, process identification (PID), process port information and the affiliated node of process
Information.Specifically, devise dynamic process in main function and start the startup information needing,
As design first startup information be process title, design second startup information be process mark
Know, software Governance framework can build dynamic process according to configuration information and start the above-mentioned startup needing
Information, then runs in process and calls system command system to start corresponding dynamic process under catalogue.
In practice, above-mentioned dynamic process is mainly concerned with the data management module of software Governance framework
And start information architecture module.
For example, the process in Current software entity is tied up core and is processed, and the core process of tying up of static process is led to
Cross code configuration or file configuration mode is carried out.After the current static process initiation as software entity,
The configuration information of the dynamic process being previously written in reading database, obtains dynamic process startup required
The information such as the process title wanted, process initiation path, process port information, and then start dynamically to enter
Journey.Additionally, the operation catalogue of dynamic process can also be increased in configuration data, operating file etc.,
So that dynamic process starts is independent of versions of data file function, corresponding to whole telecommunication platform
The application of multiple product can be supported for system, difference is started by the difference of database data
Dynamic process required for product, specifically, user can be according to their needs by application process
It is configured to dynamic process, makes versions of data file, then by versions of data file and application version
Presents uniform packing is to system entirety AKU.It should be noted that for different software
Entity can be realized by different data and application version, and data can also be used alone number
Carry out according to upgrading flow process.Therefore, the Booting sequence of the dynamic process described in the embodiment of the present invention 1
The multiformity of process initiation in Current software entity can be greatly improved.
In one preferred embodiment of the invention, before execution step 101, can also include
Following steps:
Obtain the configuration information of Current software entity static state process;
Start the static process of Current software entity according to the startup information of described static state process.
With reference to Fig. 2, show the schematic diagram of static process initiation in correlation technique, in implementing,
After the system start-up of Current software entity, mastery routine can be by code fix information or configuration literary composition
The modes such as part start the static process of Current software entity.Specifically, mastery routine is permissible after starting
Configuration information according to static process come determine the progress information of static process so that start static state enter
Journey, wherein, described static state process configuration information be by code write dead by way of determine, specifically
Process title in above-mentioned management of process data structure, process identification (PID) can be included(I.e. process id),
Internal indicator(I.e. internal id), process bundling port information, other letters of process initiation parameter, process
Breath, the affiliated nodal information of process and progress information structure, in a practical situation, can also basis
Need the content of expanded configuration information, the configuration information of for example static process can also include process and open
Dynamic path;Described progress information is the startup information of static process, specifically can include process and open
Dynamic path, process identification (PID)(I.e. process id), process port information and the affiliated nodal information of process etc.
Content.
In implementing, software Governance framework can be divided into process manager module, node administration
The modules such as module, global administration's module, data management module and updating and management module, wherein,
Static process relates generally to node administration module, additionally, static process can be divided into again mastery routine with
General process, mastery routine needs based on os starting, you can with entering of providing in operating system
Mouth starts, such as in the rc.local script of linux, wherein, the process initiation parameter of static process
And process initiation path can by code write dead by way of fix, mastery routine start after can open
Dynamic static accordingly process, the Booting sequence of this static state process is a lot of multiprocess systems at present
General process flow.The embodiment of the present invention effectively can be combined with this general process flow, thus
Current system transformation and the cost developed and time can effectively be reduced.
With reference to Fig. 4, the step showing the embodiment of the method 2 of a kind of process initiation that the present invention provides
Flow chart, specifically may comprise steps of:
Step 401, obtains the configuration information of Current software entity dynamic process;
In a kind of preferred embodiment of the embodiment of the present invention, described step 401 can include following
Sub-step:
Sub-step S411, the upgrade command issuing according to Current software entity control station, generate dynamic
The configuration information of process.
Step 402, builds the startup information of dynamic process according to the configuration information of described dynamic process;
Step 403, the startup information according to described dynamic process starts dynamically entering of Current software entity
Journey.
In another kind of preferred embodiment of the embodiment of the present invention, methods described can also include following
Step:
The delete command issuing according to described Current software entity control station, deletes dynamic process.
With reference to Fig. 5, show the schematic diagram that in the embodiment of the present invention 2, dynamic process starts.In reality
In, after the static process initiation of described Current software entity, system basic functions are normal.The present invention
The startup stream of static process in the Booting sequence of static process described in embodiment 2 and above-described embodiment 1
Journey is similar to, and will not be described in detail herein.
In implementing, the upgrade command that can be issued according to Current software entity control station, raw
Become the configuration information of dynamic process.The configuration information of described dynamic process can be with the embodiment of the present invention 1
Middle static state process configuration information similar it is also possible to carry out on the basis of the configuration information of static process
Extension.Specifically, the upgrade command that software Governance framework can issue according to control station, generates
Dynamic process starts the configuration information needing, and then builds according to the configuration information of described dynamic process
The startup information of dynamic process, and then start corresponding dynamic process, wherein, described startup information
Process initiation path, process identification (PID), process port information and process affiliated node letter can be included
Breath.Additionally, control station can also issue delete command, delete in the system of Current software entity
Process, specifically, the delete command that software Governance framework can be issued according to control station, structure
Build the information deleted required for dynamic process, and then execute the operation deleting dynamic process.
It should be noted that control station can also be without transmitting order to lower levels, in this case, startup is only
For the static process in Current software entity.In practice, dynamically entering described in the embodiment of the present invention
Journey is mainly concerned with the data management module of software Governance framework, starts information architecture module and control
Platform interactive module processed.
The Booting sequence of the dynamic process described in the embodiment of the present invention only needs to issue using control station
Upgrade command, described upgrade command includes software package informatin, process ties up nuclear information, process loads
Dynamic base information, the information such as veneer run of process, the data management mould in software Governance framework
Included information architecture configuration information in the upgrade command that block can issue according to control station, then
Start corresponding dynamic process.
The Booting sequence of the dynamic process described in the embodiment of the present invention can need to its work(in system
Can be upgraded, need to use during increase process, particularly be can apply to need dynamic by increasing
State process is increasing the issued product of correlation function, after having built startup information, software pipe
Reason framework can be by anti-for the information that starts write into Databasce, and then control station can be by corresponding data
Preserved.
With reference to Fig. 6, the step showing the embodiment of the method 3 of a kind of process initiation that the present invention provides
Flow chart, specifically may comprise steps of:
Step 601, obtains the configuration information of Current software entity dynamic process;
In a kind of preferred embodiment of the embodiment of the present invention, described step 601 can include following
Sub-step:
Sub-step S611, when Current software physical system initializes, reads Current software entity number
Configuration information according to the first dynamic process being previously written in storehouse;
Sub-step S612, when Current software physical system is run, controls according to Current software entity
The upgrade command that platform issues, generates the configuration information of the second dynamic process;
Step 602, builds the startup information of dynamic process according to the configuration information of described dynamic process;
In a kind of preferred embodiment of the embodiment of the present invention, described step 602 can include following
Sub-step:
Sub-step S621, the configuration information according to described first dynamic process builds the first dynamic process
Startup information;
Sub-step S622, the configuration information according to described second dynamic process builds the second dynamic process
Startup information;
Step 603, the startup information according to described dynamic process starts dynamically entering of Current software entity
Journey.
In a kind of preferred embodiment of the embodiment of the present invention, described step 603 can include following
Sub-step:
Sub-step S631, the startup information according to described first dynamic process starts Current software entity
The first dynamic process;
Sub-step S632, the startup information according to described second dynamic process starts Current software entity
The second dynamic process.
In another kind of preferred embodiment of the embodiment of the present invention, methods described can also include following
Step:
The delete command issuing according to described Current software entity control station, deletes dynamic process.
In another preferred embodiment of the embodiment of the present invention, described real according to described Current software
The delete command that body control station issues, the step deleting dynamic process can include following sub-step:
In the system operation of described Current software entity, issue according to Current software entity control station
Delete command, delete the second dynamic process.
With reference to Fig. 7, show the schematic diagram that in the embodiment of the present invention 3, dynamic process starts.In reality
In, after the static process initiation of described Current software entity, system basic functions are normal.The present invention
The startup stream of static process in the Booting sequence of static process described in embodiment 3 and above-described embodiment 1
Journey is similar to, and will not be described in detail herein.
In implementing, when Current software physical system initializes, Current software can be read
The configuration information of the first dynamic process being previously written in entity data bak, then can be according to described
The configuration information of the first dynamic process builds the startup information of the first dynamic process, and then starts current
First dynamic process of software entity, wherein, described startup information can include process initiation path,
Process identification (PID), process port information and the affiliated nodal information of process.Specifically, first is dynamic
The start-up course of process is similar with the start-up course of dynamic process in above-described embodiment 1, and here is no longer detailed
State.
In practice, when Current software physical system is run, can be according to Current software entity control
The upgrade command that platform processed issues, generates the configuration information of the second dynamic process, then can be according to institute
The configuration information stating the second dynamic process builds the startup information of the second dynamic process, and then startup is worked as
Second dynamic process of front software entity, wherein, in the system operation of described Current software entity,
The delete command that can also issue according to Current software entity control station, deletes the second dynamic process.
Additionally, control station can also be without transmitting order to lower levels, in this case, as do not start Current software real
The second dynamic process in body, the dynamic process described in the embodiment of the present invention is mainly concerned with software pipe
The data management module of reason framework.Specifically, the start-up course of the second dynamic process and above-mentioned reality
The start-up course applying dynamic process in example 2 is similar to, and will not be described in detail herein.
The application embodiment of the present invention can make system default support all of process initiation, specifically real
In existing, can be selected as needed.
In sum, using the plateform system of the present invention, product need to use corresponding data genaration work
Tool generates process initiation data, application version file is bundled in platform bag together simultaneously, passes through
The mode of overall upgrading is run.After the completion of upgrading, system can start static first according to default configuration
Process, then can start corresponding dynamic process if there is configuration data, if system operation is normal
Control station issues upgrade command and then starts the dynamic process that control station issues afterwards.
It should be noted that for aforesaid embodiment of the method, in order to be briefly described, therefore by it all
It is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not
Limited by described sequence of movement, because according to the present invention, some steps can adopt other
Sequentially or simultaneously carry out.Secondly, those skilled in the art also should know, is retouched in description
The embodiment stated belongs to preferred embodiment, involved action and the module not necessarily present invention
Necessary.
With reference to Fig. 8, show a kind of structural frames of the device embodiment of process initiation that the present invention provides
Figure, specifically can include with lower module:
First acquisition module 801, for obtaining the configuration information of Current software entity dynamic process;
Build module 802, build opening of dynamic process for the configuration information according to described dynamic process
Dynamic information;
First starting module 803, starts Current software for the startup information according to described dynamic process
The dynamic process of entity.
As a kind of example of embodiment of the present invention concrete application, described device can also include:
Second acquisition module, for, before calling the first acquisition module, obtaining Current software entity
The configuration information of static process;
Second starting module, real for starting Current software according to the configuration information of described static state process
The static process of body.
As a kind of example of embodiment of the present invention concrete application, described first acquisition module can wrap
Include:
First reading submodule, for reading be previously written in Current software entity data bak dynamic
The configuration information of process.
As another kind of example of embodiment of the present invention concrete application, described first acquisition module also may be used
To include:
First generation submodule, for the upgrade command issuing according to Current software entity control station,
Generate the configuration information of dynamic process.
As another example of embodiment of the present invention concrete application, described first acquisition module also may be used
To include:
Second reading submodule, for when Current software physical system initializes, reading currently soft
The configuration information of the first dynamic process being previously written in part entity data bak;
Second generation submodule, for when Current software physical system is run, according to Current software
The upgrade command that entity control station issues, generates the configuration information of the second dynamic process;
Described structure module can include:
First structure submodule, builds first for the configuration information according to described first dynamic process
The startup information of dynamic process;
Second structure submodule, builds second for the configuration information according to described second dynamic process
The startup information of dynamic process;
Described first starting module can include:
First startup submodule, current for starting according to the startup information of described first dynamic process
First dynamic process of software entity;
Second startup submodule, current for starting according to the startup information of described second dynamic process
Second dynamic process of software entity.
In one preferred embodiment of the invention, described startup information can include process initiation road
Footpath, process identification (PID), process port information and the affiliated nodal information of process.
As a kind of example of embodiment of the present invention concrete application, described device can also include:
Removing module, for the delete command issuing according to described Current software entity control station, deletes
Except dynamic process.
As another example of embodiment of the present invention concrete application, described removing module can include:
Delete submodule, in the system operation of described Current software entity, according to currently soft
The delete command that part entity control station issues, deletes the second dynamic process.
For device embodiment, because it is with embodiment of the method basic simlarity, so description
Fairly simple, in place of correlation, the part referring to embodiment of the method illustrates.
Those skilled in the art it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method,
System or computer program.Therefore, the embodiment of the present invention can using complete hardware embodiment,
Complete software embodiment or the form of the embodiment with reference to software and hardware aspect.And, this
Bright embodiment can be using in one or more computers wherein including computer usable program code
Usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) is upper real
The form of the computer program applied.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal (system) and to calculate
The flow chart of machine program product and/or block diagram are describing.It should be understood that can be referred to by computer program
Make each flow process in flowchart and/or block diagram and/or square frame and flow chart and/
Or the combination of the flow process in block diagram and/or square frame.These computer program instructions can be provided to logical
Place with computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Reason device is to produce a machine so that passing through the place of computer or other programmable data processing terminals
The instruction of reason device execution produces for realizing in one flow process of flow chart or multiple flow process and/or square frame
The device of the function of specifying in one square frame of figure or multiple square frame.
These computer program instructions may be alternatively stored in and can guide at computer or other programmable datas
In the reason computer-readable memory that works in a specific way of terminal so that be stored in this computer can
The instruction read in memorizer produces the manufacture including command device, and this command device is realized in flow process
The work(specified in one flow process of figure or multiple flow process and/or one square frame of block diagram or multiple square frame
Energy.
These computer program instructions also can be loaded into computer or other programmable data processing terminals
Above so that execution series of operation steps is to produce calculating on computer or other programmable terminals
The process that machine is realized, thus the instruction executing on computer or other programmable terminals provides and is used for
Realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function of specifying.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art
Once knowing basic creative concept, then these embodiments can be made with other change and modification.
So, claims are intended to be construed to including preferred embodiment and fall into the embodiment of the present invention
Being had altered and being changed of scope.
Finally in addition it is also necessary to illustrate, herein, such as first and second or the like relation
Term is used merely to make a distinction an entity or operation with another entity or operation, and not
Necessarily require or imply between these entities or operation, there is any this actual relation or suitable
Sequence.And, term " inclusion ", "comprising" or its any other variant are intended to nonexcludability
Comprise, so that include a series of process of key elements, method, article or terminal not only including
Those key elements, but also include other key elements of being not expressly set out, or also include for this
Process, method, article or the intrinsic key element of terminal.In the absence of more restrictions,
The key element that limited by sentence "including a ..." is it is not excluded that in process, the side including described key element
Also there is other identical element in method, article or terminal.
Above to a kind of method of process initiation provided by the present invention, and, a kind of process initiation
Device, be described in detail, specific case used herein is to the principle of the present invention and reality
The mode of applying is set forth, and the explanation of above example is only intended to help and understands the method for the present invention
And its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention,
All will change in specific embodiments and applications, in sum, in this specification
Hold and should not be construed as limitation of the present invention.
Claims (10)
1. a kind of method of process initiation is it is characterised in that include:
Obtain the configuration information of Current software entity dynamic process;
Configuration information according to described dynamic process builds the startup information of dynamic process;
Startup information according to described dynamic process starts the dynamic process of Current software entity;
Wherein, the step of the described configuration information obtaining Current software entity dynamic process includes:
Read the configuration information of the dynamic process being previously written in Current software entity data bak;
Or, the upgrade command issuing according to Current software entity control station, generate joining of dynamic process
Confidence ceases;
Or, when Current software physical system initializes, reading pre- in Current software entity data bak
The configuration information of the first dynamic process first writing;
When Current software physical system is run, the upgrading that foundation Current software entity control station issues
Order, generates the configuration information of the second dynamic process;
The described configuration information according to dynamic process builds the step bag of the startup information of dynamic process
Include:
Configuration information according to described first dynamic process builds the startup information of the first dynamic process;
Configuration information according to described second dynamic process builds the startup information of the second dynamic process;
The step that the described startup information according to dynamic process starts the dynamic process of Current software entity
Including:
Start the first of Current software entity according to the startup information of described first dynamic process dynamically to enter
Journey;
Start the second of Current software entity according to the startup information of described second dynamic process dynamically to enter
Journey.
2. method according to claim 1 is it is characterised in that in described acquisition Current software
Before the step of the configuration information of entity dynamic process, also include:
Obtain the configuration information of Current software entity static state process;
Start the static process of Current software entity according to the configuration information of described static state process.
3. method according to claim 1 it is characterised in that described startup information include into
Cheng Qidong path, process identification (PID), process port information and the affiliated nodal information of process.
4. method according to claim 1 is it is characterised in that also include:
The delete command issuing according to described Current software entity control station, deletes dynamic process.
5. method according to claim 4 is it is characterised in that described foundation Current software is real
The delete command that body control station issues, the step deleting dynamic process includes:
In the system operation of described Current software entity, issue according to Current software entity control station
Delete command, delete the second dynamic process.
6. a kind of device of process initiation is it is characterised in that include:
First acquisition module, for obtaining the configuration information of Current software entity dynamic process;
Build module, for building the startup of dynamic process according to the configuration information of described dynamic process
Information;
First starting module, real for starting Current software according to the startup information of described dynamic process
The dynamic process of body;
Wherein, described first acquisition module includes:
First reading submodule, for reading be previously written in Current software entity data bak dynamic
The configuration information of process;
Described first acquisition module also includes:
First generation submodule, for the upgrade command issuing according to Current software entity control station,
Generate the configuration information of dynamic process;
Described first acquisition module also includes:
Second reading submodule, for when Current software physical system initializes, reading currently soft
The configuration information of the first dynamic process being previously written in part entity data bak;
Second generation submodule, for when Current software physical system is run, according to Current software
The upgrade command that entity control station issues, generates the configuration information of the second dynamic process;
Described structure module includes:
First structure submodule, builds first for the configuration information according to described first dynamic process
The startup information of dynamic process;
Second structure submodule, builds second for the configuration information according to described second dynamic process
The startup information of dynamic process;
Described first starting module includes:
First startup submodule, current for starting according to the startup information of described first dynamic process
First dynamic process of software entity;
Second startup submodule, current for starting according to the startup information of described second dynamic process
Second dynamic process of software entity.
7. device according to claim 6 is it is characterised in that also include:
Second acquisition module, for, before calling the first acquisition module, obtaining Current software entity
The configuration information of static process;
Second starting module, real for starting Current software according to the configuration information of described static state process
The static process of body.
8. device according to claim 6 it is characterised in that described startup information include into
Cheng Qidong path, process identification (PID), process port information and the affiliated nodal information of process.
9. device according to claim 6 is it is characterised in that also include:
Removing module, for the delete command issuing according to described Current software entity control station, deletes
Except dynamic process.
10. device according to claim 9 is it is characterised in that described removing module includes:
Delete submodule, in the system operation of described Current software entity, according to currently soft
The delete command that part entity control station issues, deletes the second dynamic process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310054996.XA CN103150181B (en) | 2013-02-20 | 2013-02-20 | Method and device for starting process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310054996.XA CN103150181B (en) | 2013-02-20 | 2013-02-20 | Method and device for starting process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103150181A CN103150181A (en) | 2013-06-12 |
CN103150181B true CN103150181B (en) | 2017-02-08 |
Family
ID=48548282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310054996.XA Active CN103150181B (en) | 2013-02-20 | 2013-02-20 | Method and device for starting process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103150181B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032674B (en) * | 2018-06-07 | 2021-08-24 | 烽火通信科技股份有限公司 | Multi-process management method, system and network equipment |
CN110378116B (en) * | 2019-06-06 | 2021-05-25 | 北京奇安信科技有限公司 | Method and device for preventing operating system from being attacked based on native code |
CN111756776B (en) * | 2020-07-28 | 2023-03-24 | 支付宝(杭州)信息技术有限公司 | Server, message distribution device, program handover system, and program handover method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533356A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | A method, a device and a system for realizing software online upgrade |
CN101770362A (en) * | 2009-01-06 | 2010-07-07 | 中国科学院计算技术研究所 | Distributed dynamic process generating unit meeting System C processor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2373604B (en) * | 2001-03-23 | 2004-10-27 | Ibm | A method and system for controlling use of software programs |
-
2013
- 2013-02-20 CN CN201310054996.XA patent/CN103150181B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770362A (en) * | 2009-01-06 | 2010-07-07 | 中国科学院计算技术研究所 | Distributed dynamic process generating unit meeting System C processor |
CN101533356A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | A method, a device and a system for realizing software online upgrade |
Also Published As
Publication number | Publication date |
---|---|
CN103150181A (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103593216B (en) | The system file of ubi forms is fabricated to factory's burning image file method | |
CN108027722A (en) | The dynamically renewal application in compiling and deployment | |
CN111639287A (en) | Page processing method and device, terminal equipment and readable storage medium | |
CN108089888B (en) | It is a kind of that operation method and system are applied based on file system | |
CN109814884A (en) | A kind of method and system carrying out resource management according to game resource type | |
CN110908697B (en) | Resource packaging method, device, server and storage medium | |
CN108363566A (en) | File configuration method, intelligent terminal and storage medium in a kind of project development process | |
CN110908707B (en) | Resource packaging method, device, server and storage medium | |
WO2020259163A1 (en) | Device deployment method and apparatus, device running method, and electronic device | |
CN103150181B (en) | Method and device for starting process | |
CN109298900A (en) | A kind of application fractionation and on-demand loading method, apparatus | |
WO2018090528A1 (en) | Method and system for mirror image package preparation and application operation | |
CN102184101A (en) | Software application frame and development system thereof for smartphones | |
CN109740765A (en) | A kind of machine learning system building method based on Amazon server | |
CN113934684A (en) | Data format automatic conversion method and device, electronic equipment and storage medium | |
CN105573763B (en) | A kind of Embedded System Modeling method for supporting RTOS | |
CN108121558B (en) | Oftware updating method, device, storage medium and equipment | |
CN106656552A (en) | Extension method, system and electronic device for data platform system | |
CN111580804B (en) | Method and device for developing software project | |
TW201324347A (en) | System and method for managing commands of function module | |
CN112068879A (en) | Method and device for constructing client application development framework based on configuration | |
CN112214213B (en) | Linux kernel development and management method and device, computer equipment and storage medium | |
CN107423096A (en) | A kind of method and device for realizing software installation | |
CN102023866A (en) | Map control based on Google Maps JavaScript API and production method thereof | |
CN110471828A (en) | A kind of operating system testing method, apparatus and its equipment |
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 |