CN101883026B - Method for maintaining data acquisition system - Google Patents

Method for maintaining data acquisition system Download PDF

Info

Publication number
CN101883026B
CN101883026B CN2010102171800A CN201010217180A CN101883026B CN 101883026 B CN101883026 B CN 101883026B CN 2010102171800 A CN2010102171800 A CN 2010102171800A CN 201010217180 A CN201010217180 A CN 201010217180A CN 101883026 B CN101883026 B CN 101883026B
Authority
CN
China
Prior art keywords
data acquisition
acquisition system
described data
control subsystem
monitor
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
Application number
CN2010102171800A
Other languages
Chinese (zh)
Other versions
CN101883026A (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.)
Alibaba Beijing Software Services Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN2010102171800A priority Critical patent/CN101883026B/en
Publication of CN101883026A publication Critical patent/CN101883026A/en
Application granted granted Critical
Publication of CN101883026B publication Critical patent/CN101883026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a method for maintaining a data acquisition system. The method comprises a system monitoring step, in which a monitoring subsystem comprehensively scans the data acquisition system in a running state so as to monitor the running state of the data acquisition system; a system abnormity judging step, in which the monitoring subsystem judges the abnormity of the monitored running state of the data acquisition system by reading relevant parameters of a system configuration file, wherein the system configuration file is user-configurable; and a system abnormity processing step, in which startup or shutdown processing is performed on the abnormity of the running state of the data acquisition system according to an abnormity type judged in the system abnormity judging step.

Description

