CN114116237B - Hierarchical autonomous remote management method for large-scale network equipment - Google Patents

Hierarchical autonomous remote management method for large-scale network equipment Download PDF

Info

Publication number
CN114116237B
CN114116237B CN202210103656.0A CN202210103656A CN114116237B CN 114116237 B CN114116237 B CN 114116237B CN 202210103656 A CN202210103656 A CN 202210103656A CN 114116237 B CN114116237 B CN 114116237B
Authority
CN
China
Prior art keywords
server
equipment
preset
delta
response time
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
CN202210103656.0A
Other languages
Chinese (zh)
Other versions
CN114116237A (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.)
Shenzhen Plaything Technology Co ltd
Original Assignee
Shenzhen Plaything Technology 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 Shenzhen Plaything Technology Co ltd filed Critical Shenzhen Plaything Technology Co ltd
Priority to CN202210103656.0A priority Critical patent/CN114116237B/en
Publication of CN114116237A publication Critical patent/CN114116237A/en
Application granted granted Critical
Publication of CN114116237B publication Critical patent/CN114116237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of network equipment management, in particular to a hierarchical autonomous remote management method of large-scale network equipment, which comprises the following steps: the server periodically detects the self load; the server judges the state of the equipment; the server determining whether to adjust the resource occupancy for the device; the server sends a self-checking instruction to the equipment which does not conform to the standard; when the number of the server management equipment exceeds a preset value, grading each equipment; and the server detects the load of the server again when the number of the devices reaches a preset value. According to the invention, when the load is judged to be too high, the corresponding number of server deployments are added to reduce the load of a single server through horizontal expansion, so that the load of the single server can be effectively reduced, meanwhile, the server can adjust the resource occupation ratio of the equipment to a corresponding value according to the response time of the equipment, and the response time of each equipment is ensured to meet the standard by sequentially adjusting the resource occupation ratio of each equipment, so that the management efficiency of the server for a plurality of equipment is further increased.

Description

