CN114500278A - Method and device for upgrading feature library through proxy server - Google Patents

Method and device for upgrading feature library through proxy server Download PDF

Info

Publication number
CN114500278A
CN114500278A CN202111657470.1A CN202111657470A CN114500278A CN 114500278 A CN114500278 A CN 114500278A CN 202111657470 A CN202111657470 A CN 202111657470A CN 114500278 A CN114500278 A CN 114500278A
Authority
CN
China
Prior art keywords
proxy server
upgrading
performance
parameter value
feature library
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
CN202111657470.1A
Other languages
Chinese (zh)
Other versions
CN114500278B (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.)
Wuhan Sipuling Technology Co Ltd
Original Assignee
Wuhan Sipuling 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 Wuhan Sipuling Technology Co Ltd filed Critical Wuhan Sipuling Technology Co Ltd
Priority to CN202111657470.1A priority Critical patent/CN114500278B/en
Publication of CN114500278A publication Critical patent/CN114500278A/en
Application granted granted Critical
Publication of CN114500278B publication Critical patent/CN114500278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/14Network analysis or design
    • H04L41/142Network analysis or design using statistical or mathematical methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1433Vulnerability analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/145Countermeasures against malicious traffic the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Pure & Applied Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method and a device for upgrading a feature library through a proxy server, wherein the method comprises the following steps: acquiring a performance parameter value of a proxy server; calculating a performance quantization index of the proxy server according to the performance parameter value; and determining the activation state of the proxy server according to the performance quantization index. The method quantitatively evaluates the upgrading performance of the proxy server, judges the actual performance of the proxy server according to the performance quantitative index, and can greatly save the time consumed by repeatedly trying to connect due to upgrading failure in the proxy upgrading process; and the algorithm of the performance quantization index is simple and easy to realize, and has strong practicability.

Description

