CN1741478A - Background monitoring system and method thereof - Google Patents

Background monitoring system and method thereof Download PDF

Info

Publication number
CN1741478A
CN1741478A CN 200410075093 CN200410075093A CN1741478A CN 1741478 A CN1741478 A CN 1741478A CN 200410075093 CN200410075093 CN 200410075093 CN 200410075093 A CN200410075093 A CN 200410075093A CN 1741478 A CN1741478 A CN 1741478A
Authority
CN
China
Prior art keywords
backstage
business process
foreground
unexpected message
monitoring client
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
CN 200410075093
Other languages
Chinese (zh)
Other versions
CN100359483C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100750930A priority Critical patent/CN100359483C/en
Publication of CN1741478A publication Critical patent/CN1741478A/en
Application granted granted Critical
Publication of CN100359483C publication Critical patent/CN100359483C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A system for monitoring background is featured as using monitor end to detect background in real time , triggering assembly abnormal message immediately and sending it to receiving prompt end , then informing test personnel by receiving prompt end through light and sound means when abnormal is occurred on background .

Description

Specification background monitoring system and method thereof
Technical field
The present invention relates to communication system, particularly the monitoring technique of the background system of large-scale AMS.
Background technology
Along with being showing improvement or progress day by day of the communication technology, the network communications technology has also obtained swift and violent development.Nowadays, the network communications technology extensively and in depth has been applied in the middle of our daily work, the studying and living.The communication technology for example Network Based and all kinds of large-scale AMS that is widely used are exactly the application example of a maturation of the network communications technology.
At present, the large-scale AMS of widespread usage substantially all is the web application of client/server (Client/Server is called for short " C/S ") or these two kinds of pattern architectures of browser/server (Browser/Server is called for short " B/S ").The large-scale AMS of this class mainly comprises foreground system and background system two parts.
Wherein, the customer-oriented application end of foreground system, it generally all be by the foregrounding terminal operating under the Windows of friendly interface operating system, facilitate the user like this and carry out various operations, maintenance and management; The backstage system then generally all is that to operate in system kernel stable and have under the Unix of powerful disposal ability or the (SuSE) Linux OS, this part is sightless for most of users, background system is the core of whole application system, it is to the stable decisive role of whole system, thus development﹠ testing to go out stable background system most important for a stable network application system.
Fig. 1 shows network application system framework of the prior art.As shown in the figure, the network application system framework mainly is made up of background system 10 and 20 two parts of foreground system.Wherein, foreground system 20 is to support user interface such as the close friend of Windows operating system one class by the foregrounding terminal.Backstage system 10 operates under Unix or the (SuSE) Linux OS, and the disposal ability powerful by the consistency operation system provides strong and effectively support for whole application system.And background system 10 and foreground system 20 communicate by network communication link.Those of ordinary skill in the art are to be understood that, Unix and (SuSE) Linux OS generally are to manage by textual interface, Windows then user interface is relatively more friendly, because it has adopted the graphical interfaces of windowization to operate, and Unix is to use multiple task operating system quite general, that development is ripe especially, Linux then is open, free operating system, and is very strong based on the application system function of Unix or Linux, thereby is widely used in the middle of the background system.
At present, in the Application and Development system, editing environment and working environment generally all are also promptly to carry out below the operating system of Windows at foreground system 20, and the business procedure of backstage system 10 generally all operates on Unix or the linux system as background process, and does not need the support interface system.The Test Engineer carries out the miscellaneous service functional test by the foregrounding terminal, and seldom background program is paid close attention to, because this part background program not need not interface system yet, therefore the Test Engineer just lacks timely and enough understandings for the operation conditions of backstage business process, and is not enough to the concern dynamics of backstage business process.
Under Unix or linux system; if the backstage business process is because mistake or other reasons cause background system to produce unusually; the program exception that this exception class is similar under the Windows system withdraws from; for this abnormal conditions; Unix or (SuSE) Linux OS can carry out core dump (Core Dump) to the backstage business process; program exception is withdrawed from practice condition constantly to be recorded in core (core) file; we can only produce unusually or exist mistake somewhere somewhere by the backstage business process that this core file is located us, and will write down to produce unusual the time what operation we are carrying out.In a word, in test or debugging backstage business process, require system under test (SUT) or test operation personnel to have the ability and means are in time found whether Core Dump of application process, find to write down ongoing operation at that time in the core file in time, and could application programs carry out positioning problems in conjunction with the two information, if above-mentioned both information can not in time get access to, just have no way of doing it to the problem that positions unusually.
In actual applications, there is following problem in such scheme: because according to such scheme, the tester can't in time obtain and be recorded on the core file, is used to indicate the information of program exception executing state constantly, somewhere produces with the understanding program to exist unusually or somewhere unusually; System is carrying out any operation when also can't in time understand recording exceptional, and therefore in time application programs is carried out positioning problems.The problems referred to above cause monitoring effectively the solution with problem.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of background monitoring system and method thereof, makes it possible to background system is more effectively monitored and safeguarded, the abnormal conditions that occur in the business process are more effectively positioned and solve.
For achieving the above object, the invention provides a kind of background monitoring system, comprise the monitoring client that is arranged on the backstage, and the reception prompting end that is arranged on the foreground, wherein,
Described monitoring client is used for detecting in real time assigned catalogue record backstage, backstage business process and withdraws from unusually constantly whether the file of practice condition exists, and generates unexpected message when detecting described file, and this unexpected message is sent to described reception prompting end;
Described reception prompting end is used for after the unexpected message that receives from described monitoring client, and the described backstage of notifying operation personnel business process takes place unusual.
Wherein, adopt transmission control protocol/Internet protocol (TCP/IP) to carry out network service between described monitoring client and the reception prompting end.
Described monitoring client and backstage business procedure run in the same operating system.
After described reception prompting termination is received described unexpected message, unusual by sound or light mode notifying operation personnel.
The present invention also provides a kind of background monitoring method, comprises following steps:
A detects record backstage business process in the assigned catalogue of backstage in real time and withdraws from unusually constantly whether the file of practice condition exists, if then generate unexpected message and send to the foreground;
The described foreground of B responds described unexpected message, and the described backstage of notifying operation personnel business process takes place unusual.
Wherein, among the described step B, the foreground takes place unusual by sound, the described backstage of light mode notifying operation personnel business process.
Adopt transmission control protocol/Internet protocol (TCP/IP) to carry out network service between described foreground and the backstage.
By relatively finding that technical scheme difference with the prior art of the present invention is that the tester can monitor with the form of Event triggered in real time to business process.In other words, monitoring client detects the backstage in real time, when the backstage occurs when unusual, triggers the assembling unexpected message immediately, sends to and receives the prompting end, and notify the tester by receiving the prompting end by approach such as light, sound.
Difference on this technical scheme has brought comparatively significantly beneficial effect, neither influence test foreground business, can strengthen dynamics again to backstage business process operation monitoring, intervene more timely and effectively, thereby improved testing efficiency when unusual occurring on the backstage.
Description of drawings
Fig. 1 is according to network application system configuration diagram of the prior art;
Fig. 2 is a supervisory control system structural representation according to an embodiment of the invention;
Fig. 3 is in the background monitoring method according to an embodiment of the invention, and monitoring client is implemented the schematic flow sheet of monitoring and information transmission;
Fig. 4 is in the background monitoring method according to an embodiment of the invention, receives the schematic flow sheet of prompting end concrete operations.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Generally speaking, principle of the present invention is, monitor the running status of the backstage business process on the background system in real time by a monitoring client, and finding that the backstage produces unusual back timely assembling unexpected message and sends to the reception prompting end that is arranged on the foreground, the prompting test operation personnel in time position and solve problem.
Specifically; the present invention can in time know in order to make the test operation personnel whether the backstage business process produces unusually or produced core file in the business of test foreground; run on monitoring client under the so same operating system environment of Unix or Linux by one with the backstage business procedure; monitor the backstage business process state on the background system in real time; and finding that the business process generation unusual back instant core file that will produce unusually in backstage is assembled into unexpected message and sends to the reception prompting end that is arranged on foreground system; by receiving the prompting end by sound; prompting modes such as light notice test operation personnel; so that in time carry out the collection or the intervention of information; just make the tester can in time obtain abnormal information thus, thereby abnormal problem can be located and handle effectively.
Fig. 2 shows the structure of supervisory control system according to an embodiment of the invention.
As shown in the figure, supervisory control system mainly is made up of monitoring client 30 and reception prompting end 40 these two parts.Wherein, monitoring client 30 is arranged in the middle of the background system, receives prompting end 40 and then is arranged on foreground system.
Monitoring client 30 real-time continuous ground is monitored in the background system assigned catalogue that operates on Unix or the (SuSE) Linux OS, record backstage business process withdraws from constantly unusually, and whether the file of practice condition exists, if when detecting described file, promptly produce when unusual detecting the backstage business process, generate unexpected message, and this unexpected message is in time sent to reception prompting end 40.Among the present invention, monitoring client 30 also is to operate under Unix or the (SuSE) Linux OS, and it is consistent with the running environment of backstage business procedure.
Receiving prompting end 40 is the user oriented foreground partitions of supervisory control system, after this reception prompting end 40 receives the abnormal information that monitoring client 30 sends over, just notify the test operation personnel at once by prompting modes such as sound, light, inform that the backstage business process has produced unusually, need in time carry out the collection of information or in time intervene.Among the present invention, this part generally is to run on test operation personnel's the operational terminal to receive prompting end 40, and has sound-light prompting function, so that the test operation personnel are carried out acousto-optic hint, thereby reaches prompting effect with the Event triggered form.And, monitoring client 30 is pointed out between the end 40 with the reception on foreground and is connected in the network communication link mode, and adopt transmission control protocol/internetworking protocol (Transmission Control Protocol/Internet Protocol is called for short " TCP/IP ") to carry out network service.
Need to prove, monitoring process and monitored business procedure operate on same the machine, so that the business process that runs on Unix or the linux system is monitored in real time, and unusual later can in time abnormal information being delivered on the Windows system terminal that foreground test operation personnel work occur when monitoring process detects monitored program, so this supervisory control system itself also is the category that belongs to network application system.Those of ordinary skill in the art are to be understood that and utilize socket (socket) to communicate programming, just are easy to make the program that Unix or linux system and Windows system communicate, and also promptly are easy to realize supervisory control system of the present invention.
Below in conjunction with Fig. 3 and Fig. 4, specifically describe in the background monitoring method according to an embodiment of the invention, monitoring client enforcement monitoring and information send and receive prompting termination collection of letters breath and sends the detailed process of prompting.
Whether as shown in Figure 3, at first, control the catalogue that travels through detection business procedure place at step 300 monitoring client 30 automatically by application program, there have the backstage business process to produce in the monitoring background system to be unusual.Need to prove that traversal monitor task described here can be realized automatically by relative program, and is convenient and effective.Subsequently, enter next procedure 310.
In step 310, whether whether monitoring client 30 detections have the core file generation to monitor with this has unusually, because if there is the core file generation just to show that the business process in the background system produces unusual, and the backstage system has carried out Core Dump to this process, and the practice condition that program exception is withdrawed from constantly is recorded in the core file, enters step 320.If monitoring client 30 has not detected core file and has produced, promptly show the normal no any unusual generation of backstage business process operation in the background system, continue the catalogue that traversal detects the business procedure place so return the step that continues in the step 300 subsequently.
In step 320, monitoring client 30 is assembled into the reception prompting end 40 that detailed unexpected message and the network communication link by TCP/IP in time send to the foreground unusually with this, so that corresponding processing can be in time made on the foreground.
The concrete scheme of implementing monitoring and information transmission from the monitoring client 30 of the invention described above as can be seen, monitoring client 30 can realize monitoring in real time the unusual of backstage business process effectively, and can in time send abnormal information to receiving prompting end 40, remedied effectively in the prior art the professional abnormality processing shortcoming not prompt enough that produces in backstage.
Below with reference to Fig. 4, describe receiving prompting termination collection of letters breath and sending the process of prompting.
As shown in Figure 4, at first in step 400, receive 40 waits of prompting end and reception system exception message from monitoring client 30.Subsequently, enter following ground step 410.
In step 410, receive the 40 real-time detections of prompting end and whether receive the unexpected message of monitoring client 30, if receive prompting end 40 unexpected messages of not receiving from monitoring client 30, so just get back in the step 400, continue to wait for and receive the unexpected message of monitoring client.Otherwise, received the backstage business process unexpected message that monitoring client 30 sends over if receive prompting end 40, then enter step 420 subsequently.
In step 420, receive prompting end 40 and notify the described backstage of test operation personnel business process to take place unusually by modes such as sound, light, make operating personnel in time to handle accordingly.
This shows that according to the present invention, after the described backstage of reception prompting end 40 notice test operation personnel business process produced unusually, operating personnel just can make corresponding processing in time, so just can realize locating unusually effectively and solving.
Need to prove that the invention described above scheme also extends on other operating systems of interdepartmental system.
Though by reference some preferred embodiment of the present invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that, can do various changes to it in the form and details, and the spirit and scope of the present invention that do not depart from appended claims and limited.

