CN104581806A - Method and terminal for monitoring service system - Google Patents

Method and terminal for monitoring service system Download PDF

Info

Publication number
CN104581806A
CN104581806A CN201410806508.0A CN201410806508A CN104581806A CN 104581806 A CN104581806 A CN 104581806A CN 201410806508 A CN201410806508 A CN 201410806508A CN 104581806 A CN104581806 A CN 104581806A
Authority
CN
China
Prior art keywords
test
terminal
alarm
operation system
script
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
CN201410806508.0A
Other languages
Chinese (zh)
Other versions
CN104581806B (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.)
UNION MOBILE PAY ELECTRONIC COMMERCE Co Ltd
Original Assignee
UNION MOBILE PAY ELECTRONIC COMMERCE 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 UNION MOBILE PAY ELECTRONIC COMMERCE Co Ltd filed Critical UNION MOBILE PAY ELECTRONIC COMMERCE Co Ltd
Priority to CN201410806508.0A priority Critical patent/CN104581806B/en
Publication of CN104581806A publication Critical patent/CN104581806A/en
Application granted granted Critical
Publication of CN104581806B publication Critical patent/CN104581806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like

Abstract

The invention discloses a method and a terminal for monitoring a service system. The method comprises the following steps that first, the terminal receives set test data, a service monitoring script is generated on the basic script of the terminal on the basis of the test data, a test request is generated according to the service monitoring script, and the test request is transmitted to the service system, so that the service system tests according to the test request; then, the terminal receives a test result transmitted by the service system, alarming is triggered if the test result is different from an expected test result parameter value, and an alarm notice is transmitted to an alarm receiver. Therefore, operating personnel are not required to give attention to an operating platform system in real time when a service system is monitored; the labor cost is saved; meanwhile, the timeliness of the alarm is also improved.

Description

