CN113190276A - Intelligent virus scanning processing method and device - Google Patents

Intelligent virus scanning processing method and device Download PDF

Info

Publication number
CN113190276A
CN113190276A CN202010034047.5A CN202010034047A CN113190276A CN 113190276 A CN113190276 A CN 113190276A CN 202010034047 A CN202010034047 A CN 202010034047A CN 113190276 A CN113190276 A CN 113190276A
Authority
CN
China
Prior art keywords
virtual machine
virus scanning
reported
preset
scanning task
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.)
Pending
Application number
CN202010034047.5A
Other languages
Chinese (zh)
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.)
Qax Technology Group Inc
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qax Technology Group Inc
Secworld Information 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 Qax Technology Group Inc, Secworld Information Technology Beijing Co Ltd filed Critical Qax Technology Group Inc
Priority to CN202010034047.5A priority Critical patent/CN113190276A/en
Publication of CN113190276A publication Critical patent/CN113190276A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • G06F21/566Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a virus intelligent scanning processing method and a device, wherein the method comprises the following steps: judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system; if not, determining that the virus scanning task is started in a delayed mode, and after a preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task. The embodiment of the invention can realize intelligent virus scanning on the virtual machine in the server, avoid the problem of slow response of the server caused by virus scanning on the virtual machine in the server under the condition of overhigh system resource of the server, and reduce the influence of the virus scanning on the server resource to the minimum.

Description

Intelligent virus scanning processing method and device
Technical Field
The invention relates to the technical field of computers, in particular to a virus intelligent scanning processing method and device.
Background
The rapid development of network technology now, and various computer viruses spread all over the world at the same time, even to the point of no hole and no input, and pose a great threat to computers and networks. A computer virus is a set of computer instructions or program code that an author inserts into a computer program to destroy computer functions or corrupt data, affect computer use, and that is capable of replicating itself. Even a malignant virus may crash the entire computer system and the data is completely destroyed.
A virtual machine is a complete computer system with complete hardware system functionality, simulated by software, running in a completely isolated environment. At present, in the prior art, since executing virus scanning on a virtual machine in a server occupies resources of the server, especially, executing virus scanning on the virtual machine when the load is high in a server production environment may seriously affect the response speed of the server.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a virus intelligent scanning processing method and a device.
The embodiment of the invention provides an intelligent virus scanning processing method, which is applied to a central control system and comprises the following steps:
judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system;
if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, determining that the virus scanning task is started in a delayed mode, and after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Optionally, before determining, for any virtual machine within the service range of the central control system, whether the load condition of the virtual machine reported by the current virtual machine meets a preset starting condition of the virus scanning task, the method further includes:
and receiving the load condition of the virtual machines reported by all the virtual machines in the service range of the central control system every a preset time period.
Optionally, the virtual machine load condition includes: at least one of a CPU occupancy rate of the virtual machine and a memory occupancy rate of the virtual machine.
Optionally, for any virtual machine within the service range of the central control system, determining whether the load condition of the virtual machine reported by the current virtual machine meets a preset starting condition of the virus scanning task, including:
for any virtual machine within the service range of the central control system, if the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset CPU occupancy rate threshold value and/or the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset memory occupancy rate threshold value, determining that the load condition of the virtual machine reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, and otherwise, determining that the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Optionally, after determining, for any virtual machine within the service range of the central control system, whether the load condition of the virtual machine reported by the current virtual machine meets a preset starting condition of the virus scanning task, the method further includes:
and if the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, sending a command for starting the virus scanning task to the current virtual machine.
Optionally, after sending an instruction to start a virus scanning task to the current virtual machine, the method further includes:
and if the virus scanning task of the current virtual machine is not started after the preset timeout period is detected, canceling the virus scanning task of the current virtual machine.
The embodiment of the invention provides an intelligent virus scanning and processing device, which is applied to a central control system and comprises:
the judging module is used for judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system;
and the delay module is used for determining the delayed start of the virus scanning task if the virtual machine load condition reported by the current virtual machine does not meet the preset start condition of the virus scanning task, and returning to execute the judging module after a preset delay time period until the virtual machine load condition reported by the current virtual machine meets the preset start condition of the virus scanning task.
An embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method are implemented.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
Embodiments of the present invention provide a computer program product comprising computer executable instructions for implementing the steps of the above method when executed.
The method and the device for processing the intelligent virus scanning provided by the embodiment of the invention judge whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not by aiming at any virtual machine in the service range of the central control system, if not, the virus scanning task is determined to be started in a delayed manner, after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, therefore, the intelligent virus scanning of the virtual machines in the server can be realized, the problem that the response of the server is slow due to the fact that the virus scanning is executed on the virtual machines in the server under the condition that the system resources of the server are too high is avoided, and the influence of the virus scanning on the occupied server resources is reduced to the minimum.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a virus intelligent scanning processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an intelligent virus scanning apparatus according to an embodiment of the present invention;
fig. 3 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a schematic flowchart of a virus intelligent scanning processing method according to an embodiment of the present invention, and referring to fig. 1, the virus intelligent scanning processing method according to the embodiment includes:
and S1, judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system.
It should be noted that the intelligent virus scanning processing method described in this embodiment is applied to a central control system, which is a device for centrally controlling various devices such as sound, light, electricity, and the like, and is applied to a multimedia classroom, a multifunctional conference hall, a command control center, an intelligent home, and the like.
In a specific application, the load condition of the virtual machine according to this embodiment may include: at least one of a CPU (Central processing Unit) occupancy rate of the virtual machine and a memory occupancy rate of the virtual machine. The CPU occupancy rate of the virtual machine is the occupancy rate of the virtual machine occupying the CPU of the server to which the virtual machine belongs, and the memory occupancy rate of the virtual machine is the occupancy rate of the virtual machine occupying the memory of the server to which the virtual machine belongs.
It can be understood that, in this embodiment, it is required to first determine, for any virtual machine within the service range of the central control system, whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task, so as to implement the virus intelligent scanning processing on the current virtual machine according to the determination result in the following.
And S2, if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, determining that the virus scanning task is started in a delayed mode, and after a preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
In a specific application, the preset delay time period may be set according to an actual situation, and this embodiment does not limit this, for example, the preset delay time period may be set to 10 minutes, half an hour, 1 hour, and the like.
It can be understood that, in this embodiment, after determining whether the virtual machine load condition reported by the current virtual machine satisfies the preset starting condition of the virus scanning task, for the case that the virtual machine load condition reported by the current virtual machine does not satisfy the preset starting condition of the virus scanning task, it indicates that the resource occupied by the current virtual machine on the server to which the current virtual machine belongs is too high, it may be determined that the virus scanning task is started in a delayed manner, and after a preset delay time period, the step S1 is returned to re-determine whether the virtual machine load condition reported by the current virtual machine satisfies the preset starting condition of the virus scanning task, so as to avoid the problem that the response of the server is slow when the virtual machine in the server executes virus scanning under the condition that the system resource of the server is too high.
It can be understood that, in this embodiment, first, for any virtual machine within the service range of the central control system, it is determined whether the load condition of the virtual machine reported by the current virtual machine satisfies the preset starting condition of the virus scanning task, and for the condition that the load condition of the virtual machine reported by the current virtual machine does not satisfy the preset starting condition of the virus scanning task, it is determined that the virus scanning task is started in a delayed manner, and after a preset delay time period, it returns to step S1 to re-determine whether the load condition of the virtual machine reported by the current virtual machine satisfies the preset starting condition of the virus scanning task, so that the virus scanning of the current virtual machine can avoid a peak period of server resource occupation, and the influence of the server resource occupation by the virus scanning is reduced to the minimum.
The intelligent virus scanning processing method provided by the embodiment of the invention judges whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system, if not, the delayed starting of the virus scanning task is determined, after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, therefore, the intelligent virus scanning of the virtual machines in the server can be realized, the problem that the response of the server is slow due to the fact that the virus scanning is executed on the virtual machines in the server under the condition that the system resources of the server are too high is avoided, and the influence of the virus scanning on the occupied server resources is reduced to the minimum.
Based on the content of the foregoing embodiment, in this embodiment, before determining, for any virtual machine within the service range of the central control system, whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, the method in this embodiment may further include:
and receiving the load condition of the virtual machines reported by all the virtual machines in the service range of the central control system every a preset time period.
In a specific application, the preset time period may be set according to actual conditions, and the present embodiment does not limit this, for example, the preset time period may be set to 5 minutes, 10 minutes, half an hour, and the like.
It can be understood that, in this embodiment, each virtual machine within the service range of the central control system reports its own virtual machine load condition to the central control system every other preset time period, so that the central control system can conveniently determine whether the preset start condition of the virus scanning task is satisfied according to the virtual machine load condition newly reported by each virtual machine, and thus, the virus intelligent scanning processing of each virtual machine within the service range of the central control system can be realized according to the determination result in the following.
Based on the content of the foregoing embodiment, in this embodiment, when the virtual machine load condition includes: when at least one of the CPU occupancy rate of the virtual machine and the memory occupancy rate of the virtual machine is satisfied, the determining, for any virtual machine within the service range of the central control system, whether the virtual machine load condition reported by the current virtual machine satisfies the preset starting condition of the virus scanning task may specifically include:
for any virtual machine within the service range of the central control system, if the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset CPU occupancy rate threshold value and/or the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset memory occupancy rate threshold value, determining that the load condition of the virtual machine reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, and otherwise, determining that the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task.
In a specific application, the preset CPU occupancy threshold may be set according to an actual situation, and this embodiment does not limit this, for example, the preset CPU occupancy threshold may be set to 60%, 63%, 65%, and the like.
In a specific application, the preset memory occupancy threshold may be set according to an actual situation, and the preset memory occupancy threshold is not limited in this embodiment, for example, the preset memory occupancy threshold may be set to 60%, 63%, 65%, and the like.
It can be understood that, in this embodiment, as long as any one of the following three conditions occurs, it may be determined that the virtual machine load condition reported by the current virtual machine does not satisfy the preset starting condition of the virus scanning task:
(1) the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset CPU occupancy rate threshold value;
(2) the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset memory occupancy rate threshold value;
(3) the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than the preset CPU occupancy rate threshold value, and the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than the preset memory occupancy rate threshold value.
It can be understood that, in this embodiment, the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than the preset CPU occupancy rate threshold, and the memory occupancy rate of the virtual machine reported by the current virtual machine is less than or equal to the preset memory occupancy rate threshold, which belongs to the above (1) case where the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than the preset CPU occupancy rate threshold; the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than the preset memory occupancy rate threshold, and the CPU occupancy rate of the virtual machine reported by the current virtual machine is less than or equal to the preset CPU occupancy rate threshold, which belongs to the above (2) case where the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than the preset memory occupancy rate threshold.
Therefore, the embodiment can judge whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Based on the content of the foregoing embodiment, in this embodiment, after determining, for any virtual machine within the service range of the central control system, whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, the method may further include:
and if the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, sending a command for starting the virus scanning task to the current virtual machine.
It can be understood that, after determining whether the virtual machine load condition reported by the current virtual machine satisfies the preset start condition of the virus scanning task, for the condition that the virtual machine load condition reported by the current virtual machine satisfies the preset start condition of the virus scanning task, it indicates that the resource occupied by the server to which the current virtual machine belongs is not too high, and may send an instruction for starting the virus scanning task to the current virtual machine, so that the current virtual machine starts the virus scanning task, and the server to which the current virtual machine belongs may quickly respond to the start of the virus scanning task, and complete the virus scanning of the current virtual machine.
Based on the content of the foregoing embodiment, in this embodiment, after sending an instruction to start a virus scanning task to a current virtual machine, the method may further include:
and if the virus scanning task of the current virtual machine is not started after the preset timeout period is detected, canceling the virus scanning task of the current virtual machine.
It can be understood that, after the instruction for starting the virus scanning task is sent to the current virtual machine, if it is detected that the virus scanning task of the current virtual machine is not started yet after exceeding the preset timeout period, the virus scanning task of the current virtual machine is automatically cancelled.
The virus intelligent scanning processing method provided by the embodiment of the invention is applied to a central control system, can realize intelligent virus scanning on the virtual machines in the server based on the virtual machine load condition reported by each virtual machine in the service range of the central control system, avoids the problem of slow server response caused by virus scanning on the virtual machines in the server under the condition of overhigh server system resources, and reduces the influence of the server resources occupied by the virus scanning to the minimum.
Based on the same inventive concept, another embodiment of the present invention provides a virus intelligent scanning processing apparatus, referring to fig. 2, the virus intelligent scanning processing apparatus of the embodiment includes: a judging module 21 and a time delay module 22; wherein:
the judging module 21 is configured to judge, for any virtual machine within the service range of the central control system, whether the virtual machine load condition reported by the current virtual machine meets a preset starting condition of a virus scanning task;
the delay module 22 is configured to determine that the virus scanning task is started in a delayed manner if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, and return to execute the determining module after a preset delay time period until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Specifically, the determining module 21 determines, for any virtual machine within the service range of the central control system, whether the virtual machine load condition reported by the current virtual machine meets a preset starting condition of the virus scanning task; and if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, the delay module 22 determines that the virus scanning task is started in a delayed manner, and returns to execute the judging module after a preset delay time period until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
It should be noted that the intelligent virus scanning processing device described in this embodiment is applied to a central control system, which is a device for centrally controlling various devices such as sound, light, electricity, and the like, and is applied to a multimedia classroom, a multifunctional conference hall, a command control center, an intelligent home, and the like.
In a specific application, the load condition of the virtual machine according to this embodiment may include: at least one of a CPU occupancy rate of the virtual machine and a memory occupancy rate of the virtual machine. The CPU occupancy rate of the virtual machine is the occupancy rate of the virtual machine occupying the CPU of the server to which the virtual machine belongs, and the memory occupancy rate of the virtual machine is the occupancy rate of the virtual machine occupying the memory of the server to which the virtual machine belongs.
Based on the content of the foregoing embodiment, in this embodiment, the virus intelligent scanning processing apparatus may further include:
and the receiving module is used for receiving the load conditions of the virtual machines reported by all the virtual machines in the service range of the central control system every other preset time period.
Based on the content of the foregoing embodiments, in the present embodiment, the determining module 21 may be specifically configured to
For any virtual machine within the service range of the central control system, if the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset CPU occupancy rate threshold value and/or the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset memory occupancy rate threshold value, determining that the load condition of the virtual machine reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, and otherwise, determining that the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Based on the content of the foregoing embodiment, in this embodiment, the virus intelligent scanning processing apparatus may further include:
and the sending module is used for sending a command for starting the virus scanning task to the current virtual machine if the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Based on the content of the foregoing embodiment, in this embodiment, the virus intelligent scanning processing apparatus may further include:
and the canceling module is used for canceling the virus scanning task of the current virtual machine if the virus scanning task of the current virtual machine is not started after the instruction for starting the virus scanning task is sent to the current virtual machine and exceeds the preset timeout period.
Since the virus intelligent scanning processing apparatus provided in this embodiment can be used to execute the virus intelligent scanning processing method described in the above embodiment, and the operation principle and the beneficial effect are similar, detailed descriptions are omitted here, and specific contents can be referred to the description of the above embodiment.
The intelligent virus scanning processing device provided by the embodiment of the invention is applied to a central control system, can realize intelligent virus scanning on the virtual machines in the server based on the load condition of the virtual machines reported by each virtual machine in the service range of the central control system, avoids the problem of slow response of the server caused by virus scanning on the virtual machines in the server under the condition of overhigh system resources of the server, and reduces the influence of the server resources occupied by the virus scanning to the minimum.
Based on the same inventive concept, another embodiment of the present invention provides an electronic device, which may include a memory 302, a processor 301, a bus 303, and a computer program stored in the memory 302 and running on the processor 301, referring to fig. 3, wherein the processor 301 and the memory 302 are in communication with each other through the bus 303. The processor 301, when executing the computer program, implements the steps of the above method, for example, including: judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system; if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, determining that the virus scanning task is started in a delayed mode, and after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Based on the same inventive concept, yet another embodiment of the present invention provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above method, for example, including: judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system; if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, determining that the virus scanning task is started in a delayed mode, and after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
Based on the same inventive concept, a further embodiment of the present invention provides a computer program product comprising computer executable instructions for implementing the steps of the above method when executed, for example comprising: judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system; if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, determining that the virus scanning task is started in a delayed mode, and after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An intelligent virus scanning processing method is applied to a central control system and is characterized by comprising the following steps:
judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system;
if the virtual machine load condition reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, determining that the virus scanning task is started in a delayed mode, and after the preset delay time period, returning to the step of judging whether the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task or not until the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task.
2. The method according to claim 1, wherein before determining, for any virtual machine within the service range of the central control system, whether the virtual machine load condition reported by the current virtual machine satisfies the preset start condition of the virus scanning task, the method further comprises:
and receiving the load condition of the virtual machines reported by all the virtual machines in the service range of the central control system every a preset time period.
3. The intelligent virus scanning processing method according to claim 1, wherein the virtual machine load condition includes: at least one of a CPU occupancy rate of the virtual machine and a memory occupancy rate of the virtual machine.
4. The method for intelligently scanning and processing viruses according to claim 3, wherein the step of judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task for any virtual machine in the service range of the central control system comprises the following steps:
for any virtual machine within the service range of the central control system, if the CPU occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset CPU occupancy rate threshold value and/or the memory occupancy rate of the virtual machine reported by the current virtual machine is greater than a preset memory occupancy rate threshold value, determining that the load condition of the virtual machine reported by the current virtual machine does not meet the preset starting condition of the virus scanning task, and otherwise, determining that the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task.
5. The method according to claim 1, wherein after determining whether the virtual machine load condition reported by the current virtual machine satisfies the preset start condition of the virus scanning task for any virtual machine within the service range of the central control system, the method further comprises:
and if the virtual machine load condition reported by the current virtual machine meets the preset starting condition of the virus scanning task, sending a command for starting the virus scanning task to the current virtual machine.
6. The intelligent virus scanning processing method according to claim 5, wherein after sending an instruction to start a virus scanning task to the current virtual machine, the method further comprises:
and if the virus scanning task of the current virtual machine is not started after the preset timeout period is detected, canceling the virus scanning task of the current virtual machine.
7. The utility model provides a virus intelligence scanning processing apparatus, is applied to central control system, its characterized in that includes:
the judging module is used for judging whether the load condition of the virtual machine reported by the current virtual machine meets the preset starting condition of the virus scanning task or not for any virtual machine in the service range of the central control system;
and the delay module is used for determining the delayed start of the virus scanning task if the virtual machine load condition reported by the current virtual machine does not meet the preset start condition of the virus scanning task, and returning to execute the judging module after a preset delay time period until the virtual machine load condition reported by the current virtual machine meets the preset start condition of the virus scanning task.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 6 are implemented when the computer program is executed by the processor.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. A computer program product comprising computer executable instructions for performing the steps of the method of any one of claims 1 to 6 when executed.
CN202010034047.5A 2020-01-13 2020-01-13 Intelligent virus scanning processing method and device Pending CN113190276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010034047.5A CN113190276A (en) 2020-01-13 2020-01-13 Intelligent virus scanning processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010034047.5A CN113190276A (en) 2020-01-13 2020-01-13 Intelligent virus scanning processing method and device

