CN112596985B - IT asset detection method, device, equipment and medium - Google Patents

IT asset detection method, device, equipment and medium Download PDF

Info

Publication number
CN112596985B
CN112596985B CN202011614189.5A CN202011614189A CN112596985B CN 112596985 B CN112596985 B CN 112596985B CN 202011614189 A CN202011614189 A CN 202011614189A CN 112596985 B CN112596985 B CN 112596985B
Authority
CN
China
Prior art keywords
value
resource
determining
time period
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011614189.5A
Other languages
Chinese (zh)
Other versions
CN112596985A (en
Inventor
吴磊
李瀛
樊志甲
张迎苹
符春辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nsfocus Technologies Inc
Nsfocus Technologies Group Co Ltd
Original Assignee
Nsfocus Technologies Inc
Nsfocus Technologies Group 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 Nsfocus Technologies Inc, Nsfocus Technologies Group Co Ltd filed Critical Nsfocus Technologies Inc
Priority to CN202011614189.5A priority Critical patent/CN112596985B/en
Publication of CN112596985A publication Critical patent/CN112596985A/en
Application granted granted Critical
Publication of CN112596985B publication Critical patent/CN112596985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063114Status monitoring or status determination for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Operations Research (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mathematical Physics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an IT asset detection method, device, equipment and medium, wherein the resource grading value is determined according to the determined average occupied rate corresponding to each physical resource of an IT asset scanning device per se in the current time period, and according to the target difference value of the resource grading value and a preset threshold value and the corresponding relation between the pre-stored difference value range and an adjustment value, the assembly number of detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period are determined, and the rest detection data packets are sent according to the assembly number and the interval time, and the analysis result of a received response data packet is used as an IT asset detection result, so that the average occupied rate of the resource is kept near the average occupied rate corresponding to the preset threshold value when the detection data packets are sent, the possibility of losing when the detection data packets are sent and the response data packets are received is reduced when the resource is reasonably utilized, and the accuracy of IT asset detection is improved.

Description

IT asset detection method, device, equipment and medium
Technical Field
The present invention relates to the field of network security technologies, and in particular, to an IT asset detection method, apparatus, device, and medium.
Background
In products in the field of network security, information objects with customer value are called information technology (Information Technology, IT) assets, including network terminals, servers, network devices, websites, virtualization platforms, software, etc., and IT asset scanning devices play an important role in effectively monitoring and controlling IT assets in a business system.
In order to quickly and effectively detect the IT assets in the service system, the existing IT asset scanning device sends a large amount of detection data packets to the service system according to fixed configuration parameters in the process of executing the IT asset detection, for the IT asset scanning device itself, if a large amount of network resources and computing resources are occupied when the detection data packets are sent, the IT asset scanning device detects in a full-load manner, even when the detection is overloaded, the cost of resource usage is high, in addition, sending a large amount of detection data packets to the service system can cause excessive occupation of network resources of the service system, resulting in breakdown of the service system, and the possibility of losing the detection data packets sent by the IT asset scanning device and the possibility of losing when receiving response data packets are increased, thereby resulting in inaccurate IT asset detection.
Disclosure of Invention
The embodiment of the invention provides an IT asset detection method, an IT asset detection device, IT asset detection equipment and an IT asset detection medium, which are used for solving the problems that in the prior art, IT asset detection is inaccurate, more resources are occupied, network resources of a business system are excessively occupied, and the business system is crashed.
The embodiment of the invention provides an IT asset detection method which is applied to IT asset scanning equipment, and comprises the following steps:
determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the physical resources comprise a CPU, a memory and an IO interface;
determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period according to the corresponding relation among the target difference value, a pre-stored difference value range and an adjustment value, sending the rest detection data packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as an IT asset detection result, wherein the adjustment value comprises an adjustment assembly number and an adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packets.
Further, the determining, according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period, the resource scoring value of the current time period includes:
and determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and each network quality parameter of the network resource transmission detection data packet determined in the last time period, wherein the network quality parameters comprise a network delay parameter and a data packet response time parameter.
Further, the determining, according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period and each network quality parameter of the network resource transmission probe data packet determined in the previous time period, the resource scoring value of the current time period includes:
determining each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the pre-stored physical resource scoring function relation determined in the current time period;
Determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation;
and determining the resource grading value of the current time period according to each first grading value and each second grading value.
Further, the determining the resource scoring value of the current time period according to the first scoring value and the second scoring value includes:
determining a first product value of the first score of each physical resource and the first weight value according to the first score and the first weight value corresponding to each pre-stored physical resource;
determining a second product value of the second score of each network resource and the second weight value according to the second score and the second weight value corresponding to each network resource which is pre-stored;
and determining a resource grading value of the current time period according to each first product value and each second product value.
Further, determining the number of the assembled detection data packets corresponding to the target difference and the interval time between the detected data packets and the next detection period according to the corresponding relation between the target difference, the pre-stored difference range and the adjustment value comprises:
Determining a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored corresponding relation between a difference range and the adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and target adjustment time;
according to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
Accordingly, an embodiment of the present invention provides an IT asset detection device, including:
the resource use information acquisition module is used for acquiring average occupied rate corresponding to each physical resource of the IT asset scanning equipment in the current time period;
the determining module is used for determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the average occupied rate corresponds to each physical resource of the IT asset scanning equipment, and the physical resources comprise a CPU, a memory and an IO interface; determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
The detection module is used for determining the assembly number of the detection data packet corresponding to the target difference value and the interval time between the detection data packet and the next detection period according to the corresponding relation between the target difference value, the pre-stored difference value range and the adjustment value, sending the rest detection data packet according to the assembly number and the interval time, and taking the analysis result of the received response data packet as an IT asset detection result, wherein the adjustment value comprises the adjustment assembly number and the adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packet.
Further, the determining module is specifically configured to determine a resource score value of a current time period according to an average occupied rate corresponding to each physical resource of the IT asset scanning device itself determined in the current time period and each network quality parameter of a network resource transmission probe data packet determined in a previous time period, where the network quality parameters include a network delay parameter and a data packet response time parameter.
Further, the determining module is specifically configured to determine each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period and a pre-stored physical resource scoring function relationship; determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation; and determining the resource grading value of the current time period according to each first grading value and each second grading value.
Further, the determining module is specifically further configured to determine a first product value of the first score of each physical resource and the first weight value according to each first score and a first weight value corresponding to each pre-stored physical resource; determining a second product value of the second score of each network resource and the second weight value according to the second score and the second weight value corresponding to each network resource which is pre-stored; and determining a resource grading value of the current time period according to each first product value and each second product value.
Further, the detection module is specifically configured to determine a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored correspondence between a difference range and an adjustment value, where the target adjustment value includes a target adjustment assembly number and a target adjustment time; according to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
Accordingly, an embodiment of the present invention provides an electronic device, where the electronic device includes a processor and a memory, where the memory is configured to store program instructions, and where the processor is configured to implement steps of any one of the above-mentioned IT asset detection methods when executing a computer program stored in the memory.
Accordingly, an embodiment of the present invention provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the above-described IT asset detection methods.
The embodiment of the invention provides an IT asset detection method, device, equipment and medium, wherein in the method, a resource grading value is determined according to the determined average occupied rate of each physical resource of IT asset scanning equipment per se in the current time period, according to the target difference value of the resource grading value and a preset threshold value and the corresponding relation between the pre-stored difference value range and an adjustment value, the assembly number of detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period are determined, the rest detection data packets are sent according to the assembly number and the interval time, and the analysis result of a received response data packet is used as an IT asset detection result, wherein the adjustment value comprises adjustment of the assembly number and the adjustment time, so that the average occupied rate of the resource is kept near the average occupied rate corresponding to the preset threshold value when the detection data packets are sent, the reasonable utilization of the resource is ensured, the possibility of losing when the detection data packets are sent and the response data packets are received can be reduced, the accuracy of the IT detection of the asset detection is improved, and the probability of breakdown of network resources of a service system is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic process diagram of an IT asset detection method in accordance with an embodiment of the present invention;
FIG. 2 is a process schematic diagram of a complete IT asset detection method provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an IT asset detection device in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of another IT asset detection device in accordance with an embodiment of the present invention;
fig. 5 is a schematic structural 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 present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to improve the accuracy of IT asset detection and ensure reasonable utilization of resources, the embodiment of the invention provides an IT asset detection method, an IT asset detection device, IT asset detection equipment and an IT asset detection medium.
Example 1:
fig. 1 is a schematic process diagram of an IT asset detection method according to an embodiment of the present invention, where the process includes the following steps:
s101: and determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the average occupied rate corresponds to the physical resource of the IT asset scanning equipment, and the physical resource comprises a CPU, a memory and an IO interface.
The IT asset detection method provided by the embodiment of the invention is applied to IT asset scanning equipment, wherein the IT asset scanning equipment can be intelligent terminal equipment such as a mobile phone, a tablet personal computer, a PC (personal computer) and the like, and can also be a server, and the server can be a local server or a cloud server.
Because the IT asset scanning device is seriously dependent on the self resources of the IT asset scanning device in the process of IT asset detection, whether the self resources of the IT asset scanning device are reasonably utilized or not determines the detection quality of the IT asset detection. The more reasonable the resource allocation, the less impact IT has on the IT assets in the business system being probed, and the higher the accuracy of the IT asset probing.
The IT asset scanning equipment comprises an IT asset scanning device, wherein the IT asset scanning device comprises physical resources, and the physical resources comprise a CPU, a memory, an IO interface and the like; the detected IT asset includes a network terminal, a server, a network device, a website, a virtualization platform, software, etc.
In order to ensure reasonable utilization of resources of the IT asset scanning device, the IT asset scanning device determines an average occupied rate of each physical resource in the current time period, for example, the IT asset scanning device determines the occupied rate of a CPU (Central processing Unit) at each moment or set times of the IT asset scanning device itself in the current time period, so as to determine the average occupied rate of the current time period.
After the IT asset scanning equipment determines the average occupied rate corresponding to each physical resource in the current time period, the score corresponding to each physical resource is determined according to the average occupied rate corresponding to each physical resource, and the resource scoring value in the current time period is determined according to the score corresponding to each physical resource. Wherein the resource score value represents an average occupancy of the IT asset scanning device's own resources during the current time period.
Specifically, when determining the resource scoring value of the current time period according to the scoring corresponding to each physical resource, the IT asset scanning device may select any one of the scoring corresponding to the physical resource, and determine the scoring as the resource scoring value of the current time period; it is also possible to select a median value of the scores corresponding to each physical resource, and determine the median value as the resource score value of the current time period.
S102: and determining a target difference value between the resource grading value and a preset threshold according to the resource grading value.
In order to determine whether the resources of the IT asset scanning device are reasonably utilized, the IT asset scanning device is preset with a preset threshold, wherein the preset threshold is preset, if the efficiency of IT asset detection is desired to be improved, the preset threshold can be set to be larger, and if the accuracy of IT asset detection is desired to be improved, the preset threshold can be set to be smaller.
When the resource grading value is equal to the preset threshold value, the resource of the IT asset scanning equipment is reasonably utilized, and when the resource grading value is not equal to the preset threshold value, the resource of the IT asset scanning equipment is not reasonably utilized, and the IT asset scanning equipment determines a target difference value between the resource grading value and the preset threshold value.
Where the target difference may be positive, negative, or zero. If the target difference is a positive value, the average occupied rate of the resources of the IT asset scanning device per se in the current time period is larger than a preset threshold value when the resources are reasonably utilized, and the IT asset scanning device can reduce the average occupied rate of the resources; if the target difference is a negative value, the average occupied rate of the resources of the IT asset scanning device per se in the current time period is smaller than a preset threshold value when the resources are reasonably utilized, and the IT asset scanning device can increase the average occupied rate of the resources; if the target difference is zero, IT indicates that the resources of the IT asset scanning device are reasonably utilized in the current time period, and the IT asset scanning device may not adjust the average occupied rate of the resources.
S103: and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period according to the corresponding relation among the target difference value, a pre-stored difference value range and an adjustment value, sending the rest detection data packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as an IT asset detection result, wherein the adjustment value comprises an adjustment assembly number and an adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packets.
After the IT asset scanning device determines a target difference value between the resource grading value and a preset threshold value, in order to realize adjustment of the average occupied rate of the self resources of the IT asset scanning device, the IT asset scanning device stores a corresponding relation between a difference value range and an adjustment value in advance.
The difference range and the adjustment value are in one-to-one correspondence, the range size of the difference range is preset, if the accuracy of adjustment of the average occupied rate of the resource is desired to be improved, the range size of the difference range can be set smaller, and if the robustness of adjustment of the average occupied rate of the resource is desired to be improved, the range size of the difference range can be set larger.
Because factors influencing the average occupied rate of the resources of the IT asset scanning device are mainly the assembly number of the transmitted detection data packets and the interval time between the transmission detection data packets and the next detection period in the IT asset detection process of the IT asset scanning device, the adjustment value comprises the adjustment assembly number and the adjustment time.
In order to maintain the average occupied rate of the IT asset scanning device itself near the average occupied rate corresponding to the preset threshold, the IT asset scanning device may determine the number of the assembled detection data packets corresponding to the target difference and the interval time between the detected data packets and the next detection period according to the target difference and the correspondence between the pre-stored difference range and the adjustment value, so as to send the remaining detection data packets according to the determined number of the assembled detection data packets corresponding to the target difference and the interval time, and take the analysis result of the received response data packet as the IT asset detection result.
The first time period is spaced from the next time period by a first time period, and the first time period comprises the sending time and the interval time of the detection data packet, namely the first time period is spaced from the next time period without continuity between the current time period and the next time period. After the IT asset scanning equipment determines the resource grading value of the current time period, starting to transmit the assembled detection data packet once, and after the detection data packet is transmitted once, needing to be spaced by the determined interval time between the detection data packet and the next detection period, transmitting the detection data packet next time, determining the resource grading value of the next time period until the detection data packet corresponding to the current time period is transmitted, and transmitting the detection data packet corresponding to the next time period.
When the IT asset scanning device sends the remaining probe data packets, the IT asset scanning device may be a fixed number of probe data packets in each time period sequentially arranged in the sending queue, or a number of probe data packets corresponding to the resource scoring values sequentially arranged in the sending queue, and the IT asset scanning device continues the next time period after sending the probe data packets. The IT asset scanning equipment pre-stores the corresponding relation between the numerical range and the number of the resource grading values, and when the numerical range of the resource grading values is larger, the number corresponding to the resource grading values is smaller; the smaller the value range to which the resource score value belongs, the larger the number corresponding to the resource score value.
According to the method, the device and the system, the IT asset scanning equipment determines the resource grading value according to the determined average occupied rate of each physical resource of the IT asset scanning equipment per se in the current time period, and according to the corresponding relation between the target difference value of the resource grading value and the preset threshold value and the corresponding relation between the pre-stored difference range and the adjustment value, the assembly number of the detection data packet corresponding to the target difference value and the interval time between the detection data packet and the next detection period are determined, the rest detection data packet is sent according to the assembly number and the interval time, the analysis result of the received response data packet is used as the IT asset detection result, wherein the adjustment value comprises the adjustment assembly number and the adjustment time, so that the average occupied rate of the resource is kept near the average occupied rate corresponding to the preset threshold value when the detection data packet is sent, reasonable utilization of the resource is guaranteed, the accuracy of the detection data packet sending and the loss possibility when the response data packet is received when the resource is reasonably utilized can be reduced, the occupation amount of network resource of a business system is improved, and the possibility of breakdown of the business system is reduced.
Example 2:
in order to improve the accuracy of IT asset detection, in the embodiment of the present invention, the determining, according to the average occupancy rate corresponding to each physical resource of the IT asset scanning device determined in the current time period, the resource scoring value of the current time period includes:
and determining the resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the network quality parameter of the network resource transmission detection data packet determined in the last time period.
Because the factors affecting the accuracy of IT asset detection when the IT asset scanning device performs IT asset detection include not only the average occupied rate of physical resources of the IT asset scanning device itself, but also the network quality of network resource transmission detection data packets, if the IT asset scanning device sends detection data packets when the network quality is poor, the possibility of packet loss of the detection data packets and the possibility of packet loss of receiving response data packets will increase, and the accuracy of IT asset detection will also decrease.
Therefore, to further improve IT asset detection accuracy, the IT asset scanning device may also consider the network quality of the network asset transmission detection packet when determining the asset scoring value for the current time period. Because the IT asset scanning device needs to send and receive data packets when determining network quality, the IT asset scanning device cannot determine the network quality of the current time period, and therefore the IT asset scanning device uses each network quality parameter of the network resource transmission probe data packet determined in the previous time period as a consideration factor for the IT asset scanning device to determine the resource scoring value of the current time period.
Specifically, the IT asset scanning device determines the score of each network resource and the score of each physical resource according to each network quality parameter of the network resource transmission detection data packet determined in the last stored time period and the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period, thereby determining the resource scoring value in the current time period. Wherein, when the average occupied rate corresponding to the physical resource is larger, the grading of the physical resource is larger; the larger the network quality parameter of the network resource transmission probe data packet, i.e. the worse the network quality, the larger the scoring of the network resource.
Specifically, the IT asset scanning device may select, according to the score of each network resource and the score of each physical resource, a median value in the scores of the physical resources as the score of the physical resources, select a median value in the scores of the network resources as the score of the network resources, determine an average value of the scores of the physical resources and the scores of the network resources, and use the average value as the resource score value of the current time period.
In order to determine the resource scoring value of the current time period, in the embodiments of the present invention, the determining, according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period and the network quality parameter of the network resource transmission probe packet determined in the previous time period, the resource scoring value of the current time period includes:
Determining each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the pre-stored physical resource scoring function relation determined in the current time period;
each network quality parameter of the network resource transmission detection data packet determined according to the last time period of the current time period and a pre-stored network resource scoring function relation are used for determining each second score of each network resource, wherein the network quality parameters comprise network delay information and data packet response time information;
and determining the resource grading value of the current time period according to each first grading value and each second grading value.
In order to determine the resource scoring value in the current time period, in the embodiment of the invention, the IT asset scanning device determines the average occupied rate corresponding to each physical resource of the IT asset scanning device, according to the average occupied rate corresponding to each physical resource, in order to determine each first score of each physical resource, the IT asset scanning device pre-stores a physical resource scoring function relation, according to the physical resource scoring function relation, inputs the average occupied rate into the physical resource scoring function relation, and can determine each first score of each physical resource. For example, the physical resource scoring function relationship may be a monotonically increasing linear function or an increasing exponential function.
As one possible implementation, the IT asset scanning device may determine an average occupancy of the physical asset as a first score for the physical asset after determining the average occupancy.
The IT asset scanning device stores each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period, and based on each network quality parameter, in order to determine each second score of each network resource, the IT asset scanning device stores a network resource scoring function relation in advance, and inputs the network quality parameter into the network resource scoring function relation according to the network resource scoring function relation, so that each second score of each network resource can be determined. The network quality parameters comprise network delay information and data packet response time information, namely a network delay time value and a data packet response time value. Wherein the network resource scoring function relationship may be a monotonically increasing linear function or an increasing exponential function. For example, the network resource scoring function relationship may beWherein y represents a second score of the network resource, x represents a network quality parameter of the network resource transmission probe data packet determined in the previous time period, and z is a set numerical value and represents a value of the network quality parameter when the network quality is good.
After determining each first score for each physical resource and each second score for each network resource, the IT asset scanning apparatus determines a resource score value for the current time period based on each first score and each second score.
Specifically, the IT asset scanning device determines a sum value of each first score and each second score, and determines a ratio of the sum value to the determined number of resources as a resource score value of the current time period, where the number of resources includes the number of physical resources and the number of network resources.
In order to improve the accuracy of determining the resource scoring value of the current time period, in the embodiments of the present invention, the determining the resource scoring value of the current time period according to each first score and each second score includes:
determining a first product value of the first score of each physical resource and the first weight value according to the first score and the first weight value corresponding to each pre-stored physical resource;
determining a second product value of the second score of each physical resource and the second weight value according to each second score and the second weight value corresponding to each pre-stored network resource;
And determining a resource grading value of the current time period according to each first product value and each second product value.
After determining the first score of each physical resource and the second score of each network resource, the IT asset scanning device also stores the first weight value corresponding to each physical resource and the second weight value corresponding to each network resource in advance because the score value of each resource has different weights to the resource score value of the current time period.
In order to determine the resource scoring value of the current time period, the IT asset scanning device uses a first product value of the first scoring value and the first weighting value according to each first scoring value and a pre-stored first weighting value corresponding to each physical resource as the scoring value of the physical resource when determining the resource scoring value of the current time period.
The IT asset scanning device uses a second product value of the second score and the second weight value according to each second score and a second weight value corresponding to each network resource stored in advance as the score value of the network resource when determining the resource score value of the current time period.
And determining the ratio of the sum value to the determined number of resources as the resource scoring value of the current time period according to each first product value and each second product value.
Example 3:
in order to determine the number of assemblies of the probe data packet and the interval time between the probe data packet and the next probe period in the current time period, in the embodiment of the present invention, determining the number of assemblies of the probe data packet and the interval time between the probe data packet and the next probe period corresponding to the target difference value according to the corresponding relation between the target difference value, the pre-stored difference value range and the adjustment value includes:
determining a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored corresponding relation between a difference range and the adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and target adjustment time;
according to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
In the embodiment of the invention, the IT asset scanning device can determine the difference range in which the target difference is located according to the target difference and the corresponding relation between the pre-stored difference range and the adjustment value, and determine the adjustment value corresponding to the difference range in which the target difference is located as the target adjustment value.
Since the factors affecting the average occupancy of the resource are the number of assemblies the IT asset scanning device transmits probe packets and the interval time between the next probe cycle, the target adjustment value includes a target adjustment assembly number and a target adjustment time.
In the embodiment of the invention, the IT asset scanning device pre-stores the preset assembly number of the transmitted detection data packets corresponding to the preset threshold value and the preset interval time between the transmission detection data packets and the next detection period, wherein the preset assembly number and the preset interval time are the assembly number and the interval time of the transmitted detection data packets when the IT asset scanning device reasonably utilizes the resources.
After the IT asset scanning equipment determines the target adjustment assembly number and the target adjustment time corresponding to the target difference value, in order to realize adjustment of the average occupied rate of the resources, the IT asset scanning equipment determines a first sum value of the preset assembly number and the target assembly number, and determines the first sum value as the assembly number of the detection data packet corresponding to the target difference value of the current time period; and determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the current time period and the next detection period corresponding to the target difference value of the current time period.
When the difference range where the target difference is located is a positive value, the average occupied rate of the own resource of the IT asset scanning device in the current time period is larger than a preset threshold value when the resource is reasonably utilized, so that in order to reduce the average occupied rate of the resource, the adjusted assembly number corresponding to the difference range is a negative value, the first sum value of the preset assembly number and the target assembly number is smaller than the preset assembly number, namely the assembly number of the detection data packet corresponding to the target difference is smaller than the preset assembly number; the adjustment time corresponding to the difference range is a positive value, and the second sum of the preset interval time and the target adjustment time is longer than the preset interval time, namely the interval time corresponding to the target difference value and the next detection period is longer than the preset interval time.
When the difference range where the target difference is located is a negative value, the average occupied rate of the resources of the IT asset scanning device in the current time period is smaller than the preset threshold value when the resources are reasonably utilized, so that in order to improve the average occupied rate of the resources, the adjustment assembly number corresponding to the difference range is a positive value, the first sum of the preset assembly number and the target assembly number is larger than the preset assembly number, namely the assembly number of the detection data packet corresponding to the target difference is larger than the preset assembly number, the adjustment time corresponding to the difference range is a negative value, the second sum of the preset interval time and the target adjustment time is shorter than the preset interval time, namely the interval time between the target difference and the next detection period is shorter than the preset interval time.
Example 4:
the following describes a complete IT asset detection method according to an embodiment of the present invention by a specific embodiment, and fig. 2 is a schematic process diagram of the complete IT asset detection method according to the embodiment of the present invention, where the process includes the following steps:
s201: determining each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the pre-stored physical resource scoring function relation determined in the current time period; and determining a first product value of the first score of each physical resource and the first weight value according to each first score and the first weight value corresponding to each pre-stored physical resource.
S202: determining each second score of each network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation; and determining a second product value of the second score of each physical resource and the second weight value according to each second score and the second weight value corresponding to each pre-stored network resource.
S203: and determining a resource grading value of the current time period according to each first product value and each second product value.
S204: and determining a target difference value between the resource grading value and a preset threshold according to the resource grading value.
S205: and determining a target adjustment value corresponding to the target difference value according to the corresponding relation among the target difference value, a pre-stored difference value range and the adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and target adjustment time.
S206: and determining the first sum of the preset assembly number and the target assembly number as the assembly number of the detection data packet corresponding to the target difference value in the current time period according to the preset assembly number of the detection data packet corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, and determining the second sum of the preset interval time and the target adjustment time as the interval time between the preset interval time and the next detection period corresponding to the target difference value in the current time period.
S207: and sending the rest detection data packets according to the assembly number and the interval time corresponding to the target difference value, and taking the analysis result of the received response data packets as an IT asset detection result.
Example 5:
on the basis of the above embodiments, fig. 3 is a schematic structural diagram of an IT asset detection device according to an embodiment of the present invention, where the device includes:
a resource usage information collection module 301, configured to collect, in a current time period, average occupancy rates corresponding to each physical resource of the IT asset scanning device itself;
a determining module 302, configured to determine a resource score value of a current time period according to an average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period, where the physical resources include a CPU, a memory, and an IO interface; determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
the detecting module 303 is configured to determine, according to the target difference value, a correspondence between a pre-stored difference range and an adjustment value, an assembly number of the detected data packet corresponding to the target difference value and an interval time between the detected data packet and a next detection period, send the remaining detected data packet according to the assembly number and the interval time, and take a received analysis result of the response data packet as an IT asset detection result, where the adjustment value includes an adjustment assembly number and an adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detected data packet.
Further, the determining module is specifically configured to determine a resource score value of a current time period according to an average occupied rate corresponding to each physical resource of the IT asset scanning device itself determined in the current time period and each network quality parameter of a network resource transmission probe data packet determined in a previous time period, where the network quality parameters include a network delay parameter and a data packet response time parameter.
Further, the determining module is specifically configured to determine each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period and a pre-stored physical resource scoring function relationship; determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation; and determining the resource grading value of the current time period according to each first grading value and each second grading value.
Further, the determining module is specifically further configured to determine a first product value of the first score of each physical resource and the first weight value according to each first score and a first weight value corresponding to each pre-stored physical resource; determining a second product value of the second score of each network resource and the second weight value according to the second score and the second weight value corresponding to each network resource which is pre-stored; and determining a resource grading value of the current time period according to each first product value and each second product value.
Further, the detection module is specifically configured to determine a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored correspondence between a difference range and an adjustment value, where the target adjustment value includes a target adjustment assembly number and a target adjustment time; according to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
Fig. 4 is a schematic structural diagram of another IT asset detection device according to an embodiment of the present invention, as shown in fig. 4, where the IT asset detection device includes a detection engine module 401, a packet receiving engine module 402, a resource acquisition engine module 403, a resource scoring algorithm module 404, and a scan result aggregation module 405.
The detection engine module 401 includes a packet grouping engine unit 4011 and a detection controller unit 4012, where the detection engine module 401 is configured to determine, according to a resource score value, an assembly number of detection packets and an interval time between the detection packets and a next detection period, and send remaining detection packets according to the assembly number and the interval time, which is equivalent to a unit in the determination module 302 of the embodiment of the present invention that determines, according to the resource score value, a target difference value between the resource score value and a preset threshold, and a unit in the detection module 303 that determines, according to a target difference value, a correspondence between a pre-stored difference range and an adjustment value, an assembly number and an interval time of the detection packets corresponding to the target difference value, and send remaining detection packets according to the assembly number and the interval time.
The packet receiving engine module 402 includes a packet analysis and analysis engine unit 4021 and a packet receiving queue unit 4022, where the packet receiving engine module 402 is configured to analyze a received response packet, send an analysis result to the scan result aggregation module 405, and send the determined network quality parameter to the resource scoring algorithm module 404, which is equivalent to a unit implemented in the detection module 303 in the embodiment of the present invention to use the analysis result of the received response packet as an IT asset detection result.
The resource collecting engine module 403 is configured to determine an average occupied rate corresponding to each physical resource of the IT asset scanning device itself, and send the average occupied rate of each physical resource to the resource scoring algorithm module 404, where the resource scoring algorithm module 404 is configured to determine a resource scoring value of a current time period according to the average occupied rate corresponding to each physical resource and a network quality parameter determined in a previous time period, so that the resource collecting engine module 403 and the resource scoring algorithm module 404 are equivalent to a unit in the resource usage information collecting module 301 according to the embodiment of the present invention that implements a function of determining the resource scoring value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning device itself determined in the current time period.
The scan result aggregation module 405 is configured to aggregate and merge the IT asset detection results, persist the results to a database, and display the results, which is equivalent to a unit that implements the function of the analysis result of the received response data packet as the IT asset detection result in the detection module 303 according to the embodiment of the present invention.
Example 6:
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, the embodiment of the present invention further provides an electronic device, which includes a processor 501, a communication interface 502, a memory 503, and a communication bus 504, where the processor 501, the communication interface 502, and the memory 503 complete communication with each other through the communication bus 504;
The memory 503 has stored therein a computer program which, when executed by the processor 501, causes the processor 501 to perform the steps of:
determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the physical resources comprise a CPU, a memory and an IO interface;
determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period according to the corresponding relation among the target difference value, a pre-stored difference value range and an adjustment value, sending the rest detection data packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as an IT asset detection result, wherein the adjustment value comprises an adjustment assembly number and an adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packets.
Further, the processor 501 is specifically configured to determine, according to the current time period, an average occupied rate corresponding to each physical resource of the IT asset scanning device itself, where determining a resource score value of the current time period includes:
And determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and each network quality parameter of the network resource transmission detection data packet determined in the last time period, wherein the network quality parameters comprise a network delay parameter and a data packet response time parameter.
Further, the processor 501 is specifically configured to determine, according to the average occupied rate corresponding to each physical resource of the IT asset scanning device itself determined according to the current time period, and each network quality parameter of the network resource transmission probe packet determined in the previous time period, a resource scoring value of the current time period includes:
determining each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the pre-stored physical resource scoring function relation determined in the current time period;
determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation;
And determining the resource grading value of the current time period according to each first grading value and each second grading value.
Further, the processor 501 is specifically configured to determine, according to the first score and the second score, a resource score value of the current time period includes:
determining a first product value of the first score of each physical resource and the first weight value according to the first score and the first weight value corresponding to each pre-stored physical resource;
determining a second product value of the second score of each network resource and the second weight value according to the second score and the second weight value corresponding to each network resource which is pre-stored;
and determining a resource grading value of the current time period according to each first product value and each second product value.
Further, the processor 501 is specifically configured to determine, according to the target difference value, the correspondence between the pre-saved difference value range and the adjustment value, the number of the assembled detection data packets corresponding to the target difference value and the interval time between the next detection period include:
determining a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored corresponding relation between a difference range and the adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and target adjustment time;
According to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 502 is used for communication between the electronic device and other devices described above.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (Digital Signal Processing, DSP), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 7:
on the basis of the above embodiments, the embodiments of the present invention also provide a computer-readable storage medium storing a computer program, the computer program being executed by a processor to:
determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the physical resources comprise a CPU, a memory and an IO interface;
determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period according to the corresponding relation among the target difference value, a pre-stored difference value range and an adjustment value, sending the rest detection data packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as an IT asset detection result, wherein the adjustment value comprises an adjustment assembly number and an adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packets.
Further, the determining, according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period, the resource scoring value of the current time period includes:
and determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and each network quality parameter of the network resource transmission detection data packet determined in the last time period, wherein the network quality parameters comprise a network delay parameter and a data packet response time parameter.
Further, the determining, according to the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period and each network quality parameter of the network resource transmission probe data packet determined in the previous time period, the resource scoring value of the current time period includes:
determining each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the pre-stored physical resource scoring function relation determined in the current time period;
Determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation;
and determining the resource grading value of the current time period according to each first grading value and each second grading value.
Further, the determining the resource scoring value of the current time period according to the first scoring value and the second scoring value includes:
determining a first product value of the first score of each physical resource and the first weight value according to the first score and the first weight value corresponding to each pre-stored physical resource;
determining a second product value of the second score of each network resource and the second weight value according to the second score and the second weight value corresponding to each network resource which is pre-stored;
and determining a resource grading value of the current time period according to each first product value and each second product value.
Further, determining the number of the assembled detection data packets corresponding to the target difference and the interval time between the detected data packets and the next detection period according to the corresponding relation between the target difference, the pre-stored difference range and the adjustment value comprises:
Determining a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored corresponding relation between a difference range and the adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and target adjustment time;
according to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. An IT asset detection method, applied to an IT asset scanning device, the method comprising:
determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the physical resources comprise a CPU, a memory and an IO interface;
determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
And determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the detection data packets and the next detection period according to the corresponding relation among the target difference value, a pre-stored difference value range and an adjustment value, sending the rest detection data packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as an IT asset detection result, wherein the adjustment value comprises an adjustment assembly number and an adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packets.
2. The method of claim 1, wherein the determining the resource scoring value for the current time period from the average occupancy for each physical resource of the IT asset scanning device itself determined from the current time period comprises:
and determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and each network quality parameter of the network resource transmission detection data packet determined in the last time period, wherein the network quality parameters comprise a network delay parameter and a data packet response time parameter.
3. The method of claim 2, wherein the determining the resource scoring value for the current time period from the average occupancy of each physical resource of the IT asset scanning device itself determined for the current time period and each network quality parameter of the network resource transmission probe packet determined for the last time period comprises:
determining each first score of each physical resource according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment and the pre-stored physical resource scoring function relation determined in the current time period;
determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation;
and determining the resource grading value of the current time period according to each first grading value and each second grading value.
4. The method of claim 3, wherein said determining a resource score value for the current time period based on said each first score and said each second score comprises:
Determining a first product value of the first score of each physical resource and the first weight value according to the first score and the first weight value corresponding to each pre-stored physical resource;
determining a second product value of the second score of each network resource and the second weight value according to the second score and the second weight value corresponding to each network resource which is pre-stored;
and determining a resource grading value of the current time period according to each first product value and each second product value.
5. The method according to claim 1, wherein determining the number of probe packets corresponding to the target difference and the interval time between the next probe cycle according to the target difference, the pre-stored correspondence between the difference range and the adjustment value includes:
determining a target adjustment value corresponding to the target difference value according to the target difference value, a pre-stored corresponding relation between a difference range and the adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and target adjustment time;
according to the preset assembly number of the detection data packets which are corresponding to the preset threshold and are sent to be stored in advance and the preset interval time between the detection data packets and the next detection period, determining a first sum value of the preset assembly number and the target adjustment assembly number, determining the first sum value as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum value of the preset interval time and the target adjustment time, and determining the second sum value as the interval time between the detection data packets corresponding to the target difference value and the next detection period.
6. An IT asset detection device, the device comprising:
the resource use information acquisition module is used for acquiring average occupied rate corresponding to each physical resource of the IT asset scanning equipment in the current time period;
the determining module is used for determining a resource grading value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment, wherein the average occupied rate corresponds to each physical resource of the IT asset scanning equipment, and the physical resources comprise a CPU, a memory and an IO interface; determining a target difference value between the resource grading value and a preset threshold according to the resource grading value;
the detection module is used for determining the assembly number of the detection data packet corresponding to the target difference value and the interval time between the detection data packet and the next detection period according to the corresponding relation between the target difference value, the pre-stored difference value range and the adjustment value, sending the rest detection data packet according to the assembly number and the interval time, and taking the analysis result of the received response data packet as an IT asset detection result, wherein the adjustment value comprises the adjustment assembly number and the adjustment time, and the assembly number and the adjustment time act on the next detection period to send the detection data packet.
7. The apparatus of claim 6, wherein the means for determining is configured to determine the resource scoring value for the current time period based on an average occupancy rate for each physical resource of the IT asset scanning device itself determined for the current time period and each network quality parameter of the network resource transmission probe packet determined for the previous time period, wherein the network quality parameters include a network latency parameter and a packet response time parameter.
8. The apparatus of claim 7, wherein the determining module is specifically configured to determine each first score of each physical resource according to an average occupancy rate corresponding to each physical resource of the IT asset scanning device itself determined in the current time period and a pre-stored physical resource scoring function; determining each second score of the network resource according to each network quality parameter of the network resource transmission detection data packet determined in the last time period of the current time period and a pre-stored network resource scoring function relation; and determining the resource grading value of the current time period according to each first grading value and each second grading value.
9. An electronic device comprising a processor and a memory for storing program instructions, the processor for executing a computer program stored in the memory to perform the steps of the IT asset detection method according to any of claims 1-5.
10. A computer readable storage medium, characterized in that IT stores a computer program which, when executed by a processor, implements the steps of the IT asset detection method of any of claims 1-5.
CN202011614189.5A 2020-12-30 2020-12-30 IT asset detection method, device, equipment and medium Active CN112596985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011614189.5A CN112596985B (en) 2020-12-30 2020-12-30 IT asset detection method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011614189.5A CN112596985B (en) 2020-12-30 2020-12-30 IT asset detection method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112596985A CN112596985A (en) 2021-04-02
CN112596985B true CN112596985B (en) 2023-11-10

Family

ID=75206850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011614189.5A Active CN112596985B (en) 2020-12-30 2020-12-30 IT asset detection method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112596985B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113627979B (en) * 2021-07-30 2024-07-12 北京达佳互联信息技术有限公司 Method, device, server, system and medium for processing resource release data
CN115348197B (en) * 2022-06-10 2023-07-21 国网思极网安科技(北京)有限公司 Network asset detection method and device, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599453A (en) * 2003-09-17 2005-03-23 联想(北京)有限公司 Method for dynamic regulating video transmission
WO2009024068A1 (en) * 2007-08-15 2009-02-26 Huawei Technologies Co., Ltd. The method for determining the time of sending data, the method, device and system for multicast blocking
CN101719867A (en) * 2009-11-23 2010-06-02 中兴通讯股份有限公司 Method and system for clock recovery in packet switching network
CN103902437A (en) * 2014-03-11 2014-07-02 深圳市同洲电子股份有限公司 Detecting method and server
WO2016155945A1 (en) * 2015-03-31 2016-10-06 Qualcomm Technologies International, Ltd. Data rate adaptation in a wireless transmitter
CN106941425A (en) * 2016-01-04 2017-07-11 中国科学院声学研究所 A kind of link health detecting system and method based on RTT monitorings
CN107995036A (en) * 2017-11-30 2018-05-04 杭州电魂网络科技股份有限公司 Data transmission method, device, server and readable storage medium storing program for executing
CN109788038A (en) * 2018-12-25 2019-05-21 上海数果科技有限公司 A kind of intelligent heartbeat method
CN109800085A (en) * 2018-12-24 2019-05-24 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of resource distribution
WO2019153337A1 (en) * 2018-02-12 2019-08-15 深圳前海达闼云端智能科技有限公司 Network quality evaluation method and apparatus, network detection device, and readable storage medium
CN111314483A (en) * 2020-03-04 2020-06-19 武汉联影医疗科技有限公司 File archiving method and device, computer equipment and storage medium
CN111404713A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Network resource adjusting method, device and storage medium
CN112039725A (en) * 2020-08-20 2020-12-04 江苏锐创软件技术有限公司 IT physical asset monitoring method, device, platform and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7310678B2 (en) * 2000-07-28 2007-12-18 Kasenna, Inc. System, server, and method for variable bit rate multimedia streaming

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599453A (en) * 2003-09-17 2005-03-23 联想(北京)有限公司 Method for dynamic regulating video transmission
WO2009024068A1 (en) * 2007-08-15 2009-02-26 Huawei Technologies Co., Ltd. The method for determining the time of sending data, the method, device and system for multicast blocking
CN101719867A (en) * 2009-11-23 2010-06-02 中兴通讯股份有限公司 Method and system for clock recovery in packet switching network
CN103902437A (en) * 2014-03-11 2014-07-02 深圳市同洲电子股份有限公司 Detecting method and server
WO2016155945A1 (en) * 2015-03-31 2016-10-06 Qualcomm Technologies International, Ltd. Data rate adaptation in a wireless transmitter
CN106941425A (en) * 2016-01-04 2017-07-11 中国科学院声学研究所 A kind of link health detecting system and method based on RTT monitorings
CN107995036A (en) * 2017-11-30 2018-05-04 杭州电魂网络科技股份有限公司 Data transmission method, device, server and readable storage medium storing program for executing
WO2019153337A1 (en) * 2018-02-12 2019-08-15 深圳前海达闼云端智能科技有限公司 Network quality evaluation method and apparatus, network detection device, and readable storage medium
CN109800085A (en) * 2018-12-24 2019-05-24 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of resource distribution
CN109788038A (en) * 2018-12-25 2019-05-21 上海数果科技有限公司 A kind of intelligent heartbeat method
CN111404713A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Network resource adjusting method, device and storage medium
CN111314483A (en) * 2020-03-04 2020-06-19 武汉联影医疗科技有限公司 File archiving method and device, computer equipment and storage medium
CN112039725A (en) * 2020-08-20 2020-12-04 江苏锐创软件技术有限公司 IT physical asset monitoring method, device, platform and readable storage medium

Also Published As

Publication number Publication date
CN112596985A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN112596985B (en) IT asset detection method, device, equipment and medium
CN109981744B (en) Data distribution method and device, storage medium and electronic equipment
CN109167812B (en) Method for evaluating service quality and determining adjustment strategy, server and storage medium
CN110162270B (en) Data storage method, storage node and medium based on distributed storage system
CN108173698A (en) Network service management method, apparatus, server and storage medium
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN107707612B (en) Method and device for evaluating resource utilization rate of load balancing cluster
CN110221953A (en) Test result analysis method, apparatus, server and storage medium
CN104980472A (en) Network traffic control method and device
CN111459675B (en) Data processing method and device, readable storage medium and electronic equipment
CN110728306B (en) Target parameter selection method in reverse proxy evaluation model and related device
CN110365598B (en) Heartbeat message sending method, device, server, terminal and storage medium
CN109618281B (en) High-speed rail cell identification method and device
CN109597680B (en) Task queuing response parameter estimation method and device
CN112988490B (en) Memory leak detection method and device, electronic equipment and medium
CN115756812A (en) Resource adjusting method and device and storage medium
CN107464571B (en) Data quality assessment method, equipment and system
CN116743606A (en) Abnormal flow monitoring method, device, equipment and storage medium
CN109658082B (en) Method and equipment for identifying abnormal charging
CN111371536B (en) Control instruction sending method and device
CN117009221A (en) Processing method, device, equipment, storage medium and program product for product test
CN108255710B (en) Script abnormity detection method and terminal thereof
KR102464688B1 (en) Method and apparatus for detrmining event level of monitoring result
CN109858632A (en) A kind of method and device of threshold value
CN113238911B (en) Alarm processing method and device

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
GR01 Patent grant
GR01 Patent grant