A kind of method and terminal of monitoring operation system
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and terminal of monitoring operation system.
Background technology
Fig. 1 is the structural representation of existing monitoring operation system.As shown in the figure, existing monitoring operation system is mainly by PC (Personal Computer, personal computer) as monitoring system, by cable network, operation system is monitored, and monitoring information operation system returned feeds back to operation platform, operation platform system carries out Macro or mass analysis to the monitoring information collected.Operation personnel checks the information of current monitoring by logging in operation platform system, thus understands the ruuning situation of operation system.If there is exception in operation system, by monitoring system, unexpected message is turned back to operation platform system, unexpected message is fed back to operation personnel by operation platform system again, receive after abnormal information until operation personnel, again abnormal information is fed back to developer, finally analyze abnormal information by developer and operation system is repaired.Therefore, needing when monitoring operation system operation personnel to pay close attention to operation platform system in real time in prior art, not only increasing human cost, and be difficult to notify developer in time when there is abnormal information.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal of monitoring operation system, in order to solve in prior art need personnel to pay close attention to operation platform system in real time when monitoring operation system and monitoring notice not in time problem.
The embodiment of the present invention provides a kind of method of monitoring operation system, and the method comprises:
Terminal receives the test data of setting, and described test data at least comprises: test parameter and test parameter value, test oracle result parameter and test oracle result parameter value;
On the basic script of described terminal, generate business monitoring script based on described test data, generate test request according to described business monitoring script, described test request is sent to operation system, tests according to described test request to make described operation system;
Wherein, the basic parameter that described operation system is run is previously provided with in described basic script;
Receive the test result that described operation system sends, if described test result is different from described test oracle result parameter value, then trigger alerts, and alarm notification is sent to alarm recipient.
Preferably, if described test result is different from described test oracle result parameter value, then trigger alerts, also comprises:
Described test data also comprises: alarm conditions;
If the number of times that described test result is different from described test oracle result parameter value meets the described alarm conditions of setting, then trigger alerts.
Preferably, describedly alarm notification is sent to described alarm recipient, comprising:
Different notification process is set for different advice methods; Alarm notification described in each notification process transmitted in parallel; Described different advice method comprise following at least one: mail notification mode, SMS notification mode, verbal announcement mode, vibration informing mode.
Preferably, also comprise: in described terminal, create monitoring guarantee process, described monitoring ensures that process is for monitoring the running status of described terminal, to guarantee that described terminal finishing service is monitored.
Preferably, also comprise:
Preserve described business monitoring script, so that each business monitoring script calling preservation according to pre-defined rule generates new business monitoring script.
The embodiment of the present invention also provides a kind of terminal, and this terminal comprises: receiver module, sending module and alarm module;
Described receiver module, for receiving the test data of setting, described test data at least comprises: test parameter and test parameter value, test oracle result parameter and test oracle result parameter value;
Described sending module, for generating business monitoring script on the basic script of described terminal based on described test data, generate test request according to described business monitoring script, described test request is sent to operation system, tests according to described test request to make described operation system;
Wherein, the basic parameter that described operation system is run is previously provided with in described basic script;
Described alarm module, for receiving the test result that described operation system sends, when described test result is different from described test oracle result parameter value, then trigger alerts, and indicate sending module that alarm notification is sent to alarm recipient.
Preferably, described alarm module, specifically for: if the described test result number of times different from described test oracle result parameter value meets the described alarm conditions of setting, then trigger alerts.
Preferably, described alarm module, specifically for:
Different notification process is set for different advice methods; Alarm notification described in each notification process transmitted in parallel; Described different advice method comprise following at least one: mail notification mode, SMS notification mode, verbal announcement mode, vibration informing mode.
Preferably, described alarm module, also for:
In described terminal, create monitoring guarantee process, described guarantee process for monitoring the running status of described terminal, to guarantee that described terminal finishing service is monitored.
Preferably, described alarm module, also for:
Preserve described business monitoring script, so that each business monitoring script calling preservation according to pre-defined rule generates new business monitoring script.
The method of the monitoring operation system that above-described embodiment provides and terminal, first, the test data of setting is received by terminal, on the basic script of terminal, business monitoring script is generated based on test data, test request is generated according to business monitoring script, test request is sent to operation system, tests according to described test request to make operation system; Then, terminal receives the test result that operation system sends, if the number of times that test result is different from test oracle result parameter value meets the alarm conditions of setting, then trigger alerts, and alarm notification is sent to alarm recipient, generate business detection script by terminal and automatically trigger test request, reducing participation and the workload of operation personnel; Also can be sent by wireless communication networks because terminal sends test request by cable network, more guarantees can be provided for terminal starts monitoring; By the alarm recipient of terminal profile, can ensure and inform operation personnel and developer simultaneously, improve the promptness of warning; Therefore, not only do not need when monitoring operation system operation personnel to pay close attention to operation platform system in real time, and also improve the promptness of warning while having saved human cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of monitoring operation system in prior art;
The method flow diagram of the monitoring operation system that Fig. 2 provides for the embodiment of the present invention;
Abnormal information is sent to the structural representation of developer and operation personnel by the terminal that Fig. 3 provides for the embodiment of the present invention and operation system and terminal;
The structural representation of the terminal that Fig. 4 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 2 is the method flow diagram of the monitoring operation system that the embodiment of the present invention provides.As shown in the figure, the method can comprise:
S201, terminal receive the test data of setting, and this test data at least comprises: test parameter and test parameter value, test oracle result parameter and test oracle result parameter value.
S202, on the basic script of terminal, to generate business monitoring script based on test data, generate test request according to business monitoring script, test request is sent to operation system, tests according to test request to make operation system.
Wherein, the basic parameter that operation system is run is previously provided with in basic script.
The test result that S203, reception operation system send.
Whether the parameter value of test result that S204, judgement receive is identical with the parameter value of the test oracle result of setting.
If the parameter value of the test result received is different from test oracle result parameter value, then go to step S205; Otherwise, go to step S206.
S205, trigger alerts, and alarm notification is sent to alarm recipient.
S206, terminal continue to send test request to operation system.
Wherein, terminal can be mobile phone, flat board etc.Monitoring operation system software can independently process and test process run in the terminal with one.In actual applications, mobile phone can select smart mobile phone also can select common mobile phone, according to the demand of monitoring task, can be equipped with terminal voluntarily.
When terminal is mobile phone, first by terminal operating test process, and monitoring script is set.Test process in mobile phone starts monitoring according to arranging requirement subsequently.Test request is sent to operation system by the test process in mobile phone.Operation system carries out processing and returning monitoring result according to the requirement of monitoring, after the test process run in terminal receives the result of operation system transmission, carry out storing to result and analyze, if the result after analyzing meets the alarm threshold arranged in Monitoring Rules, then by mail, note, the mode of mobile phone reminding notifies related personnel, such as developer, operation personnel etc., can receive warning information in the very first time to make related personnel and can repair operation system according to warning information.Can Timeliness coverage before the performance index of operation system are about to exceed warning value, or operation system occur abnormal after the very first time learn, to take appropriate measures, thus by operation system because the abnormal loss caused drops to minimum.
In the specific implementation, terminal can arrange the frequency sending test request in monitoring script, such as, can be 60 seconds by the set of time of test interval.When being 60 seconds by the set of time of test interval, represent that terminal sent a test request every 60 seconds to operation system, namely terminal carried out the test of an identical services every 60 seconds.
Preferably, test request is sent to operation system by cable network and/or wireless network by terminal, and receives the test result of operation system transmission.Such as, when terminal is mobile phone, test request is sent to operation system by wireless network and mobile data network by mobile phone, and receives the test result of operation system transmission.Wherein, wireless communication can adopt WIFI (Wireless Fidelity, WiMAX); Mobile data networking can adopt 2G (The 2nd Generation Mobile Communication, Generation Mobile Telecommunication System), 3G (The 3rd Generation Mobile Communication, 3G (Third Generation) Moblie) and 4G (The4th Generation Mobile Communication, forth generation mobile communication).
In above-mentioned steps S202, the establishment of basis script can by means of script Core Generator, script Core Generator collects information thus formation base script file by visual prompt modes such as text prompt, list selection, information input frames, predefines this test process and run the basic parameter needed in basic script.Such as, the type of tested business, the address name of monitored operation system, the frequency that test request sends, the receiving number of alarm recipient, the reception addresses of items of mail of alarm recipient, and the tinkle of bells size etc. of terminal during alarm triggered.Wherein, the text prompt of script Core Generator can be generated by input control by the generation of prompting control, information input frame.The establishment language of basis script can adopt the language such as XML (Extensible Markup Language, extend markup language), JAVA, C language and C++ to create.When creating basic script, by all abstract for the parameter form turning to parameter name and parameter value, parameter value can be the value of any type, such as, can use the object type data of JAVA and C++, also can use the character types, integer etc. in XML.In actual applications, language establishment script can being selected to use according to the demand of concrete monitoring business, the technology using language to create basic script belongs to prior art, does not repeat them here.
After treating that basic script creates, terminal can load different test script files according to the difference of test service, and tests according to loaded test script.Wherein, terminal can obtain the request address in the test script loaded, and generate test request according to the test parameter in the test script loaded and test parameter value, thus test request sent to the request address in operation system and test script by wired or wireless mode.After operation system receives test request, test request is processed, and test result after process is returned to terminal with the form of message.After terminal receives the test result that operation system returns, and according to test oracle result parameter, extraction test result parameter value is carried out to the test result that the operation system received returns.Meanwhile, the test result operation system received returned and the test result parameter value of extraction are preserved.After to be saved, the test result parameter value of the extraction of preservation is compared to the corresponding parameter value pre-set, if the test result parameter value extracted is different from the corresponding parameter value pre-set, then record different number of times, if different number of times meets the alarm conditions of setting, then trigger alerts.Certainly, in the specific implementation, as long as the test result parameter value extracted also can be adopted different from the corresponding parameter value pre-set, just trigger alerts.Such as, have a field isSuccess in the test result data that operation system returns, script design is 00 is successfully, if the test result data that operation system returns is not 00, then and trigger alerts.
Preferably, can set different notification process for different advice methods, each process is responsible for a kind of alarm mode.Concrete, the advice method setting terminal prompting process that can set mail notification process for mail notification mode, set SMS notification process for SMS notification mode, set verbal announcement process for verbal announcement mode, remind for terminal.Wherein, the advice method that terminal is reminded can be vibration informing, also can be ring notification, therefore, alarm mode in the embodiment of the present invention covers more comprehensively, can mail, note, voice, prompting send alarm notification, particularly voice, note also can send alarm notification by wireless network or mobile data network, operation personnel is not needed to pay close attention in real time, and terminal can send alarm notification automatically, do not need the participation of personnel, thus achieve the accuracy also improving alarm while reducing personnel cost yet.Terminal can create multiple process upon actuation automatically, comprises mail sending process, short message sending process, verbal announcement process, and terminal reminds process.When mail sending process receives alarm notification, mail sending process can call the mail sending service of terminal, uses already present mail account in terminal, alarm notification is sent to alarm recipient.When short message sending process receives alarm notification, short message sending process can call the short message sending service of terminal, uses already present address list in terminal, alarm notification is sent to alarm recipient.When the prompting process in terminal receives alarm notification, prompting process can call terminal vibrations API (Application Programming Interface, application programming interface) reminding service and the reminding service of music API, thus alarm is carried out to terminal.
Preferably, in terminal, also can create monitoring guarantee process, this monitoring ensures that process is used for the running status of monitoring terminal, to guarantee that terminal finishing service is monitored.If monitoring ensures that the process run in monitoring the process to terminal is too much, then according to the regular closed portion process preset; If monitoring ensures in monitoring the process to terminal to there is the too much process of occupied terminal resource, then close taking the too much process of resource, to guarantee that terminal finishing service is monitored; If monitoring ensures that monitoring the process is not enough to terminal power, early warning information can be sent, to notify that personnel charge.
In actual applications, monitoring ensures that the mode of monitoring the process terminal running state includes but not limited to following two kinds of modes:
Mode one
Monitoring guarantee process can be at set intervals, in such as 3 seconds, scan the process list run in a terminal, if test process is not in the task list of terminal, then monitor guarantee process and can restart test process, and notify the monitoring task that test process recovers nearest.If monitoring guarantee process is restarted test process failure or is recovered nearest Detection task failure, then trigger alerts, and alarm notification is sent to alarm recipient.
Mode two
Monitoring guarantee process can at set intervals, such as 60 seconds, obtains CPU (Central Processing Unit, central processing unit) utilization rate and the memory usage of terminal.If the occupancy of other application program occupied terminal CPU exceedes the value of specifying in terminal, such as, the value 80% of specifying, then monitor guarantee process by the time span shared by application programs maximum for statistics occupied terminal cpu resource, if the time span shared by the application program that occupied terminal cpu resource is maximum exceedes the threshold value of setting, such as, the threshold value of setting is 10 seconds, then call in terminal closedown application programming interfaces, by closing application programs maximum for occupied terminal cpu resource, repeat said process, until total occupancy of other program occupied terminal cpu resource is lower than the threshold value of setting.
In addition, if the occupancy of other application program occupied terminal internal memory exceedes the value of specifying in terminal, such as, the value 80% of specifying, then monitor guarantee process by the time span shared by application programs maximum for statistics occupied terminal memory source, if the time span shared by the application program that occupied terminal memory source is maximum exceedes the threshold value of setting, such as, the threshold value of setting is 10 seconds, then call in terminal closedown application programming interfaces, by closing application programs maximum for occupied terminal memory source, repeat said process, until total occupancy of other program occupied terminal memory source is lower than the threshold value of setting.
Preferably, the business generated on the basic script of terminal based on test data monitoring script also can be preserved by terminal; The business of preservation monitoring script is carried out the new business monitoring script of combination producing according to certain rule, when Added Business monitoring requirements without exploitation code, thus shortens the construction cycle, save human cost.
Preferably, terminal is herein mobile terminal, whether available terminal test service system can carry the short message issuing success of identifying code, in actual applications, particularly payment technical field, operation system can successfully issue the note carrying identifying code, often be related to that a transaction success carries out, therefore can test service system successfully seem most important by the short message issuing carrying identifying code, in prior art, adopt PC can not carry out the test of this business, and it is constantly universal along with what mobile terminal was applied, the network operation that user utilizes mobile terminal to carry out gets more and more, therefore do not undertaken by traditional PC when the operation system of Mobile solution is tested, the embodiment of the present invention ensure that the test of Mobile solution.In the monitoring method that the embodiment of the present invention provides by terminal test operation system whether can by the short message issuing carrying identifying code successful partial code as follows:
In addition, when the terminal in above-described embodiment is mobile phone, abnormal information is sent to the structural representation of developer and operation personnel by the mutual and terminal of terminal and operation system, can see Fig. 3.
It should be noted that the operation system in the embodiment of the present invention can be Internet service provider, also can be third-party payment system or internet content provider.
By the description of the above method to the monitoring operation system that the embodiment of the present invention provides, can find out, first, the test data of setting is received by terminal, on the basic script of terminal, business monitoring script is generated based on test data, generate test request according to business monitoring script, test request is sent to operation system, tests according to described test request to make operation system; Then, terminal receives the test result that operation system sends, if the number of times that test result is different from test oracle result parameter value meets the alarm conditions of setting, then trigger alerts, and alarm notification is sent to alarm recipient,, generate business detection script by terminal and automatically trigger test request, reducing participation and the workload of operation personnel; Also can be sent by wireless communication networks because terminal sends test request by cable network, more guarantees can be provided for terminal starts monitoring; By the alarm recipient of terminal profile, can ensure and inform operation personnel and developer simultaneously, improve the promptness of warning; Therefore, not only do not need when monitoring operation system operation personnel to pay close attention to operation platform system in real time, and also improve the promptness of warning while having saved human cost.In addition, alarm mode covers more comprehensively, can mail, note, voice, remind and send alarm notification, particularly voice, note also can by transmission alarm notification to alarm recipient by wireless network or mobile data network, receive to make alarm and can receive warning information in the very first time and can repair operation system according to warning information, therefore, energy Timeliness coverage before operation system performance index are about to exceed warning value, or the very first time after operation system occurs extremely learns, take appropriate measures, thus by operation system because the abnormal loss caused drops to minimum.
Based on identical technical conceive, the embodiment of the present invention also provides a kind of terminal, and this terminal can perform said method embodiment.
Fig. 4 is the structural representation of the terminal that the embodiment of the present invention provides.As shown in the figure, this terminal can comprise receiver module 41, sending module 42 and alarm module 43.
Receiver module 41, for receiving the test data of setting, described test data at least comprises: test parameter and test parameter value, test oracle result parameter and test oracle result parameter value;
Sending module 42, for generating business monitoring script on the basic script of described terminal based on described test data, generate test request according to described business monitoring script, described test request is sent to operation system, tests according to described test request to make described operation system;
Wherein, the basic parameter that described operation system is run is previously provided with in described basic script;
Alarm module 43, for receiving the test result that described operation system sends, when described test result is different from described test oracle result parameter value, then trigger alerts, and indicate sending module 42 that alarm notification is sent to alarm recipient.
Preferably, alarm module 43, specifically for: if the described test result number of times different from described test oracle result parameter value meets the described alarm conditions of setting, then trigger alerts.
Preferably, alarm module 43, specifically for:
Different notification process is set for different advice methods; Alarm notification described in each notification process transmitted in parallel; Described different advice method comprise following at least one: mail notification mode, SMS notification mode, verbal announcement mode, vibration informing mode.
Preferably, alarm module 43, also for:
In described terminal, create monitoring guarantee process, described guarantee process for monitoring the running status of described terminal, to guarantee that described terminal finishing service is monitored.
Preferably, alarm module 43, also for:
Preserve described business monitoring script, so that each business monitoring script calling preservation according to pre-defined rule generates new business monitoring script.
In sum, the method of the monitoring operation system that the embodiment of the present invention provides and terminal, first, the test data of setting is received by terminal, on the basic script of terminal, business monitoring script is generated based on test data, generate test request according to business monitoring script, test request is sent to operation system, tests according to described test request to make operation system; Then, terminal receives the test result that operation system sends, if the number of times that test result is different from test oracle result parameter value meets the alarm conditions of setting, then trigger alerts, and alarm notification is sent to alarm recipient,, generate business detection script by terminal and automatically trigger test request, reducing participation and the workload of operation personnel; Also can be sent by wireless communication networks because terminal sends test request by cable network, more guarantees can be provided for terminal starts monitoring; By the alarm recipient of terminal profile, can ensure and inform operation personnel and developer simultaneously, improve the promptness of warning; Therefore, not only do not need when monitoring operation system operation personnel to pay close attention to operation platform system in real time, and also improve the accuracy of warning while having saved human cost.In addition, alarm mode covers more comprehensively, can mail, note, voice, remind and send alarm notification, particularly voice, note also can by transmission alarm notification to alarm recipient by wireless network or mobile data network, receive to make alarm and can receive warning information in the very first time and can repair operation system according to warning information, therefore, energy Timeliness coverage before operation system performance index are about to exceed warning value, or the very first time after operation system occurs extremely learns, take appropriate measures, thus by operation system because the abnormal loss caused drops to minimum.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. monitor a method for operation system, it is characterized in that, the method comprises:
Terminal receives the test data of setting, and described test data at least comprises: test parameter and test parameter value, test oracle result parameter and test oracle result parameter value;
On the basic script of described terminal, generate business monitoring script based on described test data, generate test request according to described business monitoring script, described test request is sent to operation system, tests according to described test request to make described operation system;
Wherein, the basic parameter that described operation system is run is previously provided with in described basic script;
Receive the test result that described operation system sends, if described test result is different from described test oracle result parameter value, then trigger alerts, and alarm notification is sent to alarm recipient.
2. the method for claim 1, is characterized in that, if described test result is different from described test oracle result parameter value, then trigger alerts, also comprises:
Described test data also comprises: alarm conditions;
If the number of times that described test result is different from described test oracle result parameter value meets the described alarm conditions of setting, then trigger alerts.
3. the method for claim 1, is characterized in that, describedly alarm notification is sent to described alarm recipient, comprising:
Different notification process is set for different advice methods; Alarm notification described in each notification process transmitted in parallel; Described different advice method comprise following at least one: mail notification mode, SMS notification mode, verbal announcement mode, vibration informing mode.
4. the method for claim 1, is characterized in that, also comprises: in described terminal, create monitoring guarantee process, and described monitoring ensures that process is for monitoring the running status of described terminal, to guarantee that described terminal finishing service is monitored.
5. method as claimed in claim 4, is characterized in that, also comprise:
Preserve described business monitoring script, so that each business monitoring script calling preservation according to pre-defined rule generates new business monitoring script.
6. a terminal, is characterized in that, this terminal comprises: receiver module, sending module and alarm module;
Described receiver module, for receiving the test data of setting, described test data at least comprises: test parameter and test parameter value, test oracle result parameter and test oracle result parameter value;
Described sending module, for generating business monitoring script on the basic script of described terminal based on described test data, generate test request according to described business monitoring script, described test request is sent to operation system, tests according to described test request to make described operation system;
Wherein, the basic parameter that described operation system is run is previously provided with in described basic script;
Described alarm module, for receiving the test result that described operation system sends, when described test result is different from described test oracle result parameter value, then trigger alerts, and indicate sending module that alarm notification is sent to alarm recipient.
7. terminal as claimed in claim 6, is characterized in that, described alarm module, specifically for: if the described test result number of times different from described test oracle result parameter value meets the described alarm conditions of setting, then trigger alerts.
8. terminal as claimed in claim 6, is characterized in that, described alarm module, specifically for:
Different notification process is set for different advice methods; Alarm notification described in each notification process transmitted in parallel; Described different advice method comprise following at least one: mail notification mode, SMS notification mode, verbal announcement mode, vibration informing mode.
9. terminal as claimed in claim 6, is characterized in that, described alarm module, also for:
In described terminal, create monitoring guarantee process, described guarantee process for monitoring the running status of described terminal, to guarantee that described terminal finishing service is monitored.
10. terminal as claimed in claim 9, is characterized in that, described alarm module, also for:
Preserve described business monitoring script, so that each business monitoring script calling preservation according to pre-defined rule generates new business monitoring script.
CN201410806508.0A 2014-12-19 2014-12-19 A kind of method and terminal for monitoring operation system Active CN104581806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410806508.0A CN104581806B (en) 2014-12-19 2014-12-19 A kind of method and terminal for monitoring operation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410806508.0A CN104581806B (en) 2014-12-19 2014-12-19 A kind of method and terminal for monitoring operation system

Publications (2)

Publication Number Publication Date
CN104581806A true CN104581806A (en) 2015-04-29
CN104581806B CN104581806B (en) 2018-05-18

Family

ID=53096782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410806508.0A Active CN104581806B (en) 2014-12-19 2014-12-19 A kind of method and terminal for monitoring operation system

Country Status (1)

Country Link
CN (1) CN104581806B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161443A (en) * 2016-06-29 2016-11-23 网易(杭州)网络有限公司 A kind of monitoring method and device of game service
CN107402862A (en) * 2016-03-17 2017-11-28 阿里巴巴集团控股有限公司 For realizing the method and apparatus of resource layout in client
CN107944575A (en) * 2017-11-28 2018-04-20 佛山中科芯蔚科技有限公司 A kind of monitoring method and system of software registration code management program operating status
CN109600250A (en) * 2018-09-29 2019-04-09 中国平安人寿保险股份有限公司 Operation system failure notification method, device, electronic device and storage medium
CN112286792A (en) * 2020-09-27 2021-01-29 长沙市到家悠享网络科技有限公司 Interface testing method, device, equipment and storage medium
CN114860617A (en) * 2022-07-06 2022-08-05 上海金仕达软件科技有限公司 Intelligent pressure testing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6195795B1 (en) * 1997-12-19 2001-02-27 Alcatel Usa Sourcing, L.P. Apparatus and method for automatic software release notification
CN102833125A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Test server, test system adopting test server, and test method
CN103795580A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Data monitoring method, system and related equipment
CN103902429A (en) * 2012-12-26 2014-07-02 北京新媒传信科技有限公司 Early warning method, sever and system in automated test
CN104065526A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Server fault alarming method and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6195795B1 (en) * 1997-12-19 2001-02-27 Alcatel Usa Sourcing, L.P. Apparatus and method for automatic software release notification
CN102833125A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Test server, test system adopting test server, and test method
CN103795580A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Data monitoring method, system and related equipment
CN103902429A (en) * 2012-12-26 2014-07-02 北京新媒传信科技有限公司 Early warning method, sever and system in automated test
CN104065526A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Server fault alarming method and device thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402862A (en) * 2016-03-17 2017-11-28 阿里巴巴集团控股有限公司 For realizing the method and apparatus of resource layout in client
CN106161443A (en) * 2016-06-29 2016-11-23 网易(杭州)网络有限公司 A kind of monitoring method and device of game service
CN107944575A (en) * 2017-11-28 2018-04-20 佛山中科芯蔚科技有限公司 A kind of monitoring method and system of software registration code management program operating status
CN109600250A (en) * 2018-09-29 2019-04-09 中国平安人寿保险股份有限公司 Operation system failure notification method, device, electronic device and storage medium
CN109600250B (en) * 2018-09-29 2023-07-18 中国平安人寿保险股份有限公司 Service system fault notification method, device, electronic device and storage medium
CN112286792A (en) * 2020-09-27 2021-01-29 长沙市到家悠享网络科技有限公司 Interface testing method, device, equipment and storage medium
CN114860617A (en) * 2022-07-06 2022-08-05 上海金仕达软件科技有限公司 Intelligent pressure testing method and system
CN114860617B (en) * 2022-07-06 2022-09-30 上海金仕达软件科技有限公司 Intelligent pressure testing method and system