Publications (1)

Publication Number Publication Date
CN113190276A true CN113190276A (en) 2021-07-30

Family

ID=76972277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010034047.5A Pending CN113190276A (en) 2020-01-13 2020-01-13 Intelligent virus scanning processing method and device

Country Status (1)

Country Link
CN (1) CN113190276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116502225A (en) * 2023-06-20 2023-07-28 杭州海康威视数字技术股份有限公司 Virus scanning method and device for self-adaptive packet redundancy arrangement and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138924A1 (en) * 2008-11-30 2010-06-03 Itamar Heim Accelerating the execution of anti-virus programs in a virtual machine environment
CN103078870A (en) * 2013-01-18 2013-05-01 浪潮电子信息产业股份有限公司 Correlating-anti-correlating system and method for virtual machine in cloud data center operation system
CN106845215A (en) * 2016-12-30 2017-06-13 北京瑞星信息技术股份有限公司 Based on safety protecting method and device under virtualized environment
RU2628919C1 (en) * 2016-04-18 2017-08-22 Акционерное общество "Лаборатория Касперского" System and method of detecting harmful files on distributed system of virtual machines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138924A1 (en) * 2008-11-30 2010-06-03 Itamar Heim Accelerating the execution of anti-virus programs in a virtual machine environment
CN103078870A (en) * 2013-01-18 2013-05-01 浪潮电子信息产业股份有限公司 Correlating-anti-correlating system and method for virtual machine in cloud data center operation system
RU2628919C1 (en) * 2016-04-18 2017-08-22 Акционерное общество "Лаборатория Касперского" System and method of detecting harmful files on distributed system of virtual machines
CN106845215A (en) * 2016-12-30 2017-06-13 北京瑞星信息技术股份有限公司 Based on safety protecting method and device under virtualized environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116502225A (en) * 2023-06-20 2023-07-28 杭州海康威视数字技术股份有限公司 Virus scanning method and device for self-adaptive packet redundancy arrangement and electronic equipment
CN116502225B (en) * 2023-06-20 2023-09-19 杭州海康威视数字技术股份有限公司 Virus scanning method and device for self-adaptive packet redundancy arrangement and electronic equipment

Similar Documents

Publication Publication Date Title
CN107391317B (en) Data recovery method, device, equipment and computer readable storage medium
EP2492810A1 (en) Method and device for managing operating systems in embedded system
US10891171B2 (en) Method, apparatus and device for transitioning between data and control core and migrating clock task from data core to control core
WO2017185615A1 (en) Method for determining service status of service processing device and scheduling device
CN110704283A (en) Method, device and medium for uniformly generating alarm information
CN110659151A (en) Data verification method and device and storage medium
CN109525473B (en) Method and system for expanding CAN by MCU, MCU and computer medium
EP3531676A1 (en) Task processing apparatus, intelligent device, task processing method, and baseband processor
CN104980472A (en) Network traffic control method and device
CN113190276A (en) Intelligent virus scanning processing method and device
EP3723343A1 (en) Resource processing method and system, storage medium and electronic device
CN114244642A (en) Control method and device of equipment, computer readable storage medium and processor
EP3151513A1 (en) Service elastic method and device in cloud computing
CN113254166A (en) Method for processing IO request, storage medium and virtualization simulator
CN110362314B (en) Information processing method and device, computer readable medium and electronic equipment
CN115242972B (en) Method and device for calling camera by application, electronic equipment and storage medium
CN116069447A (en) Virtual machine NUMA topology generation method, device, equipment and medium
CN112687261B (en) Speech recognition training and application method and device
CN112291326B (en) Load balancing method, load balancing device, storage medium and electronic equipment
CN104331406A (en) Database capacity control method and database capacity control device
CN113326172A (en) Operation and maintenance knowledge processing method, device and equipment
CN112968825A (en) Message sending method, device, equipment and storage medium
CN106162282B (en) Method and device for forbidding keys of intelligent television input equipment
CN115022174B (en) Request processing method and device, readable storage medium and electronic equipment
CN114006902B (en) Cloud mobile phone restarting method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant after: QAX Technology Group Inc.

Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Address before: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant before: QAX Technology Group Inc.

Country or region before: China

Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.