Method and device for upgrading feature library through proxy server
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for upgrading a feature library via a proxy server, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of network technologies, accompanying network attacks become very severe, and network protection becomes more and more important. When the network is protected, network devices such as IDS, FW and the like play irreplaceable roles, and feature collection and feature matching are the most important technical means for current network protection. Therefore, it is necessary to frequently upgrade various feature libraries such as virus libraries, leak libraries, threat intelligence libraries, and the like, for such network devices.
Because most network protection devices are not directly exposed in the public network, when the version of the feature library of the devices is upgraded, the device needs to indirectly access the feature library server through the proxy server to acquire the version information from the feature library server. In the prior art, an HTTP proxy is generally adopted for upgrading the feature library.
However, when the feature library is upgraded by using the HTTP proxy, the network protection device needs to establish a TCP connection with the proxy server, and if the connection is failed to be established, the connection is attempted to be established again, sometimes due to various reasons, the process of the attempt consumes a lot of time, and especially when the number of devices is large or the number of feature libraries required to be upgraded by a single device is large, a lot of resources and time are consumed, so that the efficiency of network protection is reduced, and the network security cannot be comprehensively guaranteed.
Disclosure of Invention
In view of the above, it is necessary to provide a method for upgrading a feature library through a proxy server, so as to solve the problems of slow upgrading speed and low upgrading efficiency in the feature library upgrading process in the prior art.
In order to solve the above problem, the present invention provides a method for upgrading a feature library through a proxy server, comprising:
acquiring a performance parameter value of a proxy server;
calculating a performance quantization index of the proxy server according to the performance parameter value;
and determining the activation state of the proxy server according to the performance quantization index.
Further, the performance parameter values include: the parameter value of the latest upgrading state, the average time consumption parameter value of the upgrading, the parameter value of the cumulative upgrading success frequency, the parameter value of the upgrading success percentage in the preset period and the parameter value of the cumulative continuous upgrading failure frequency.
Further, calculating a performance quantization index of the proxy server according to the performance parameter value includes:
presetting the weight of each performance parameter value; setting the parameter value of the latest upgrade state as a and the weight as b 1; b is the parameter value of the average time consumption of upgrading, and b2 is the weight; the parameter value of the accumulated upgrading success times is c, and the weight is b 3; the parameter value of the upgrading success percentage in the preset period is d, and the weight is b 4; the parameter value of the accumulated continuous upgrading failure times is e, and the weight is b 5;
calculating the formula priority a b1+ b2+ c b3+ d b4+ (-e) b5 according to the performance quantization index to obtain the performance quantization index; where e represents inverting e.
Further, the weight satisfies the formula:
Figure BDA0003446355650000021
wherein, aiIs b, c, d, e, and i>1。
Further, determining the activation state of the proxy server according to the performance quantization index, including;
presetting a state threshold value as P;
when (— d) × b4+ e × b5> P, setting the activation state of the proxy server to inactive; where, d represents inverting d.
Further, the method further comprises:
and determining the upgrading priority of the proxy server according to the performance quantization index, wherein the higher the performance quantization index is, the higher the priority is.
Further, the method further comprises:
and when the proxy server is in an inactivated state, marking the proxy server as an unavailable server, and sending a repair alarm.
The invention also provides a device for upgrading the feature library through the proxy server, which comprises the following steps:
the parameter acquisition module is used for acquiring the performance parameter value of the proxy server;
the calculation module is used for calculating the performance quantization index of the proxy server according to the performance parameter value;
and the state determining module is used for determining the activation state of the proxy server according to the performance quantization index.
The invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for upgrading the feature library through the proxy server according to any one of the above technical solutions is implemented.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for upgrading a feature library via a proxy server according to any of the above technical solutions.
Compared with the prior art, the invention has the beneficial effects that: firstly, acquiring a performance parameter value of a proxy server; secondly, calculating a performance quantization index of the proxy server according to the performance parameter value; and finally, determining the activation state of the proxy server according to the performance quantization index. The invention carries out quantitative evaluation on the upgrading performance of the proxy server, and judges the actual performance of the proxy server according to the performance quantitative index, thereby greatly saving the time consumed by repeatedly trying to connect due to upgrading failure in the proxy upgrading process; and the algorithm of the performance quantization index is simple and easy to realize, and has strong practicability.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a method for upgrading a feature library through a proxy server according to the present invention.
FIG. 2 is a schematic structural diagram of an embodiment of an apparatus for upgrading a feature library via a proxy server according to the present invention;
fig. 3 is a block diagram of an embodiment of an electronic device provided in the present invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
The invention provides a method, a device, electronic equipment and a computer readable storage medium for upgrading a feature library through a proxy server, which are respectively described in detail below.
The embodiment of the invention provides a method for upgrading a feature library through a proxy server, a flow diagram of which is shown in figure 1, and the method for upgrading the feature library through the proxy server comprises the following steps:
step S101: acquiring a performance parameter value of a proxy server;
step S102: calculating a performance quantization index of the proxy server according to the performance parameter value;
step S103: and determining the activation state of the proxy server according to the performance quantization index.
Compared with the prior art, the method for upgrading the feature library through the proxy server provided by the embodiment comprises the following steps of firstly, obtaining performance parameter values of the proxy server; secondly, calculating a performance quantization index of the proxy server according to the performance parameter value; and finally, determining the activation state of the proxy server according to the performance quantization index. The invention carries out quantitative evaluation on the upgrading performance of the proxy server, and judges the actual performance of the proxy server according to the performance quantitative index, thereby greatly saving the time consumed by repeatedly trying to connect due to upgrading failure in the proxy upgrading process; and the algorithm of the performance quantization index is simple and easy to realize, and has strong practicability.
As a preferred embodiment, in step S101, the performance parameter values include: the parameter value of the latest upgrading state, the average time consumption parameter value of the upgrading, the parameter value of the cumulative upgrading success frequency, the parameter value of the upgrading success percentage in the preset period and the parameter value of the cumulative continuous upgrading failure frequency.
As a preferred embodiment, in step S102, calculating a performance quantization index of the proxy server according to the performance parameter value includes:
presetting the weight of each performance parameter value; setting the parameter value of the latest upgrade state as a and the weight as b 1; b is the parameter value of the average time consumption of upgrading, and b2 is the weight; the parameter value of the accumulated upgrading success times is c, and the weight is b 3; the parameter value of the upgrading success percentage in the preset period is d, and the weight is b 4; the parameter value of the accumulated continuous upgrading failure times is e, and the weight is b 5;
calculating the formula priority a b1+ b2+ c b3+ d b4+ (-e) b5 according to the performance quantization index to obtain the performance quantization index; where e represents inverting e.
As a preferred embodiment, the weight satisfies the formula:
Figure BDA0003446355650000051
wherein, aiIs b, c, d, e, and i>1. The priority of each performance parameter value is established by specifying the weight of each performance parameter value, such as: the change of the performance parameter values c, d and e does not influence the weight of the performance parameter values b and a; similarly, the weight of a is not influenced by the change of b, c, d and e; namely: when the performance of the proxy server is judged, the priority of the performance parameters is as follows: a is>b>c>d>e; this facilitates subsequent performance determination.
As a preferred embodiment, in step S103, the activation state of the proxy server is determined according to the performance quantization index, including;
presetting a state threshold value as P;
when (— d) × b4+ e × b5> P, setting the activation state of the proxy server to inactive; where d represents inverting d.
As a specific embodiment, the obtaining the performance parameter value of the proxy server includes:
the method for acquiring the parameter value (marked as e) of the accumulated continuous upgrade failure times comprises the following steps: when the maximum accumulated continuous upgrade failure times of the proxy server is 7 times or more than 7 times, the maximum accumulated continuous upgrade failure times is uniformly recorded as 7 times, and at this time, the parameter value e of the accumulated continuous upgrade failure times is represented as e-111 by using 3 binary bits. And presetting the weight of the accumulated continuous upgrading failure times as 2^0 (marked as b 5).
The method for acquiring the parameter value (d) of the upgrade success percentage in the preset period comprises the following steps: equally dividing the upgrading success percentage of the proxy server in a preset period into four segments, and expressing a parameter value d by two binary bits; when the percentage is in the range of 0-25%, the notation d is 00; when the percentage is in the range of 25% -50%, the notation d is 01; when the percentage is in the range of 50-75%, the notation d is 10; when the percentage is in the range of 75% -100%, the notation d is 11. The weight of the upgrade success percentage parameter value is preset to be 2^3 and is recorded as b 4. Obviously, the condition b4> e b5 is satisfied, and therefore, when the proxy server is selected to upgrade the network device, the priority of the parameter value of the proxy server upgrading success rate is higher than the priority of the parameter value of the accumulated continuous failure times. (supplementary notes, all segments are in the form of mathematically front-closed and back-open intervals, which are not described in detail later.)
The method for acquiring the parameter value (marked as c) of the accumulated upgrade success times comprises the following steps: when the number of times of successful accumulation and continuous upgrade of the proxy server is 7 times or more than 7 times, the number of times of successful accumulation and continuous upgrade is uniformly recorded as 7 times, and at this time, the number of times of successful accumulation and continuous upgrade c is represented by 3 bits in binary, namely c is 111. And presetting the weight of the parameter value of the number of times of successful accumulative continuous upgrade as 2^5, and recording the weight as b 3. Obviously, the condition b3> d b4+ e b5 is satisfied, i.e.: the more times of successful accumulative continuous upgrading, the higher the probability of successful upgrading at the next time, and the success rate and the failure times are not considered.
The method for acquiring the average upgrade time-consuming parameter value (b) comprises the following steps: dividing the average time consumption of the proxy server for successful upgrading into four intervals, and expressing the upgrading average time consumption parameter value b by adopting two binary bit positions; when the average time for upgrading is in the range of 0-1min, recording b as 11; when the average time for upgrading is within the range of 1-3min, recording b as 10; when the average time for upgrading is within the range of 3-6min, recording b as 01; when the average time of upgrading is more than 6min, the mark b is 00. And presetting the weight of the upgrade average time consumption parameter value as b 2^ 2^ 8.
The method for acquiring the parameter value (marked as a) of the latest upgrade state comprises the following steps: expressing the parameter value a by 1 bit of a binary system; when the latest upgrade is successful, recording a as 1; otherwise, let a equal to 0. And presetting the weight of the latest upgrade status parameter value as b1 ^ 2^ 10.
Assuming five proxy servers, noted A, B, C, D, E, some of the data is shown in the table below,
TABLE 1
Figure BDA0003446355650000071
As can be seen from the above table, since the last upgrade status is failure, the proxy server a is 0; the average time for upgrading is 10min, so b is 00; the number of successful times of the cumulative continuous upgrade is 0, so that c is 00; the upgrade success percentage in the predetermined period is 80%, so d-11 (d-3 in decimal); the number of times of successive upgrade failures is accumulated to 2, so e is 010 (decimal e is 2).
Substituting each performance parameter value and weight of the proxy server A into a calculation formula of the performance quantization index: priority a b1+ b2+ c b3+ d b4+ (e) b5 (where e represents the inversion, e is 111 (binary representation), and e is 0), the following results are obtained:
priority(A)=0*2^10+0*2^8+0*2^5+3*2^3+5*2^0=29;
similarly, the performance quantization indices of the proxy server B, C, D, E may be calculated as 1527, 264, 514, and 1455, respectively.
The preset state threshold value P is that, when (— d) × b4+ e × b5> P, the proxy server is determined to be in an inactive state, the performance parameter values and weights of the proxy servers are substituted into a formula, and for the proxy server a, (-d) × b4+ e × b5 ═ 0 ^ 2^3+ 2^0 ^ 2^ 25, therefore, the proxy server a is marked to be in an active state; similarly, the state values 0, 23, 29, and 16 corresponding to the proxy server B, C, D can be found, and the following decision can be made: the proxy server B, C, E is marked as active and the proxy server D is marked as inactive.
As can be seen from table 1, the performance parameter values selected in the embodiment of the present invention have strong correlation with the actual performance of the proxy server, and the selected weights have high sensitivity, so that the optimal solution required for the next decision can be easily obtained; meanwhile, the proxy server with serious and poor performance can be analyzed, the proxy server with serious and poor performance is set to be in an inactivated state and is marked as an unavailable server, and better technical support is provided for the maintenance of the proxy period.
As a specific embodiment, the method further comprises: according to the actual use scene, more performance parameter values related to the actual performance of the proxy server are expanded, reasonable weights corresponding to the performance parameter values are selected, and the performance quantization index of the proxy server is calculated to adapt to the specific upgrading scene.
As a preferred embodiment, the method further comprises:
and determining the upgrading priority of the proxy server according to the performance quantization index, wherein the higher the performance quantization index is, the higher the priority is.
As a specific embodiment, the proxy server updates the value of the performance quantization index priority and the server status (active or inactive) immediately after the network device is upgraded.
As a specific example, assume that a network device has configured multiple proxy servers (labeled as proxy server A, B, C, D); addresses and ports corresponding to the proxy servers are { (IP1, port1), (IP2, port2), (IP3, port3), (IP4, port4) }; the step of the network device upgrading by using the proxy server for the first time is as follows:
step S201: the network equipment starts an agent function;
step S202: initializing all proxy servers to an active state, setting the priority of all proxy servers A, B, C, D to the highest state;
step S203: the network equipment selects a first feature library of the proxy server A to upgrade, judges whether the upgrade is successful, and if the upgrade is successful, the step S204 is executed; if the failure occurs, go to step S205;
step S204: continuing to use the proxy server A to upgrade the second feature library, and entering step S206;
step S205: upgrading the server by using the proxy server B (the priority of the proxy server B is higher at the moment), and entering the step S206;
step S206: calculating the performance quantization indexes of all the proxy servers, and updating the priority order of the proxy servers A, B, C, D according to the performance quantization indexes;
and in the same way, after each feature library is upgraded, the network equipment selects the proxy server with the highest priority to upgrade. And after the upgrading of the feature library of the network equipment is finished, configuring and storing the priority sequence of the proxy server, and then powering off and restarting. And when the network equipment upgrades the feature library next time, selecting the proxy server with the highest priority to start upgrading according to the stored configuration information.
As a preferred embodiment, the method further comprises: and when the proxy server is in an inactivated state, marking the proxy server as an unavailable server, sending a maintenance alarm, and informing an administrator to check.
The embodiment of the present invention provides an apparatus for upgrading a feature library by a proxy server, a structural block diagram of which is shown in fig. 2, where the apparatus 200 for upgrading a feature library by a proxy server includes:
a parameter obtaining module 201, configured to obtain a performance parameter value of the proxy server;
a calculating module 202, configured to calculate a performance quantization index of the proxy server according to the performance parameter value;
and the state determining module 203 is configured to determine an activation state of the proxy server according to the performance quantization index.
As shown in fig. 3, the present invention also provides an electronic device, which may be a mobile terminal, a desktop computer, a notebook, a palmtop computer, a server, or other computing devices, according to the method for upgrading a feature library by using a proxy server. The electronic device comprises a processor 301, a memory 302 and a display 303.
The storage 302 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device, in some embodiments. The memory 302 may also be an external storage device of the computer device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Further, the memory 302 may also include both internal storage units of the computer device and external storage devices. The memory 302 is used for storing application software installed on the computer device and various data, such as program codes for installing the computer device. The memory 302 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 302 stores a program 304 for upgrading the feature library through the proxy server, and the program 304 for upgrading the feature library through the proxy server is executable by the processor 301, so as to implement the method for upgrading the feature library through the proxy server according to the embodiments of the present invention.
The processor 301 may be, in some embodiments, a Central Processing Unit (CPU), microprocessor or other data Processing chip, for running program codes stored in the memory 302 or Processing data, such as executing a method program for upgrading a feature library through a proxy server.
The display 303 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 303 is used for displaying information at the computer device and for displaying a visualized user interface. The components 301 and 303 of the computer device communicate with each other via a system bus.
The present embodiment also provides a computer-readable storage medium, on which a program of a method for upgrading a feature library by a proxy server is stored, and when the program is executed by a processor, the method for upgrading a feature library by a proxy server according to any one of the above technical solutions is implemented.
The invention discloses a method and a device for upgrading a feature library through a proxy server, wherein the method comprises the following steps: acquiring a performance parameter value of a proxy server; calculating a performance quantization index of the proxy server according to the performance parameter value; and determining the activation state of the proxy server according to the performance quantization index.
The method of the invention carries out quantitative evaluation on the upgrading performance of the proxy server, and judges the actual performance of the proxy server according to the performance quantitative index, thereby greatly saving the time consumed by repeatedly trying to connect due to upgrading failure in the process of upgrading the proxy server; and the algorithm of the performance quantization index is simple and easy to realize, and has strong practicability.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (10)

