Summary of the invention
Because the deficiency that prior art exists, the object of the present invention is to provide a kind of multiple terminals virus base synchronization maintenance method and system, the method and system send " super pipe order " by monitoring host computer to server, server by utilizing should " super pipe order " start pressure to the multiple terminals that are connected with server, to solve the low problem of virus base maintenance efficiency of multiple terminals.
For achieving the above object, the multiple terminals virus base synchronization maintenance method that the embodiment of the present invention provides comprises:
Monitoring host computer sends super pipe command execution message to server, and described super pipe command execution message comprises business function number and the request of super pipe command execution;
Server receives after super pipe command execution message, according to the business function of super pipe command execution message number, the request of super pipe command execution is transmitted to the first terminal of multi-terminal network;
First terminal is carried out super pipe order after receiving the request of super pipe command execution, and start-up mode is set to read and write mirror image pattern; First terminal is restarted to enter and virus base is synchronized to disk after operating system and starts mirror image;
Monitoring host computer sends super pipe order to server and closes message, and described super pipe order is closed message and comprised business function number and super pipe order turn-off request;
Server receives super pipe order and closes after message, and the business function number of closing message according to super pipe order will surpass pipe order turn-off request and be forwarded to first terminal;
First terminal is closed super pipe order after receiving super pipe order turn-off request, and start-up mode is set to read mirror image pattern;
Each terminal of multi-terminal network realizes virus base synchronous maintenance by reading described disk startup mirror image.
Preferably, monitoring host computer periodically or regularly sends super pipe command execution message to server.
Preferably, the start-up mode of described first terminal is set to read after mirror image pattern, each terminal of multi-terminal network creates write-back file separately, being used for recording virus base upgrading upgrades,: when a terminal of multi-terminal network is during as first terminal, restart after entering operating system virus base and write-back file synchronization are started to mirror image to disk at first terminal.
Preferably, monitoring host computer is connected to server and is sent super pipe command execution message or super pipe order is closed message by TCP, and server is connected and will be surpassed the request of pipe command execution or super pipe order turn-off request is transmitted to first terminal by TCP.
The present invention also provides the system of a kind of multiple terminals virus base synchronous maintenance.This system comprises: monitoring host computer, server and multi-terminal network, and multi-terminal network comprises first terminal, wherein:
Described monitoring host computer, for sending super pipe command execution message to server, described super pipe command execution message comprises business function number and the request of super pipe command execution; Send super pipe order to server and close message, described super pipe order is closed message and is comprised business function number and super pipe order turn-off request;
Described server, for receiving after super pipe command execution message, is transmitted to the request of super pipe command execution according to the business function of super pipe command execution message number the first terminal of multi-terminal network; Close after message receiving super pipe order, the business function number of closing message according to super pipe order will surpass pipe order turn-off request and be forwarded to first terminal;
Described first terminal, for carrying out super pipe order receiving after the request of super pipe command execution, first terminal start-up mode is set to read and write mirror image pattern, restarts to enter virus base to be synchronized to disk after operating system and to start mirror image; After super pipe order turn-off request, close super pipe order receiving, start-up mode is set to read mirror image pattern;
Each terminal of described multi-terminal network realizes virus base synchronous maintenance by reading described disk startup mirror image.
Preferably, monitoring host computer periodically or regularly sends super pipe command execution message to server.
Preferably, monitoring host computer is connected to server and is sent super pipe command execution message or super pipe order is closed message by TCP, and server is connected and will be surpassed the request of pipe command execution or super pipe order turn-off request is transmitted to first terminal by TCP.
The technical scheme that the embodiment of the present invention provides sends super pipe command execution request or turn-off request by server to the station terminal in multi-terminal network by monitoring host computer, this terminal is set to read and write mirror image pattern in the start-up mode that receives the super pipe order of execution self after the request of super pipe command execution, and after restarting, virus base is synchronized to disk start mirror image, this terminal is set to read mirror image pattern receiving the start-up mode of closing super pipe order self after super pipe order turn-off request, each terminal of multi-terminal network is started mirror image and is realized the synchronous maintenance of virus base by reading disk.Compared with prior art, the embodiment of the present invention is by controlling the execution and the start-up mode of closing to arrange certain terminal in multi-terminal network of super pipe order, after setting completes, each terminal of multi-terminal network only need to be from storing the synchronous maintenance that starts reading disk the terminal of mirror image and start mirror image and can complete virus base, which only need be carried out shirtsleeve operation on the station terminal in monitoring host computer and multi-terminal network, just the virus base of all terminals that can realize multi-terminal network is synchronous, has improved operating efficiency.In addition, because any station terminal in multi-terminal network all can be used as " first terminal ", when part terminal in multi-terminal network occurs that virus infections maybe can not use, monitoring host computer can be adjusted the receiving terminal of super pipe command request in good time, to can not affect the virus base updating maintenance of the other-end in this network, thereby improve the stability of whole multi-terminal network and the ability of antiviral threat.
Embodiment
Main thought of the present invention is to send super pipe command execution request or turn-off request by server to the station terminal in multi-terminal network by monitoring host computer, this terminal is set to read and write mirror image pattern in the start-up mode that receives the super pipe order of execution self after the request of super pipe command execution, and after restarting, virus base is synchronized to disk start mirror image, this terminal is set to read mirror image pattern receiving the start-up mode of closing super pipe order self after super pipe order turn-off request, each terminal of multi-terminal network is started mirror image and is realized the synchronous maintenance of virus base by reading disk, avoid thus carrying out when multi-terminal network virus base is safeguarded safeguarding that by platform the operating efficiency of bringing is low, and, can also improve the stability of whole multi-terminal network and the ability of antiviral threat.
In order to make those skilled in the art can further understand feature of the present invention and technology contents, below in conjunction with drawings and Examples, technical scheme of the present invention is described in detail.
As previously mentioned, the terminal quantity comprising in multi-terminal network is more, and the application scenarios difference of every station terminal, the problem occurring is different with the threat facing, network maintenance staff must safeguard by platform, will expend a large amount of time and efforts like this, and operating efficiency is low.For this reason, the invention provides the embodiment of the method for a kind of multiple terminals virus base synchronous maintenance.Referring to accompanying drawing 1, the method for the multiple terminals virus base synchronous maintenance that the present embodiment provides comprises:
Step S101: monitoring host computer sends super pipe command execution message to server, described super pipe command execution message comprises business function number and the request of super pipe command execution;
Monitoring host computer is a server of controlling multi-terminal network, and this server is operated by information manager within can being positioned at multi-terminal network; Also can realize the Long-distance Control to multi-terminal network by TCP connected mode.When the terminal quantity that multi-terminal network comprises more, can whole terminals be divided into multiple sub-networks according to preset standard, at this moment corresponding monitoring host computer can carry out corresponding partition of the level, and different monitoring host computers can be realized the virus base synchronous maintenance of multi-terminal network in different aspects.Super pipe order is positioned at the every station terminal on multi-terminal network, for the operation such as start-up mode of terminal is set.Terminal on multi-terminal network self can not automatically perform super pipe order, and need to wait until execution request or the turn-off request that monitoring host computer sends.Business function number in super pipe command execution message is mainly used in server identification terminal, selects " first terminal " according to the disposal ability of terminal.
Step S102: server receives after super pipe command execution message, is transmitted to the request of super pipe command execution according to the business function of super pipe command execution message number the first terminal of multi-terminal network;
Server is to be directly connected with the every station terminal on multi-terminal network, it can be known and in present networks, is connected with the Back ground Informations such as the disposal ability of how many terminals, terminal, this Back ground Information can regularly be reported to monitoring host computer, so that monitoring host computer is selected suitable " first terminal ".The selection of first terminal is carried out according to business function number, this business function number has been considered the factor such as Business Processing situation, traffic handing capacity of the each terminal in multi-terminal network, undertaken presetly by monitoring host computer place, the service conditions of the terminal of its place network that monitoring host computer also can report according to server generates.Server is forwarded to first terminal according to business function number to the super pipe command execution request in super pipe command execution message.
Step S103: first terminal is carried out super pipe order after receiving the request of super pipe command execution, and start-up mode is set to read and write mirror image pattern; First terminal is restarted to enter and virus base is synchronized to disk after operating system and starts mirror image;
First terminal receives and calls super pipe order after the request of super pipe command execution and carry out, be read-write mirror image pattern by carrying out the start-up mode of super pipe command set self, the read-write mirror image pattern has here shown not only readable disk startup mirror image of this terminal, also can carry out according to virus base update status the write operation of disk startup mirror image.Set up after start-up mode, carry out corresponding pattern after restarting first terminal, virus base is installed in operating system or is automatically upgraded virus base by killing soft Update function, then more capable rear virus base is write to disk and start mirror image.In some cases, disk is started to mirror image and carried out after rewriting may need again to start just coming into force, at this moment can carry out shutoff operation to again restart to first terminal.
Step S104: monitoring host computer sends super pipe order to server and closes message, described super pipe order is closed message and is comprised business function number and super pipe order turn-off request;
After first terminal completes start-up mode and arranges, also processing execution state of super pipe order, need to close, and, in order to prevent that disk from starting mirror image and occurring fortuitous event, also need that disk is started to the pattern of carrying out and rewrite.For realizing this object, monitoring host computer sends super pipe order to server and closes message, this super pipe order is closed message and is comprised super pipe command request and business function number, and business function herein number and the business function comprising in aforementioned super pipe command execution message are number corresponding.
Step S105: server receives super pipe order and closes after message, the business function number of closing message according to super pipe order will surpass pipe order turn-off request and be forwarded to first terminal;
Server receives super pipe order and closes after message, according to the similar processing mode of above-mentioned steps S102, will surpass pipe command request and be forwarded to first terminal.
Step S106: first terminal is closed super pipe order after receiving super pipe order turn-off request, and start-up mode is set to read mirror image pattern;
First terminal is closed super pipe order after receiving super pipe order turn-off request, in closing process, the start-up mode of first terminal is revised as and reads mirror image pattern.
Step S107: each terminal of multi-terminal network realizes virus base synchronous maintenance by reading described disk startup mirror image;
In multi-terminal network, comprise multiple terminals, other-end can be realized virus base synchronous maintenance by reading described disk startup mirror image in the time restarting.
The technical scheme that the present embodiment provides sends super pipe command execution request or turn-off request by server to the station terminal in multi-terminal network by monitoring host computer, this terminal is set to read and write mirror image pattern in the start-up mode that receives the super pipe order of execution self after the request of super pipe command execution, and after restarting, virus base is synchronized to disk start mirror image, this terminal is set to read mirror image pattern receiving the start-up mode of closing super pipe order self after super pipe order turn-off request, each terminal of multi-terminal network is started mirror image and is realized the synchronous maintenance of virus base by reading disk.Compared with prior art, the present embodiment is by controlling the execution and the start-up mode of closing to arrange certain terminal in multi-terminal network of super pipe order, after setting completes, each terminal of multi-terminal network only need to be from storing the synchronous maintenance that starts reading disk the terminal of mirror image and start mirror image and can complete virus base, which only need be carried out shirtsleeve operation on the station terminal in monitoring host computer and multi-terminal network, just the virus base of all terminals that can realize multi-terminal network is synchronous, has improved operating efficiency.In addition, because any station terminal in multi-terminal network all can be used as " first terminal ", when part terminal in multi-terminal network occurs that virus infections maybe can not use, monitoring host computer can be adjusted the receiving terminal of super pipe command request in good time, to can not affect the virus base updating maintenance of the other-end in this network, thereby improve the stability of whole multi-terminal network and the ability of antiviral threat.
Above-described embodiment does not limit the time that the request of super pipe command execution sends to server, although no matter when carry out the above-mentioned realization that does not only hinder goal of the invention of the present invention that exceedes.But, in practical application, because the synchronous maintenance of carrying out virus base need to repeatedly close, start terminal, if terminal is used, certainly will have influence on user's normal work.For this reason, the present invention preferably carries out the transmission of request message in the following manner: monitoring host computer periodically or regularly sends super pipe command execution message to server.The periodicity here and timing are distinct, periodically send and can interval transmitting time be set according to actual conditions, send once such as 8 hours, or one day send once.But timed sending is the transmission of just carrying out request message in the time that predetermined time arrives, such as weekend, evening etc., avoid having influence on the normal use of terminal.
Monitoring host computer and server in above-described embodiment, communication mode between server and terminal can be multiple, such as can directly utilizing MAC Address to carry out information interaction in identical network, even point-to-point information interaction, these modes all do not hinder the realization of goal of the invention of the present invention.But the preferred monitoring host computer of the present invention is connected to server and sent super pipe command execution message or super pipe order is closed message by TCP, server is connected and will be surpassed the request of pipe command execution or super pipe order turn-off request is transmitted to first terminal by TCP.Such object is that the terminal virus base updating maintenance work that can realize multi-terminal network realizes Long-distance Control, carries out virus base maintenance by the internet based on ICP/IP protocol, thereby has further improved operating efficiency and convenience.
In above-described embodiment, carrying out super pipe after closing of ordering, the start-up mode of first terminal is set to read mirror image pattern, that is to say, can only start mirror image to disk and carry out read operation, can not carry out rewriting operation.But, because each station terminal in multi-terminal network all may become " first terminal ", certain station terminal may carry out " in advance " virus base with respect to other networks of multi-terminal network in actual applications to be upgraded, so at this moment, " first terminal " should select this terminal of having upgraded in advance, is beneficial to improve the virus base synchronous maintenance ability of multinetwork terminal.For this reason, each terminal of the preferred multi-terminal network of the present invention creates the write-back file of oneself, in the time that oneself is chosen to be first terminal, can creates disk according to the record in existing virus base and write-back file and start mirror image.Specific implementation process is: the start-up mode of first terminal is set to read after mirror image pattern, each terminal of multi-terminal network creates write-back file separately, being used for recording virus base upgrading upgrades,: when a terminal of multi-terminal network is during as first terminal, restart after entering operating system virus base and write-back file synchronization are started to mirror image to disk at first terminal.
Foregoing has at length been introduced mode embodiment of the present invention, and correspondingly, the present invention also provides the system embodiment of multiple terminals virus base synchronous maintenance.Referring to Fig. 2, this system embodiment comprises: monitoring host computer, server and multi-terminal network, and multi-terminal network comprises first terminal, wherein:
Described monitoring host computer, for sending super pipe command execution message to server, described super pipe command execution message comprises business function number and the request of super pipe command execution; Send super pipe order to server and close message, described super pipe order is closed message and is comprised business function number and super pipe order turn-off request;
Described server, for receiving after super pipe command execution message, is transmitted to the request of super pipe command execution according to the business function of super pipe command execution message number the first terminal of multi-terminal network; To closing after message receiving super pipe order, the business function number of closing message according to super pipe order will surpass pipe order turn-off request and be forwarded to first terminal;
Described first terminal, for receiving the super pipe order of execution after the request of super pipe command execution, first terminal start-up mode is set to read and write mirror image pattern; Restart to enter and virus base is synchronized to disk after operating system and starts mirror image; After super pipe order turn-off request, close super pipe order receiving, start-up mode is set to read mirror image pattern;
Each terminal of described multi-terminal network realizes virus base synchronous maintenance by reading described disk startup mirror image.
The course of work of native system embodiment can be referring to the description of preceding method embodiment, herein repeated description no longer.The monitoring host computer of native system framework can be located immediately at multi-terminal network inside, also can be positioned at multi-terminal network outside, realizes long-range connection by internet or other networks, and the system architecture shown in Fig. 2 shows rear a kind of situation.Monitoring host computer in native system embodiment periodically or regularly sends super pipe command execution message to server.Monitoring host computer is connected to server and is sent super pipe command execution message or super pipe order is closed message by TCP, and server is connected and will be surpassed the request of pipe command execution or super pipe order turn-off request is transmitted to first terminal by TCP.The technical scheme that native system embodiment provides sends super pipe command execution request or turn-off request by server to the station terminal in multi-terminal network by monitoring host computer, this terminal is set to read and write mirror image pattern in the start-up mode that receives the super pipe order of execution self after the request of super pipe command execution, and after restarting, virus base is synchronized to disk start mirror image, this terminal is set to read mirror image pattern receiving the start-up mode of closing super pipe order self after super pipe order turn-off request, each terminal of multi-terminal network is started mirror image and is realized the synchronous maintenance of virus base by reading disk.Compared with prior art, native system embodiment is by controlling the execution and the start-up mode of closing to arrange certain terminal in multi-terminal network of super pipe order, after setting completes, each terminal of multi-terminal network only need to be from storing the synchronous maintenance that starts reading disk the terminal of mirror image and start mirror image and can complete virus base, which only need be carried out shirtsleeve operation on the station terminal in monitoring host computer and multi-terminal network, just the virus base of all terminals that can realize multi-terminal network is synchronous, has improved operating efficiency.In addition, because any station terminal in multi-terminal network all can be used as " first terminal ", when part terminal in multi-terminal network occurs that virus infections maybe can not use, monitoring host computer can be adjusted the receiving terminal of super pipe command request in good time, to can not affect the virus base updating maintenance of the other-end in this network, thereby improve the stability of whole multi-terminal network and the ability of antiviral threat.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in claim protection range of the present invention.