Claims (7)

1. a background monitoring system is characterized in that, comprises the monitoring client that is arranged on the backstage, and the reception prompting end that is arranged on the foreground, wherein,
Described monitoring client is used for detecting in real time the backstage assigned catalogue, and whether the file that record backstage business process withdraws from moment practice condition unusually exists, and generates unexpected message when detecting described file, and this unexpected message is sent to described reception prompting end;
Described reception prompting end is used for after the unexpected message that receives from described monitoring client, and it is unusual to notify the described backstage of operating personnel business process to take place immediately.
2. background monitoring system according to claim 1 is characterized in that, adopts transmission control protocol/Internet protocol to carry out network service between described monitoring client and the reception prompting end.
3. background monitoring system according to claim 1 is characterized in that, described monitoring client and backstage business procedure run in the same operating system.
4. background monitoring system according to claim 1 is characterized in that, and is after described reception prompting termination is received described unexpected message, unusual by sound or light mode notifying operation personnel.
5. a background monitoring method is characterized in that, comprises following steps:
A detects in the assigned catalogue of backstage in real time, and whether the file that record backstage business process withdraws from moment practice condition unusually exists, if then generate unexpected message and send to the foreground;
The described foreground of B responds described unexpected message, and the described backstage of notifying operation personnel business process takes place unusual.
6. background monitoring method according to claim 5 is characterized in that, among the described step B, the foreground takes place unusual by sound, the described backstage of light mode notifying operation personnel business process.
7. background monitoring method according to claim 5 is characterized in that, adopts the capable network service of transmission control protocol/Internet protocol between described foreground and the backstage.
CNB2004100750930A 2004-08-27 2004-08-27 Background monitoring system and method thereof Expired - Fee Related CN100359483C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100750930A CN100359483C (en) 2004-08-27 2004-08-27 Background monitoring system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100750930A CN100359483C (en) 2004-08-27 2004-08-27 Background monitoring system and method thereof

