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

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

Info

Publication number
CN112596985A
CN112596985A CN202011614189.5A CN202011614189A CN112596985A CN 112596985 A CN112596985 A CN 112596985A CN 202011614189 A CN202011614189 A CN 202011614189A CN 112596985 A CN112596985 A CN 112596985A
Authority
CN
China
Prior art keywords
value
resource
determining
time period
score
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.)
Granted
Application number
CN202011614189.5A
Other languages
Chinese (zh)
Other versions
CN112596985B (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

Images

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

Abstract

The invention discloses an IT asset detection method, a device, equipment and a medium, wherein in the current time period, according to the determined average occupancy rate corresponding to each physical resource of IT asset scanning equipment, a resource score value is determined, according to the corresponding relation between a target difference value of the resource score value and a preset threshold value, a 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, the analysis result of the received response data packets is used as the IT asset detection result, so that the average occupancy rate of the resource is maintained near the average occupancy rate corresponding to the preset threshold value when the detection data packets are sent, and the possibility of losing when the detection data packets and the response data packets are sent can be reduced when the resource is reasonably utilized, thereby improving the accuracy of IT asset detection.

Description

IT asset detection method, device, equipment and medium
Technical Field
The invention relates to the technical field of network security, in particular to an IT asset detection method, device, equipment and medium.
Background
In the field of network security, Information objects with customer value are called Information Technology (IT) assets, including network terminals, servers, network devices, websites, virtualization platforms, software, and the like, and IT asset scanning devices play an important role in monitoring and managing IT assets in a business system.
In order to quickly and effectively detect the IT assets in a business system, the existing IT asset scanning equipment fixedly sends a large number of detection data packets to the business system according to fixed configuration parameters in the process of executing IT asset detection, for the IT asset scanning equipment, if a large number of network resources and calculation resources are occupied when the detection data packets are sent, the IT asset scanning equipment can carry out detection in a full-load mode, even when overload detection is carried out, the cost of resource use is high, in addition, the network resources of the business system can be excessively occupied when a large number of detection data packets are sent to the business system, the business system is crashed, the possibility that the detection data packets are lost when the IT asset scanning equipment sends the detection data packets and the possibility that the detection data packets are lost when response data packets are received can be increased, and the IT asset detection is inaccurate.
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, resource occupation is more, network resources of a service system are excessively occupied, and the service 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 score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) interface;
determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the assembly number and the next detection period according to the corresponding relation among the target difference value, the 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 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 packets.
Further, the determining the resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning device determined by the current time period includes:
and determining a resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning equipment determined in the current time period and each network quality parameter of a network resource transmission detection data packet determined in the previous time period, wherein the network quality parameters comprise a network delay parameter and a data packet response time parameter.
Further, the determining the resource score value of the current time period according to the average occupancy 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 detection data packet determined in the previous 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 determined in the current time period and a pre-stored physical resource scoring function relationship;
determining each second grade 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 prestored network resource grade functional relationship;
and determining the resource scoring value of the current time period according to each first score and each second score.
Further, said determining a resource score value for said current time period based on said each first score and said each second score comprises:
determining a first product value of the first score and the first weight value of each physical resource according to each first score and the first weight value corresponding to each physical resource which is stored in advance;
determining a second product value of the second score and the second weight value of each network resource according to each second score and the prestored second weight value corresponding to each network resource;
and determining the resource credit value of the current time period according to each first product value and each second product value.
Further, the determining, according to the corresponding relationship between the target difference, the pre-stored difference range, and the adjustment value, the number of the probe packets corresponding to the target difference and the interval time between the next probe cycle includes:
determining a target adjustment value corresponding to the target difference value according to the corresponding relation between the target difference value, a pre-stored difference value range and an adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and a target adjustment time;
determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the target difference value and the next detection period.
Accordingly, an embodiment of the present invention provides an IT asset detection apparatus, including:
the resource use information acquisition module is used for acquiring the 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 the resource score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) interface; determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
and the detection module is used for determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the assembly number 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 packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as the 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 packets.
Further, the determining module is specifically configured to determine the resource score value of the current time period according to the average occupancy rate, determined in the current time period, corresponding to each physical resource of the IT asset scanning device itself and each network quality parameter of a network resource transmission detection data packet determined in the 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 an 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 score functional relationship; determining each second grade 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 prestored network resource grade functional relationship; and determining the resource scoring value of the current time period according to each first score and each second score.
Further, the determining module is specifically configured to determine, according to each first score and a first weight value corresponding to each pre-stored physical resource, a first product value of the first score and the first weight value of each physical resource; determining a second product value of the second score and the second weight value of each network resource according to each second score and the prestored second weight value corresponding to each network resource; and determining the resource credit 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 according to the target difference, a pre-stored difference range, and a correspondence relationship between adjustment values, where the target adjustment value includes a target adjustment assembly number and a target adjustment time; determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the target difference value and the next detection period.
Accordingly, embodiments of the present invention provide an electronic device comprising a processor and a memory, the memory being configured to store program instructions, the processor being configured to implement the steps of any of the above-described IT asset detection methods when executing a computer program stored in the memory.
Accordingly, embodiments of the present invention provide 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, a device, equipment and a medium, wherein in the method, a resource score value is determined according to the determined average occupancy rate corresponding to each physical resource of IT asset scanning equipment in the current time period, 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 according to the corresponding relation between the resource score value and the target difference value of a preset threshold value, the pre-stored difference value range and an adjustment value, the rest detection data packets are sent according to the assembly number and the interval time, the analysis result of the received response data packets is taken as the IT asset detection result, wherein the adjustment value comprises the adjustment of the assembly number and the adjustment time, so that the average occupancy rate of the resource is maintained to be close to the average occupancy rate corresponding to the preset threshold value when the detection data packets are sent, therefore, reasonable utilization of resources is guaranteed, the possibility of losing when the detection data packet is sent and the response data packet is received can be reduced when the resources are reasonably utilized, the accuracy of IT asset detection is improved, the occupation amount of network resources of a service system is reduced, and the possibility of breakdown of the service system is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a process diagram of an IT asset detection method provided by an embodiment of the present invention;
FIG. 2 is a process diagram of a complete IT asset detection method provided by an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an IT asset detection apparatus provided in an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another IT asset detection apparatus provided in 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 clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
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 IT asset detection media.
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 score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) 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 and a PC (personal computer), and can also be a server, and the server can be a local server and a cloud server.
Because the IT asset scanning equipment seriously depends on the own resources of the IT asset scanning equipment in the process of detecting the IT assets, whether the own resources of the IT asset scanning equipment are reasonably utilized determines the detection quality of the IT asset detection. The more reasonable the resource allocation is, the smaller the influence on the IT assets in the detected business system is, and the higher the accuracy of IT asset detection is.
The IT asset scanning equipment comprises resources of the IT asset scanning equipment, wherein the resources of the IT asset scanning equipment comprise physical resources, and the physical resources comprise a CPU (central processing unit), a memory, an IO (input output) interface and the like; the detected IT assets include network terminals, servers, network devices, websites, virtualization platforms, software, and the like.
In order to ensure reasonable utilization of the resources of the IT asset scanning device, the IT asset scanning device determines the 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 at each time or at a plurality of set times of the IT asset scanning device in the current time period, thereby determining 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 score value of the current time period is determined according to the score corresponding to each physical resource. Wherein the resource score value represents the average occupancy rate of the IT asset scanning device's own resources during the current time period.
Specifically, when the IT asset scanning device determines the resource score value of the current time period according to the score corresponding to each physical resource, the IT asset scanning device may select the score corresponding to any one of the physical resources and determine the score as the resource score value of the current time period; or selecting a median of the scores corresponding to each physical resource, and determining the median as the score value of the resource in the current time period.
S102: and determining a target difference value between the resource score value and a preset threshold value according to the resource score 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 the IT asset detection is expected to be improved, the preset threshold can be set to be larger, and if the accuracy of the IT asset detection is expected to be improved, the preset threshold can be set to be smaller.
If the resource score value is equal to the preset threshold value, IT indicates that the resource of the IT asset scanning device is reasonably utilized, and if the resource score value is not equal to the preset threshold value, IT indicates that the resource of the IT asset scanning device is not reasonably utilized, and the IT asset scanning device determines a target difference value between the resource score value and the preset threshold value.
Where the target difference may be a positive value, may be a negative value, or may be zero. If the target difference value is a positive value, IT indicates that the average occupied rate of the resources of the IT asset scanning equipment in the current time period is larger than a preset threshold value when the resources are reasonably utilized, and the IT asset scanning equipment can reduce the average occupied rate of the resources; if the target difference value is a negative value, IT indicates that the average occupied rate of the resources of the IT asset scanning equipment in the current time period is smaller than a preset threshold value when the resources are reasonably utilized, and the IT asset scanning equipment 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 assembly number and the next detection period according to the corresponding relation among the target difference value, the 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 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 packets.
After the IT asset scanning device determines the target difference value between the resource score value and the preset threshold value, in order to realize the adjustment of the average occupied rate of the resources of the IT asset scanning device, the IT asset scanning device prestores the corresponding relation between the difference value range and the adjustment value.
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 expected to be improved, the range size of the difference range can be set to be smaller, and if the robustness of adjustment of the average occupied rate of the resource is expected to be improved, the range size of the difference range can be set to be larger.
In the process of detecting the IT assets by the IT asset scanning equipment, the factors influencing the average occupied rate of the resources of the IT asset scanning equipment are mainly the number of the assemblies for sending the detection data packets and the interval time between the number of the assemblies and the next detection period, so that the adjustment value comprises the adjustment 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, according to the target difference value and the corresponding relationship between the difference value range and the adjustment value stored in advance, the number of the probe packets corresponding to the target difference value and the interval time between the next probe cycle, so as to send the remaining probe packets according to the determined number of the probe packets corresponding to the target difference value and the interval time, and use the analysis result of the received response packet as the IT asset detection result.
The interval between the current time period and the next time period is a first duration, and the first duration includes the sending time of the detection data packet and the interval time, that is, the interval between the current time period and the next time period is not continuous, but is the interval of the first duration. The IT asset scanning equipment determines the resource score value of the current time period, starts to send the assembled detection data packet for one time, and sends the detection data packet for the next time after sending the detection data packet for one time, wherein the interval time between the determined interval and the next detection period is needed, and the resource score value of the next time period is determined and the detection data packets corresponding to the next time period are sent until the detection data packets corresponding to the current time period are sent.
When the IT asset scanning device sends the remaining detection data packets, the fixed number of detection data packets of each time period arranged in sequence in the queue may be sent, or the number of detection data packets corresponding to the resource score value arranged in sequence in the queue may be sent, and the IT asset scanning device continues to the next time period after sending the detection data packets. The IT asset scanning equipment pre-stores the corresponding relation between the numerical range and the quantity of the resource scoring values, and when the numerical range to which the resource scoring values belong is larger, the quantity corresponding to the resource scoring values is smaller; the smaller the numerical range to which the resource score value belongs, the larger the quantity corresponding to the resource score value.
In the embodiment of the invention, the IT asset scanning equipment determines the resource score value according to the determined average occupied rate corresponding to each physical resource of the IT asset scanning equipment in the current time period, determines 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 between the resource score value and the target difference value of the preset threshold value, the pre-stored difference value range and the adjustment value, sends the rest detection data packets according to the assembly number and the interval time, and takes the analysis result of the received response data packets as the IT asset detection result, wherein the adjustment value comprises the adjustment assembly number and the adjustment time, thereby ensuring that the average occupied rate of the resource is maintained near the average occupied rate corresponding to the preset threshold value when the detection data packets are sent, and ensuring the reasonable utilization of the resource, when the resources are reasonably utilized, the possibility of losing the detection data packet and the response data packet can be reduced, so that the accuracy of IT asset detection is improved, the occupation amount of network resources of a service system is reduced, and the possibility of crash of the service system is reduced.
Example 2:
in order to improve the accuracy of IT asset detection, on the basis of the above embodiment, in the embodiment of the present invention, the determining the average occupied rate corresponding to each physical resource of the IT asset scanning device itself according to the current time period includes:
and determining the resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning equipment determined in the current time period and the network quality parameter of the network resource transmission detection data packet determined in the previous time period.
When the IT asset scanning equipment detects the IT assets, the factors influencing the detection accuracy of the IT assets not only include the average occupied rate of the physical resources of the IT asset scanning equipment, but also include the network quality of the network resource transmission detection data packet.
Therefore, in order to further improve the IT asset detection accuracy, the IT asset scanning device can also consider the network quality of the network resource transmission detection data packet when determining the resource scoring value of the current time period. Because the IT asset scanning device needs to send and receive the data packet when determining the network quality, the IT asset scanning device cannot determine the network quality of the current time period, and therefore the IT asset scanning device takes each network quality parameter of the network resource transmission detection data packet determined in the previous time period as a consideration factor of the IT asset scanning device determining the resource score 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 stored network quality parameter of the network resource transmission detection data packet determined in the last time period and the average occupied rate corresponding to each physical resource of the IT asset scanning device determined in the current time period, so as to determine the resource score value in the current time period. When the average occupied rate corresponding to the physical resource is larger, the score of the physical resource is larger; the larger the network quality parameter of the network resource transmitting the probe data packet, i.e. the worse the network quality, the larger the score of the network resource.
Specifically, the IT asset scanning device may select a median value of the scores of the physical resources as the score of the physical resources, select a median value of 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, according to the score of each network resource and the score of each physical resource.
In order to determine the resource score value of the current time period, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining the resource score value of the current time period 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 detection packet determined in the previous 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 determined in the current time period and a pre-stored physical resource scoring function relationship;
determining each second grade of each network resource according to each network quality parameter of a network resource transmission detection data packet determined in the last time period of the current time period and a prestored network resource grade functional relationship, wherein the network quality parameters comprise network delay information and data packet response time information;
and determining the resource scoring value of the current time period according to each first score and each second score.
In order to determine the resource score value in the current time period, in the embodiment of the present invention, the IT asset scanning device determines an average occupied rate corresponding to each physical resource of the IT asset scanning device itself, and 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 relationship, and according to the physical resource scoring function relationship, inputs the average occupied rate into the physical resource scoring function relationship, so as to 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 a possible implementation manner, the IT asset scanning device may determine the average occupied rate as the first score of the physical resource after determining the average occupied rate of the physical resource.
The IT asset scanning device stores each network quality parameter of a network resource transmission detection data packet determined in a previous time period of a current time period, and stores a network resource scoring function relationship in advance for determining each second score of each network resource based on each network quality parameter. The network quality parameters include network delay information and data packet response time information, specifically, network delay time values and data packet response time values. 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 functional relationship may be
Figure BDA0002875950980000121
Wherein y represents the second score of the network resource, x represents the network quality parameter of the network resource transmission detection data packet determined in the last time period, and z is a set value representing the value of the network quality parameter when the network quality is good.
After determining each first score of each physical resource and each second score of each network resource, the IT asset scanning device determines a resource score value for the current time period according to each first score and each second score.
Specifically, the IT asset scanning device determines a sum of each first score and each second score, and determines a ratio of the sum 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 score value of the current time period, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining the resource score 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 and the first weight value of each physical resource according to each first score and the first weight value corresponding to each physical resource which is stored in advance;
determining a second product value of the second score and the second weight value of each physical resource according to each second score and a prestored second weight value corresponding to each network resource;
and determining the resource credit 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 prestores a first weight value corresponding to each physical resource and a second weight value corresponding to each network resource because the weights of the score values of each resource to the resource score value of the current time period are different.
In order to determine the resource score value of the current time period, the IT asset scanning device uses a first product value of the first score and the first weight value as the score value of the physical resource when the resource score value of the current time period is determined, according to each first score and the first weight value corresponding to each physical resource stored in advance.
And the IT asset scanning equipment takes a second product value of the second score and the second weight value as the score value of the network resource when the resource score value of the current time period is determined according to each second score and the prestored second weight value corresponding to each network resource.
The IT asset scanning device sums all product values according to each first product value and each second product value, and determines a ratio of the sum value to the determined number of resources as a resource score value for the current time period.
Example 3:
in order to determine the number of the assembled probe packets sent in the current time period and the interval time between the assembled probe packets and the next probe period, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining the number of the assembled probe packets corresponding to the target difference value and the interval time between the assembled probe packets and the next probe period according to the corresponding relationship 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 corresponding relation between the target difference value, a pre-stored difference value range and an adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and a target adjustment time;
determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the target difference value and the next detection period.
In the embodiment of the present invention, the IT asset scanning device may determine the difference range where the target difference is located according to the target difference and the correspondence between the difference range and the adjustment value that are stored in advance, and determine the adjustment value corresponding to the difference range where the target difference is located as the target adjustment value.
Since the factors that affect the average occupied rate of the resource are the number of packages of probe packets sent by the IT asset scanning device and the interval time between the next probe cycle, the target adjustment value includes a target adjustment package number and a target adjustment time.
In the embodiment of the present invention, the IT asset scanning device prestores a preset assembly number of the detection packets to be sent and a preset interval time between the preset assembly number and the next detection period, where the preset assembly number and the preset interval time are the assembly number and the interval time of the detection packets to be sent when the IT asset scanning device is reasonably utilized in 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 the 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 packets corresponding to the target difference value in the current time period; and determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the current time period and the next detection period corresponding to the target difference value.
When the difference range of the target difference is a positive value, the average occupied rate of the resources of the IT asset scanning equipment in the current time period is larger than a preset threshold value when the resources are reasonably utilized, so that in order to reduce the average occupied rate of the resources, the number of the adjusted assemblies corresponding to the difference range is a negative value, the first sum of the number of the preset assemblies and the number of the target assemblies is smaller than the preset number of assemblies, namely the number of the assemblies of the detection data packets corresponding to the target difference is smaller than the preset number of assemblies; 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, that is, the interval time between the target difference and the next detection period is longer than the preset interval time.
When the difference range of the target difference is a negative value, the average occupied rate of the resource of the IT asset scanning device in the current time period is smaller than the preset threshold value when the resource is reasonably utilized, so that in order to improve the average occupied rate of the resource, 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 packets corresponding to the target difference is larger than the preset assembly number, the adjustment time corresponding to the difference range is a negative value, and 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 next detection period corresponding to the target difference is shorter than the preset interval time.
Example 4:
the complete IT asset detection method according to the embodiment of the present invention is described below with 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 determined in the current time period and a pre-stored physical resource scoring function relationship; and determining a first product value of the first score and the first weight value of each physical resource according to each first score and the first weight value corresponding to each physical resource which is stored in advance.
S202: determining each second grade 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 prestored network resource grade functional relationship; and determining a second product value of the second score and the second weight value of each physical resource according to each second score and the prestored second weight value corresponding to each network resource.
S203: and determining the resource credit 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 score value and a preset threshold value according to the resource score value.
S205: and determining a target adjustment value corresponding to the target difference value according to the corresponding relation between the target difference value, a pre-stored difference value range and an adjustment value, wherein the target adjustment value comprises the target adjustment assembly number and the target adjustment time.
S206: and determining that the first sum of the preset assembly number and the target assembly number is the assembly number of the detection data packets corresponding to the target difference value in the current time period, and determining that the second sum of the preset interval time and the target adjustment time is the interval time between the target difference value in the current time period and the next detection period.
S207: and sending the rest detection data packets according to the assembling number and the interval time corresponding to the target difference value, and taking the analysis result of the received response data packet 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:
the resource utilization information acquisition module 301 is used for acquiring the average occupied rate corresponding to each physical resource of the IT asset scanning equipment in the current time period;
a determining module 302, configured to determine a resource score value of a current time period according to an average occupied rate, determined in the current time period, corresponding to each physical resource of the IT asset scanning device, where the physical resource includes a CPU, a memory, and an IO interface; determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
the detection module 303 is configured to determine, according to the target difference, a correspondence between a difference range stored in advance and an adjustment value, an assembly number of detection data packets corresponding to the target difference and an interval time between the assembly number and a next detection period, send the remaining detection data packets according to the assembly number and the interval time, and use an analysis result of a received 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 detection data packets.
Further, the determining module is specifically configured to determine the resource score value of the current time period according to the average occupancy rate, determined in the current time period, corresponding to each physical resource of the IT asset scanning device itself and each network quality parameter of a network resource transmission detection data packet determined in the 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 an 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 score functional relationship; determining each second grade 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 prestored network resource grade functional relationship; and determining the resource scoring value of the current time period according to each first score and each second score.
Further, the determining module is specifically configured to determine, according to each first score and a first weight value corresponding to each pre-stored physical resource, a first product value of the first score and the first weight value of each physical resource; determining a second product value of the second score and the second weight value of each network resource according to each second score and the prestored second weight value corresponding to each network resource; and determining the resource credit 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 according to the target difference, a pre-stored difference range, and a correspondence relationship between adjustment values, where the target adjustment value includes a target adjustment assembly number and a target adjustment time; determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between 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, and as shown in fig. 4, the IT asset detection device includes a detection engine module 401, a package receiving engine module 402, a resource collection engine module 403, a resource scoring algorithm module 404, and a scan result aggregation module 405.
The detection engine module 401 includes a packet engine unit 4011 and a detection controller unit 4012, and the detection engine module 401 is configured to determine, according to the resource score, the number of assembled detection packets and the interval time between the number of assembled detection packets and the next detection period, and send the remaining detection packets according to the number of assembled detection packets and the interval time, which is equivalent to a unit implemented in the determination module 302 according to the embodiment of the present invention to determine a target difference value between the resource score and a preset threshold according to the resource score, and a unit implemented in the detection module 303 to determine, according to a corresponding relationship between the target difference value, a difference range stored in advance, and an adjustment value, the number of assembled detection packets and the interval time of the detection packets corresponding to the target difference value, and send the remaining detection packets according to the number of assembled detection packets and the interval time.
The packet receiving engine module 402 includes a packet analysis and parsing engine unit 4021 and a packet receiving queue unit 4022, and the packet receiving engine module 402 is configured to parse the received response packet, send the parsing result to the scanning result aggregation module 405, and send the determined network quality parameter to the resource scoring algorithm module 404, which is equivalent to a unit that implements, in the detection module 303 according to the embodiment of the present invention, the parsing result of the received response packet as the IT asset detection result.
The resource collection engine module 403 is configured to determine an average occupied rate of 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 score value of a current time period according to the average occupied rate of each physical resource and a network quality parameter determined in a previous time period, and therefore the resource collection engine module 403 and the resource scoring algorithm module 404 are equivalent to units in the resource usage information collection module 301 according to the embodiment of the present invention, in which a function of determining the resource score value of the current time period according to the average occupied rate of each physical resource of the IT asset scanning device itself determined in the current time period is implemented.
The scanning result aggregation module 405 is configured to aggregate and merge the IT asset detection results, persist the aggregated and merged results to the database, and display the aggregated and merged results, which is equivalent to a unit that implements a function of using 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, an electronic device according to an embodiment of the present invention is further provided, where the electronic device 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 score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) interface;
determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the assembly number and the next detection period according to the corresponding relation among the target difference value, the 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 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 packets.
Further, the processor 501 is specifically configured to determine the average occupied rate corresponding to each physical resource of the IT asset scanning device itself according to the current time period, and determining the resource score value of the current time period includes:
and determining a resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning equipment determined in the current time period and each network quality parameter of a network resource transmission detection data packet determined in the previous 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 occupancy 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 detection packet determined in the previous time period, where determining the resource score 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 determined in the current time period and a pre-stored physical resource scoring function relationship;
determining each second grade 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 prestored network resource grade functional relationship;
and determining the resource scoring value of the current time period according to each first score and each second score.
Further, the processor 501 is specifically configured to determine the resource score value of the current time period according to each first score and each second score by:
determining a first product value of the first score and the first weight value of each physical resource according to each first score and the first weight value corresponding to each physical resource which is stored in advance;
determining a second product value of the second score and the second weight value of each network resource according to each second score and the prestored second weight value corresponding to each network resource;
and determining the resource credit value of the current time period according to each first product value and each second product value.
Further, the determining, by the processor 501, the number of the assembly of the detection data packets corresponding to the target difference value and the interval time between the assembly of the detection data packets and the next detection period according to the corresponding relationship 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 corresponding relation between the target difference value, a pre-stored difference value range and an adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and a target adjustment time;
determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the target difference value and the next detection period.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 7:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to perform the following steps:
determining a resource score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) interface;
determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the assembly number and the next detection period according to the corresponding relation among the target difference value, the 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 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 packets.
Further, the determining the resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning device determined by the current time period includes:
and determining a resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning equipment determined in the current time period and each network quality parameter of a network resource transmission detection data packet determined in the previous time period, wherein the network quality parameters comprise a network delay parameter and a data packet response time parameter.
Further, the determining the resource score value of the current time period according to the average occupancy 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 detection data packet determined in the previous 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 determined in the current time period and a pre-stored physical resource scoring function relationship;
determining each second grade 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 prestored network resource grade functional relationship;
and determining the resource scoring value of the current time period according to each first score and each second score.
Further, said determining a resource score value for said current time period based on said each first score and said each second score comprises:
determining a first product value of the first score and the first weight value of each physical resource according to each first score and the first weight value corresponding to each physical resource which is stored in advance;
determining a second product value of the second score and the second weight value of each network resource according to each second score and the prestored second weight value corresponding to each network resource;
and determining the resource credit value of the current time period according to each first product value and each second product value.
Further, the determining, according to the corresponding relationship between the target difference, the pre-stored difference range, and the adjustment value, the number of the probe packets corresponding to the target difference and the interval time between the next probe cycle includes:
determining a target adjustment value corresponding to the target difference value according to the corresponding relation between the target difference value, a pre-stored difference value range and an adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and a target adjustment time;
determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the target difference value and the next detection period.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. An IT asset detection method applied to an IT asset scanning device, the method comprising:
determining a resource score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) interface;
determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
and determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the assembly number and the next detection period according to the corresponding relation among the target difference value, the 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 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 packets.
2. The method of claim 1, wherein the determining the average occupancy rate for each physical resource of the IT asset scanning device itself based on the current time period comprises:
and determining a resource score value of the current time period according to the average occupancy rate corresponding to each physical resource of the IT asset scanning equipment determined in the current time period and each network quality parameter of a network resource transmission detection data packet determined in the previous 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 score value for the current time period comprises determining an average occupancy rate for each physical resource of the IT asset scanning device determined according to the current time period and each network quality parameter for the network resource transmission detection packet determined in the previous time period, and wherein the determining the resource score value for the current 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 determined in the current time period and a pre-stored physical resource scoring function relationship;
determining each second grade 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 prestored network resource grade functional relationship;
and determining the resource scoring value of the current time period according to each first score and each second score.
4. The method of claim 3, wherein determining the resource score value for the current time period based on the each first score and the each second score comprises:
determining a first product value of the first score and the first weight value of each physical resource according to each first score and the first weight value corresponding to each physical resource which is stored in advance;
determining a second product value of the second score and the second weight value of each network resource according to each second score and the prestored second weight value corresponding to each network resource;
and determining the resource credit 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 the determining, according to the correspondence between the target difference value, the pre-stored difference value range, and the adjustment value, the number of the probe packets corresponding to the target difference value and the interval time between the next probe period includes:
determining a target adjustment value corresponding to the target difference value according to the corresponding relation between the target difference value, a pre-stored difference value range and an adjustment value, wherein the target adjustment value comprises a target adjustment assembly number and a target adjustment time;
determining a first sum of the preset assembly number and the target assembly number according to the preset assembly number of the sent pre-stored detection data packets corresponding to the preset threshold value and the preset interval time between the preset assembly number and the next detection period, determining the first sum as the assembly number of the detection data packets corresponding to the target difference value, determining a second sum of the preset interval time and the target adjustment time, and determining the second sum as the interval time between the target difference value and the next detection period.
6. An IT asset detection apparatus, the apparatus comprising:
the resource use information acquisition module is used for acquiring the 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 the resource score value of the current time period according to the average occupied rate corresponding to each physical resource of the IT asset scanning equipment determined by the current time period, wherein the physical resource comprises a CPU (Central processing Unit), a memory and an IO (input/output) interface; determining a target difference value between the resource score value and a preset threshold value according to the resource score value;
and the detection module is used for determining the assembly number of the detection data packets corresponding to the target difference value and the interval time between the assembly number 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 packets according to the assembly number and the interval time, and taking the analysis result of the received response data packets as the 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 packets.
7. The apparatus of claim 6, wherein the determining module is specifically configured to determine the resource score value of the current time period according to the average occupancy rate of 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 packet determined in the previous time period, where the network quality parameters include a network delay parameter and a packet response time parameter.
8. The apparatus according to claim 7, wherein the determining module is specifically configured to determine each first score of each physical resource according to the average occupancy rate, determined in the current time period, corresponding to each physical resource of the IT asset scanning device itself, and a pre-stored score functional relationship of the physical resource; determining each second grade 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 prestored network resource grade functional relationship; and determining the resource scoring value of the current time period according to each first score and each second score.
9. An electronic device, comprising a processor and a memory, the memory storing program instructions, the processor being configured to execute a computer program stored in the memory to implement the steps of the IT asset detection method of any of claims 1-5.
10. A computer-readable storage medium, storing a computer program which, when executed by a processor, performs 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 true CN112596985A (en) 2021-04-02
CN112596985B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113627979A (en) * 2021-07-30 2021-11-09 北京达佳互联信息技术有限公司 Resource delivery data processing method, device, server, system and medium
CN115348197A (en) * 2022-06-10 2022-11-15 国网思极网安科技(北京)有限公司 Network asset detection method and device, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097750A1 (en) * 2000-07-28 2002-07-25 Lakshminarayanan Gunaseelan System, server, and method for variable bit rate multimedia streaming
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

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097750A1 (en) * 2000-07-28 2002-07-25 Lakshminarayanan Gunaseelan System, server, and method for variable bit rate multimedia streaming
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113627979A (en) * 2021-07-30 2021-11-09 北京达佳互联信息技术有限公司 Resource delivery data processing method, device, server, system and medium
CN115348197A (en) * 2022-06-10 2022-11-15 国网思极网安科技(北京)有限公司 Network asset detection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112596985B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN110049130B (en) Service deployment and task scheduling method and device based on edge computing
CN109104336B (en) Service request processing method and device, computer equipment and storage medium
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN107819797B (en) Access request processing method and device
WO2021109767A1 (en) Network device and method for reducing transmission delay therefor
CN112596985B (en) IT asset detection method, device, equipment and medium
CN110162270B (en) Data storage method, storage node and medium based on distributed storage system
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN108112038B (en) Method and device for controlling access flow
CN108173698A (en) Network service management method, apparatus, server and storage medium
CN111338575B (en) Storage service quality control method, device, equipment and storage medium
CN106571933B (en) Service processing method and device
CN111538572A (en) Task processing method, device, scheduling server and medium
CN109597680B (en) Task queuing response parameter estimation method and device
CN114500381A (en) Network bandwidth limiting method, system, electronic device and readable storage medium
CN104462116B (en) Data selection method and device
CN108512673B (en) Cloud service quality monitoring method and device and server
CN110351345B (en) Method and device for processing service request
CN117009221A (en) Processing method, device, equipment, storage medium and program product for product test
CN111159009A (en) Pressure testing method and device for log service system
CN114612037A (en) Warehouse information management method and system
CN113781214A (en) Packaging method, device and equipment for promoting transaction TPS (transaction transfer protocol) based on PoW (PoW)
CN113037512A (en) Statistical method and device for network resource consumption and server
CN113114538A (en) Heartbeat detection method and device
CN113095891A (en) Data processing method and device, storage medium and electronic 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