A kind of maintaining method of data acquisition system
Technical field:
The present invention relates to the maintenance of data acquisition system, particularly a kind of maintaining method of serving the acquisition system of net cast.
Background technology:
Net cast is the big system of a complexity, comprises video acquisition, Video processing, video transmission, and the video reception of terminal, processing such as decoding.Since the live continuation of emphasizing, real-time, and just live server background treatment system (comprising collection, coding, transmission etc.) all needs in running order all day.Because video living transmission system can not guarantee hundred-percent stable and reliable, may always can existing of unstable or collapse occur.Particularly this video living transmission system is complicated more, this possibility of easy more appearance.That is to say, any system, how high no matter stability and reliability have, the probability that unstable situation occurs may be zero never.When unstable situation appears in system, the symptom of its performance is diversified, such as, video acquisition system can eject some webpages, flash window, internal memory and overflows window and block that pickup area and CPU are too high to cause situations such as the net cast acquisition system is seemingly-dead in the process of net cast collection, even the live acquisition system collapse of whole video may appear, be in the state of quitting work fully.
In the prior art, when system occurs just need going to remove these factors of instability artificially unsettled the time, or when system is in collapse, just need go to restart this system artificially.
Summary of the invention:
Protection scope of the present invention is not limit by the statement of this joint summary of the invention on any degree only by appended claim book defined.
The invention provides a kind of maintaining method of data acquisition system, comprising:
The system monitoring step, Monitor And Control Subsystem comprehensively scans operating data acquisition system, to monitor the running status of described data acquisition system;
System exception determining step, the described Monitor And Control Subsystem relevant parameter by the reading system configuration file is made judgement unusually to the running status of the described data acquisition system that monitored, and described CONFIG.SYS is that the user is configurable;
The system exception treatment step according to the Exception Type of being judged in the described system exception determining step, starts or closes processing making unusually of the running status of described data acquisition system.
Wherein, in described system exception treatment step, unusual when unwanted dialog box occurring when the running status of described data acquisition system closed described unwanted dialog box in described system exception treatment step; When the running status of described data acquisition system unusually when process exception occurring, close the used whole processes of described data acquisition system and restart described data acquisition system; When the running status of described data acquisition system unusually when lacking critical processes, then start described critical processes.
Wherein, the relevant parameter of described Monitor And Control Subsystem reading system configuration file is judged the described unwanted dialog box that occurs in service or the described process exception of described data acquisition system.
Wherein, described Monitor And Control Subsystem is monitored described unwanted dialog box according to the configuration of the dialog box commonly used monitoring field of described CONFIG.SYS.
Wherein, described unwanted dialog box occurs when monitoring, described Monitor And Control Subsystem sends close box message, closes described unwanted dialog box.
Wherein, described Monitor And Control Subsystem is monitored described process exception according to the configuration of the following field of described CONFIG.SYS:
Described Monitor And Control Subsystem is monitored the scanning times of described data acquisition system according to the configuration of system configuration monitoring field, and judges that can the used process of described data acquisition system recover or start according to plan;
Described Monitor And Control Subsystem is monitored the dialog box relevant with described data acquisition system according to the configuration of certain dialog box monitoring field;
Described Monitor And Control Subsystem is monitored the used process disappearance of described data acquisition system according to the configuration of process scanning monitoring field;
Described Monitor And Control Subsystem is monitored the uniqueness of the used process of described data acquisition system according to the configuration of process uniqueness monitoring field.
Wherein, in the time still can't recovering according to plan or start after the process process scanning of certain number of times used to described data acquisition system of described Monitor And Control Subsystem according to the configuration monitoring of described system configuration monitoring field, close the used whole processes of described data acquisition system, and restart described data acquisition system;
When described Monitor And Control Subsystem, is closed the used whole processes of described data acquisition system, and restarted described data acquisition system during to the relevant dialog box of described and described data acquisition system according to the configuration monitoring of described certain dialog box monitoring field;
When described Monitor And Control Subsystem has one not exist to described data acquisition system in used whole processes according to the configuration monitoring of described process scanning monitoring field, close the used whole processes of described data acquisition system, and restart described data acquisition system;
When there be identical process to described data acquisition system in described Monitor And Control Subsystem in used whole processes according to the configuration monitoring of described process scanning monitoring field, close the used whole processes of described data acquisition system, and restart described data acquisition system.
Wherein, when restarting described data acquisition system, described Monitor And Control Subsystem is judged the process that needs restart according to the configuration of the process initiation monitoring field of described CONFIG.SYS.
Wherein, in the time of need restarting described data acquisition system when the described process exception of the emerged in operation of described data acquisition system, described Monitor And Control Subsystem is judged the process that needs are closed according to the configuration of the process cleaning field of described CONFIG.SYS.
Wherein, described data acquisition system is a video acquisition system.
Technique scheme of the present invention can reach following technique effect:
1. exempt the manual maintenance cost
Any one computer data acquisition system system all can not be absolutely stable, when occurring unstable or collapsing, need go to remove these factors of instability artificially, if collapse need be removed starting system again artificially.And the effective head it off of the solution that the present invention proposes allows computer itself go the operation of service data acquisition system system stability.
2. make the stable more and operation reliably of maintained system
The solution that the present invention proposes has realized the automation of system maintenance task by allowing maintenance subsystem of computer run, and the data acquisition system system that allowing needs to safeguard can go down in for a long time stable operation.
Description of drawings:
The FB(flow block) of Fig. 1 for the data acquisition system is safeguarded.
Embodiment:
Describe the specific embodiment of the present invention in detail below in conjunction with accompanying drawing.
In specific embodiments of the invention, on the computer of burden data acquisition system, implant the Embedded subsystem that is used for the operation of supervisory control and data acquisition system.And in operation, this Monitor And Control Subsystem also is in running status in this data acquisition system, thereby realizes the monitoring to the data acquisition system, the stable operation of service data acquisition system.In the present embodiment, data acquisition system comprises video data acquiring system, image data acquisition system etc.
Fig. 1 has shown the flow chart that the data acquisition system is safeguarded.As shown in Figure 1, in step S1, in the log-on data acquisition system, the subsystem that is used to monitor the operation of this data acquisition system also starts thereupon.Then, this Monitor And Control Subsystem comprehensively scans operating data acquisition system, with the running status (step S2) of supervisory control and data acquisition system.Specifically, this Monitor And Control Subsystem is monitored the dialog box and the process title of appointment by the process list of scanning computer and the dialog box of opening.Abnormal conditions (step S3 is for denying) do not occur if find the operation of data acquisition system, return the running status that step S2 continues supervisory control and data acquisition system, promptly this Monitor And Control Subsystem keeps the scanning to the data acquisition system.When abnormal conditions (step S3 is for being) appearred in the operation of finding data acquisition system, the relevant parameter in the CONFIG.SYS (Config.ini file) that reads according to this Monitor And Control Subsystem carried out corresponding judgment (step S4).That is to say that this Monitor And Control Subsystem carries out corresponding judgment according to the configuration of the relevant field in the CONFIG.SYS that is read.Wherein, the user can be according to the relevant field in the demand configuration said system configuration file of himself.If abnormal conditions be to belong to unwanted dialog box (step S4 is for being) to occur, this Monitor And Control Subsystem just sends close box message (wn_close message) (step S5) to above-mentioned unwanted dialog box, close above-mentioned unwanted dialog box (step S6), return the running status that step S2 continues supervisory control and data acquisition system then.If abnormal conditions be not to belong to unwanted dialog box (step S4 for not) to occur; this Monitor And Control Subsystem is just judged the specifying information of relevant abnormal conditions according to corresponding field configuration in the CONFIG.SYS that is read; be that abnormal conditions belong to process exception or belong to lacking of process, particularly lack critical processes (step S7).(step S7: in the time of not), this Monitor And Control Subsystem is closed the used whole processes (step S8) of data acquisition system, returns step S1 then and restarts data acquisition system when abnormal conditions belong to process exception.When abnormal conditions belong to when lacking process (step S7: be), this Monitor And Control Subsystem starts above-mentioned process that lacks (step S9).
In this specific embodiment, according to the actual requirements, following field can be set, the scanning, killing and the startup that dialog box involved in the used process time-continuing process of data acquisition system and process are circulated according to field set in the CONFIG.SYS of Monitor And Control Subsystem then in CONFIG.SYS.
System configuration monitoring field (SYSCONFIG field): this field has a scanning times option (scantimes), is used for the number of times of data of description acquisition system scanning.When the scan-data acquisition system reaches certain time, if the used a certain or a plurality of processes of data acquisition system do not have planned recovery to get up or start up, just close the used whole processes of data acquisition system, restart data acquisition system then.That is to say, when data acquisition system begins start-up routine, the used a certain or a plurality of processes of Monitor And Control Subsystem discovery data acquisition system are not activated or recover, then data acquisition system restarts to start the process that is not activated or recovers, so repeat certain number of times (such as 3 times), the used above-mentioned process of data acquisition system still is not activated or recovers, and then Monitor And Control Subsystem is closed whole processes according to the setting of system configuration monitoring field, restarts data acquisition system then.
Dialog box monitoring field (USUALLYDAILOG field) commonly used: be used for closing being not related to critical dialog box, just Monitor And Control Subsystem is closed unwanted dialog box in the data acquisition system (such as some unwanted webpages, flash window etc. occur in video data acquiring) by force according to being provided with of field of dialog box monitoring commonly used.For example, one " key=Explorer " is set in this field, in the process of scan-data acquisition system, comprised the content of Explorer in case find the title of certain dialog box, Monitor And Control Subsystem will send wn_close message to this dialog box, close this dialog box.
Certain dialog box monitoring field (SPECIALDAILOG field): be used for handling the dialog box relevant with data acquisition system, if there be the dialog box relevant with data acquisition system, then Monitor And Control Subsystem will carry out the used whole processes of positive closing data acquisition system according to the setting that certain dialog box is monitored field, and will restart the whole data collection system.For example, be provided with in this field " key1=ffmpeg.exe-application error ", expression precautionary process ffmpeg.exe occurs unusual.Any process of moving in the whole data collection system all relevant abnormalities may occur in data acquisition, if do not restart, data acquisition system cannot continue operate as normal.Therefore, during this time need Monitor And Control Subsystem to close these processes, restart data acquisition system then.For example, process ffmpeg.exe occur will ejecting unusually dialog box " the ffmpeg.exe-application error ", restart data acquisition system with regard to the used process of closeall data acquisition system this moment again.
Process scanning monitoring field (SCANPROCESS field): Monitor And Control Subsystem all can used all processes of run-down data acquisition system every 5 seconds, and this field just is provided for monitoring these processes.If continuous sweep all finds have one not exist in used all processes of data acquisition system for 3 times, the process disappearance promptly appears, and Monitor And Control Subsystem will start the process of this disappearance.
Process uniqueness monitoring field (ONLYPROCESS field): this field is provided for the uniqueness of monitoring process.Monitor And Control Subsystem can any one used process of supervisory control and data acquisition system only allow to occur one in the process of data acquisition system according to being provided with of process uniqueness monitoring field.If two or more identical processes in the used process of data acquisition system, occur, will close whole processes, restart data acquisition system.This process of PPStream.exe for example is not precluded within and may occurs two running at the same time process PPStream.exe sometime simultaneously, and this moment will these two processes of Close All and other all processes and restart data acquisition system
Process cleaning field (CLEARPROCESS field): be used for all processes that supervisory control and data acquisition system will be used.When data acquisition system process exception occurs and when need restart data acquisition system, Monitor And Control Subsystem judges that according to being provided with of process cleaning field which process needs closes.Therefore, the setting of this field is exactly when process exception appears in data acquisition system, judges the process that needs cleaning (killing) to fall.
Process initiation monitoring field (STARTPROCESS field): be used to monitor when data acquisition system need be restarted, which process judgement need restart.That is to say that Monitor And Control Subsystem is according to the process of judging that needs are restarted that is provided with of process initiation monitoring field.Data acquisition system generally all is as long as start manager file (CapManager.exe) (host process of data acquisition system) process, because manager file can start other processes automatically.
Aforesaid detailed description and accompanying drawing are undertaken by literal interpretation and diagram, and its purpose does not lie in the protection range that limits claim.Each mutation of embodiment in this specification is apparent for those of ordinary skill, and is in the protection range of claim and equivalent technologies thereof.