Publications (2)

Publication Number Publication Date
CN1741478A true CN1741478A (en) 2006-03-01
CN100359483C CN100359483C (en) 2008-01-02

Family

ID=36093698

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100750930A Expired - Fee Related CN100359483C (en) 2004-08-27 2004-08-27 Background monitoring system and method thereof

Country Status (1)

Country Link
CN (1) CN100359483C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350736A (en) * 2008-06-10 2009-01-21 中国移动通信集团浙江有限公司 Method for automatically maintaining mobile network appliance
CN103246551A (en) * 2012-02-07 2013-08-14 北京糯米网科技发展有限公司 Device and method for management of background timed task
CN106686056A (en) * 2016-11-25 2017-05-17 济南中维世纪科技有限公司 Android client communication device and method allowing Android client communication device to connect and communicate with server
CN106708705A (en) * 2015-07-15 2017-05-24 腾讯科技(深圳)有限公司 Terminal background process monitoring method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09179754A (en) * 1995-12-21 1997-07-11 Mitsubishi Electric Corp Task monitoring device and its method
CN1282926C (en) * 2002-07-23 2006-11-01 华为技术有限公司 Positioning method of recording general progress anomal recede using sharing core-object
CN1217265C (en) * 2002-08-19 2005-08-31 万达信息股份有限公司 Process automatic restoring method
CN1273895C (en) * 2002-10-11 2006-09-06 华为技术有限公司 Method for monitoring background programme

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350736A (en) * 2008-06-10 2009-01-21 中国移动通信集团浙江有限公司 Method for automatically maintaining mobile network appliance
CN101350736B (en) * 2008-06-10 2013-06-12 中国移动通信集团浙江有限公司 Method for automatically maintaining mobile network appliance
CN103246551A (en) * 2012-02-07 2013-08-14 北京糯米网科技发展有限公司 Device and method for management of background timed task
CN106708705A (en) * 2015-07-15 2017-05-24 腾讯科技(深圳)有限公司 Terminal background process monitoring method and system
CN106708705B (en) * 2015-07-15 2020-06-16 腾讯科技(深圳)有限公司 Terminal background process monitoring method and system
CN106686056A (en) * 2016-11-25 2017-05-17 济南中维世纪科技有限公司 Android client communication device and method allowing Android client communication device to connect and communicate with server

