CN105549962A - Scheme for startup and operation of LINUX system - Google Patents

Scheme for startup and operation of LINUX system Download PDF

Info

Publication number
CN105549962A
CN105549962A CN201510892492.4A CN201510892492A CN105549962A CN 105549962 A CN105549962 A CN 105549962A CN 201510892492 A CN201510892492 A CN 201510892492A CN 105549962 A CN105549962 A CN 105549962A
Authority
CN
China
Prior art keywords
service
startup
file
public
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510892492.4A
Other languages
Chinese (zh)
Other versions
CN105549962B (en
Inventor
杨振林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510892492.4A priority Critical patent/CN105549962B/en
Publication of CN105549962A publication Critical patent/CN105549962A/en
Application granted granted Critical
Publication of CN105549962B publication Critical patent/CN105549962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading 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 invention provides a scheme for startup and operation of a LINUX system. The startup process comprises steps of startup of minimum resource controlled by the system, customization of a startup list of application services, creation of a resource pool on which public services depend, readiness of services to be started out of order, and data exchange of services in execution. Compared with the prior art, the scheme for startup and operation of the LINUX system refers to a more ingenious system startup and operation method based on systemd, thereby being promoted and used extensively. The scheme also has the advantages of reasonable design, simple structure, convenience in use and so on, thereby having good use value.

Description

A kind of scheme being applied to LINUX system Start-up and operating performance
Technical field
The present invention relates to the design field of linux operating system, specifically a kind of scheme being applied to LINUX system Start-up and operating performance.
Background technology
Linux is the class Unix operating system of a set of free use and Free propagation, is the operating system of a multi-user based on POSIX and UNIX, multitask, support multithreading and multi-CPU.It can run main unix tool software, application program and procotol.It supports 32 and 64 hardware.Linux inherits the design philosophy that Unix take network as core, is the multiple-user network operating system of a stable performance.Present centos7 uses systemd to start, and Starting mode is subject to serving the dependence started, and can not promote widely and use.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of scheme being applied to LINUX system Start-up and operating performance is provided.
Technical scheme of the present invention realizes in the following manner, and start-up course is divided into the startup list that the governable least resource of system starts, customized application is served, the process that public service relies on the structure of resource pool, exchanges data is carried out in ready, the execution service of out of order startup service;
Start-up course:
Governable least resource starts: set up the basis that service routine runs;
The startup list of customized application service: existing consumer process in system, and the process that will start sets up an implementation list;
Public service relies on the structure of resource pool: the space that service vacation connects, and building process is very simple, relies on kernel exactly and sets up public mapping in Process Movement catalogue;
It is ready that out of order startup is served: the vacation setting up customization inventory content connects: the content of false connection is a set of the file path comprising the supposition file that service processes calls, false connection is the hypothesis called setting a file, in fact the false service connecting correspondence does not really start, in order to represent that connecting performability for this vacation represents confident, introduce service supposition can experimentally run, if once this service can perform, then this service enters customization inventory, once want to exit customization inventory, then utility command is deleted;
For there being coupling between multiple service, here vacation connects the dependence that may relate to service or file is used by multiple file simultaneously, solution is false connection is all arouse separately the data of public part, and this arousing is the function of public service resource pool;
Once service starts, be then that the process of service starts the half process of thread maximum capacity according to kernel, ensure that system resource takes it easy like this, and follow the activity space that common pool is certain;
The method of operation:
System utilizes common pool to carry out exchanges data, in the process of exchange; If when service is exited extremely, common pool needs to carry out daily record write to the file name that uses of operation present situation of service and path and process, and the actively abnormal impact brought of evaluation process service, if now there is other service to depend on this process, then common pool can ensure the minimum influence of process, as the timely backup of specified file, the original paper process of carrying out of file is then utilized to cover.
False to connect: false connection is designed based on service operation feasibility, falsely connect of comprising the contents such as the normal file name run of service and path inventory, performability and sum up.
Common pool: the result being exactly service operation process is also the place of the false activity connected.
Advantage of the present invention is:
A kind of scheme being applied to LINUX system Start-up and operating performance of the present invention compared to the prior art, the basis of systemd is conceived a system start-up and operation mode more cleverly, advantageously in promote widely and use, and the present invention also have reasonable in design, structure is simple, the feature such as easy to use, thus, there is good use value.
Embodiment
Below a kind of scheme being applied to LINUX system Start-up and operating performance of the present invention is described in detail below.
A kind of scheme being applied to LINUX system Start-up and operating performance of the present invention, start-up course is divided into the startup list (without dependence) of system governable least resource startup (kernel startup), customized application service, public service relies on the structure of resource pool, out of order startup is served ready (starting complete), execution service carry out the process of exchanges data;
Start-up course:
Governable least resource starts (kernel startup): set up the basis that service routine runs;
The startup list of customized application service: existing consumer process in system, and the process that will start sets up an implementation list;
Public service relies on the structure of resource pool: the space that service vacation connects, and building process is very simple, relies on kernel exactly and sets up public mapping in Process Movement catalogue;
It is ready that out of order startup is served: the vacation setting up customization inventory content connects: the content of false connection is a set of the file path comprising the supposition file that service processes calls, false connection is the hypothesis called setting a file, in fact the false service connecting correspondence does not really start, in order to represent that connecting performability for this vacation represents confident, introduce service supposition can experimentally run, if once this service can perform, then this service enters customization inventory, once want to exit customization inventory, then utility command is deleted;
For there being coupling between multiple service, here vacation connects the dependence that may relate to service or file is used by multiple file simultaneously, solution is false connection is all arouse separately the data of public part, and this arousing is the function of public service resource pool;
Once service starts, be then that the process of service starts the half process of thread maximum capacity according to kernel, ensure that system resource takes it easy like this, and follow the activity space that common pool is certain;
The method of operation:
System utilizes common pool to carry out exchanges data, in the process of exchange; If when service is exited extremely, common pool needs to carry out daily record write to the file name that uses of operation present situation of service and path and process, and the actively abnormal impact brought of evaluation process service, if now there is other service to depend on this process, then common pool can ensure the minimum influence of process, as the timely backup of specified file, the original paper process of carrying out of file is then utilized to cover.
A kind of its processing and fabricating of scheme being applied to LINUX system Start-up and operating performance of the present invention is very simple and convenient, can process to specifications.
Except the technical characteristic described in instructions, be the known technology of those skilled in the art.

Claims (1)

1. be applied to a scheme for LINUX system Start-up and operating performance, it is characterized in that start-up course is divided into the startup list that the governable least resource of system starts, customized application is served, the process that public service relies on the structure of resource pool, exchanges data is carried out in ready, the execution service of out of order startup service;
Start-up course:
Governable least resource starts: set up the basis that service routine runs;
The startup list of customized application service: existing consumer process in system, and the process that will start sets up an implementation list;
Public service relies on the structure of resource pool: the space that service vacation connects, and building process is very simple, relies on kernel exactly and sets up public mapping in Process Movement catalogue;
It is ready that out of order startup is served: the vacation setting up customization inventory content connects: the content of false connection is a set of the file path comprising the supposition file that service processes calls, false connection is the hypothesis called setting a file, in fact the false service connecting correspondence does not really start, in order to represent that connecting performability for this vacation represents confident, introduce service supposition can experimentally run, if once this service can perform, then this service enters customization inventory, once want to exit customization inventory, then utility command is deleted;
For there being coupling between multiple service, here vacation connects the dependence that may relate to service or file is used by multiple file simultaneously, solution is false connection is all arouse separately the data of public part, and this arousing is the function of public service resource pool;
Once service starts, be then that the process of service starts the half process of thread maximum capacity according to kernel, ensure that system resource takes it easy like this, and follow the activity space that common pool is certain;
The method of operation:
System utilizes common pool to carry out exchanges data, in the process of exchange; If when service is exited extremely, common pool needs to carry out daily record write to the file name that uses of operation present situation of service and path and process, and the actively abnormal impact brought of evaluation process service, if now there is other service to depend on this process, then common pool can ensure the minimum influence of process, as the timely backup of specified file, the original paper process of carrying out of file is then utilized to cover.
CN201510892492.4A 2015-12-08 2015-12-08 A method of start applied to LINUX system and runs Active CN105549962B (en)

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 true CN105549962A (en) 2016-05-04
CN105549962B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291510A (en) * 2017-06-30 2017-10-24 惠州华阳通用电子有限公司 A kind of Linux inter-vehicle information systems quick start method

Citations (8)

* Cited by examiner, † Cited by third party
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
US20090193185A1 (en) * 2008-01-24 2009-07-30 Inventec Corporation Method for accessing the physical memory of an operating system
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)
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
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
US20090193185A1 (en) * 2008-01-24 2009-07-30 Inventec Corporation Method for accessing the physical memory of an operating system
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
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
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)