Claims (8)

1. the maintaining method of a data acquisition system comprises:
The system monitoring step, Monitor And Control Subsystem comprehensively scans operating data acquisition system, to monitor the running status of described data acquisition system;
System exception determining step, the described Monitor And Control Subsystem relevant parameter by the reading system configuration file is made judgement unusually to the running status of the described data acquisition system that monitored, and described CONFIG.SYS is that the user is configurable;
The system exception treatment step, unusual when unwanted dialog box occurring when the running status of described data acquisition system closed described unwanted dialog box in described system exception treatment step; When the running status of described data acquisition system unusually when process exception occurring, close the used whole processes of described data acquisition system and restart described data acquisition system; When the running status of described data acquisition system unusually when lacking critical processes, then start described critical processes.
2. the maintaining method of data acquisition system according to claim 1 is characterized in that, described Monitor And Control Subsystem is monitored described unwanted dialog box according to the dialog box commonly used monitoring field configuration of described CONFIG.SYS.
3. the maintaining method of data acquisition system according to claim 2 is characterized in that, described unwanted dialog box occurs when monitoring, and described Monitor And Control Subsystem sends close box message, closes described unwanted dialog box.
4. the maintaining method of data acquisition system according to claim 1 is characterized in that, described Monitor And Control Subsystem is monitored described process exception according to the following field configuration of described configuration file:
Described Monitor And Control Subsystem is monitored the scanning times of described data acquisition system according to the configuration of system configuration monitoring field, and judges that can the used process of described data acquisition system recover or start according to plan;
Described Monitor And Control Subsystem is monitored the dialog box relevant with described data acquisition system according to the configuration of certain dialog box monitoring field;
Described Monitor And Control Subsystem is monitored the used process disappearance of described data acquisition system according to the configuration of process scanning monitoring field;
Described Monitor And Control Subsystem is monitored the uniqueness of the used process of described data acquisition system according to process uniqueness monitoring field configuration.
5. the maintaining method of data acquisition system according to claim 4 is characterized in that,
In the time still can't recovering according to plan or start after the process process scanning of certain number of times used to described data acquisition system of described Monitor And Control Subsystem according to the configuration monitoring of described system configuration monitoring field, close the used whole processes of described data acquisition system, and restart described data acquisition system;
When described Monitor And Control Subsystem, is closed the used whole processes of described data acquisition system, and restarted described data acquisition system during to the relevant dialog box of described and described data acquisition system according to the configuration monitoring of described certain dialog box monitoring field;
When described Monitor And Control Subsystem has one not exist to described data acquisition system in used whole processes according to the configuration monitoring of described process scanning monitoring field, close the used whole processes of described data acquisition system, and restart described data acquisition system;
When there be identical process to described data acquisition system in described Monitor And Control Subsystem in used whole processes according to the configuration monitoring of described process uniqueness monitoring field, close the used whole processes of described data acquisition system, and restart described data acquisition system.
6. the maintaining method of data acquisition system according to claim 5, it is characterized in that, when restarting described data acquisition system, described Monitor And Control Subsystem is judged the process that needs restart according to the configuration of the process initiation monitoring field of described configuration file.
7. the maintaining method of data acquisition system according to claim 1, it is characterized in that, in the time of need restarting described data acquisition system when the described process exception of the emerged in operation of described data acquisition system, described Monitor And Control Subsystem is judged the process that needs are closed according to the configuration of the process cleaning field of described configuration file.
8. according to the maintaining method of the described data acquisition system of claim 1-7, it is characterized in that described data acquisition system is a video acquisition system.
CN2010102171800A 2010-07-05 2010-07-05 Method for maintaining data acquisition system Active CN101883026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102171800A CN101883026B (en) 2010-07-05 2010-07-05 Method for maintaining data acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102171800A CN101883026B (en) 2010-07-05 2010-07-05 Method for maintaining data acquisition system