Hierarchical autonomous remote management method for large-scale network equipment
Technical Field
The invention relates to the technical field of equipment network equipment management, in particular to a hierarchical autonomous remote management method for large-scale network equipment.
Background
With the continuous expansion of network scale and the continuous increase of complexity of services and applications, the requirements of users on network performance are higher and higher, and if no efficient network management system manages network devices in the system, it is difficult to ensure the normal operation of the system. Generally, network management content includes: network resources are coordinated and organized through the server, so that equipment under the management of the server can be more effectively utilized; the normal operation of the network is maintained, and the network can report and effectively process the network when the network fails.
However, in the existing network management systems, a single server is adopted to perform data interaction with network devices to complete management of each device, when the number of devices managed by the server increases, a load generated when the server operates also increases, when the number of devices managed by the server increases too much, the server cannot evenly distribute network resources to each device, and meanwhile, when a load actually carried by the server is higher than a critical value, data transmission between the server and the devices is delayed, so that management efficiency of the devices managed by the server becomes low.
Disclosure of Invention
Therefore, the invention provides a hierarchical autonomous remote management method for large-scale network equipment, which is used for solving the problem of low management efficiency caused by the fact that a server cannot effectively manage the large-scale network equipment in the prior art.
In order to achieve the above object, the present invention provides a hierarchical autonomous remote management method for large-scale network devices, comprising:
step s1, the server periodically detects the load of the server when managing a plurality of devices, if the actual load of the server is higher than the preset load, the server judges that the load is too high, and adds a server deployment to reduce the load of a single server through horizontal expansion;
step s2, the server respectively counts the time length of each device from the last data transmission when running, and for a single device, the server judges the state of the device according to the time length of the device from the last data transmission and sets the resource ratio of the device to a corresponding value according to the judgment result;
step s3, when the device exchanges data with the server, the server records the response time of the device, selects the corresponding preset response time as the judgment reference according to the actual operation state of the device, and adjusts the resource ratio of the device to the corresponding value when the actual response time of the device is judged not to meet the standard;
step s4, when the server completes the adjustment of the resource proportion of a single device, if the response time of the device or the data transmission rate does not meet the standard, the server preliminarily determines that the device has a fault and sends a self-test instruction to the device to make the device perform self-test;
step s5, the server updates the number of the managed devices in real time, and when the number of the managed devices exceeds a preset value, the server performs hierarchical processing on each device and selects a corresponding server as a current-level representative according to the operating parameters of each server; if the server judges that the number of the devices managed by the single-stage device as the representative of the current stage exceeds a preset value, the server carries out secondary classification on the devices managed by the device and selects a corresponding secondary representative;
and step s6, when the total number of the devices managed by the server reaches a preset critical value, the server redetects the load of the server to judge whether to add the server deployment.
Further, when the running time of the server reaches a preset value, the server detects the running load P of the server and judges whether the server deployment needs to be added or not according to the load, the preset load P0 is arranged in the server,
if P is not more than P0, the server judges that the self load meets the standard and does not add server deployment;
if P is larger than P0, the server judges that the load of the server is overloaded, calculates the load difference value delta P and determines the total number of the servers after the servers are added and deployed according to the delta P;
the servers are also provided with a first preset load difference value delta P1, a second preset load difference value delta P2, a first preset server number adjusting coefficient alpha 1, a second preset server number adjusting coefficient alpha 2 and a third preset server number adjusting coefficient alpha 3, wherein delta P1 is smaller than delta P2, and alpha 1 is larger than 1.5 and smaller than alpha 2 and smaller than alpha 3 and smaller than 2;
when the server judges that the load of the server is overloaded, the server calculates a load difference value delta P, sets delta P = P-P0, after the calculation is completed, the server compares the delta P with delta P1 and delta P2 in sequence and adjusts the number of the servers to a corresponding value according to a comparison result,
if the delta P is less than or equal to the delta P1, the server adjusts the total number of the servers to a corresponding value by using a first preset server number adjusting coefficient alpha 1;
if delta P1 is less than delta P and less than delta P2, the server adjusts the total number of the servers to a corresponding value by using a second preset server number adjusting coefficient alpha 2;
if Δ P > [ Δ P2 ], the server adjusts the total number of servers to a corresponding value using a third preset server number adjustment coefficient α 3;
when the server adjusts the total number of the servers to a corresponding value by using an ith preset server number adjusting coefficient alpha i, setting i =1, 2, 3, and recording the adjusted total number of the servers as N ', setting N ' = N × alpha i, wherein N is the total number of the servers before adjustment, and when N ' is not an integer, rounding up the servers.
Further, the server records the time length of each device from the last data transmission in sequence, for a single device, the server records the time length of the device from the last data transmission as T and sets the resource occupation ratio of the device to a corresponding value according to T, the server is provided with a first preset time length T1, a second preset time length T2, a first preset resource occupation ratio Q1, a second preset resource occupation ratio Q2 and a third preset resource occupation ratio Q3, wherein T1 is less than T2, Q1 is less than Q2 is less than Q3,
if T is less than or equal to T1, the server judges the equipment as active equipment and sets the resource occupation ratio of the equipment as Q3;
t1 < T ≦ T2, the server determines that the device is a normally operating device and sets the resource proportion for the device to Q2;
t > T2, the server determines that the device is an infrequent device and sets the resource occupancy for the device to Q1.
Further, when a single device exchanges data with the server and the server determines that the device is an active device or a normal operation device, the server records the response time ta of the device and determines whether to adjust the resource occupation ratio of the device according to ta, the server is further provided with a first preset operation response time ta1, a second preset operation response time ta2, a first preset operation resource occupation ratio adjustment coefficient gamma 1 and a second preset operation resource occupation ratio adjustment coefficient gamma 2, wherein ta1 is less than ta2, 1 is less than gamma 2 is less than 1.2,
if ta is not more than ta1, the server judges that the response time of the equipment meets the standard and does not adjust the resource proportion of the equipment;
if ta1 is more than ta and less than or equal to ta2, the server judges that the response time of the equipment does not meet the standard and adjusts the resource proportion of the equipment by using gamma 1;
if ta > ta2, the server determines that the response time of the device does not meet the criteria and adjusts the resource occupancy for the device using γ 2;
when the server judges that the response time of the equipment does not meet the standard and uses gamma j to adjust the resource occupation ratio of the equipment, j =1, 2 is set, the adjusted resource occupation ratio of the server to the equipment is recorded as Qk ', and Qk' = Qk multiplied by gamma j is set, k =2, 3, wherein Qk is the resource occupation ratio which is preliminarily set by the server to the equipment.
Further, when a single piece of equipment carries out data exchange with the server and the server judges that the equipment is not frequently used equipment, the server records the response time tb of the equipment and judges whether the resource occupation ratio of the equipment is adjusted or not according to the tb, a first preset dormancy response time tb1, a second preset dormancy response time tb2, a first preset dormancy resource occupation ratio adjusting coefficient beta 1 and a second preset dormancy resource occupation ratio adjusting coefficient beta 2 are further arranged in the server, wherein tb1 < tb2, 0.75 < beta 1 < beta 2 < 1,
if tb is less than or equal to tb1, the server determines that the response time of the equipment does not meet the standard and adjusts the resource occupancy of the equipment by using beta 1;
if tb1 < tb ≦ tb2, the server determines that the response time for the equipment does not meet the criteria and adjusts the resource occupancy for the equipment using β 2;
if tb > tb2, the server determines that the response time of the equipment meets the criteria and does not adjust for the resource occupancy of the equipment;
when the server determines that the response time of the device does not meet the standard and adjusts the resource occupation ratio of the device by using the β j, j =1, 2 is set, and the adjusted resource occupation ratio of the server for the device is recorded as Q3 ', and Q3' = Q3 × α j is set.
Further, when the server completes the adjustment of the resource proportion of a single device, if the server determines that the response time of the device does not meet the standard yet, the server further adjusts the resource proportion of the device according to the response time of the device, and the server is provided with a preset critical operating resource proportion Qmax and a preset critical dormant resource proportion Qmin;
when the server judges that the resource occupation ratio of active equipment or conventional running equipment needs to be adjusted to Qk 'and Qk' is greater than Qmax, the server adjusts the resource occupation ratio of the equipment to Qmax and detects the response time of the equipment after adjustment, and if the server judges that the response time of the equipment does not meet the standard, the server preliminarily judges that the equipment has a fault and sends a self-checking instruction to the equipment;
when the server judges that the resource proportion of the equipment which is not frequently used needs to be adjusted to Q3 'and Qk' is less than Qmin, the server adjusts the resource proportion of the equipment to Qmin and detects the response time of the equipment after adjustment, and if the server judges that the response time of the equipment does not meet the standard, the server preliminarily judges that the equipment has a fault and sends a self-checking instruction to the equipment.
Further, when the server sends a self-test instruction to a single device, the device sequentially detects the network environment between the device and the server and the operation condition of the management plug-in of the device,
if the network environment between the equipment and the server is not in accordance with the standard, the equipment judges that the failure reason is that the transmission speed and the response speed are reduced because of the poor network environment;
if the equipment detects that the running condition of the management plug-in of the equipment does not meet the standard, the equipment judges that the fault reason is that the response speed between the equipment and the server is reduced because the management plug-in has a problem;
if the network environment between the device and the server and the running condition of the management plug-in of the device are both in accordance with the standard, the device judges the failure reason because the hardware of the device is aged and sends a sending notice to the user of the device.
Further, when the server detects that the total number of the devices is increased, the server counts the number B of the increased devices and judges whether to perform hierarchical management on the server according to B, a preset critical number B0 of the devices is arranged in the server,
if B is not more than B0, the server does not perform hierarchical management on the equipment;
if B is larger than B0, the server performs hierarchical management on the equipment, divides the equipment into a plurality of groups and selects a single corresponding equipment from each group as a representative of the current level;
when the server completes the judgment of whether the equipment is subjected to hierarchical management, the server detects the server load again to judge whether the server deployment is added.
Further, when the server judges that hierarchical management needs to be performed on the equipment, the server calculates a difference value delta B between an actual equipment quantity B and an equipment preset critical quantity B0, determines the grade number aiming at equipment classification according to the delta B, and sets delta B = B-B0, wherein a first preset equipment quantity difference value delta B1 and a second preset equipment quantity difference value delta B2 are arranged in the server, and delta B1 is smaller than delta B2;
if the delta B is less than or equal to the delta B1, the server carries out single-stage classification on the equipment;
if delta B is more than delta B1 and less than or equal to delta B2, the server carries out secondary classification on the equipment, the server carries out single-stage classification on the equipment, the server in each group is sequentially classified after the single-stage classification is finished, and corresponding equipment is selected as secondary representatives;
if delta B > -delta B2, the server performs three-level classification on the equipment, performs two-level classification on the equipment, sequentially classifies the servers in each group after the two-level classification is completed, and selects the corresponding equipment as a two-level representation.
Further, when the server and the device perform data transmission, the server controls one side serving as a data source to encrypt data, and when one side serving as the data source is a single device, if the device is provided with a security chip, the device performs secondary encryption on the encrypted data by using the security chip before data transmission.
Compared with the prior art, the method has the advantages that the load of the server is periodically detected, the corresponding number of server deployments are added when the load is judged to be too high, so that the load of a single server is reduced through horizontal expansion, the load of the single server can be effectively reduced, the management efficiency of the server for a plurality of devices is effectively improved while the operation efficiency of each server is ensured, meanwhile, the resource occupation ratio of the server for the devices is adjusted to a corresponding value according to the response time of the devices when the server transmits data with the devices of the same type, the resource occupation ratio of each device is sequentially adjusted, the response time of each device is respectively adjusted to the interval meeting the standard, and the management efficiency of the server for the devices is further improved.
Further, when the running time of the server reaches a preset value, the server detects the running load P of the server and judges whether the server deployment is needed to be added according to the load.
Further, the server records the time length of each device from the last time of data transmission in sequence, and for a single device, the server records the time length of the device from the last time of data transmission as T and sets the resource proportion for the device to a corresponding value according to T.
Furthermore, when a single device exchanges data with the server and the server judges that the device is an active device or a normally operating device, the server records the response time ta of the device and judges whether to adjust the resource occupation ratio of the device according to the ta.
Furthermore, when a single piece of equipment exchanges data with the server and the server judges that the equipment is not frequently used equipment, the server records the response time tb of the equipment and judges whether to adjust the resource occupation ratio aiming at the equipment according to the tb.
Further, when the server completes the adjustment of the resource proportion of the single device, if the server judges that the response time of the device does not meet the standard, the server further adjusts the resource proportion of the device according to the response time of the device, when the server judges that the resource proportion of the active device or the conventional operation device needs to be adjusted to a value exceeding a preset critical value and the server judges that the response time of the device does not meet the standard, the server preliminarily judges that the device has a fault and sends a self-checking instruction to the device, the invention can effectively avoid the occurrence of unreasonable resource allocation caused by over-high or over-low resource allocation of the single device by setting the preset critical operation resource proportion and the preset critical dormancy resource proportion, thereby further improving the transmission efficiency between the server and the active device or the conventional operation device, the management efficiency of the server for a plurality of devices is further increased.
Furthermore, when the server sends a self-checking instruction to a single device, the device sequentially detects the network environment between the device and the server and the running condition of the management plug-in of the device.
Further, when the server detects that the total number of the devices is increased, the server counts the number B of the increased devices and judges whether to carry out hierarchical management on the server according to the number B.
Further, when the server judges that the equipment needs to be managed in a grading mode, the server calculates the difference value delta B between the actual equipment quantity B and the preset critical quantity B0 of the equipment and determines the grading number of the equipment according to the difference value delta B.
Further, when the server and the equipment perform data transmission, the server controls one side serving as a data source to encrypt data, and when one side of the data source is single equipment, if the equipment is provided with a safety chip, the equipment performs secondary encryption on the encrypted data by using the safety chip before data transmission.
Drawings
Fig. 1 is a flowchart of a hierarchical autonomous remote management method for large-scale network devices according to the present invention.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Fig. 1 is a flowchart illustrating a hierarchical autonomous remote management method for large-scale network devices according to the present invention. The invention discloses a hierarchical autonomous remote management method of large-scale network equipment, which comprises the following steps:
step s1, the server periodically detects the load of the server when managing a plurality of devices, if the actual load of the server is higher than the preset load, the server judges that the load is too high, and adds a server deployment to reduce the load of a single server through horizontal expansion;
step s2, the server respectively counts the time length of each device from the last data transmission when running, and for a single device, the server judges the state of the device according to the time length of the device from the last data transmission and sets the resource ratio of the device to a corresponding value according to the judgment result;
step s3, when the device exchanges data with the server, the server records the response time of the device, selects the corresponding preset response time as the judgment reference according to the actual operation state of the device, and adjusts the resource ratio of the device to the corresponding value when the actual response time of the device is judged not to meet the standard;
step s4, when the server completes the adjustment of the resource proportion of a single device, if the response time of the device or the data transmission rate does not meet the standard, the server preliminarily determines that the device has a fault and sends a self-test instruction to the device to make the device perform self-test;
step s5, the server updates the number of the managed devices in real time, and when the number of the managed devices exceeds a preset value, the server performs hierarchical processing on each device and selects a corresponding server as a current-level representative according to the operating parameters of each server; if the server judges that the number of the devices managed by the single-stage device as the representative of the current stage exceeds a preset value, the server carries out secondary classification on the devices managed by the device and selects a corresponding secondary representative;
and step s6, when the total number of the devices managed by the server reaches a preset critical value, the server redetects the load of the server to judge whether to add the server deployment.
The invention can effectively reduce the load of a single server by periodically detecting the load of the server and adding a corresponding number of server deployments when judging that the load is too high so as to reduce the load of the single server through horizontal expansion, effectively increase the management efficiency of the server for a plurality of devices while ensuring the operation efficiency of each server, simultaneously adjust the resource occupation ratio of the server for the devices to a corresponding value according to the response time of the devices when the server transmits data with the devices of the same type, ensure that the response time of each device is respectively adjusted to the interval meeting the standard by sequentially adjusting the resource occupation ratio of each device, and further increase the management efficiency of the server for the devices.
Specifically, when the running time of the server reaches a preset value, the server detects the running load P of the server and judges whether the server deployment needs to be added or not according to the load, the preset load P0 is arranged in the server,
if P is not more than P0, the server judges that the self load meets the standard and does not add server deployment;
if P is larger than P0, the server judges that the load of the server is overloaded, calculates the load difference value delta P and determines the total number of the servers after the servers are added and deployed according to the delta P;
the servers are also provided with a first preset load difference value delta P1, a second preset load difference value delta P2, a first preset server number adjusting coefficient alpha 1, a second preset server number adjusting coefficient alpha 2 and a third preset server number adjusting coefficient alpha 3, wherein delta P1 is smaller than delta P2, and alpha 1 is larger than 1.5 and smaller than alpha 2 and smaller than alpha 3 and smaller than 2;
when the server judges that the load of the server is overloaded, the server calculates a load difference value delta P, sets delta P = P-P0, after the calculation is completed, the server compares the delta P with delta P1 and delta P2 in sequence and adjusts the number of the servers to a corresponding value according to a comparison result,
if the delta P is less than or equal to the delta P1, the server adjusts the total number of the servers to a corresponding value by using a first preset server number adjusting coefficient alpha 1;
if delta P1 is less than delta P and less than delta P2, the server adjusts the total number of the servers to a corresponding value by using a second preset server number adjusting coefficient alpha 2;
if Δ P > [ Δ P2 ], the server adjusts the total number of servers to a corresponding value using a third preset server number adjustment coefficient α 3;
when the server adjusts the total number of the servers to a corresponding value by using an ith preset server number adjusting coefficient alpha i, setting i =1, 2, 3, and recording the adjusted total number of the servers as N ', setting N ' = N × alpha i, wherein N is the total number of the servers before adjustment, and when N ' is not an integer, rounding up the servers.
According to the method and the device, the preset load is set to serve as a judgment reference, and the server addition deployment is rapidly carried out aiming at the actual load of the server when the actual load of the server exceeds a standard value, so that the load of a single server is rapidly and effectively reduced, the time length of the server aiming at the management equipment of the equipment is effectively reduced, and the management efficiency of the server aiming at a plurality of equipment is further improved.
Specifically, when the server of the present invention records the time length from each device to the last data transmission in sequence, for a single device, the server records the time length from the device to the last data transmission as T and sets the resource occupation ratio for the device to a corresponding value according to T, the server is provided with a first preset time length T1, a second preset time length T2, a first preset resource occupation ratio Q1, a second preset resource occupation ratio Q2 and a third preset resource occupation ratio Q3, where T1 < T2, Q1 < Q2 < Q3,
if T is less than or equal to T1, the server judges the equipment as active equipment and sets the resource occupation ratio of the equipment as Q3;
t1 < T ≦ T2, the server determines that the device is a normally operating device and sets the resource proportion for the device to Q2;
t > T2, the server determines that the device is an infrequent device and sets the resource occupancy for the device to Q1.
According to the invention, the actual operation state of the equipment is preliminarily judged according to the total time of the single equipment from the last time data transmission to the present, and the resource occupation ratio aiming at the equipment is obtained according to the judgment result, so that the resource waste caused by too little resource allocation of the frequently-used equipment or too much resource allocation of the infrequently-used equipment can be effectively avoided, the response time of each equipment is further ensured to be respectively adjusted to the interval meeting the standard, and the management efficiency of the server aiming at a plurality of equipment is further increased.
Specifically, when a single device of the present invention performs data exchange with a server and the server determines that the device is an active device or a normally operating device, the server records a response time ta of the device and determines whether to adjust a resource proportion for the device according to ta, the server is further provided with a first preset operation response time ta1, a second preset operation response time ta2, a first preset operation resource proportion adjustment coefficient γ 1 and a second preset operation resource proportion adjustment coefficient γ 2, wherein ta1 < ta2, 1 < γ 2 < 1.2,
if ta is not more than ta1, the server judges that the response time of the equipment meets the standard and does not adjust the resource proportion of the equipment;
if ta1 < ta ≦ ta2, the server determines that the response time for the device does not meet the criteria and adjusts the resource occupancy for the device using γ 1;
if ta > ta2, the server determines that the response time of the device does not meet the criteria and adjusts the resource occupancy for the device using γ 2;
when the server determines that the response time of the device does not meet the standard and uses gamma j to adjust the resource occupation ratio of the device, j =1, 2 is set, the resource occupation ratio of the adjusted server to the device is recorded as Qk ', and Qk' = Qk × alpha j is set, k =2, 3, wherein Qk is the resource occupation ratio preliminarily set by the server to the device.
According to the method and the system, the resources of the equipment are adjusted according to the response time of the active equipment or the response time of the conventional running equipment, so that the response time of the equipment can be effectively ensured to meet the preset standard, the transmission efficiency between the server and the equipment is effectively improved, and the management efficiency of the server for a plurality of equipment is further improved.
Specifically, when a single piece of equipment carries out data exchange with a server and the server judges that the equipment is not frequently used equipment, the server records the response time tb of the equipment and judges whether the resource occupation ratio of the equipment is adjusted or not according to the tb, and a first preset dormancy response time tb1, a second preset dormancy response time tb2, a first preset dormancy resource occupation ratio adjusting coefficient beta 1 and a second preset dormancy resource occupation ratio adjusting coefficient beta 2 are further arranged in the server, wherein tb1 < tb2, 0.75 < beta 1 < beta 2 < 1,
if tb is less than or equal to tb1, the server determines that the response time of the equipment does not meet the standard and adjusts the resource occupancy of the equipment by using beta 1;
if tb1 < tb ≦ tb2, the server determines that the response time for the equipment does not meet the criteria and adjusts the resource occupancy for the equipment using β 2;
if tb > tb2, the server determines that the response time of the equipment meets the criteria and does not adjust for the resource occupancy of the equipment;
when the server determines that the response time of the device does not meet the standard and adjusts the resource occupation ratio of the device by using the β j, j =1, 2 is set, and the adjusted resource occupation ratio of the server for the device is recorded as Q3 ', and Q3' = Q3 × α j is set.
According to the method and the system, the resources of the equipment are adjusted according to the response time of the equipment which is not frequently used, the response time of the equipment can be effectively ensured to meet the preset standard, and the resources are distributed to the active equipment or the conventional running equipment, so that the transmission efficiency between the server and the active equipment or the conventional running equipment is effectively improved, and the management efficiency of the server for a plurality of equipment is further improved.
Specifically, when the server completes the adjustment of the resource proportion of a single device, if the server determines that the response time of the device does not meet the standard yet, the server further adjusts the resource proportion of the device according to the response time of the device, and the server is provided with a preset critical operating resource proportion Qmax and a preset critical dormant resource proportion Qmin;
when the server judges that the resource occupation ratio of active equipment or conventional running equipment needs to be adjusted to Qk 'and Qk' is greater than Qmax, the server adjusts the resource occupation ratio of the equipment to Qmax and detects the response time of the equipment after adjustment, and if the server judges that the response time of the equipment does not meet the standard, the server preliminarily judges that the equipment has a fault and sends a self-checking instruction to the equipment;
when the server judges that the resource proportion of the equipment which is not frequently used needs to be adjusted to Q3 'and Qk' is less than Qmin, the server adjusts the resource proportion of the equipment to Qmin and detects the response time of the equipment after adjustment, and if the server judges that the response time of the equipment does not meet the standard, the server preliminarily judges that the equipment has a fault and sends a self-checking instruction to the equipment.
According to the invention, through setting the preset critical operating resource occupation ratio and the preset critical dormant resource occupation ratio, the condition that the resource allocation of a single device is unreasonable due to too high or too low resource allocation can be effectively avoided, so that the transmission efficiency between the server and active devices or conventional operating devices is further improved, and the management efficiency of the server for a plurality of devices is further improved.
Specifically, when the server sends a self-test instruction to a single device, the device sequentially detects the network environment between the server and the device and the running condition of the management plug-in of the device,
if the network environment between the equipment and the server is not in accordance with the standard, the equipment judges that the failure reason is that the transmission speed and the response speed are reduced because of the poor network environment;
if the equipment detects that the running condition of the management plug-in of the equipment does not meet the standard, the equipment judges that the fault reason is that the response speed between the equipment and the server is reduced because the management plug-in has a problem;
if the network environment between the device and the server and the running condition of the management plug-in of the device are both in accordance with the standard, the device judges the failure reason because the hardware of the device is aged and sends a sending notice to the user of the device.
According to the invention, through self-checking in sequence aiming at the network environment between the equipment and the server and the running condition of the management plug-in of the server, the reason of the equipment fault can be rapidly and accurately judged, and the management efficiency of the server aiming at a plurality of pieces of equipment is further increased while the fault elimination efficiency aiming at the equipment fault is effectively improved.
Specifically, when the server detects that the total number of the devices is increased, the server counts the number B of the increased devices and determines whether to perform hierarchical management on the server according to B, the server is provided with a preset critical number B0 of the devices,
if B is not more than B0, the server does not perform hierarchical management on the equipment;
if B is larger than B0, the server performs hierarchical management on the equipment, divides the equipment into a plurality of groups and selects a single corresponding equipment from each group as a representative of the current level;
when the server completes the judgment of whether the equipment is subjected to hierarchical management, the server detects the server load again to judge whether the server deployment is added.
The invention manages each device by using the representative device of the current level through carrying out grading processing on the devices, and can further increase the management efficiency of the server for a plurality of devices.
Specifically, when the server judges that equipment needs to be managed in a grading mode, the server calculates the difference value delta B between the actual equipment quantity B and the preset critical quantity B0 of the equipment, determines the grade number for grading the equipment according to the delta B, and sets delta B = B-B0, wherein the server is provided with a first preset equipment quantity difference value delta B1 and a second preset equipment quantity difference value delta B2, and delta B1 is smaller than delta B2;
if the delta B is less than or equal to the delta B1, the server carries out single-stage classification on the equipment;
if delta B is more than delta B1 and less than or equal to delta B2, the server carries out secondary classification on the equipment, the server carries out single-stage classification on the equipment, the server in each group is sequentially classified after the single-stage classification is finished, and corresponding equipment is selected as secondary representatives;
if delta B > -delta B2, the server performs three-level classification on the equipment, performs two-level classification on the equipment, sequentially classifies the servers in each group after the two-level classification is completed, and selects the corresponding equipment as a two-level representation.
According to the invention, the condition that the transmission efficiency of the equipment is low due to the fact that the representative equipment at the current stage cannot effectively manage the equipment because of excessive equipment after single-stage classification can be effectively avoided by setting the preset critical quantity difference of the equipment as the standard of multi-stage classification, so that the management efficiency of the server for a plurality of equipment is further improved.
Specifically, when the server and the device perform data transmission, the server controls one side serving as a data source to encrypt data, and when the data source side is a single device, if the device is provided with a security chip, the device performs secondary encryption on the encrypted data by using the security chip before data transmission.
According to the invention, data is encrypted, so that the data leakage can be effectively avoided, and the safety factor of the method is effectively improved.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A hierarchical autonomous remote management method for large-scale network devices, comprising:
step s1, the server periodically detects the load of the server when managing a plurality of devices, if the actual load of the server is higher than the preset load, the server judges that the load is too high, and adds a server deployment to reduce the load of a single server through horizontal expansion;
step s2, the server respectively counts the time length of each device from the last data transmission when running, and for a single device, the server judges the state of the device according to the time length of the device from the last data transmission and sets the resource ratio of the device to a corresponding value according to the judgment result; the server records the time length of each device from the last data transmission in sequence, for a single device, the server records the time length of the device from the last data transmission as T and sets the resource occupation ratio of the device to a corresponding value according to the T, a first preset time length T1, a second preset time length T2, a first preset resource occupation ratio Q1, a second preset resource occupation ratio Q2 and a third preset resource occupation ratio Q3 are arranged in the server, wherein T1 is more than T2, Q1 is more than Q2 and more than Q3, if T is less than or equal to T1, the server judges that the device is an active device and sets the resource occupation ratio of the device to be Q3; t1 < T ≦ T2, the server determines that the device is a normally operating device and sets the resource proportion for the device to Q2; t > T2, the server determining that the device is an infrequent device and setting the resource proportion for the device to Q1;
when a single device exchanges data with a server and the server judges that the device is an active device or a conventional running device, the server records the response time ta of the device and judges whether to adjust the resource occupation ratio of the device according to the ta, the server is also provided with a first preset running response time ta1, a second preset running response time ta2, a first preset running resource occupation ratio adjusting coefficient gamma 1 and a second preset running resource occupation ratio adjusting coefficient gamma 2, wherein ta1 is more than ta2, 1 is more than gamma 1 and is more than gamma 2 and is less than 1.2, and if the ta is less than or equal to ta1, the server judges that the response time of the device meets the standard and does not adjust the resource occupation ratio of the device; if ta1 < ta ≦ ta2, the server determines that the response time for the device does not meet the criteria and adjusts the resource occupancy for the device using γ 1; if ta > ta2, the server determines that the response time of the device does not meet the criteria and adjusts the resource occupancy for the device using γ 2; when the server judges that the response time of the equipment does not meet the standard and uses gamma j to adjust the resource occupation ratio of the equipment, setting j =1, 2, and setting Qk '= Qk multiplied by gamma j, k =2, 3, wherein Qk is the resource occupation ratio preliminarily set by the server for the equipment, and the adjusted resource occupation ratio of the server for the equipment is recorded as Qk';
step s3, when the device exchanges data with the server, the server records the response time of the device, selects the corresponding preset response time as the judgment reference according to the actual operation state of the device, and adjusts the resource ratio of the device to the corresponding value when the actual response time of the device is judged not to meet the standard;
step s4, when the server completes the adjustment of the resource proportion of a single device, if the response time of the device or the data transmission rate does not meet the standard, the server preliminarily determines that the device has a fault and sends a self-test instruction to the device to make the device perform self-test;
step s5, the server updates the number of the managed devices in real time, and when the number of the managed devices exceeds a preset value, the server performs hierarchical processing on each device and selects a corresponding server as a current-level representative according to the operating parameters of each server; if the server judges that the number of the devices managed by the single-stage device as the representative of the current stage exceeds a preset value, the server carries out secondary classification on the devices managed by the device and selects a corresponding secondary representative;
and step s6, when the total number of the devices managed by the server reaches a preset critical value, the server redetects the load of the server to judge whether to add the server deployment.
2. The hierarchical autonomous remote management method for large-scale network devices according to claim 1, wherein when the running duration of the server reaches a preset value, the server detects its own running load P and determines whether to add server deployment according to the load, the server is provided with a preset load P0,
if P is not more than P0, the server judges that the self load meets the standard and does not add server deployment;
if P is larger than P0, the server judges that the load of the server is overloaded, calculates the load difference value delta P and determines the total number of the servers after the servers are added and deployed according to the delta P;
the servers are also provided with a first preset load difference value delta P1, a second preset load difference value delta P2, a first preset server number adjusting coefficient alpha 1, a second preset server number adjusting coefficient alpha 2 and a third preset server number adjusting coefficient alpha 3, wherein delta P1 is smaller than delta P2, and alpha 1 is larger than 1.5 and smaller than alpha 2 and smaller than alpha 3 and smaller than 2;
when the server judges that the load of the server is overloaded, the server calculates a load difference value delta P, sets delta P = P-P0, after the calculation is completed, the server compares the delta P with delta P1 and delta P2 in sequence and adjusts the number of the servers to a corresponding value according to a comparison result,
if the delta P is less than or equal to the delta P1, the server adjusts the total number of the servers to a corresponding value by using a first preset server number adjusting coefficient alpha 1;
if delta P1 is less than delta P and less than delta P2, the server adjusts the total number of the servers to a corresponding value by using a second preset server number adjusting coefficient alpha 2;
if Δ P > [ Δ P2 ], the server adjusts the total number of servers to a corresponding value using a third preset server number adjustment coefficient α 3;
when the server adjusts the total number of the servers to a corresponding value by using an ith preset server number adjusting coefficient alpha i, setting i =1, 2, 3, and recording the adjusted total number of the servers as N ', setting N ' = N × alpha i, wherein N is the total number of the servers before adjustment, and when N ' is not an integer, rounding up the servers.
3. The hierarchical autonomic remote management method for large scale network devices of claim 1 wherein when a single one of the devices exchanges data with the server and the server determines that the device is a less frequently used device, the server records the response time tb of the device and determines whether to adjust the resource occupancy for the device based on tb, the server further has a first preset dormant response time tb1, a second preset dormant response time tb2, a first preset dormant resource occupancy adjustment coefficient β 1, a second preset dormant resource occupancy adjustment coefficient β 2, wherein tb1 < tb2, 0.75 < β 1 < β 2 < 1,
if tb is less than or equal to tb1, the server determines that the response time of the equipment does not meet the standard and adjusts the resource proportion of the equipment by using beta 1;
if tb1 < tb ≦ tb2, the server determines that the response time for the equipment does not meet the criteria and adjusts the resource occupancy for the equipment using β 2;
if tb is greater than tb2, the server determines that the response time of the equipment meets the standard and does not adjust the resource proportion of the equipment;
when the server determines that the response time of the device does not meet the standard and adjusts the resource occupation ratio of the device by using the β j, j =1, 2 is set, and the adjusted resource occupation ratio of the server for the device is recorded as Q3 ', and Q3' = Q3 × α j is set.
4. The hierarchical autonomous remote management method for large-scale network devices according to claim 3, wherein when the server completes the adjustment of the resource proportion of a single device, if the server determines that the response time of the device still does not meet the standard, the server further adjusts the resource proportion of the device according to the response time of the device, and the server is provided with a preset critical operating resource proportion Qmax and a preset critical dormant resource proportion Qmin;
when the server judges that the resource occupation ratio of active equipment or conventional running equipment needs to be adjusted to Qk 'and Qk' is greater than Qmax, the server adjusts the resource occupation ratio of the equipment to Qmax and detects the response time of the equipment after adjustment, and if the server judges that the response time of the equipment does not meet the standard, the server preliminarily judges that the equipment has a fault and sends a self-checking instruction to the equipment;
when the server judges that the resource proportion of the equipment which is not frequently used needs to be adjusted to Q3 'and Qk' is less than Qmin, the server adjusts the resource proportion of the equipment to Qmin and detects the response time of the equipment after adjustment, and if the server judges that the response time of the equipment does not meet the standard, the server preliminarily judges that the equipment has a fault and sends a self-checking instruction to the equipment.
5. The hierarchical autonomous remote management method for large-scale network devices according to claim 4, wherein when the server sends self-test instructions to a single device, the device sequentially detects the network environment with the server and the operation of its own management plug-in,
if the network environment between the equipment and the server is not in accordance with the standard, the equipment judges that the failure reason is that the transmission speed and the response speed are reduced because of the poor network environment;
if the equipment detects that the running condition of the management plug-in of the equipment does not meet the standard, the equipment judges that the fault reason is that the response speed between the equipment and the server is reduced because the management plug-in has a problem;
if the network environment between the device and the server and the running condition of the management plug-in of the device are both in accordance with the standard, the device judges the failure reason because the hardware of the device is aged and sends a sending notice to the user of the device.
6. The hierarchical autonomous remote management method for large-scale network devices according to claim 1, wherein when the server detects the increase of the total number of the devices, the server counts the number B of the increased devices and determines whether to perform hierarchical management on the server according to B, the server is provided with a preset critical number B0 of the devices,
if B is not more than B0, the server does not perform hierarchical management on the equipment;
if B is larger than B0, the server performs hierarchical management on the equipment, divides the equipment into a plurality of groups and selects a single corresponding equipment from each group as a representative of the current level;
when the server completes the judgment of whether the equipment is subjected to hierarchical management, the server detects the server load again to judge whether the server deployment is added or not.
7. The hierarchical autonomous remote management method for large-scale network devices according to claim 6, wherein when the server determines that the devices need to be hierarchically managed, the server calculates a difference Δ B between an actual device number B and a preset critical device number B0 and determines a number of levels for device classification based on the difference Δ B, and sets Δ B = B-B0, wherein the server is provided with a first preset device number difference Δ B1 and a second preset device number difference Δ B2, and Δ B1 < [ delta ] B2;
if the delta B is less than or equal to the delta B1, the server carries out single-stage classification on the equipment;
if delta B is more than delta B1 and less than or equal to delta B2, the server carries out secondary classification on the equipment, the server carries out single-stage classification on the equipment, the server in each group is sequentially classified after the single-stage classification is finished, and corresponding equipment is selected as secondary representatives;
if delta B > -delta B2, the server performs three-level classification on the equipment, performs two-level classification on the equipment, sequentially classifies the servers in each group after the two-level classification is completed, and selects the corresponding equipment as a two-level representation.
8. The hierarchical autonomous remote management method for large-scale network devices according to claim 1, wherein when the server performs data transmission with the device, the server controls the side as the data source to encrypt the data, and when the data source side is a single device, if the device is provided with a security chip, the device performs secondary encryption on the encrypted data using the security chip before transmitting the data.
CN202210103656.0A 2022-01-28 2022-01-28 Hierarchical autonomous remote management method for large-scale network equipment Active CN114116237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210103656.0A CN114116237B (en) 2022-01-28 2022-01-28 Hierarchical autonomous remote management method for large-scale network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210103656.0A CN114116237B (en) 2022-01-28 2022-01-28 Hierarchical autonomous remote management method for large-scale network equipment