Also Published As

Publication number Publication date
CN100359483C (en) 2008-01-02

Similar Documents

Publication Publication Date Title
CN107632918B (en) Monitoring system and method for computing storage equipment
CN100555240C (en) The method and system that is used for diagnosis of application program
US10545807B2 (en) Method and system for acquiring parameter sets at a preset time interval and matching parameters to obtain a fault scenario type
CN104022904A (en) Unified management platform for IT devices in distributed computer rooms
CN101384054B (en) Method for network exception condition monitoring through performance data
CN109462590B (en) Unknown protocol reverse analysis method based on fuzzy test
CN102736970A (en) Method for monitoring activity state of operating system
CN102694871A (en) Server long-distance monitoring and fault processing device and method based on short message of mobile phone
CN112328456A (en) Cluster resource monitoring system based on service discovery
CN1921407A (en) Alarm managing method for SNMP protocol network managing system
CN110231998B (en) Detection method and device for distributed timing task and storage medium
CN111382023A (en) Code fault positioning method, device, equipment and storage medium
WO2023093024A1 (en) Network jitter analysis and visualization method and system
CN1508689A (en) System and method for long-distace obtaining informtion of monitroed computer
CN114422386B (en) Monitoring method and device for micro-service gateway
CN1741478A (en) Background monitoring system and method thereof
CN115664939A (en) Comprehensive operation and maintenance method and device based on automation technology and storage medium
CN115220995A (en) Agent probe-based micro-service full-link analysis method
CN110445694A (en) A method of trigger notice is monitored based on Zabbix
CN110912755A (en) System and method for network card fault monitoring and automatic recovery in cloud environment
CN101841541A (en) Method and system for monitoring cluster based on multicast network
CN107766167A (en) A kind of fault log repeats to report an error the method for merger
CN105703942B (en) Log collection method and device
Mos et al. COMPAS: Adaptive performance monitoring of component-based systems
Gao et al. Study on data acquisition solution of network security monitoring system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080102

Termination date: 20140827

EXPY Termination of patent right or utility model