CN105549962B - A method of start applied to LINUX system and runs - Google Patents
A method of start applied to LINUX system and runs Download PDFInfo
- Publication number
- CN105549962B CN105549962B CN201510892492.4A CN201510892492A CN105549962B CN 105549962 B CN105549962 B CN 105549962B CN 201510892492 A CN201510892492 A CN 201510892492A CN 105549962 B CN105549962 B CN 105549962B
- Authority
- CN
- China
- Prior art keywords
- service
- starting
- file
- connection
- vacation
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 230000001419 dependent effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 230000001737 promoting effect Effects 0.000 abstract description 2
- 230000007812 deficiency Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of scheme for starting and running applied to LINUX system, and start-up course is divided into the governable least resource starting of system, starting list, the public service of customized application service rely on the building of resource pool, ready, the service of execution of out-of-order starting service carry out the process of data exchange.A kind of scheme for starting and running applied to LINUX system of the invention is compared to the prior art, more cleverly system starts and runs mode for design one on the basis of systemd, it is more conducive to widely promoting and using, and the present invention also has the characteristics that design is reasonable, structure is simple, easy to use, thus, there is good use value.
Description
Technical field
The present invention relates to the design field of linux operating system, specifically it is a kind of be applied to LINUX system starting and
The method of operation.
Background technique
Linux is a set of free class Unix operating system using with Free propagation, is one based on POSIX and UNIX
Multi-user, multitask, the operating system for supporting multithreading and multi -CPU.It can run main unix tool software, application program
And network protocol.It supports 32 and 64 hardware.Linux inherits Unix using network as the design philosophy of core, is one
The stable multiple-user network operating system of performance.Present centos 7 is started using systemd, and Starting mode is serviced
The dependence of starting widely cannot be promoted and be used.
Summary of the invention
The purpose of the present invention is overcoming the deficiencies in the prior art, provide it is a kind of be applied to LINUX system starting and
The method of operation.
Technical method of the invention realizes that start-up course is divided into the governable least resource of system and opens in the following manner
That dynamic, the starting list of customized application service, public service rely on the building of resource pool, out-of-order starting services is ready, executes clothes
Business carries out the process of data exchange;
Start-up course:
Governable least resource starting: the basis of service routine operation is set up;
The starting list of customized application service: existing consumer process in system, and process to be started is established one
A implementation list;
The building of public service dependence resource pool: the space of service vacation connection, building process is very simple, exactly relies on
Kernel establishes public mapping in Process Movement catalogue;
Random ordering starting service it is ready: set up the false connection of customization inventory content: the content of vacation connection be include servicing
One set of the file path for the hypothesis file that process is called, vacation connection is to one of calling of setting a file it is assumed that thing
False connection is corresponding in reality services really starting, in order to indicate confident for this vacation connection performability expression, draws
Enter service to assume experimentally to run, if once this service is executable, which enters customization inventory, once want to exit
Inventory is customized, then is deleted using order;
For there is coupling between multiple services, false connection here may be related to dependence or the file quilt of service
Multiple files use simultaneously, and solution is that false connection is individually aroused to the data of common portion, and this arouse is
The function of public service resource pool;
It is then that the process of service starts the one semi-processed of thread maximum capacity according to kernel once service is started,
Guarantee that system resource takes it easy in this way, and the activity space certain with common pool;
The method of operation:
System carries out data exchange using common pool, during exchange;If service exception exits, public money
Source pond needs file name and path used in the operation status to service and process to carry out log write-in, and actively at assessment
Reason, which services abnormal bring, to be influenced, if there is other services dependent on the process at this time, common pool can guarantee process
Then minimum influence carries out process using the original part of file and covers such as the timely backup of specified file.
Vacation connection: vacation connection is designed based on service operation feasibility, and vacation connection includes the text that service operates normally
One of the contents such as part title and path inventory, performability is blanket.
Common pool: being exactly service operation process as a result, and the false movable place connected.
The invention has the advantages that
A kind of method for starting and running applied to LINUX system of the invention compared to the prior art, systemd's
On the basis of design one more cleverly system starts and runs mode, be more conducive to widely promoting and use, and this hair
It is bright also to have the characteristics that design is reasonable, structure is simple, easy to use, thus, there is good use value.
Embodiment
A kind of method for starting and running applied to LINUX system of the invention is described in detail below below.
A kind of method for starting and running applied to LINUX system of the invention, it is governable that start-up course is divided into system
Least resource starts (kernel starting), the starting list (no dependence) of customized application service, public service dependence resource pool
Building, ready (starting finishes) of out-of-order starting service, the service of execution carry out the process of data exchange;
Start-up course:
Governable least resource starts (kernel starting): setting up the basis of service routine operation;
The starting list of customized application service: existing consumer process in system, and process to be started is established one
A implementation list;
The building of public service dependence resource pool: the space of service vacation connection, building process is very simple, exactly relies on
Kernel establishes public mapping in Process Movement catalogue;
Random ordering starting service it is ready: set up the false connection of customization inventory content: the content of vacation connection be include servicing
One set of the file path for the hypothesis file that process is called, vacation connection is to one of calling of setting a file it is assumed that thing
False connection is corresponding in reality services really starting, in order to indicate confident for this vacation connection performability expression, draws
Enter service to assume experimentally to run, if once this service is executable, which enters customization inventory, once want to exit
Inventory is customized, then is deleted using order;
For there is coupling between multiple services, false connection here may be related to dependence or the file quilt of service
Multiple files use simultaneously, and solution is that false connection is individually aroused to the data of common portion, and this arouse is
The function of public service resource pool;
It is then that the process of service starts the one semi-processed of thread maximum capacity according to kernel once service is started,
Guarantee that system resource takes it easy in this way, and the activity space certain with common pool;
The method of operation:
System carries out data exchange using common pool, during exchange;If service exception exits, public money
Source pond needs file name and path used in the operation status to service and process to carry out log write-in, and actively at assessment
Reason, which services abnormal bring, to be influenced, if there is other services dependent on the process at this time, common pool can guarantee process
Then minimum influence carries out process using the original part of file and covers such as the timely backup of specified file.
Of the invention is a kind of very simple and convenient applied to LINUX system starting and its processing and fabricating of the method for operation, presses
It is i.e. processable shown in book as directed.
Except for the technical features described in the specification, it all is technically known to those skilled in the art.
Claims (1)
1. a kind of method for starting and running applied to LINUX system, it is characterised in that it is governable that start-up course is divided into system
Least resource starting, the starting list of customized application service, the building of public service dependence resource pool, out-of-order starting service are just
Thread, the service of execution carry out the process of data exchange;
Start-up course:
Governable least resource starting: the basis of service routine operation is set up;
The starting list of customized application service: existing consumer process in system, and process to be started is established one and is held
Row inventory;
The building of public service dependence resource pool: the space of service vacation connection, building process is very simple, exactly relies on kernel
Public mapping is established in Process Movement catalogue;
Random ordering starting service it is ready: set up the false connection of customization inventory content: the content of vacation connection be include service processes
One set of the file path of the hypothesis file called, vacation connection is to one of calling of setting a file it is assumed that in fact
The corresponding service of vacation connection not really starting introduces clothes to indicate to indicate confident for this vacation connection performability
Business assumes experimentally to run, if once this service is executable, which enters customization inventory, once want to exit customization
Inventory is then deleted using order;
For there is coupling between multiple services, false connection here may be related to the dependence serviced or file is multiple
File uses simultaneously, and solution is that false connection is individually aroused to the data of common portion, and this arouse is public
The function in Service Source pond;
It is then that the process of service starts the one semi-processed of thread maximum capacity according to kernel, in this way once service is started
Guarantee that system resource takes it easy, and the activity space certain with common pool;
The method of operation:
System carries out data exchange using common pool, during exchange;If service exception exits, common pool
File name and path used in the operation status to service and process is needed to carry out log write-in, and actively assessment processing clothes
Abnormal bring of being engaged in influences, if there is other services dependent on the process at this time, common pool can guarantee the minimum of process
It influences, such as the timely backup of specified file, then carries out process using the original part of file and cover.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510892492.4A CN105549962B (en) | 2015-12-08 | 2015-12-08 | A method of start applied to LINUX system and runs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510892492.4A CN105549962B (en) | 2015-12-08 | 2015-12-08 | A method of start applied to LINUX system and runs |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105549962A CN105549962A (en) | 2016-05-04 |
CN105549962B true CN105549962B (en) | 2019-08-02 |
Family
ID=55829161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510892492.4A Active CN105549962B (en) | 2015-12-08 | 2015-12-08 | A method of start applied to LINUX system and runs |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105549962B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291510B (en) * | 2017-06-30 | 2020-11-06 | 惠州华阳通用电子有限公司 | Rapid starting method for Linux vehicle-mounted information system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216815A (en) * | 2008-01-07 | 2008-07-09 | 浪潮电子信息产业股份有限公司 | Double-wing extendable multi-processor tight coupling sharing memory architecture |
CN102143084A (en) * | 2011-04-15 | 2011-08-03 | 东南大学 | Tiered service aggregation model under open network environment |
CN202309741U (en) * | 2011-11-01 | 2012-07-04 | 深圳市航天泰瑞捷电子有限公司 | System capable of keeping front-end processor be operated in high-speed and stable manner |
CN102970332A (en) * | 2012-10-26 | 2013-03-13 | 江苏物联网研究发展中心 | Autonomous component assembling system for cloud operating system (OS) |
CN104601697A (en) * | 2015-01-14 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Method for resource optimization of cloud experiment platform |
CN104967616A (en) * | 2015-06-05 | 2015-10-07 | 北京安普诺信息技术有限公司 | WebShell file detection method in Web server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090193185A1 (en) * | 2008-01-24 | 2009-07-30 | Inventec Corporation | Method for accessing the physical memory of an operating system |
US20130298140A1 (en) * | 2012-05-02 | 2013-11-07 | Motorola Mobility, Inc. | Method and Apparatus for Displaying Data from a Plurality of Concurrent Operating System Environments |
-
2015
- 2015-12-08 CN CN201510892492.4A patent/CN105549962B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216815A (en) * | 2008-01-07 | 2008-07-09 | 浪潮电子信息产业股份有限公司 | Double-wing extendable multi-processor tight coupling sharing memory architecture |
CN102143084A (en) * | 2011-04-15 | 2011-08-03 | 东南大学 | Tiered service aggregation model under open network environment |
CN202309741U (en) * | 2011-11-01 | 2012-07-04 | 深圳市航天泰瑞捷电子有限公司 | System capable of keeping front-end processor be operated in high-speed and stable manner |
CN102970332A (en) * | 2012-10-26 | 2013-03-13 | 江苏物联网研究发展中心 | Autonomous component assembling system for cloud operating system (OS) |
CN104601697A (en) * | 2015-01-14 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Method for resource optimization of cloud experiment platform |
CN104967616A (en) * | 2015-06-05 | 2015-10-07 | 北京安普诺信息技术有限公司 | WebShell file detection method in Web server |
Non-Patent Citations (1)
Title |
---|
Analysis of the Linux Kernel Evolution Using Code Clone Coverage;Simone Livieri et al;《Fourth International Workshop on Mining Software Repositories (MSR"07:ICSE Workshops 2007)》;20071231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105549962A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9183008B2 (en) | Method and system for starting application program in Linux container | |
US10705880B2 (en) | Cluster updating using temporary update-monitor pod | |
CN106021399B (en) | method and device for processing query request message | |
EP2940596B1 (en) | Data acquisition method and device | |
US20140149696A1 (en) | Virtual machine backup using snapshots and current configuration | |
JP2001147901A (en) | Method and system for scheduling external job inside distributed processing system having local job control system | |
CN104991824B (en) | A kind of method and system in switching at runtime application data source | |
CN107423942B (en) | Service transfer method and device | |
CN110012062B (en) | Multi-computer-room task scheduling method and device and storage medium | |
CN106454498B (en) | The method of Android platform management USB device | |
WO2018188380A1 (en) | Method and device for adding control identification | |
Ouyang et al. | Reducing late-timing failure at scale: Straggler root-cause analysis in cloud datacenters | |
CN109062982B (en) | Financial data interaction method and device, computer equipment and storage medium | |
CN105549962B (en) | A method of start applied to LINUX system and runs | |
WO2015106710A1 (en) | Contact information processing method, apparatus, and system | |
CN112231102A (en) | Method, device, equipment and product for improving performance of storage system | |
CN105653356A (en) | Method and device for processing multi-server concurrent operation | |
US9070051B2 (en) | Image forming apparatus and control method for enabling proper execution of setting and power-off of the image forming apparatus | |
US9465626B2 (en) | Method and apparatus for acquiring time spent on system shutdown | |
US9940149B2 (en) | System and method for automatically launching virtual machines based on attendance | |
TW200905567A (en) | Notifying user mode scheduler of blocking events | |
US20210256600A1 (en) | Connector leasing for long-running software operations | |
CN101131641B (en) | User interface manager and method for reacting to a change in system status | |
CN106445687A (en) | Large transaction execution method and system | |
KR20220086245A (en) | Task execution system and mehtod of operating system for vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |