CN104518903B - Business method for inspecting, system and device on line - Google Patents

Business method for inspecting, system and device on line Download PDF

Info

Publication number
CN104518903B
CN104518903B CN201310461624.9A CN201310461624A CN104518903B CN 104518903 B CN104518903 B CN 104518903B CN 201310461624 A CN201310461624 A CN 201310461624A CN 104518903 B CN104518903 B CN 104518903B
Authority
CN
China
Prior art keywords
inspection
business
configuration file
item program
inspection item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310461624.9A
Other languages
Chinese (zh)
Other versions
CN104518903A (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201310461624.9A priority Critical patent/CN104518903B/en
Priority to PCT/CN2014/086773 priority patent/WO2015043407A1/en
Publication of CN104518903A publication Critical patent/CN104518903A/en
Application granted granted Critical
Publication of CN104518903B publication Critical patent/CN104518903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5032Generating service level reports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention proposes business method for inspecting, system and device on a kind of line, wherein method includes: to affix one's name to business inspection agency in the middle part of each business machine for needing to carry out business inspection in advance, for business inspection agency according to the downloading of preset inspection update cycle and more new business inspection configuration file and inspection item program, the business inspection configuration file includes the polling period of each inspection item program;Business inspection, which is acted on behalf of, runs the inspection item program locally saved according to the polling period of each inspection item program.The present invention can guarantee to carry out business inspection effectively in real time, facilitate operation maintenance.

Description

Business method for inspecting, system and device on line
Technical field
The present invention relates to business method for inspecting, system and devices in cruising inspection system technical field more particularly to a kind of line.
Background technique
Existing cruising inspection system generally uses the following two kinds routine inspection mode:
The first, concentrates scanning mode.Inspection item program is periodically pushed to business machine, management by a management machine Machinery remote executes inspection item program, and fetches the implementing result of inspection item program.
Second, Crontab driving method.Inspection item program is added to system Crontab i.e. on business machine, by System Crontab, which periodically drives, executes inspection item program, then reports the implementing result of inspection item program.
There are the following problems for above two mode:
First, for concentration scanning mode: whole process needs to issue inspection item program, and remotely executes instruction, herein It usually will appear other situations in the process, such as password mistake, network delay cause remotely to execute order failure;And it entirely sweeps Retouch that process steps are more, it is inadequate so as to cause the execution time accuracy of inspection item program.
Second, for Crontab driving method: the process of addition inspection item program is cumbersome, and adds inspection item program Some risks may also be brought;System Crontab is possible to abend work and leads to business inspection unsuccessfully etc.;This mode is not It is enough flexible, it has not been convenient to operation maintenance.
Third, for above two mode: the update of inspection item program is relatively complicated.If any the inspection of a collection of business machine When item program needs update to arrive new version, more new business inspection item program hand-manipulated is needed, is asked if any network problem or machine Topic etc. do not updated at that time, it is also necessary to the problems such as solve and then secondary craft be updated.
Summary of the invention
The present invention provides business method for inspecting on a kind of line, can guarantee to carry out business inspection effectively in real time, it is convenient Operation maintenance.
The present invention also provides business cruising inspection system on a kind of line and a kind of business for realizing business inspection on line Inspection agency, parameter server and state server can guarantee to carry out business inspection effectively in real time, facilitate operation maintenance.
The technical scheme of the present invention is realized as follows:
Business method for inspecting on a kind of line is affixed one's name to business in advance in the middle part of each business machine for needing to carry out business inspection and is patrolled Inspection agency, which comprises
Business inspection agency is according to the downloading of preset inspection update cycle and more new business inspection configuration file and patrols Item program is examined, the business inspection configuration file includes the polling period of each inspection item program;
Business inspection, which is acted on behalf of, runs the inspection item program locally saved according to the polling period of each inspection item program.
In the above method, business inspection is acted on behalf of from parameter server downloading service inspection configuration file and inspection item program; The business inspection configuration file is automatically generated by parameter server according to the patrol strategy being manually entered, the inspection item program By manually uploading or passing through online editing.
The above method may further include: business inspection agency is according to preset heartbeat report cycle by kiosk The heartbeat message of device reports to state server;
State server is directed to each business machine, judges that current time received business machine heartbeat message apart from last time Whether time interval is greater than preset threshold value, if it is, whether inquire the business machine offline, if not offline, Then provide the warning information for the business machine;If offline, the parameter server is notified to delete for the industry The business inspection configuration file and inspection item program of business machine.
Business cruising inspection system on a kind of line, including parameter server and be deployed in more than one business machine one with Upper business inspection agency;Wherein,
Business inspection is acted on behalf of for downloading and updating from the parameter server according to the preset inspection update cycle Business inspection configuration file and inspection item program, the business inspection configuration file include the inspection week of each inspection item program Phase;It is also used to run the inspection item program locally saved according to the polling period of each inspection item program.
In above system, parameter server is used for, and receives the patrol strategy being manually entered, and generates needle according to the patrol strategy To the business inspection configuration file of each business machine;It is also used to receive the artificial inspection Xiang Cheng for uploading or passing through online editing Sequence.
Above system can also include state server;
Business inspection agency is also used to, and reports the heartbeat message of business machine according to preset heartbeat report cycle To state server;
State server is used for, and for each business machine, judges that current time received business machine heartbeat apart from last time Whether the time interval of message is greater than preset threshold value, if it is, whether offline, if not if inquiring the business machine It is offline, then provide the warning information for the business machine;If offline, the parameter server is notified to delete for institute State the business inspection configuration file and inspection item program of business machine.
A kind of business inspection agency for realizing business inspection on line, the business inspection agency, which is deployed in, to need to carry out In the business machine of business inspection, comprising:
Download module, for according to the downloading of preset inspection update cycle and more new business inspection configuration file and patrolling Item program is examined, the business inspection configuration file includes the polling period of each inspection item program;
Inspection execution module, for running the inspection Xiang Cheng locally saved according to the polling period of each inspection item program Sequence.
Above-mentioned business inspection agency may further include: heartbeat reporting module, for according to preset heartbeat Report the heartbeat message of periodic report business machine.
A kind of parameter server for realizing business inspection on line, comprising:
Web centralized management interface module, for receiving the patrol strategy being manually entered;
Parameter generation module, for generating the business inspection configuration text for each business machine according to the patrol strategy Part, the business inspection configuration file include the polling period of each inspection item program;It is also used to receive artificial upload or logical Cross the inspection item program of online editing.
Above-mentioned parameter generation module can be also used for, and when the offline notice of the business machine of receiving, deletes to be directed to and be somebody's turn to do The business inspection configuration file and inspection item program of business machine.
A kind of state server for realizing business inspection on line, comprising:
Heartbeat receiving module, for receiving the heartbeat message of each business machine, for each business machine, judgement is current Whether the time interval that time gap last time receives business machine heartbeat message is greater than preset threshold value, if it is, logical Know processing module;
Processing module, whether for the notice according to the heartbeat receiving module, it is offline to inquire the business machine, if It is not offline, then provide the warning information for the business machine;If offline, notify to delete for the business machine Business inspection configuration file and inspection item program.
As it can be seen that business method for inspecting, system and device on line proposed by the present invention, it being capable of dynamic real-time update inspection Xiang Cheng Sequence avoids remotely executing inspection item program, and avoids Crontab bring risks of modification system, can guarantee in real time Business inspection is effectively performed, facilitates operation maintenance.
Detailed description of the invention
Fig. 1 is business method for inspecting implementation flow chart on line proposed by the present invention;
Fig. 2 is system structure diagram applied by the present invention;
Fig. 3 is the implementation flow chart that business inspection is acted on behalf of single download and updated in the embodiment of the present invention two;
Fig. 4 is the operational flow diagram of state server in the embodiment of the present invention three;
Fig. 5 is that the present invention proposes to realize the business inspection proxy construction schematic diagram of business inspection on line;
Fig. 6 is that the present invention proposes to realize the parameter server structural schematic diagram of business inspection on line;
Fig. 7 is that the present invention proposes to realize the state server structural schematic diagram of business inspection on line.
Specific embodiment
The present invention proposes business method for inspecting on a kind of line, and this method is in advance in each business for needing to carry out business inspection Business inspection agency is disposed in machine, if Fig. 1 is this method implementation flow chart, comprising:
Step 101: business inspection agency is according to the downloading of preset inspection update cycle and more new business inspection configures File and inspection item program, the business inspection configuration file include the polling period of each inspection item program;
Step 102: business inspection, which is acted on behalf of, runs the inspection item locally saved according to the polling period of each inspection item program Program.
In above-mentioned steps 101, the side of business inspection agency downloading and more new business inspection configuration file and inspection item program Formula can be with are as follows:
Business inspection agency downloading and more new business inspection configuration file, judge whether the business inspection configuration file relates to And the local inspection item program not saved, if it is, downloading and saving the inspection item program;Otherwise terminate this downloading.
For example, when updating first time, business inspection agency downloads and the business inspection of preservation is matched according to the inspection update cycle Set file;The content of the business inspection configuration file are as follows: the every inspection in 10 minutes of inspection item program 1 is primary, inspection item program 2 every 15 Minute inspection is primary;Then business inspection agency further downloads and saves inspection item program involved in business inspection configuration file 1 and inspection item program 2.
When updating for second, business inspection agency downloads and saves the business inspection configuration file (business originally saved Inspection configuration file is automatically left out), the content of the business inspection configuration file are as follows: the every inspection one in 10 minutes of inspection item program 1 Secondary, the every inspection in 30 minutes of inspection item program 2 is primary;The inspection item program as involved in the business inspection configuration file is in local There is preservation, therefore terminates this downloading.
When n-th updates, business inspection agency downloads and saves business inspection configuration file (business originally saved is patrolled Inspection configuration file is automatically left out), the content of the business inspection configuration file are as follows: the every inspection in 10 minutes of inspection item program 1 is primary, The every inspection in 30 minutes of inspection item program 2 is primary, and the every inspection in 20 minutes of inspection item program 3 is primary;Since the business inspection configures text Inspection item program 3 involved in part is not saved locally, therefore is downloaded and saved inspection item program 3.
As it can be seen that repeated downloads inspection item program can be acted on behalf of using aforesaid way to avoid business inspection, reduce to transmission network It is born caused by network.
In the above method, business inspection configuration file can also be instructed comprising the deletion for inspection item program;
After downloading service inspection configuration file is acted on behalf of in business inspection, can further according to it includes be directed to inspection item The inspection item program locally saved is deleted in the deletion instruction of program.
In this way, it avoids manual entry business machine and deletes its inspection item program, operation personnel only needs unification Management pulls industry by business machine for the business inspection configuration file and inspection item program of all business machines in system automatically Business inspection configuration file and inspection item program, the business machine of ensure that is available at any time to arrive newest inspection Xiang Cheng Sequence.
In the above method, business inspection agency can be from parameter server downloading service inspection configuration file and inspection Xiang Cheng Sequence;Wherein, business inspection configuration file is automatically generated by parameter server according to the patrol strategy being manually entered, inspection item program By manually uploading or passing through online editing.
The above method may further include: business inspection agency is according to preset heartbeat report cycle by kiosk The heartbeat message of device reports to state server;
State server is directed to each business machine, judges that current time received business machine heartbeat message apart from last time Whether time interval is greater than preset threshold value, if it is, whether inquire the business machine offline, if not offline, Then provide the warning information for the business machine;If offline, the parameter server is notified to delete for the industry The business inspection configuration file and inspection item program of business machine.
In this way, for offline business machine, system can be automatically deleted the industry on parameter server Be engaged in the business inspection configuration file and inspection item program of machine, though the kiosk think highly of it is new online for other business, industry Business inspection configuration file and inspection item program are also no longer valid.
If Fig. 2 is system structure diagram applied by the present invention, comprising: be respectively deployed in business machine 1, business machine 2 ..., the business inspection agency 1 in business machine n, business inspection agency 2 ..., business inspection act on behalf of n, parameter clothes Business device and state server.Specific embodiment is lifted below, introduces each entity in the system respectively.
Embodiment one:
The present embodiment introduces the method for operation of parameter server.
It in the present embodiment, can be on parameter server to the business machine inspection configuration strategy for needing business inspection. The patrol strategy is mainly the behavior such as rule of operation of customized inspection item program, the polling period of parameter, inspection item program (rule same Crontab), and to specify other relevant some attributes such as inspection type (alarm class reports class), the service that reports The IP address etc. of device.Parameter server generates the business inspection configuration file for being directed to each business machine according to the patrol strategy.
Business inspection configuration file may include the polling period of each inspection item program, the following is a business inspection and matches File example is set, indicates to execute within inspection item program MonTcpCons.sh every 10 minutes primary, inspection item program getcpm.sh It executes within every 10 minutes primary.
*/10****/data/app/MonTcpCons.sh[1000]alarm
*/10****/data/app/getcpm.sh[124]post
In addition, business inspection configuration file can also be instructed comprising the deletion for inspection item program.
Inspection item program may include specific business inspection content, such as monitors maximum number of connections, reports online user number Deng;It can be binary program or script.
In the present embodiment, user can be with online editing inspection item program or the preprepared inspection Xiang Cheng of upload Sequence.
On parameter server, patrol strategy can be added and be modified at any time, not interfere with business inspection generation The operation of reason.
In addition, parameter server can also delete the business for being directed to some business machine according to the notice of state server Inspection configuration file and inspection item program.
Embodiment two:
The present embodiment introduces the method for operation of business inspection agency.
Business inspection agency is affixed one's name in the middle part of each business machine for needing to carry out business inspection in advance, business inspection agency can To be disposed by automatically dispose platform, run in back way on business machine, business inspection agency can be two into Processing procedure sequence or script are also possible to Daemon background process.Business inspection agency is a class Crontab system, circulation Following process: downloading newest business inspection configuration file and inspection item program, business inspection configuration file is read, in inspection item The monitoring time point of program runs inspection item program;Meanwhile heartbeat message is reported according to heartbeat report cycle is preset.
Business inspection agency is based on plug-in type, and inspection project can configure at any time, business inspection configuration file and Inspection item program is actively downloaded from parameter server.
Business inspection agency obtains from parameter server according to the preset inspection update cycle and updates business machine Newest business inspection configuration file and inspection item program.The inspection update cycle is configurable, is such as updated within 10 minutes primary.It obtains Taking behavior is the internal connection mechanism realized, such as TCP, UDP, long connection and short connection.Http- is used in the present embodiment Get mode;Business inspection agency is convenient to obtain file by the system commands mode such as wget or curl.According to local guarantor The business inspection configuration file and inspection item program deposited, business inspection agency's operation inspection item program.Meanwhile business inspection is acted on behalf of The heartbeat message of business machine, heartbeat report cycle need to be also reported to state server according to preset heartbeat report cycle It is configurable.Heartbeat message is reported using http-post mode in the present embodiment.
If Fig. 3 is that single download and more new business inspection configuration file and inspection Xiang Cheng are acted on behalf of in business inspection in embodiment two The implementation flow chart of sequence, comprising:
Step 301: the business inspection configuration file that business machine is downloaded and saved from parameter server is acted on behalf of in business inspection, And the business inspection configuration file locally saved before deleting;
Step 302: whether business inspection agency judges in the business inspection configuration file of this downloading comprising for inspection The deletion instruction of item program, if comprising deleting the inspection item program locally saved;Otherwise, step 303 is executed;
Step 303: business inspection agency judges whether the business inspection configuration file of this downloading is related to not protecting locally The inspection item program deposited;If be related to, is downloaded from parameter server and save the inspection item program.Here, so-called to be related to Certain inspection item program refers in business inspection configuration file comprising the polling period for the inspection item program.
The implementation process acting on behalf of single download the above are business inspection and updating.Business inspection is acted on behalf of according to preset The inspection update cycle, periodically carry out above-mentioned steps 301 to 303.Due to business inspection, agency periodically downloads and updates, Therefore, when generating the business inspection configuration file and inspection item program of latest edition in parameter server, business inspection agency Can newest version be downloaded from server automatically.
In addition, due to may include the deletion instruction for inspection item program, business inspection in business inspection configuration file After agency automatically updates business inspection configuration file, it is able to carry out deletion instruction, is automatically deleted invalid inspection item program.It can See, this mode for deleting inspection item program need to only generate deletion without registering service machine one by one in parameter server Instruction.This method can delete one or more inspection item program simultaneously.
Using the business inspection configuration file and inspection item program locally saved, business inspection agency can be executed to business The inspection of machine, concrete mode are as follows: according to the polling period for each inspection item program for including in business inspection configuration file, with Background mode runs inspection item program.Inspection item program can automatically report operation result, specifically, for alerting class Inspection item program, warning information can be reported into warning system when being more than specified threshold values;For reporting the inspection of class Item program, can report to visualization system for numerical value;It waits.
Business inspection agency can also report business machine to state server according to preset heartbeat report cycle Heartbeat message.
Embodiment three:
The present embodiment introduces the method for operation of state server.
Such as the operational flow diagram that Fig. 4 is state server in embodiment three, comprising:
Step 401: being directed to each business machine, state server judges that current time received the business machine heart apart from last time Whether the time interval for jumping message is greater than preset threshold value, if it is greater, then executing step 402.
Step 402: whether state server inquires the business machine offline, if offline, thens follow the steps 403; If not offline, 404 are thened follow the steps.Here, state server can in configuration system inquiry business machine state.
Step 403: state server notifying parameters server deletes the business inspection configuration file for being directed to the business machine And inspection item program, terminate current process.
Step 404: state server provides the warning information for the business machine, can be by alarm information noticing correlation Responsible person.
The present invention also proposes business cruising inspection system on a kind of line, including parameter server and is deployed in more than one kiosk More than one business inspection agency in device;Wherein,
Business inspection agency for according to the preset inspection update cycle from parameter server download and more new business Inspection configuration file and inspection item program, the business inspection configuration file include the polling period of each inspection item program;Also For running the inspection item program locally saved according to the polling period of each inspection item program.
In above system, business inspection agency downloads and the mode of more new business inspection configuration file and inspection item program can With are as follows: downloading and more new business inspection configuration file judge whether the business inspection configuration file is related to not saving locally Inspection item program, if it is, downloading and saving the inspection item program;Otherwise terminate this downloading.
In above system, business inspection configuration file can also be instructed comprising the deletion for inspection item program;
Correspondingly, business inspection agency can be also used for, after downloading service inspection configuration file, further according to it The inspection item program locally saved is deleted in the deletion instruction for inspection item program for including.
In above system, parameter server is used for, and receives the patrol strategy being manually entered, and generates needle according to the patrol strategy To the business inspection configuration file of each business machine;It is also used to receive the artificial inspection Xiang Cheng for uploading or passing through online editing Sequence.
Above system can also include state server;
Business inspection agency is also used to, and reports the heartbeat message of business machine according to preset heartbeat report cycle To state server;
State server is used for, and for each business machine, judges that current time received business machine heartbeat apart from last time Whether the time interval of message is greater than preset threshold value, if it is, whether offline, if not if inquiring the business machine It is offline, then provide the warning information for the business machine;If offline, notifying parameters server, which is deleted, is directed to the business The business inspection configuration file and inspection item program of machine.
The present invention also proposes that a kind of business inspection for realizing business inspection on line is acted on behalf of, business inspection agency's deployment In the business machine for needing to carry out business inspection, if Fig. 5 is the structural schematic diagram that the business inspection is acted on behalf of, comprising:
Download module 501, for according to the downloading of preset inspection update cycle and more new business inspection configuration file And inspection item program, the business inspection configuration file include the polling period of each inspection item program;
Inspection execution module 502, for running the inspection item locally saved according to the polling period of each inspection item program Program.
In above-mentioned business inspection agency, the downloading of download module 501 and more new business inspection configuration file and inspection item program Mode can be with are as follows: download and more new business inspection configuration file, judge whether the business inspection configuration file is related to local The inspection item program not saved, if it is, downloading and saving the inspection item program;Otherwise terminate this downloading.
In above-mentioned business inspection agency, business inspection configuration file can also refer to comprising the deletion for inspection item program It enables;
Download module is also used to, after downloading service inspection configuration file, according to it includes for inspection item program It deletes instruction and deletes the inspection item program locally saved.
Above-mentioned business inspection agency may further include:
Heartbeat reporting module 503, for reporting the heartbeat message of business machine according to preset heartbeat report cycle.
The present invention also proposes a kind of parameter server for realizing business inspection on line, if Fig. 6 is the parameter server Structural schematic diagram, comprising:
Web centralized management interface module 601, for receiving the patrol strategy being manually entered;
Parameter generation module 602, for being matched according to patrol strategy generation for the business inspection of each business machine File is set, the business inspection configuration file includes the polling period of each inspection item program;Be also used to receive it is artificial upload or Person passes through the inspection item program of online editing.
Above-mentioned business inspection configuration file can also be instructed comprising the deletion for inspection item program.
Above-mentioned parameter generation module 602 can be also used for, and when the offline notice of the business machine of receiving, deletion is directed to The business inspection configuration file and inspection item program of the business machine.
The present invention also proposes a kind of state server for realizing business inspection on line, if Fig. 7 is the state server Structural schematic diagram, comprising:
Heartbeat receiving module 701, for receiving the heartbeat message of each business machine, for each business machine, judgement Whether current time is greater than preset threshold value apart from the time interval that last time receives business machine heartbeat message, if so, Then notification processing module 702;
Processing module 702, for the notice according to the heartbeat receiving module 701, inquire the business machine whether under Line provides the warning information for the business machine if not offline;If offline, notify to delete for the industry The business inspection configuration file and inspection item program of business machine.
To sum up, business method for inspecting, system and device do not use system Crontab on line proposed by the present invention, subtract System Crontab bring risk of modification is lacked and its there may be the risks of scheduling failure.Business inspection agency is using slotting Part formula, inspection project and its attribute can dynamic realtime configurations.Business inspection configuration file and inspection item program are using centralization pipe Reason, What You See Is What You Get, polling period can be changed at any time.Inspection item may be implemented to automatically update, and be not necessarily to manual intervention, it is only necessary to will Business inspection configuration file and inspection item program are issued to parameter server, alleviate the work of operation personnel.Business machine is certainly It is dynamic to pull business inspection configuration file and inspection item program, it ensure that the whenever available newest inspection of kiosk device , be included in kiosk think highly of open after can also get newest file.The auto-destruct of inspection item program, nothing may be implemented It needs manual entry business machine to delete its inspection item, only need to do delete operation in parameter server.For offline Business machine, system can be automatically deleted business inspection configuration file and inspection item program on parameter server, even if the machine Think highly of new online for other business, the inspection item is also no longer valid.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. business method for inspecting on a kind of line, which is characterized in that in advance in each business machine for needing to carry out business inspection Deployment business inspection agency, which comprises
Business inspection agency is according to the downloading of preset inspection update cycle and more new business inspection configuration file and inspection item Program, the business inspection configuration file include the polling period of each inspection item program;Wherein, business inspection agency downloads simultaneously More new business inspection configuration file, if the business inspection configuration file is related to the local inspection item program not saved, It downloads and saves the inspection item program;If the business inspection configuration file is not related to the local inspection item program not saved When, then terminate this downloading;
Business inspection, which is acted on behalf of, runs the inspection item program locally saved according to the polling period of each inspection item program.
2. the method according to claim 1, wherein the business inspection is acted on behalf of from parameter server downloading service Inspection configuration file and inspection item program;The business inspection configuration file is by parameter server according to the inspection plan being manually entered It slightly automatically generates, the inspection item program is by manually uploading or passing through online editing.
3. according to the method described in claim 2, it is characterized in that, the method further includes: business inspection agency according to The heartbeat message of business machine is reported to state server by preset heartbeat report cycle;
State server is directed to each business machine, judges that current time received the time of business machine heartbeat message apart from last time Whether interval is greater than preset threshold value, if it is, whether inquire the business machine offline, if not offline, gives It is directed to the warning information of the business machine out;If offline, the parameter server is notified to delete for the kiosk The business inspection configuration file and inspection item program of device.
4. business cruising inspection system on a kind of line, which is characterized in that the system comprises parameter server and be deployed in more than one More than one business inspection agency in business machine;Wherein,
The business inspection agency is for downloading and updating from the parameter server according to the preset inspection update cycle Business inspection configuration file and inspection item program, the business inspection configuration file include the inspection week of each inspection item program Phase;Wherein, business inspection agency downloading and more new business inspection configuration file, if the business inspection configuration file is related to this When the inspection item program that ground does not save, downloads and save the inspection item program;If the business inspection configuration file does not relate to And when the local inspection item program not saved, then terminate this downloading;It is also used to the inspection week according to each inspection item program Phase runs the inspection item program locally saved.
5. system according to claim 4, which is characterized in that the parameter server is used for, and receives patrolling of being manually entered Inspection strategy, the business inspection configuration file for being directed to each business machine is generated according to the patrol strategy;It is also used to receive on artificial The inspection item program for passing or passing through online editing.
6. system according to claim 5, which is characterized in that the system also includes state servers;
The business inspection agency is also used to, and reports the heartbeat message of business machine according to preset heartbeat report cycle To state server;
The state server is used for, and for each business machine, judges that current time received business machine heartbeat apart from last time Whether the time interval of message is greater than preset threshold value, if it is, whether offline, if not if inquiring the business machine It is offline, then provide the warning information for the business machine;If offline, the parameter server is notified to delete for institute State the business inspection configuration file and inspection item program of business machine.
7. a kind of business inspection for realizing business inspection on line is acted on behalf of, the business inspection agency, which is deployed in, to need to carry out industry It is engaged in the business machine of inspection, which is characterized in that the business inspection, which is acted on behalf of, includes:
Download module, for according to the downloading of preset inspection update cycle and more new business inspection configuration file and inspection item Program, the business inspection configuration file include the polling period of each inspection item program;Wherein, the download module is downloaded simultaneously More new business inspection configuration file, if the business inspection configuration file is related to the local inspection item program not saved, It downloads and saves the inspection item program;If the business inspection configuration file is not related to the local inspection item program not saved When, then terminate this downloading;
Inspection execution module, for running the inspection item program locally saved according to the polling period of each inspection item program.
8. business inspection agency according to claim 7, which is characterized in that the business inspection agency further comprises:
Heartbeat reporting module, for reporting the heartbeat message of business machine according to preset heartbeat report cycle.
9. a kind of parameter server for realizing business inspection on line, which is characterized in that the parameter server includes:
Web centralized management interface module, for receiving the patrol strategy being manually entered;
Parameter generation module, for generating the business inspection configuration file for being directed to each business machine according to the patrol strategy, The business inspection configuration file includes the polling period of each inspection item program;Be also used to receive it is artificial upload or by The inspection item program of line editor, so that business inspection agency downloads according to the preset inspection update cycle and updates the industry Business inspection configuration file and the inspection item program;Wherein, business inspection agency downloading and more new business inspection configuration file, such as When business inspection configuration file described in fruit is related to the local inspection item program not saved, downloads and save the inspection item program; If the business inspection configuration file is not related to the local inspection item program not saved, terminate this downloading.
10. parameter server according to claim 9, which is characterized in that the parameter generation module is also used to, and works as reception When to the offline notice of business machine, the business inspection configuration file and inspection item program for being directed to the business machine are deleted.
CN201310461624.9A 2013-09-30 2013-09-30 Business method for inspecting, system and device on line Active CN104518903B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310461624.9A CN104518903B (en) 2013-09-30 2013-09-30 Business method for inspecting, system and device on line
PCT/CN2014/086773 WO2015043407A1 (en) 2013-09-30 2014-09-18 Method, system, and apparatus for online service inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310461624.9A CN104518903B (en) 2013-09-30 2013-09-30 Business method for inspecting, system and device on line

Publications (2)

Publication Number Publication Date
CN104518903A CN104518903A (en) 2015-04-15
CN104518903B true CN104518903B (en) 2019-01-08

Family

ID=52742035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310461624.9A Active CN104518903B (en) 2013-09-30 2013-09-30 Business method for inspecting, system and device on line

Country Status (2)

Country Link
CN (1) CN104518903B (en)
WO (1) WO2015043407A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995024A (en) * 2017-10-30 2018-05-04 北京奇虎科技有限公司 A kind of device management method, device, server and storage medium
CN111491002B (en) * 2019-01-29 2023-12-05 杭州海康威视系统技术有限公司 Equipment inspection method, device, inspected equipment, inspection server and system
CN112241353B (en) * 2019-07-16 2023-10-13 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for checking running state
CN110960855B (en) * 2019-12-19 2023-07-11 米哈游科技(上海)有限公司 Communication protocol code updating method and device, electronic equipment and storage medium
CN111752637B (en) * 2020-06-23 2023-09-01 钥棠(厦门)网络科技有限公司 Multi-service inspection management method and device, computer equipment and storage medium
CN113176882A (en) * 2021-04-29 2021-07-27 广州嘉为科技有限公司 Method, system, equipment and medium for realizing rule checking code of application server
CN114356442B (en) * 2021-12-22 2024-02-13 中核武汉核电运行技术股份有限公司 Distributed system inspection system and method for nuclear power plant software operation and maintenance

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725699A (en) * 2004-07-20 2006-01-25 中兴通讯股份有限公司 Method for automatic detecting communication network
CN101043692A (en) * 2007-04-30 2007-09-26 华为技术有限公司 Patrol checking method and patrol checking server
CN102347965A (en) * 2010-07-30 2012-02-08 中国移动通信集团山西有限公司 Host inspection method and host inspection system
CN102999355A (en) * 2012-11-16 2013-03-27 福建联迪商用设备有限公司 Customer-side application software system managed by terminal management system
CN103118354A (en) * 2012-11-09 2013-05-22 福建联迪商用设备有限公司 Method and system of terminal automatic routing inspection and automatic downloading
CN103684900A (en) * 2012-09-19 2014-03-26 腾讯科技(深圳)有限公司 Business polling method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8626128B2 (en) * 2011-04-07 2014-01-07 Microsoft Corporation Enforcing device settings for mobile devices
CN1330207C (en) * 2005-07-29 2007-08-01 华为技术有限公司 Parameter allocating system and method for mobile station
CN1862576B (en) * 2005-08-19 2012-02-29 华为技术有限公司 Method for obtaining timing task carrying-out time
CN102404386A (en) * 2012-01-09 2012-04-04 无锡城市云计算中心有限公司 Method for ensuring high-reliability service of metadata server group of distributed file system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725699A (en) * 2004-07-20 2006-01-25 中兴通讯股份有限公司 Method for automatic detecting communication network
CN101043692A (en) * 2007-04-30 2007-09-26 华为技术有限公司 Patrol checking method and patrol checking server
CN102347965A (en) * 2010-07-30 2012-02-08 中国移动通信集团山西有限公司 Host inspection method and host inspection system
CN103684900A (en) * 2012-09-19 2014-03-26 腾讯科技(深圳)有限公司 Business polling method and system
CN103118354A (en) * 2012-11-09 2013-05-22 福建联迪商用设备有限公司 Method and system of terminal automatic routing inspection and automatic downloading
CN102999355A (en) * 2012-11-16 2013-03-27 福建联迪商用设备有限公司 Customer-side application software system managed by terminal management system

Also Published As

Publication number Publication date
WO2015043407A1 (en) 2015-04-02
CN104518903A (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN104518903B (en) Business method for inspecting, system and device on line
CN110928774B (en) Automatic test system based on node type
CN104731580B (en) Automation operational system and its implementation based on Karaf and ActiveMQ
CN106407076B (en) Software and hardware operation information monitoring method based on domestic CPU and operating system environment
CN107632918B (en) Monitoring system and method for computing storage equipment
CN101877618B (en) Monitoring method, server and system based on proxy-free mode
CN108737215A (en) A kind of method and apparatus of cloud data center Kubernetes clusters container health examination
WO2015180291A1 (en) Method and system for monitoring server cluster
CN113112086A (en) Intelligent production system based on edge calculation and identification analysis
JP2013058231A (en) Method executed by embedded device in apparatus, computer readable medium including instructions for execution by embedded device in apparatus, and embedded device in apparatus
WO2007003107A1 (en) Method and apparatus for carrying out a predetermined operation in a management device
CN107241229B (en) Service monitoring method and device based on interface testing tool
CN111052087B (en) Control system, information processing apparatus, and recording medium
EP3690561A1 (en) Method and system for 3d visually monitoring a building, and memorizer
CN104407959A (en) Application based monitoring method and monitoring device
CN110908674A (en) Automatic deployment method and device of application program
CN105787300B (en) A kind of method and system that control software uses
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN110704278A (en) Intelligent server management system and management method thereof
CN105117347A (en) Test data simulation method and system and automation test method and system
CN105577410A (en) Real-time terminal state refreshing method and apparatus thereof
CN104778120A (en) Comprehensive debugging method and system on basis of task types and equipment models
CN112567693A (en) Management model for network device performance measurement
CN114328699B (en) Operation and maintenance control system for industrial production line
Kotov et al. Hardware and information system for the recording of the working time of universal metal-working machines

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