Also Published As

Publication number Publication date
CN104581806B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN104581806A (en) Method and terminal for monitoring service system
CN102821084B (en) Method for identifying open platform, open platform and open system
CN110096408A (en) Alarm-monitor method, apparatus, electronic equipment and computer readable storage medium
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
US9071551B2 (en) Mobile trouble ticket
CN102196373A (en) Short message alarm system and short message alarm method
CN108932157B (en) Method, system, electronic device and readable medium for distributed processing of tasks
CN108415811B (en) Method and device for monitoring business logic
KR102168212B1 (en) Apparatus and method for application log data processing
CN104572318A (en) Report information obtaining method, device, equipment and system
CA2862046C (en) Method and device for prompting program uninstallation
CN105072139A (en) Recommendation method and recommendation device
CN107168844B (en) Performance monitoring method and device
CN105988886B (en) Fault handling method and device during a kind of O&M
CN112565062B (en) Processing method, related device, equipment and medium of instant messaging order
CN104038368B (en) Device alarm full-data notification system and method for electric-power communication network
CN105430623A (en) Monitoring method, device and system for RCS junk message
CN112116511A (en) State monitoring method and device for urban rail transit system
CN109587197A (en) It is associated with the methods, devices and systems of reported data
CN103634348A (en) Terminal device and method for releasing information
CN102917008B (en) A kind of mobile terminal monitored method based on Android platform
CN105516394B (en) Dns address management method and terminal
CN115410580A (en) Voice recognition method, device, equipment and medium for command scheduling system
CN105446803A (en) Application management method and apparatus
CN109726526B (en) Equipment authorization condition alarm management device and method for alarming based on equipment authorization condition

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