Publications (2)

Publication Number Publication Date
CN114116237A CN114116237A (en) 2022-03-01
CN114116237B true CN114116237B (en) 2022-05-10

Family

ID=80361868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210103656.0A Active CN114116237B (en) 2022-01-28 2022-01-28 Hierarchical autonomous remote management method for large-scale network equipment

Country Status (1)

Country Link
CN (1) CN114116237B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115840582B (en) * 2023-02-21 2023-05-09 北京一猫汽车科技有限公司 Server batch management agency publishing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083596A (en) * 2006-06-01 2007-12-05 明基电通(上海)有限公司 Packet based client managerial approach and system in self-organizing network
CN103974140A (en) * 2013-02-06 2014-08-06 中国科学院声学研究所 Management method and management system of TR069 protocol based large-scale interactive TV terminal
CN104516786A (en) * 2013-09-27 2015-04-15 日本电气株式会社 Information processing device, fault avoidance method, and program storage medium
CN106572114A (en) * 2016-11-10 2017-04-19 上海斐讯数据通信技术有限公司 Multi-server-based portal authentication method and system, and portal server
CN109842642A (en) * 2017-11-24 2019-06-04 中兴通讯股份有限公司 A kind of dispositions method and device, containerization group system of containerization group system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038890A1 (en) * 2003-08-11 2005-02-17 Hitachi., Ltd. Load distribution method and client-server system
US9609052B2 (en) * 2010-12-02 2017-03-28 A10 Networks, Inc. Distributing application traffic to servers based on dynamic service response time
CN109831467B (en) * 2017-11-23 2021-11-23 杭州海康威视系统技术有限公司 Data transmission method, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083596A (en) * 2006-06-01 2007-12-05 明基电通(上海)有限公司 Packet based client managerial approach and system in self-organizing network
CN103974140A (en) * 2013-02-06 2014-08-06 中国科学院声学研究所 Management method and management system of TR069 protocol based large-scale interactive TV terminal
CN104516786A (en) * 2013-09-27 2015-04-15 日本电气株式会社 Information processing device, fault avoidance method, and program storage medium
CN106572114A (en) * 2016-11-10 2017-04-19 上海斐讯数据通信技术有限公司 Multi-server-based portal authentication method and system, and portal server
CN109842642A (en) * 2017-11-24 2019-06-04 中兴通讯股份有限公司 A kind of dispositions method and device, containerization group system of containerization group system

Also Published As

Publication number Publication date
CN114116237A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
RU2406271C2 (en) Method for distribution of radio resources
US20170040839A1 (en) Flexible control architecture for microgrid resiliency
CN114116237B (en) Hierarchical autonomous remote management method for large-scale network equipment
WO2007106649A2 (en) Method and apparatus for dynamically prioritize network faults based on real-time service degradation
CN109121164B (en) Load balancing method and device
WO2006101168A1 (en) Call reception control system and call reception control method
CN113781218A (en) Grouping PBFT consensus algorithm based on feature trust
CN114745791B (en) Power service slice arrangement and resource allocation method and device
CN112055176A (en) Video code stream-based negotiation transmission method, electronic equipment and recording storage medium
US7139830B2 (en) Communication apparatus and congestion regulation control method
US7756522B2 (en) Dynamic traffic control method and device for the same
CN102695218B (en) Mode identification-based switching self-optimizing method
CN112055177A (en) Video layering-based negotiation transmission method, electronic device and recording medium
CN116932230B (en) Video rendering method based on dynamic task scheduling
CN100353795C (en) Public measuring method of wireless resource management
CN115766473B (en) Resource capacity planning method suitable for cloud platform operation
CN112055175A (en) Video partition-based negotiation transmission method, electronic device and recording medium
CN107835104B (en) Method, system, equipment and storage medium for sharing NF user permission among network slices
US11395223B2 (en) Method and system for aggregating power outage data and utilization
CN113179536B (en) Traffic control method and system based on NB-IoT narrowband communication technology
CN113014628B (en) Internet of things terminal data sending method and system, mobile terminal and storage medium
CN102970243B (en) A kind of message conversion link equalization methods based on load factor and device
CN113190347A (en) Edge cloud system and task management method
CN102104950A (en) Method and base station for managing collected property data
CN107920021B (en) Link optimization method based on cellular link aggregation

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