CN100359483C - Background monitoring system and method thereof - Google Patents
Background monitoring system and method thereof Download PDFInfo
- Publication number
- CN100359483C CN100359483C CNB2004100750930A CN200410075093A CN100359483C CN 100359483 C CN100359483 C CN 100359483C CN B2004100750930 A CNB2004100750930 A CN B2004100750930A CN 200410075093 A CN200410075093 A CN 200410075093A CN 100359483 C CN100359483 C CN 100359483C
- Authority
- CN
- China
- Prior art keywords
- backstage
- business process
- foreground
- background
- unexpected message
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a communication system and discloses a background monitoring system and a method thereof. The present invention effectively monitors and maintains the background system, and efficiently positions and removes abnormal situations appearing in the process of service. With the present invention, testing staff can monitor the process of the service in an event triggering form at real time; in other words, a monitoring end monitors the background at real time, is immediately triggered to assemble an abnormal message when abnormality appears at the background, and then sends the message to a receiving prompt end; then, the receiving prompt end informs the testing staff in the ways of light, sound, etc.
Description
Technical field
The present invention relates to communication system, particularly the monitoring technique of the background system of large-scale application management system.
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 application management system that is widely used are exactly the application example of a maturation of the network communications technology.
At present, the large-scale application management system 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 application management system 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 processing power 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 total 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 processing power 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, fundamental 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 described reception prompting end.
Described monitoring client and described backstage business process 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 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 system according to an embodiment of the invention.
As shown in the figure, supervisory 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.
Receiving prompting end 40 is the user oriented foreground partitions of supervisory 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 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 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 described reception prompting end.
3. background monitoring system according to claim 1 is characterized in that, described monitoring client and described backstage business process 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 transmission control protocol/Internet protocol to carry out network service between described foreground and the backstage.
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 CN1741478A (en) | 2006-03-01 |
CN100359483C true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Citations (4)
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 |
CN1470992A (en) * | 2002-07-23 | 2004-01-28 | 华为技术有限公司 | Positioning method of recording general progress anomal recede using sharing core-object |
CN1477509A (en) * | 2002-08-19 | 2004-02-25 | 万达信息股份有限公司 | Process automatic restoring method |
CN1489049A (en) * | 2002-10-11 | 2004-04-14 | 华为技术有限公司 | Method for monitoring background programme |
-
2004
- 2004-08-27 CN CNB2004100750930A patent/CN100359483C/en not_active Expired - Fee Related
Patent Citations (4)
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 |
CN1470992A (en) * | 2002-07-23 | 2004-01-28 | 华为技术有限公司 | Positioning method of recording general progress anomal recede using sharing core-object |
CN1477509A (en) * | 2002-08-19 | 2004-02-25 | 万达信息股份有限公司 | Process automatic restoring method |
CN1489049A (en) * | 2002-10-11 | 2004-04-14 | 华为技术有限公司 | Method for monitoring background programme |
Also Published As
Publication number | Publication date |
---|---|
CN1741478A (en) | 2006-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102752131B (en) | Task-driven based power telecommunication network data acquisition method | |
CN107632918B (en) | Monitoring system and method for computing storage equipment | |
CN101877618B (en) | Monitoring method, server and system based on proxy-free mode | |
WO2011072272A1 (en) | Performance, analytics and auditing framework for portal applications | |
CN106649040A (en) | Automatic monitoring method and device for performance of Weblogic middleware | |
CN102736970A (en) | Method for monitoring activity state of operating system | |
CN104022904A (en) | Unified management platform for IT devices in distributed computer rooms | |
CN105138398B (en) | SOCKET communication and management of process general-purpose platform and method under synchronous communication mode | |
WO2007003107A1 (en) | Method and apparatus for carrying out a predetermined operation in a management device | |
CN103067230A (en) | Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code | |
CN114500250A (en) | System linkage comprehensive operation and maintenance system and method in cloud mode | |
CN110445694A (en) | A method of trigger notice is monitored based on Zabbix | |
CN101605065A (en) | The implementation method of security incident monitoring in the system of security centre | |
CN101252487B (en) | Method for processing safety warning and safety policy equipment | |
CN114363222A (en) | Network equipment inspection method and system based on Netconf protocol | |
CN106685685A (en) | Method and system for monitoring performance of exchange boards across safety subareas | |
US20050120330A1 (en) | System and method for creating and using self describing events in automation | |
CN100359483C (en) | Background monitoring system and method thereof | |
CN114422386B (en) | Monitoring method and device for micro-service gateway | |
CN101677278A (en) | Method and system for monitoring availability of network information system | |
CN110912755A (en) | System and method for network card fault monitoring and automatic recovery in cloud environment | |
CN101197714A (en) | Method for centrally capturing mobile data service condition | |
CN112671555A (en) | Transaction tracking control method and system | |
Mos et al. | COMPAS: Adaptive performance monitoring of component-based systems | |
CN116302862B (en) | Monitoring alarm method and system under micro-service architecture |
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 |