Publications (2)

Publication Number Publication Date
CN101883026A CN101883026A (en) 2010-11-10
CN101883026B true CN101883026B (en) 2011-12-28

Family

ID=43054924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102171800A Active CN101883026B (en) 2010-07-05 2010-07-05 Method for maintaining data acquisition system

Country Status (1)

Country Link
CN (1) CN101883026B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932387A (en) * 2011-08-10 2013-02-13 北大方正集团有限公司 Equipment operation maintenance method and device
CN102510343A (en) * 2011-11-16 2012-06-20 广东新支点技术服务有限公司 Highly available cluster system feign death solution based on both remote detection and power management
CN102970345A (en) * 2012-11-01 2013-03-13 上海文广互动电视有限公司 Content collection system for multi-transmission protocol media content collecting
CN103150222B (en) * 2013-01-28 2016-02-10 中兴通讯股份有限公司 The method and apparatus of embedded system abnormal restoring
CN104932978B (en) * 2015-06-29 2018-04-13 北京宇航时代科技发展有限公司 A kind of system operation automatic fault selftesting and the method and system of selfreparing
CN105099762B (en) * 2015-06-29 2018-09-18 北京宇航时代科技发展有限公司 A kind of self checking method and self-checking system of system O&M function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7388601B2 (en) * 2004-02-18 2008-06-17 Inter-cité Vidéo Inc. System and method for the automated, remote diagnostic of the operation of a digital video recording network
CN101795207A (en) * 2009-12-29 2010-08-04 大唐软件技术股份有限公司 Acquirer dynamic deployment method and system of multi-technology networks

Also Published As

Publication number Publication date
CN101883026A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
CN101883026B (en) Method for maintaining data acquisition system
US7293102B2 (en) Method and apparatus for storing data and replaying stored data in a temporally accurate manner
CN110515820A (en) A kind of server failure maintaining method, device, server and storage medium
CN111796959B (en) Self-healing method, device and system for host container
CN102455950A (en) Firmware recovery system and method of base board management controller
US10341182B2 (en) Method and system for detecting network upgrades
CN115658113A (en) Server self-starting method and device, readable storage medium and electronic equipment
CN112506702A (en) Data center disaster tolerance method, device, equipment and storage medium
JP5588295B2 (en) Information processing apparatus and failure recovery method
CN109474470A (en) One kind is from monitoring method and device
CN111800432A (en) Anti-brute force cracking method and device based on log analysis
CN111796954A (en) Watchdog control method, device, equipment and storage medium based on JVM
CN110704281A (en) Method for monitoring system operation
CN100372307C (en) Method for managing system log
CN111818097B (en) Traffic monitoring method and device based on behaviors
CN112015597A (en) Fault isolation method, device, equipment and computer readable storage medium
CN111917576A (en) Control method and device for storage cluster
CN114528350B (en) Cluster brain fracture processing method, device, equipment and readable storage medium
CN110598797A (en) Fault detection method and device, storage medium and electronic device
US10572661B2 (en) Automated blackbox inference of external origin user behavior
CN104408059A (en) Fault processing method and device
CN1506829A (en) Method of preventing software error caused by long time running
CN107026744B (en) Method and device for acquiring system start time and end time of terminal device
CN107679161B (en) File processing method of electronic terminal and electronic terminal
CN107231263A (en) A kind of failure monitoring method and supervising 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200526

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080, Beijing, Suzhou Street, Haidian District No. 29 hospital, No. 18, building 16, Scandinavia

Patentee before: UC MOBILE Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210408

Address after: 100102 Room 301, 3 / F, building 9, District 4, Wangjing East Garden, Chaoyang District, Beijing

Patentee after: ALIBABA (BEIJING) SOFTWARE SERVICE Co.,Ltd.

Address before: Room 508, 5 / F, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Alibaba (China) Co.,Ltd.

TR01 Transfer of patent right