* Cited by examiner, † Cited by third party
Title
SIMONE LIVIERI ET AL: "Analysis of the Linux Kernel Evolution Using Code Clone Coverage", 《FOURTH INTERNATIONAL WORKSHOP ON MINING SOFTWARE REPOSITORIES (MSR"07:ICSE WORKSHOPS 2007)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291510A (en) * 2017-06-30 2017-10-24 惠州华阳通用电子有限公司 A kind of Linux inter-vehicle information systems quick start method
CN107291510B (en) * 2017-06-30 2020-11-06 惠州华阳通用电子有限公司 Rapid starting method for Linux vehicle-mounted information system

Also Published As

Publication number Publication date
CN105549962B (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US8887157B2 (en) System and method for managing virtual machine states by restoring previously saved states based on a virtual machine application's request active with the virtual machine
EP2816467B1 (en) Method and device for checkpoint and restart of container state
US8996645B2 (en) Transmitting data by means of storage area network
CN105528257B (en) Single-process data processing method and device
CN110457261B (en) Data access method, device and server
CN110716793A (en) Execution method, device, equipment and storage medium of distributed transaction
KR20210083222A (en) Method, apparatus, device and storage medium for processing voice data
WO2020119377A1 (en) Start method for application module, container, control device and readable storage medium
CN113407383A (en) Main/standby system switching method and device, server and main/standby system
CN110162404B (en) Method, system, equipment and computer medium for distributing resources of secure resource pool
CN114244642B (en) Control method and device of equipment, computer readable storage medium and processor
CN105549962A (en) Scheme for startup and operation of LINUX system
US20150006481A1 (en) Reliable Asynchronous Processing of a Synchronous Request
CN105528224B (en) Multisystem dispatching method and terminal based on application identification
CN108965019A (en) Dynamic Configuration, wireless communication device and the relevant device of communication protocol
CN109905459B (en) Data transmission method and device
CN109922014B (en) Method and system for judging cold and hot start of switch
US8438259B2 (en) Web application usage of accessory device directly connected to electronic device in non-networked manner
CN112181724A (en) Big data disaster tolerance method and device and electronic equipment
CN111290859B (en) Method for synchronizing initialization attribute of dual-system terminal and terminal
CN110928727A (en) Method for rapidly restoring factory settings of operating system
CN110362430A (en) A kind of method being restarted automatically, system and the storage medium of server
US20220400158A1 (en) Message format indicator for resource-constrained devices
US8359602B2 (en) Method and system for task switching with inline execution
CN114090096A (en) Method, system and storage medium for implementing network virtual file system

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