CN105204972A - Method and system for unified release and management of executable programs - Google Patents

Method and system for unified release and management of executable programs Download PDF

Info

Publication number
CN105204972A
CN105204972A CN201510573605.4A CN201510573605A CN105204972A CN 105204972 A CN105204972 A CN 105204972A CN 201510573605 A CN201510573605 A CN 201510573605A CN 105204972 A CN105204972 A CN 105204972A
Authority
CN
China
Prior art keywords
executable program
unified
manage
module
associated documents
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
CN201510573605.4A
Other languages
Chinese (zh)
Other versions
CN105204972B (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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201510573605.4A priority Critical patent/CN105204972B/en
Publication of CN105204972A publication Critical patent/CN105204972A/en
Application granted granted Critical
Publication of CN105204972B publication Critical patent/CN105204972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a method and a system for unified release and management of executable programs. The method specifically comprises steps as follows: Step 1, related files are configured into configuration files; Step 2, a unified release program is executed and a monitoring program is started; Step 3, the unified release program searches whether executable programs which are not started exist or not, if yes, Step 4 is executed, and otherwise, Step 5 is executed; Step 4, the executable programs which are not started are started according to the related files in the configuration files; Step 5, the monitoring program monitors running states of the executable programs and generates monitoring reports, and the process is ended. The method and the system have the benefits as follows: unified release and management of the executable programs are realized, and the maintainability of the executable programs is improved.

Description

The unified method and system issued and manage of a kind of executable program
Technical field
The present invention relates to the unified method and system issued and manage of a kind of executable program, belong to application software field.
Background technology
Along with telecommunication service scale sharply expands, in mobile BOSS system, backstage executable program gets more and more, and more and more not manageability, also need when new procedures is reached the standard grade to write for executable program to perform script and monitoring script, along with getting more and more of script, need the method that unified issue and unified management are provided badly.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of unified method and system issued and manage of executable program that improve program efficiency for issuing and maintainability.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of unified method issued and manage of executable program, specifically comprises the following steps:
Step 1: configuration associated documents are in configuration file;
Step 2: perform unified release process, start watchdog routine simultaneously;
Step 3: whether unified release process retrieval exists the executable program do not started, and if so, performs step 4; Otherwise, perform step 5;
Step 4: the executable program do not started according to the associated documents in configuration file;
Step 5: watchdog routine is monitored the running status of executable program and generated monitoring report, terminates.
The invention has the beneficial effects as follows: achieve the unified issue of executable program, unified management; Improve the maintainability of executable program.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described associated documents comprise daily record name, process name and process parameter.
Further, described watchdog routine, at interval of prefixed time interval, obtains the running status of all executable programs, and generates monitoring report.
Further, when described watchdog routine monitors the executable program do not started, start described executable program according to the associated documents in configuration file, and generation error daily record.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: the unified system issued and manage of a kind of executable program, comprises configuration module, starts module, judge module and monitoring module;
Described configuration module is for configuring associated documents in configuration file;
Described startup module, for performing unified release process, starts watchdog routine simultaneously;
Described judge module for retrieving the executable program whether existing and do not start, if so, according to the executable program that the associated documents in configuration file do not start; Otherwise, trigger monitoring module;
Described monitoring module is for controlling the running status of watchdog routine monitoring executable program and generating monitoring report.
The invention has the beneficial effects as follows: achieve the unified issue of executable program, unified management; Improve the maintainability of executable program.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described associated documents comprise daily record name, process name and process parameter.
Further, described watchdog routine, at interval of prefixed time interval, obtains the running status of all executable programs, and generates monitoring report.
Further, when described watchdog routine monitors the executable program do not started, start described executable program according to the associated documents in configuration file, and generation error daily record.
Accompanying drawing explanation
Fig. 1 is the unified method flow diagram issued and manage of a kind of executable program of the present invention;
Fig. 2 is the unified system architecture diagram issued and manage of a kind of executable program of the present invention;
Fig. 3 is the unified method flow diagram issued and manage of a kind of executable program described in instantiation of the present invention.
In accompanying drawing, the list of parts representated by each label is as follows:
1, configuration module, 2, start module, 3, judge module, 4, monitoring module.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, be the unified method issued and manage of a kind of executable program of the present invention, specifically comprise the following steps:
Step 1: configuration associated documents are in configuration file;
Step 2: perform unified release process, start watchdog routine simultaneously;
Step 3: whether unified release process retrieval exists the executable program do not started, and if so, performs step 4; Otherwise, perform step 5;
Step 4: the executable program do not started according to the associated documents in configuration file;
Step 5: watchdog routine is monitored the running status of executable program and generated monitoring report, terminates.
Described associated documents comprise daily record name, process name and process parameter.
Described watchdog routine, at interval of prefixed time interval, obtains the running status of all executable programs, and generates monitoring report.
When described watchdog routine monitors the executable program do not started, start described executable program according to the associated documents in configuration file, and generation error daily record.
As shown in Figure 2, be the unified system issued and manage of a kind of executable program of the present invention, comprise configuration module 1, start module 2, judge module 3 and monitoring module 4;
Described configuration module 1 is for configuring associated documents in configuration file;
Described startup module 2, for performing unified release process, starts watchdog routine simultaneously;
Described judge module 3 for retrieving the executable program whether existing and do not start, if so, according to the executable program that the associated documents in configuration file do not start; Otherwise, trigger monitoring module;
Described monitoring module 4 is for controlling the running status of watchdog routine monitoring executable program and generating monitoring report.
Described associated documents comprise daily record name, process name and process parameter.
Described watchdog routine, at interval of prefixed time interval, obtains the running status of all executable programs, and generates monitoring report.
When described watchdog routine monitors the executable program do not started, start described executable program according to the associated documents in configuration file, and generation error daily record.
The process description of the specific embodiment of the invention is as follows:
First associated documents are configured in configuration file watch.list.
Perform unified release process, the executable program do not started in unified release process retrieval configuration file watch.list, and start according to the daily record name of configuration file configuration, process name, process parameter.
Server crontab configures unified monitoring program, all executable program running statuses in unified monitoring program monitoring in an every 3 minutes configuration file watch.list, and generates monitoring report.
If run into program in unified monitoring program monitoring process not start, then the parameter configured according to configuration file watch.list starts process, and generation error journal file.
As shown in Figure 3, specific implementation process of the present invention is described in detail as follows:
Newly-increased executable program is configured in configuration file watch.list, configuration log file name, executable program title, start-up parameter; Perform unified release process, the executable program do not started in unified release process retrieval configuration file watch.list, and start according to the daily record name of configuration file configuration, process name, process parameter; Server crontab configures unified monitoring program, all executable program running statuses in unified monitoring program monitoring in an every 3 minutes configuration file watch.list, and generate monitoring report, and if watchdog routine detects that program does not start, then start-up routine produce error log file.
Main frame needs to start crontab service.
1, serve end program list:
WatchEngine_Daemon.sh
WatchEngine_KillAll.sh
WatchEngine_TailLog.sh
watch.list
2, Starting mode:
Unified release process: WatchEngine_Daemon.sh
Unified monitoring program: WatchEngine_TailLog.sh
3, the present invention can be completed by above-mentioned flow process and say the object that will realize.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the unified method issued and manage of executable program, is characterized in that, specifically comprise the following steps:
Step 1: configuration associated documents are in configuration file;
Step 2: perform unified release process, start watchdog routine simultaneously;
Step 3: whether unified release process retrieval exists the executable program do not started, and if so, performs step 4; Otherwise, perform step 5;
Step 4: the executable program do not started according to the associated documents in configuration file;
Step 5: watchdog routine is monitored the running status of executable program and generated monitoring report, terminates.
2. the unified method issued and manage of a kind of executable program according to claim 1, it is characterized in that, described associated documents comprise daily record name, process name and process parameter.
3. the unified method issued and manage of a kind of executable program according to claim 1, it is characterized in that, described watchdog routine, at interval of prefixed time interval, obtains the running status of all executable programs, and generates monitoring report.
4. the unified method issued and manage of a kind of executable program according to any one of claim 1-3, it is characterized in that, when described watchdog routine monitors the executable program do not started, start described executable program according to the associated documents in configuration file, and generation error daily record.
5. the unified system issued and manage of executable program, is characterized in that, comprises configuration module, starts module, judge module and monitoring module;
Described configuration module is for configuring associated documents in configuration file;
Described startup module, for performing unified release process, starts watchdog routine simultaneously;
Described judge module for retrieving the executable program whether existing and do not start, if so, according to the executable program that the associated documents in configuration file do not start; Otherwise, trigger monitoring module;
Described monitoring module is for controlling the running status of watchdog routine monitoring executable program and generating monitoring report.
6. the unified system issued and manage of a kind of executable program according to claim 5, it is characterized in that, described associated documents comprise daily record name, process name and process parameter.
7. the unified system issued and manage of a kind of executable program according to claim 5, it is characterized in that, described watchdog routine, at interval of prefixed time interval, obtains the running status of all executable programs, and generates monitoring report.
8. the unified system issued and manage of a kind of executable program according to any one of claim 5-7, it is characterized in that, when described watchdog routine monitors the executable program do not started, start described executable program according to the associated documents in configuration file, and generation error daily record.
CN201510573605.4A 2015-09-09 2015-09-09 A kind of unified method and system issued and manage of executable program Active CN105204972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510573605.4A CN105204972B (en) 2015-09-09 2015-09-09 A kind of unified method and system issued and manage of executable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510573605.4A CN105204972B (en) 2015-09-09 2015-09-09 A kind of unified method and system issued and manage of executable program

Publications (2)

Publication Number Publication Date
CN105204972A true CN105204972A (en) 2015-12-30
CN105204972B CN105204972B (en) 2018-10-19

Family

ID=54952666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510573605.4A Active CN105204972B (en) 2015-09-09 2015-09-09 A kind of unified method and system issued and manage of executable program

Country Status (1)

Country Link
CN (1) CN105204972B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413342A (en) * 2019-07-15 2019-11-05 深圳市易汇软件有限公司 A kind of android service and the process method that simultaneously dynamic adjusts alignment processing mechanism that can dynamically adjust monitoring

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100107150A1 (en) * 2007-03-20 2010-04-29 Tomihisa Kamada Terminal having application update managing function, and application update managing program and system
CN102204210A (en) * 2011-05-18 2011-09-28 华为技术有限公司 Method, server, and system for starting application
CN103473287A (en) * 2013-08-30 2013-12-25 中国科学院信息工程研究所 Method and system for automatically distributing, running and updating executable programs
GB2514584A (en) * 2013-05-29 2014-12-03 Advanced Business Software And Solutions Ltd Methods and apparatus for monitoring conditions prevailing in a distributed system
CN104360923A (en) * 2014-11-03 2015-02-18 中国银行股份有限公司 Monitoring method and monitoring system for batch application process
CN104360878A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Method and device for deploying application software
CN104518904A (en) * 2013-09-30 2015-04-15 中兴通讯股份有限公司 Mobile terminal application batch management method and system, and updating server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100107150A1 (en) * 2007-03-20 2010-04-29 Tomihisa Kamada Terminal having application update managing function, and application update managing program and system
CN102204210A (en) * 2011-05-18 2011-09-28 华为技术有限公司 Method, server, and system for starting application
GB2514584A (en) * 2013-05-29 2014-12-03 Advanced Business Software And Solutions Ltd Methods and apparatus for monitoring conditions prevailing in a distributed system
CN103473287A (en) * 2013-08-30 2013-12-25 中国科学院信息工程研究所 Method and system for automatically distributing, running and updating executable programs
CN104518904A (en) * 2013-09-30 2015-04-15 中兴通讯股份有限公司 Mobile terminal application batch management method and system, and updating server
CN104360878A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Method and device for deploying application software
CN104360923A (en) * 2014-11-03 2015-02-18 中国银行股份有限公司 Monitoring method and monitoring system for batch application process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘甜: "软件发布机制的研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413342A (en) * 2019-07-15 2019-11-05 深圳市易汇软件有限公司 A kind of android service and the process method that simultaneously dynamic adjusts alignment processing mechanism that can dynamically adjust monitoring
CN110413342B (en) * 2019-07-15 2022-12-16 深圳市易汇软件有限公司 Method capable of dynamically adjusting monitored android service and process and dynamically adjusting corresponding processing mechanism

Also Published As

Publication number Publication date
CN105204972B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
EP2675127B1 (en) Method and device for automatically migrating system configuration item
CN105491143A (en) Software running state monitoring system and realization method thereof
CN105099739A (en) Plug-in type software deployment method and apparatus, and application server
CN104601366B (en) It is a kind of control, service node configuration service method and device
CN111782205B (en) Universal software deployment monitoring method
CN101989305A (en) Data incremental backup method and system
CN103685567A (en) Virtual application server configuration method under cloud environment
CN103678007A (en) Method and system for deploying software in batches
CN104252397A (en) Realizing method for supporting automatic backup of cloud platform user file
CN103092866A (en) Data monitoring method and monitoring device
CN103067501A (en) Large data processing method of PaaS platform
CN103116545B (en) The upgrade detection method of intelligent terminal and system
CN103152416A (en) Dynamic management method for improving high availability of online clustering group
WO2012130162A1 (en) System and method for generating information file based on parallel processing
CN108399095B (en) Method, system, device and storage medium for supporting dynamic management of timed tasks
CN106843969B (en) Method and system for updating software in continuous service
CN103595804A (en) Server cluster monitoring system
CN105204972A (en) Method and system for unified release and management of executable programs
CN101650666A (en) Computer management system and method
CN110162312B (en) BeeGFS configuration method and device based on IML
CN101867484A (en) Method and system for upgrading equipment
CN107632899B (en) Snapshot service method and device of application server
CN111162938A (en) Data processing system and method
CN104915291A (en) Terminal restart verification method and system
CN102752138A (en) Asynchronous configuration management method and network device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant