Summary of the invention
The invention provides a kind of information processing method and system of terminal security, to address the above problem.
The invention provides a kind of information processing method of terminal security.Said method comprises the following steps: the mapping relations server with the safety problem statistical form synchronously to netscape messaging server Netscape; Netscape messaging server Netscape obtains the first current system timeslice total amount, and according to safety problem statistical form, the first current system timeslice total amount and the first strategy, determine the first distribution timeslice of each terminal and the timeslice of system spare, and judge whether the timeslice of system spare is less than or equal to preset value; If the timeslice of system spare is greater than preset value, netscape messaging server Netscape with the timeslice of system spare as the second current system timeslice total amount, recomputate second of each terminal according to the first strategy and distribute timeslice, if this moment, the timeslice of system spare was less than or equal to preset value, distribute timeslice and second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to first; Netscape messaging server Netscape is processed the safety problem of each terminal according to the Target Assignment timeslice of each terminal.
The present invention also provides a kind of information processing system of terminal security, comprises terminal, mapping relations server and netscape messaging server Netscape.Terminal connects mapping relations server and netscape messaging server Netscape, and netscape messaging server Netscape connects the mapping relations server.Wherein, the mapping relations server receives the detection data message of each terminal to report, and according to detecting data message, sets up the safety problem statistical form.The mapping relations server with the safety problem statistical form synchronously to netscape messaging server Netscape.Netscape messaging server Netscape obtains the first current system timeslice total amount, and according to safety problem statistical form, the first current system timeslice total amount and the first strategy, determine the first distribution timeslice of each terminal and the timeslice of system spare, and judge whether the timeslice of system spare is less than or equal to preset value.If the timeslice of system spare is greater than preset value, netscape messaging server Netscape with the timeslice of system spare as the second current system timeslice total amount, recomputate second of each terminal according to the first strategy and distribute timeslice, if this moment, the timeslice of system spare was less than or equal to preset value, distribute timeslice and second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to first.Netscape messaging server Netscape is processed the safety problem of each terminal according to the Target Assignment timeslice of each terminal.
Compared to prior art, information processing method and system according to terminal security provided by the invention, netscape messaging server Netscape obtains the first current system timeslice total amount, and according to safety problem statistical form, the first current system timeslice total amount and the first strategy, determine the first distribution timeslice of each terminal and the timeslice of system spare, and judge whether the timeslice of system spare is less than or equal to preset value.In addition, if the timeslice of system spare is greater than preset value, netscape messaging server Netscape with the timeslice of system spare as the second current system timeslice total amount, recomputate second of each terminal according to the first strategy and distribute timeslice, if this moment, the timeslice of system spare was less than or equal to preset value, distribute timeslice and second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to first.Afterwards, netscape messaging server Netscape is processed the safety problem of each terminal according to the Target Assignment timeslice of each terminal.So, by the time distribution of each terminal security problem of netscape messaging server Netscape computing, realize that the resource of netscape messaging server Netscape is distributed, thereby the resource of taking full advantage of improves treatment effeciency, reduces system burden.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature in embodiment in the application can make up mutually.
Figure 1 shows that the flow chart of the information processing method of the terminal security that preferred embodiment according to the present invention provides.As shown in Figure 1, the information processing method of the terminal security that provides of preferred embodiment of the present invention comprises step 101~105.
In step 101, the mapping relations server receives the detection data message of each terminal to report, and according to described detection data message, sets up the safety problem statistical form.
In the present embodiment, the detection data message of each terminal to report comprises safety problem type, dangerous project and danger classes corresponding to dangerous project.In this, the safety problem type is such as comprising virus, the dangerous project of system, wooden horse and other dangerous items etc.Yet the present invention does not limit this.In this, take four terminals 1~4 as example, the mapping relations server receives the detection data message of four terminal to report, and sets up the safety problem statistical form according to described detection data message, and described safety problem statistical form example is as shown in table 1.Yet the present invention is not limited thereto.
Table 1
In step 102, described mapping relations server with described safety problem statistical form synchronously to netscape messaging server Netscape.Particularly, after the mapping relations server is set up the safety problem statistical form, with the safety problem statistical form synchronously to netscape messaging server Netscape.
In step 103, described netscape messaging server Netscape obtains the first current system timeslice total amount, and according to described safety problem statistical form, described the first current system timeslice total amount and the first strategy, determine the first distribution timeslice of each terminal and the timeslice of system spare, and judge whether the timeslice of system spare is less than or equal to preset value.Particularly, the first current system timeslice total amount of self is obtained in the netscape messaging server Netscape inquiry.
In the present embodiment, the first strategy is: the time distribution degree corresponding to dangerous project of different danger classes, the dangerous project sum of the time distribution degree corresponding according to the dangerous project of each terminal, dangerous project and described terminal is determined the time-sharing ratio example of corresponding terminal.Particularly, the time-sharing ratio example of each terminal equals the danger classes number and corresponding time distribution degree sum product value and the ratio of the dangerous project sum of all terminals of this terminal.
In this, take table 1 as example, danger classes comprises Three Estate: senior, middle rank and rudimentary.Correspondingly, the time distribution degree of senior correspondence is 50%, and the time distribution degree that middle rank is corresponding is 40%, and the time distribution degree of rudimentary correspondence is 10%.Yet the present invention does not limit this.In practical application, corresponding time distribution degree can be set as required.
Take table 1 as example, for terminal 1, its safety problem table is as shown in table 2a.
Table 2a
At this moment, according to the first strategy as can be known: time-sharing ratio example=(the 3*50%+1*40%)/16=1.9/16 of terminal 1.Wherein, the dangerous project sum of current four terminals is 16 as shown in Table 1.
Take table 1 as example, for terminal 2, its safety problem table is as shown in table 2b.
Table 2b
At this moment, according to the first strategy as can be known: time-sharing ratio example=(the 2*50%+1*40%+2*10%)/16=1.6/16 of terminal 2.
Take table 1 as example, for terminal 3, its safety problem table is as shown in table 2c.
Table 2c
At this moment, according to the first strategy as can be known: time-sharing ratio example=(the 1*40%+3*10%)/16=0.7/16 of terminal 3.
Take table 1 as example, for terminal 4, its safety problem table is as shown in table 2d.
Table 2d
At this moment, according to the first strategy as can be known: time-sharing ratio example=(the 1*50%+1*40%+1*10%)/16=1/16 of terminal 4.
In addition, in the present embodiment, the first distribution timeslice is the product of time-sharing ratio example and the first current system timeslice total amount.In this, the first current system timeslice total amount of obtaining take netscape messaging server Netscape is as a as example, and the time-sharing ratio example of each terminal of determining according to netscape messaging server Netscape as can be known each terminal first distribute timeslice as follows successively: first of terminal 1 is distributed timeslice=1.9a/16; First of terminal 2 is distributed timeslice=1.6a/16; First of terminal 3 is distributed timeslice=0.7a/16; First of terminal 4 is distributed timeslice=a/16.Hence one can see that, the timeslice of system spare=a-(1.9a/16+1.6a/16+0.7a/16+a/16)=10.8a/16=0.675a.
In step 104, if the timeslice of system spare is greater than described preset value, described netscape messaging server Netscape with the timeslice of system spare as the second current system timeslice total amount, recomputate second of each terminal according to described the first strategy and distribute timeslice, if this moment, the timeslice of system spare was less than or equal to described preset value, distribute timeslice and described second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to described first.
In the present embodiment, still four terminals in the step 103 are as example, if preset value for example is set to 0.5a, the timeslice of system spare is (for example, 0.675a) greater than preset value.Wherein, the present invention does not limit the setting of preset value, in practical application, preset value can be set as required.At this moment, netscape messaging server Netscape (that is, 0.675a) as the second current system timeslice total amount, then recomputates second of each terminal according to the first strategy and distributes timeslice with the timeslice of system spare.In this, second of each terminal that netscape messaging server Netscape calculates distributes timeslice to be specially: second of terminal 1 is distributed timeslice=(1.9/16) * 0.675a=1.2825a/16; Second of terminal 2 is distributed timeslice=(1.6/16) * 0.675a=1.08a/16; Second of terminal 3 is distributed timeslice=(0.7/16) * 0.675a=0.4725a; Second of terminal 4 is distributed timeslice=(1/16) * 0.675a=0.675a/16.At this moment, the timeslice of system spare=0.675a-(1.2825a/16+1.08a/16+0.4725a/16+0.675a/16)=0.455625a.At this moment, (that is, 0.455625a) less than preset value (0.5a), netscape messaging server Netscape distributes timeslice and second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to first to the timeslice of system spare.In this, the Target Assignment timeslice is that the first distribution timeslice and second is distributed the timeslice sum.Particularly, the Target Assignment timeslice=1.9a/16+1.2825a/16=3.1825a/16 of terminal 1; Target Assignment timeslice=the 1.6a/16+1.08a/16=2.68a/16 of terminal 2; Target Assignment timeslice=the 0.7a/16+0.4725a/16=1.1725a/16 of terminal 3; Target Assignment timeslice=the a/16+0.675a/16=1.675a/16 of terminal 4.
In the present embodiment, after if netscape messaging server Netscape calculates the second distribution timeslice of each terminal, the remaining timeslice of current system is still greater than preset value, netscape messaging server Netscape, recomputates the 3rd of each terminal according to the first strategy and distributes timeslice as the 3rd current system timeslice total amount with the remaining timeslice of current system.The 3rd distributes the computational process of timeslice to distribute timeslice and second to distribute timeslice with first.In addition, if after obtaining the 3rd distribution timeslice, the timeslice of system spare is less than or equal to preset value, the Target Assignment timeslice of each terminal equals the first distribution timeslice, the second distribution timeslice and the 3rd is distributed the timeslice sum.In other words, when the timeslice of system spare is less than or equal to preset value, netscape messaging server Netscape stops the calculating of the distribution timeslice of each terminal, and the corresponding addition of the distribution timeslice of each terminal that will calculate simultaneously obtains the Target Assignment timeslice of each terminal.
In step 105, described netscape messaging server Netscape is processed the safety problem of each terminal according to the Target Assignment timeslice of each terminal.In this, after netscape messaging server Netscape is determined the Target Assignment timeslice of each terminal, process the safety problem of corresponding terminal according to the Target Assignment timeslice.In this, dangerous project 3 is as example in the table 1, and netscape messaging server Netscape for example can directly be deleted the dangerous project 3 of terminal 2 and terminal 3; Take dangerous project 1 as example, netscape messaging server Netscape for example needs the at first more relevant setting of new terminal 1 and terminal 2, in terminal 1 or terminal 2 confirm relevant arrange upgrade complete after, process dangerous project 1.
Figure 2 shows that the schematic diagram of the information processing system of the terminal security that preferred embodiment according to the present invention provides.As shown in Figure 2, the information processing system of the terminal security that provides of preferred embodiment of the present invention comprises terminal 10a~10n, mapping relations server 12 and netscape messaging server Netscape 14.In this, the present invention does not limit the number of terminal.Terminal 10a~10n connects mapping relations server 12 and netscape messaging server Netscape 14, and netscape messaging server Netscape 14 connects mapping relations server 12.
In the present embodiment, mapping relations server 12 receives the detection data message of each terminal to report, and according to detecting data message, sets up the safety problem statistical form.Mapping relations server 12 with the safety problem statistical form synchronously to netscape messaging server Netscape 14.Netscape messaging server Netscape 14 obtains the first current system timeslice total amount, and according to safety problem statistical form, the first current system timeslice total amount and the first strategy, determine the first distribution timeslice of each terminal and the timeslice of system spare, and judge whether the timeslice of system spare is less than or equal to preset value.If the timeslice of system spare is greater than preset value, netscape messaging server Netscape 14 with the timeslice of system spare as the second current system timeslice total amount, recomputate second of each terminal according to the first strategy and distribute timeslice, if this moment, the timeslice of system spare was less than or equal to preset value, distribute timeslice and second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to first.Netscape messaging server Netscape 14 is processed the safety problem of each terminal according to the Target Assignment timeslice of each terminal.Specific operation process about said system is described with above-mentioned method, therefore repeat no more in this.
In sum, the information processing method of the terminal security that preferred embodiment provides according to the present invention and system, netscape messaging server Netscape obtains the first current system timeslice total amount, and according to safety problem statistical form, the first current system timeslice total amount and the first strategy, determine the first distribution timeslice of each terminal and the timeslice of system spare, and judge whether the timeslice of system spare is less than or equal to preset value.In addition, if the timeslice of system spare is greater than preset value, netscape messaging server Netscape with the timeslice of system spare as the second current system timeslice total amount, recomputate second of each terminal according to the first strategy and distribute timeslice, if this moment, the timeslice of system spare was less than or equal to preset value, distribute timeslice and second to distribute timeslice to obtain the Target Assignment timeslice of each terminal according to first.Afterwards, netscape messaging server Netscape is processed the safety problem of each terminal according to the Target Assignment timeslice of each terminal.So, by the time distribution of each terminal security problem of netscape messaging server Netscape computing, realize that the resource of netscape messaging server Netscape is distributed, thereby the resource of taking full advantage of improves treatment effeciency, reduces system burden.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.