1. A method for upgrading a feature library via a proxy server, comprising:
acquiring a performance parameter value of a proxy server;
calculating a performance quantization index of the proxy server according to the performance parameter value;
and determining the activation state of the proxy server according to the performance quantization index.
2. The method for upgrading a feature library via a proxy server of claim 1, wherein the performance parameter values comprise: the parameter value of the latest upgrading state, the average time consumption parameter value of the upgrading, the parameter value of the cumulative upgrading success frequency, the parameter value of the upgrading success percentage in the preset period and the parameter value of the cumulative continuous upgrading failure frequency.
3. The method for upgrading a feature library through a proxy server according to claim 2, wherein calculating the performance quantization index of the proxy server according to the performance parameter value comprises:
presetting the weight of each performance parameter value; setting the parameter value of the latest upgrading state as a and the weight as b 1; b is the parameter value of the average time consumption of upgrading, and b2 is the weight; the parameter value of the accumulated upgrading success times is c, and the weight is b 3; the parameter value of the upgrading success percentage in the preset period is d, and the weight is b 4; the parameter value of the accumulated continuous upgrading failure times is e, and the weight is b 5;
calculating the formula priority a b1+ b2+ c b3+ d b4+ (-e) b5 according to the performance quantization index to obtain the performance quantization index; where e represents inverting e.
4. The method for upgrading a feature library via a proxy server according to claim 3, wherein the weight satisfies the formula:
Figure FDA0003446355640000011
wherein, aiIs b, c, d, e, and i>1。
5. The method for upgrading a feature library through a proxy server according to claim 3, wherein the activation state of the proxy server is determined according to the performance quantization index, comprising;
presetting a state threshold value as P;
when (— d) × b4+ e × b5> P, setting the activation state of the proxy server to inactive; where d represents inverting d.
6. The method for upgrading a feature library via a proxy server of claim 1, further comprising:
and determining the upgrading priority of the proxy server according to the performance quantization index, wherein the higher the performance quantization index is, the higher the priority is.
7. The method for upgrading a feature library via a proxy server of claim 1, further comprising:
and when the proxy server is in an inactivated state, marking the proxy server as an unavailable server, and sending a repair alarm.
8. An apparatus for upgrading a feature library via a proxy server, comprising:
the parameter acquisition module is used for acquiring the performance parameter value of the proxy server;
the calculation module is used for calculating the performance quantization index of the proxy server according to the performance parameter value;
and the state determining module is used for determining the activation state of the proxy server according to the performance quantization index.
9. An electronic device comprising a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, carries out the method of upgrading a feature library via a proxy server according to any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of upgrading a feature library by means of a proxy server according to any one of claims 1 to 7.
CN202111657470.1A 2021-12-30 2021-12-30 Method and device for upgrading feature library through proxy server Active CN114500278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111657470.1A CN114500278B (en) 2021-12-30 2021-12-30 Method and device for upgrading feature library through proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111657470.1A CN114500278B (en) 2021-12-30 2021-12-30 Method and device for upgrading feature library through proxy server

Publications (2)

Publication Number Publication Date
CN114500278A true CN114500278A (en) 2022-05-13
CN114500278B CN114500278B (en) 2024-04-09

Family

ID=81508680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111657470.1A Active CN114500278B (en) 2021-12-30 2021-12-30 Method and device for upgrading feature library through proxy server

Country Status (1)

Country Link
CN (1) CN114500278B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7216164B1 (en) * 2002-10-09 2007-05-08 Cisco Technology, Inc. Methods and apparatus for determining the performance of a server
CN102075380A (en) * 2010-12-16 2011-05-25 中兴通讯股份有限公司 Method and device for detecting server state
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing
CN107239339A (en) * 2016-03-29 2017-10-10 阿里巴巴集团控股有限公司 System function optimization parameter determination method, system function optimization method and device
CN109726062A (en) * 2018-05-14 2019-05-07 网联清算有限公司 The inserting method and control server of proxy server
CN110430278A (en) * 2019-08-14 2019-11-08 平安普惠企业管理有限公司 Load balancing configuration method and device
CN110445650A (en) * 2019-08-07 2019-11-12 中国联合网络通信集团有限公司 Detect alarm method, equipment and server
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN111277662A (en) * 2020-01-22 2020-06-12 咪咕文化科技有限公司 Processing method of proxy server, electronic device and storage medium
CN111431741A (en) * 2020-03-17 2020-07-17 北京奇艺世纪科技有限公司 Service online method, system, computer device and storage medium
CN111565216A (en) * 2020-03-27 2020-08-21 深圳壹账通智能科技有限公司 Back-end load balancing method, device, system and storage medium
CN112187575A (en) * 2020-09-25 2021-01-05 杭州迪普科技股份有限公司 Method and device for monitoring health state of server
CN112187839A (en) * 2019-07-03 2021-01-05 中移(苏州)软件技术有限公司 Distribution method, server and storage medium
CN113778768A (en) * 2021-08-24 2021-12-10 深圳市联影高端医疗装备创新研究院 Reconstruction server testing method and device, computer equipment and storage medium
CN113824768A (en) * 2021-08-23 2021-12-21 北京天融信网络安全技术有限公司 Health check method and device in load balancing system and flow forwarding method
WO2021254331A1 (en) * 2020-06-16 2021-12-23 中兴通讯股份有限公司 Resource management method and system, proxy server, and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7216164B1 (en) * 2002-10-09 2007-05-08 Cisco Technology, Inc. Methods and apparatus for determining the performance of a server
CN102075380A (en) * 2010-12-16 2011-05-25 中兴通讯股份有限公司 Method and device for detecting server state
CN107239339A (en) * 2016-03-29 2017-10-10 阿里巴巴集团控股有限公司 System function optimization parameter determination method, system function optimization method and device
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing
CN109726062A (en) * 2018-05-14 2019-05-07 网联清算有限公司 The inserting method and control server of proxy server
CN112187839A (en) * 2019-07-03 2021-01-05 中移(苏州)软件技术有限公司 Distribution method, server and storage medium
CN110445650A (en) * 2019-08-07 2019-11-12 中国联合网络通信集团有限公司 Detect alarm method, equipment and server
CN110430278A (en) * 2019-08-14 2019-11-08 平安普惠企业管理有限公司 Load balancing configuration method and device
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN111277662A (en) * 2020-01-22 2020-06-12 咪咕文化科技有限公司 Processing method of proxy server, electronic device and storage medium
CN111431741A (en) * 2020-03-17 2020-07-17 北京奇艺世纪科技有限公司 Service online method, system, computer device and storage medium
CN111565216A (en) * 2020-03-27 2020-08-21 深圳壹账通智能科技有限公司 Back-end load balancing method, device, system and storage medium
WO2021254331A1 (en) * 2020-06-16 2021-12-23 中兴通讯股份有限公司 Resource management method and system, proxy server, and storage medium
CN112187575A (en) * 2020-09-25 2021-01-05 杭州迪普科技股份有限公司 Method and device for monitoring health state of server
CN113824768A (en) * 2021-08-23 2021-12-21 北京天融信网络安全技术有限公司 Health check method and device in load balancing system and flow forwarding method
CN113778768A (en) * 2021-08-24 2021-12-10 深圳市联影高端医疗装备创新研究院 Reconstruction server testing method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NATTAPONG KURPUKDEE等: "Enhance run-time performance with a collaborative distributed speech recognition framework", 2015 INTERNATIONAL COMPUTER SCIENCE AND ENGINEERING CONFERENCE (ICSEC), 11 February 2016 (2016-02-11) *
戴伟;马明栋;王得玉: "基于Nginx的负载均衡技术研究与优化", 计算机技术与发展, 19 December 2018 (2018-12-19) *

Also Published As

Publication number Publication date
CN114500278B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US9798885B2 (en) Security policy generation based on snapshots of similar virtual machines
US8281298B2 (en) Evaluating computer driver update compliance
US20130174142A1 (en) Reconfiguration of computer system to allow application installation
US20050015562A1 (en) Block cache size management via virtual memory manager feedback
US9690712B2 (en) Method and system for cache management
CN111881012A (en) Log recording method, device, equipment and storage medium
CN110647750A (en) File integrity measurement method and device, terminal and security management center
CN108809943B (en) Website monitoring method and device
US8347285B2 (en) Embedded agent for self-healing software
CN114281653B (en) Application program monitoring method and device and computing equipment
US20130318398A1 (en) Method and system for leveraging page fault and page reclaim capabilities in debugging
Zheng et al. A transient interval reliability analysis for software rejuvenation models with phase expansion
CN111291083B (en) Webpage source code data processing method and device and computer equipment
CN114500278A (en) Method and device for upgrading feature library through proxy server
CN111400128A (en) Log management method and device, computer equipment and storage medium
US11372832B1 (en) Efficient hashing of data objects
CN113064902A (en) Method and device for retrieving transaction data on chain and electronic equipment
US10719379B2 (en) Fault isolation in transaction logs
CN110162488A (en) Buffer consistency method of calibration, device, server and storage medium
US10104042B2 (en) Security policy management
CN115795457A (en) Trojan horse program monitoring method and device, computing equipment and storage medium
CN111177615B (en) Method and equipment for accessing website resources
US11860871B2 (en) Continuous delivery of database queries for applications based on named and versioned parameterized database queries
CN113296818A (en) Server PNOR firmware upgrading method, device, equipment and medium
CN113434342A (en) Operating system recovery method, computing device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant