CN111106950B - Reverse proxy service quality monitoring method, electronic device, system and medium - Google Patents

Reverse proxy service quality monitoring method, electronic device, system and medium Download PDF

Info

Publication number
CN111106950B
CN111106950B CN201911166680.3A CN201911166680A CN111106950B CN 111106950 B CN111106950 B CN 111106950B CN 201911166680 A CN201911166680 A CN 201911166680A CN 111106950 B CN111106950 B CN 111106950B
Authority
CN
China
Prior art keywords
reverse proxy
proxy server
data
requester
server
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
CN201911166680.3A
Other languages
Chinese (zh)
Other versions
CN111106950A (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 Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201911166680.3A priority Critical patent/CN111106950B/en
Publication of CN111106950A publication Critical patent/CN111106950A/en
Application granted granted Critical
Publication of CN111106950B publication Critical patent/CN111106950B/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/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • H04L43/55Testing of service level quality, e.g. simulating service usage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The invention provides a reverse proxy service quality monitoring method, electronic equipment, a system and a medium, wherein the method comprises the following steps: determining a first data volume sent to a reverse proxy server by a requester in a process of initiating a request to the reverse proxy server by the requester; determining an eighth data volume received by the requester in the process that the reverse proxy server returns data to the requester; calculating a quotient of the eighth data amount and the first data amount as a first power contribution of the reverse proxy service; when the first power is less than or equal to a preset threshold value, detecting whether data transmission between the requester and the reverse proxy server is abnormal and detecting whether data transmission between the reverse proxy server and an internal server is abnormal; optimizing the reverse proxy service based on the detected anomaly. The invention can comprehensively evaluate the service quality of the reverse proxy service based on the data volume and optimize the reverse proxy service according to the evaluation result.

Description

Reverse proxy service quality monitoring method, electronic device, system and medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a reverse proxy service quality monitoring method, an electronic device, a system, and a medium.
Background
In the conventional reverse proxy service quality evaluation, only the traffic statistics of the reverse proxy server part are involved, such as: ingress and egress traffic of the reverse proxy server.
The evaluation mode is not comprehensive for evaluating the service quality of the whole reverse proxy and can not locate the abnormity according to the evaluation result.
Disclosure of Invention
The invention mainly aims to provide a reverse proxy service quality monitoring method, electronic equipment, a system and a medium, which can comprehensively evaluate the service quality of reverse proxy service based on data volume and optimize the reverse proxy service according to an evaluation result.
In order to achieve the above object, the present invention provides a reverse proxy service quality monitoring method, including:
determining a first data volume sent to a reverse proxy server by a requester in the process of initiating a request to the reverse proxy server by the requester;
determining an eighth data volume received by the requester in a process of returning data to the requester by the reverse proxy server;
calculating a quotient of the eighth data amount and the first data amount as a first power contribution of the reverse proxy service;
when the first power generation rate is smaller than or equal to a preset threshold value, detecting whether data transmission between the requester and the reverse proxy server is abnormal or not, and detecting whether data transmission between the reverse proxy server and an internal server is abnormal or not;
optimizing the reverse proxy service based on the detected anomaly.
Preferably, the method further comprises:
determining a first flow sent by the requester to the reverse proxy server in a process that the requester initiates a request to the reverse proxy server;
determining an eighth flow received by the requester in the process of returning data to the requester by the reverse proxy server;
calculating a quotient of the eighth flow and the first flow as a check value;
and when the first power generation rate is the same as the check value, determining that the first power generation rate passes the check.
Preferably, the detecting whether the data transmission between the requester and the reverse proxy server is abnormal includes:
determining a second data volume received by the reverse proxy server in a process that the request party initiates a request to the reverse proxy server, calculating a quotient of the second data volume and the first data volume as a second power consumption of the reverse proxy server for receiving the data of the request party, and determining that data transmission between the request party and the reverse proxy server is abnormal when the second power consumption is less than or equal to the preset threshold; and/or
And in the process of determining that the reverse proxy server returns data to the requester, the reverse proxy server returns a seventh data volume of the requester, calculates a quotient of the eighth data volume and the seventh data volume as a third power of the requester for receiving the data of the reverse proxy server, and determines that the data transmission between the requester and the reverse proxy server is abnormal when the third power is less than or equal to the preset threshold.
Preferably, the detecting whether the data transmission between the reverse proxy server and the internal server is abnormal includes:
determining a third data volume sent to the internal server by the reverse proxy server and a fourth data volume received by the internal server in a process that the reverse proxy server initiates a request to the internal server, calculating a quotient of the fourth data volume and the third data volume as a fourth power of the internal server for receiving the data of the reverse proxy server, and determining that data transmission between the reverse proxy server and the internal server is abnormal when the fourth power is less than or equal to the preset threshold; and/or
Determining a fifth data volume returned by the internal server to the reverse proxy server and a sixth data volume received by the reverse proxy server in the process of determining that the internal server returns data to the reverse proxy server, calculating a quotient of the sixth data volume and the fifth data volume as a fifth component power of the reverse proxy server for receiving the data of the internal server, and determining that the data transmission between the reverse proxy server and the internal server is abnormal when the fifth component power is less than or equal to the preset threshold value.
Preferably, said optimizing said reverse proxy service according to said detected anomaly comprises:
when the second power consumption is smaller than or equal to the preset threshold value, determining that the reverse proxy server is abnormal, and optimizing the reverse proxy server; and/or
When the third success rate is smaller than or equal to the preset threshold, determining that the requester is abnormal, and optimizing the requester; and/or
When the fourth power is smaller than or equal to the preset threshold, determining that the internal server is abnormal, and optimizing the internal server; and/or
And when the fifth power is less than or equal to the preset threshold, determining that the reverse proxy server is abnormal, and optimizing the reverse proxy server.
Preferably, the method further comprises:
calculating a quotient of the fifth data amount and the fourth data amount as a sixth success rate of the internal server service;
when the sixth composition power is less than or equal to the preset threshold, determining that the internal server is abnormal.
To achieve the above object, the present invention further provides an electronic device, comprising:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the reverse proxy quality of service monitoring method.
Preferably, the electronic device is a node constituting a content distribution network or a blockchain network.
To achieve the above object, the present invention further provides a reverse proxy service quality monitoring system, comprising:
a determining unit, configured to determine a first data volume sent by a requester to a reverse proxy server in a process that the requester initiates a request to the reverse proxy server;
the determining unit is further configured to determine an eighth data size received by the requester in a process that the reverse proxy server returns data to the requester;
a calculating unit, configured to calculate a quotient of the eighth data amount and the first data amount as a first power consumption of the reverse proxy service;
a detecting unit, configured to detect whether data transmission between the requester and the reverse proxy server is abnormal or not and detect whether data transmission between the reverse proxy server and an internal server is abnormal or not when the first success rate is less than or equal to a preset threshold;
an optimization unit for optimizing the reverse proxy service according to the detected anomaly.
Preferably, the determining unit is further configured to determine a first traffic sent by the requester to the reverse proxy server in a process in which the requester initiates a request to the reverse proxy server;
the determining unit is further configured to determine an eighth traffic received by the requester in a process that the reverse proxy server returns data to the requester;
the calculating unit is further configured to calculate a quotient of the eighth flow rate and the first flow rate as a check value;
the determining unit is further configured to determine that the first power generation rate passes the verification when the first power generation rate is the same as the verification value.
Preferably, the detecting unit detecting whether data transmission between the requester and the reverse proxy server is abnormal includes:
determining a second data volume received by the reverse proxy server in a process that the request party initiates a request to the reverse proxy server, calculating a quotient of the second data volume and the first data volume as a second power consumption of the reverse proxy server for receiving the data of the request party, and determining that data transmission between the request party and the reverse proxy server is abnormal when the second power consumption is less than or equal to the preset threshold; and/or
And in the process of determining that the reverse proxy server returns data to the requester, the reverse proxy server returns a seventh data volume of the requester, calculates a quotient of the eighth data volume and the seventh data volume as a third power of the requester for receiving the data of the reverse proxy server, and determines that the data transmission between the requester and the reverse proxy server is abnormal when the third power is less than or equal to the preset threshold.
Preferably, the detecting unit detecting whether data transmission between the reverse proxy server and the internal server is abnormal includes:
determining a third data volume sent to the internal server by the reverse proxy server and a fourth data volume received by the internal server in a process that the reverse proxy server initiates a request to the internal server, calculating a quotient of the fourth data volume and the third data volume as a fourth power of the internal server for receiving the data of the reverse proxy server, and determining that data transmission between the reverse proxy server and the internal server is abnormal when the fourth power is less than or equal to the preset threshold; and/or
Determining a fifth data volume returned by the internal server to the reverse proxy server and a sixth data volume received by the reverse proxy server in the process of determining that the internal server returns data to the reverse proxy server, calculating a quotient of the sixth data volume and the fifth data volume as a fifth component power of the reverse proxy server for receiving the data of the internal server, and determining that the data transmission between the reverse proxy server and the internal server is abnormal when the fifth component power is less than or equal to the preset threshold value.
Preferably, the optimization unit is specifically configured to:
when the second power consumption is smaller than or equal to the preset threshold value, determining that the reverse proxy server is abnormal, and optimizing the reverse proxy server; and/or
When the third success rate is smaller than or equal to the preset threshold, determining that the requester is abnormal, and optimizing the requester; and/or
When the fourth power is smaller than or equal to the preset threshold, determining that the internal server is abnormal, and optimizing the internal server; and/or
And when the fifth forming power is smaller than or equal to the preset threshold value, determining that the reverse proxy server is abnormal, and optimizing the reverse proxy server.
Preferably, the calculating unit is further configured to calculate a quotient of the fifth data amount and the fourth data amount as a sixth power consumed by the internal server;
the determining unit is further configured to determine that the internal server is abnormal when the sixth power is less than or equal to the preset threshold.
In summary, the present invention can determine a first data volume sent by a requester to a reverse proxy server in a process of initiating a request to the reverse proxy server, and determine an eighth data volume received by the requester in a process of returning data from the reverse proxy server to the requester, so as to realize statistics of data volumes of multiple processes in a reverse proxy service, further calculate a quotient of the eighth data volume and the first data volume as a first success rate of the reverse proxy service, so as to comprehensively evaluate a service quality of the reverse proxy service based on the data volume, and detect whether data transmission between the requester and the reverse proxy server is abnormal and whether data transmission between the reverse proxy server and an internal server is abnormal when the first success rate is less than or equal to a preset threshold, so as to realize accurate positioning of the abnormity and further optimize the reverse proxy service according to the detected abnormity.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application environment of the reverse proxy QoS monitoring method according to the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the disclosure;
FIG. 4 is a functional block diagram of a reverse proxy QoS monitoring system according to the present invention;
description of the main elements
Electronic device 1
Memory device 12
Processor with a memory having a plurality of memory cells 13
Reverse proxy service quality monitoring system 11
Determining unit 110
Computing unit 111
Detection unit 112
Optimization unit 113
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a sequential or chronological order, but rather for indicating or implying any relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include at least one of the feature and not necessarily for describing a particular order or sequence. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a reverse proxy service quality monitoring method.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of the invention. The order of the steps in the flow diagram can be changed and some steps can be omitted according to different requirements.
The reverse proxy service quality monitoring method is applied to one or more electronic devices, wherein the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and hardware devices of the electronic devices include but are not limited to microprocessors, Application Specific Integrated Circuits (ASICs), Programmable Gate arrays (FPGAs), Digital Signal Processors (DSPs), embedded devices, and the like.
The electronic device may be any electronic product capable of performing human-computer interaction with a user, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive Internet Protocol Television (IPTV), an intelligent wearable device, and the like.
The electronic device may also include a network device and/or a user device. The network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of hosts or network servers.
The Network where the electronic device is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
In various embodiments of the present invention, the reverse proxy service involved in the method when executed may specifically refer to an application environment diagram of the reverse proxy service quality monitoring method shown in fig. 2. The reverse proxy service is composed of a requester, a reverse proxy server and an internal server, wherein the requester completes service access to the internal server by sending data to the reverse proxy server. Wherein there is data interaction between the requestor and the reverse proxy server, and there is also data interaction between the reverse proxy server and the requestor.
Specifically, the whole flow of the reverse proxy service may include: the request side initiates a request to the reverse proxy server, the reverse proxy server initiates a request to the internal server after receiving the request, the internal server returns data to the reverse proxy server according to the received request after receiving the request, and the reverse proxy server returns the returned data to the request side.
The determination and calculation of a plurality of different parameters are involved in the whole process of the reverse proxy service, so that the service quality of the reverse proxy service is comprehensively evaluated based on the data volume, the accurate positioning of the abnormity is realized, and the reverse proxy service is optimized according to the detected abnormity. For the convenience of understanding, the parameters applicable in a plurality of different embodiments are described separately, and it should be particularly noted that the following parameters or their combinations may be used in different embodiments to calculate the success rate of the corresponding service:
the first data amount: refers to the number and/or flow of the traffic packets sent by the requester to the reverse proxy server.
Second data amount: the number and/or the flow of the flow packets received by the reverse proxy server in the process that the request party initiates the request to the reverse proxy server.
Third data amount: refers to the number and/or flow of the traffic packets sent by the reverse proxy server to the internal server.
Fourth amount of data: refers to the number of traffic packets and/or traffic received by the internal server.
Fifth amount of data: refers to the number and/or flow of the traffic packets returned by the internal server to the reverse proxy server.
Sixth data amount: the number and/or the flow of the flow packets received by the reverse proxy server in the process that the internal server returns data to the reverse proxy server.
Seventh data amount: refers to the number and/or flow of the traffic packets returned by the reverse proxy server to the requestor.
Eighth data amount: refers to the number of traffic packets and/or traffic received by the requestor.
In one embodiment, the method comprises:
s10, determining a first data size sent by a requester to a reverse proxy server in a process of the requester initiating a request to the reverse proxy server.
It is understood that the basic unit of communication is traffic packets, and the data amount refers to the number of the traffic packets and/or the traffic.
S11, determining an eighth data size received by the requester in the process of returning data to the requester by the reverse proxy server.
S12, calculating a quotient of the eighth data amount and the first data amount as a first power of the reverse proxy service.
In at least one embodiment of the present invention, since the first data amount is a data amount generated when the request is initiated to the reverse proxy server by the requester at the beginning of the entire reverse proxy service flow, the eighth data amount is a data amount finally fed back to the requester by the reverse proxy server according to the request of the requester at the end of the entire reverse proxy service flow, that is, the first data amount marks an initial request amount of the entire reverse proxy service flow, and the eighth data amount marks a final feedback result of the entire reverse proxy service flow, the electronic device calculates a quotient of the eighth data amount and the first data amount as the first power of the reverse proxy service, and can characterize a service condition of the entire reverse proxy service flow, that is, through the first power, the electronic device can determine whether the requestor has acquired the required feedback.
In at least one embodiment of the invention, the method further comprises:
the electronic device determines a first flow sent to the reverse proxy server by the requester in a process that the requester initiates a request to the reverse proxy server, and determines an eighth flow received by the requester in a process that the reverse proxy server returns data to the requester, and the electronic device calculates a quotient of the eighth flow and the first flow as a check value, and further determines that the first success rate passes the check when the first success rate is the same as the check value.
Through the implementation mode, the success rate of the reverse proxy service can be determined according to the data volume, and the verification can be performed according to the flow, so that the finally determined success rate is more accurate and credible, and the comprehensiveness of the evaluation is improved.
In at least one embodiment of the invention, the method further comprises:
when the first available power is different from the check value, the electronic device determines that the first available power does not pass the check, and further, the electronic device can notify related staff to perform secondary confirmation.
Through the implementation mode, measures can be taken in time when the verification fails, and the influence on the efficiency of monitoring the reverse proxy service quality is avoided.
S13, when the first power is less than or equal to a preset threshold, detecting whether data transmission between the requester and the reverse proxy server is abnormal, and detecting whether data transmission between the reverse proxy server and the internal server is abnormal.
In at least one embodiment of the present invention, the preset threshold may be configured in a customized manner, such as: 97 percent.
It can be understood that, when the first success rate is less than or equal to a preset threshold, it indicates that the reverse proxy service is abnormal, and therefore, the electronic device needs to further determine the cause and abnormal point of the abnormality.
In at least one embodiment of the present invention, the electronic device detecting whether the data transmission between the requester and the reverse proxy server is abnormal includes, but is not limited to, one or more of the following combinations:
(1) the electronic device determines a second data volume received by the reverse proxy server in a process that the requester initiates a request to the reverse proxy server, further, the electronic device calculates a quotient of the second data volume and the first data volume as a second power consumption of the reverse proxy server for receiving the data of the requester, and when the second power consumption is less than or equal to the preset threshold, the electronic device determines that data transmission between the requester and the reverse proxy server is abnormal.
It is understood that the second data amount is a data amount received by the reverse proxy server, and the first data amount is a data amount sent by the requester, so that calculating the second power consumption by the second data amount and the first data amount can characterize whether the reverse proxy server successfully receives the data of the requester, and when the second power consumption is less than or equal to the preset threshold, it may be determined that the reverse proxy server cannot successfully receive the data, and further, it may be determined that the data transmission between the requester and the reverse proxy server is abnormal.
(2) The electronic device determines that, in a process of returning data to the requester by the reverse proxy server, the reverse proxy server returns a seventh data volume of the requester, further, the electronic device calculates a quotient of the eighth data volume and the seventh data volume as a third power of the requester for receiving the data of the reverse proxy server, and when the third power is less than or equal to the preset threshold, the electronic device determines that data transmission between the requester and the reverse proxy server is abnormal.
It is to be understood that the seventh data amount is a data amount returned by the reverse proxy server, and the eighth data amount is a data amount received by the requester, so that calculating the third power by using the seventh data amount and the eighth data amount can characterize whether the requester successfully receives the data of the reverse proxy server, and when the third power is less than or equal to the preset threshold, it may be determined that the requester cannot successfully receive the data, and further, it may be determined that the data transmission between the requester and the reverse proxy server is abnormal.
In at least one embodiment of the present invention, the electronic device detecting whether the data transmission between the reverse proxy server and the internal server is abnormal includes, but is not limited to, one or more of the following combinations:
(1) the electronic device determines a third data volume sent to the internal server by the reverse proxy server and a fourth data volume received by the internal server in a process that the reverse proxy server initiates a request to the internal server, further, the electronic device calculates a quotient of the fourth data volume and the third data volume as a fourth component power of the internal server for receiving the data of the reverse proxy server, and when the fourth component power is less than or equal to the preset threshold, the electronic device determines that data transmission between the reverse proxy server and the internal server is abnormal.
It is to be understood that the third data amount is a data amount sent by the reverse proxy server, and the fourth data amount is a data amount received by the internal server, so that calculating the fourth power by using the third data amount and the fourth data amount can characterize whether the internal server successfully receives the data of the reverse proxy server, and when the fourth power is less than or equal to the preset threshold, it may be determined that the internal server cannot successfully receive the data, and further determine that data transmission between the reverse proxy server and the internal server is abnormal.
(2) The electronic device determines that, in a process of returning data to the reverse proxy server by the internal server, a fifth data volume returned by the internal server to the reverse proxy server and a sixth data volume received by the reverse proxy server, further, the electronic device calculates a quotient of the sixth data volume and the fifth data volume as a fifth power of the reverse proxy server for receiving the data of the internal server, and when the fifth power is less than or equal to the preset threshold, the electronic device determines that data transmission between the reverse proxy server and the internal server is abnormal.
It is to be understood that the fifth data amount is a data amount returned by the internal server, and the sixth data amount is a data amount received by the reverse proxy server, so that calculating the fifth power by using the fifth data amount and the sixth data amount can characterize whether the reverse proxy server successfully receives the data of the internal server, and when the fifth power is less than or equal to the preset threshold, it may be determined that the reverse proxy server cannot successfully receive the data, and further determine that data transmission between the reverse proxy server and the internal server is abnormal.
Through the implementation mode, the specific abnormal flow can be positioned through the data volume of the flows in the reverse proxy service, so that the abnormal detection is assisted, the robustness and the stability of the whole reverse proxy service process are improved, and the efficiency of the abnormal detection is improved.
S14, optimizing the reverse proxy service according to the detected abnormity.
In at least one embodiment of the invention, the electronic device optimizes the reverse proxy service based on the detected anomaly, including, but not limited to, a combination of one or more of the following:
(1) and when the second power consumption is smaller than or equal to the preset threshold value, the electronic equipment determines that the reverse proxy server is abnormal and optimizes the reverse proxy server.
(2) And when the third success rate is smaller than or equal to the preset threshold, the electronic equipment determines that the requester is abnormal and optimizes the requester.
(3) And when the fourth power is smaller than or equal to the preset threshold, the electronic equipment determines that the internal server is abnormal and optimizes the internal server.
(4) And when the fifth power is smaller than or equal to the preset threshold, the electronic equipment determines that the reverse proxy server is abnormal and optimizes the reverse proxy server.
Through the implementation mode, the reverse proxy service can be optimized in a targeted manner according to the calculated success rate of each flow path.
In at least one embodiment of the invention, the method further comprises:
the electronic equipment calculates a quotient of the fifth data volume and the fourth data volume as a sixth success rate of the internal server service, and when the sixth success rate is smaller than or equal to the preset threshold, the electronic equipment determines that the internal server is abnormal.
It is to be understood that the fifth data amount is a data amount returned by the internal server, and the fourth data amount is a data amount requested from the internal server, and therefore, calculating the sixth power by the fifth data amount and the fourth data amount can characterize whether the internal server has performed correct feedback according to the request.
Further, after determining that the internal server is abnormal, the electronic device optimizes the internal server to ensure the quality of the whole reverse proxy service.
In summary, the present invention can determine a first data volume sent by a requester to a reverse proxy server in a process of initiating a request to the reverse proxy server by the requester, and determine an eighth data volume received by the requester in a process of returning data from the reverse proxy server to the requester, so as to count data volumes of multiple processes in a reverse proxy service, further calculate a quotient of the eighth data volume and the first data volume as a first success rate of the reverse proxy service, so as to comprehensively evaluate a service quality of the reverse proxy service based on the data volume, detect whether data transmission between the requester and the reverse proxy server is abnormal and detect whether data transmission between the reverse proxy server and an internal server is abnormal when the first success rate is less than or equal to a preset threshold, so as to realize accurate positioning of the abnormity and further optimize the reverse proxy service according to the detected abnormity.
Referring to fig. 3, in the present embodiment, the electronic device 1 may be a node constituting a content distribution network or a blockchain network.
The electronic device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program, such as a reverse proxy quality of service monitoring program, stored in the memory 12 and executable on the processor 13.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the electronic device 1, and does not constitute a limitation to the electronic device 1, the electronic device 1 may have a bus-type structure or a star-type structure, and the electronic device 1 may further include more or less hardware or software than that shown in the figure, or different component arrangements, for example, the electronic device 1 may further include an input and output device, a network access device, and the like.
It should be noted that the electronic device 1 is only an example, and other existing or future electronic products, such as those that can be adapted to the present invention, should also be included in the scope of the present invention, and are included herein by reference.
The memory 12 includes at least one type of readable storage medium, which includes flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 12 may in some embodiments be an internal storage unit of the electronic device 1, for example a removable hard disk of the electronic device 1. The memory 12 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 12 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of a reverse proxy quality of service monitoring program, etc., but also to temporarily store data that has been output or is to be output.
The processor 13 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 13 is a Control Unit (Control Unit) of the electronic device 1, connects various components of the electronic device 1 by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (for example, executing a reverse proxy qos monitoring program, etc.) stored in the memory 12 and calling data stored in the memory 12.
The processor 13 executes an operating system of the electronic device 1 and various installed application programs. The processor 13 executes the application program to implement the steps in the above-mentioned embodiments of the reverse proxy qos monitoring method, such as steps S10, S11, S12, S13, and S14 shown in fig. 1.
Alternatively, the processor 13, when executing the computer program, implements the functions of the modules/units in the above device embodiments, for example:
determining a first data volume sent to a reverse proxy server by a requester in the process of initiating a request to the reverse proxy server by the requester;
determining an eighth data volume received by the requester in a process of returning data to the requester by the reverse proxy server;
calculating a quotient of the eighth data amount and the first data amount as a first power contribution of the reverse proxy service;
when the first power is less than or equal to a preset threshold value, detecting whether data transmission between the requester and the reverse proxy server is abnormal or not, and detecting whether data transmission between the reverse proxy server and an internal server is abnormal or not;
optimizing the reverse proxy service based on the detected anomaly.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory 12 and executed by the processor 13 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into a determination unit 110, a calculation unit 111, a detection unit 112 and an optimization unit 113.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to execute parts of the methods according to the embodiments of the present invention.
The integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus. The bus is arranged to enable connection communication between the memory 12 and at least one processor 13 etc.
Although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 13 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the embodiments described are illustrative only and are not to be construed as limiting the scope of the claims.
Fig. 3 only shows the electronic device 1 with components 12-13, and it will be understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
With reference to fig. 1, the memory 12 of the electronic device 1 stores a plurality of instructions to implement a reverse proxy quality of service monitoring method, and the processor 13 executes the plurality of instructions to implement:
determining a first data volume sent to a reverse proxy server by a requester in the process of initiating a request to the reverse proxy server by the requester;
determining an eighth data volume received by the requester in a process of returning data to the requester by the reverse proxy server;
calculating a quotient of the eighth data amount and the first data amount as a first power contribution of the reverse proxy service;
when the first power generation rate is smaller than or equal to a preset threshold value, detecting whether data transmission between the requester and the reverse proxy server is abnormal or not, and detecting whether data transmission between the reverse proxy server and an internal server is abnormal or not;
optimizing the reverse proxy service based on the detected anomaly.
Specifically, the processor 13 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the instruction, which is not described herein again.
Referring to fig. 4, a functional module diagram of the reverse proxy qos monitoring system of the present invention is shown. The reverse proxy quality of service monitoring system 11 comprises a determination unit 110, a calculation unit 111, a detection unit 112 and an optimization unit 113. The module/unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and that can perform a fixed function, and that are stored in the memory 12. In the present embodiment, the functions of the modules/units will be described in detail in the following embodiments.
The determining unit 110 determines a first data amount sent by a requester to a reverse proxy server in a process of the requester initiating a request to the reverse proxy server.
It is understood that the basic unit of communication is traffic packets, and the data amount refers to the number of the traffic packets and/or the traffic.
The determining unit 110 determines an eighth data amount received by the requester in a process that the reverse proxy server returns data to the requester.
The calculating unit 111 calculates a quotient of the eighth data amount and the first data amount as a first power contribution of the reverse proxy service.
In at least one embodiment of the present invention, since the first data amount is a data amount generated when the request is initiated to the reverse proxy server by the requester at the beginning of the entire reverse proxy service flow, the eighth data amount is a data amount finally fed back to the requester by the reverse proxy server according to the request of the requester at the end of the entire reverse proxy service flow, that is, the first data amount marks an initial request amount of the entire reverse proxy service flow, and the eighth data amount marks a final feedback result of the entire reverse proxy service flow, the calculating unit 111 calculates a quotient of the eighth data amount and the first data amount as the first power of the reverse proxy service, and can characterize a service condition of the entire reverse proxy service flow, that is, through the first power, it can be determined whether the requesting party has obtained the required feedback.
In at least one embodiment of the invention, the method further comprises:
the determining unit 110 determines a first traffic sent by the requester to the reverse proxy server in a process that the requester initiates a request to the reverse proxy server, and determines an eighth traffic received by the requester in a process that the reverse proxy server returns data to the requester, and the calculating unit 111 calculates a quotient of the eighth traffic and the first traffic as a check value, and further, when the first success rate is the same as the check value, the determining unit 110 determines that the first success rate passes the check.
Through the implementation mode, the success rate of the reverse proxy service can be determined according to the data volume, and the verification can be performed according to the flow, so that the finally determined success rate is more accurate and credible, and the comprehensiveness of the evaluation is improved.
In at least one embodiment of the invention, the method further comprises:
when the first available power is different from the verification value, the determining unit 110 determines that the first available power fails to be verified, and further, the determining unit 110 may notify the relevant staff to perform secondary confirmation.
Through the implementation mode, measures can be taken in time when the verification fails, and the influence on the efficiency of monitoring the reverse proxy service quality is avoided.
When the first power is less than or equal to the predetermined threshold, the detecting unit 112 detects whether data transmission between the requester and the reverse proxy server is abnormal, and detects whether data transmission between the reverse proxy server and the internal server is abnormal.
In at least one embodiment of the present invention, the preset threshold may be configured in a customized manner, such as: 97 percent.
It is understood that, when the first success rate is less than or equal to the preset threshold, it indicates that the reverse proxy service is abnormal, and therefore, the determining unit 110 needs to further determine the cause and abnormal point of the abnormality.
In at least one embodiment of the present invention, the detecting unit 112 detects whether the data transmission between the requester and the reverse proxy server is abnormal, including, but not limited to, one or more of the following combinations:
(1) the detecting unit 112 determines a second data volume received by the reverse proxy server in a process that the requester initiates a request to the reverse proxy server, and further, the detecting unit 112 calculates a quotient of the second data volume and the first data volume as a second power consumption of the reverse proxy server for receiving the data of the requester, and when the second power consumption is smaller than or equal to the preset threshold, the detecting unit 112 determines that data transmission between the requester and the reverse proxy server is abnormal.
It is understood that the second data amount is a data amount received by the reverse proxy server, and the first data amount is a data amount sent by the requester, so that calculating the second power consumption by the second data amount and the first data amount can characterize whether the reverse proxy server successfully receives the data of the requester, and when the second power consumption is less than or equal to the preset threshold, it may be determined that the reverse proxy server cannot successfully receive the data, and further, it may be determined that the data transmission between the requester and the reverse proxy server is abnormal.
(2) The detecting unit 112 determines that the reverse proxy server returns a seventh data volume of the requester during a process that the reverse proxy server returns data to the requester, further, the detecting unit 112 calculates a quotient of the eighth data volume and the seventh data volume as a third power for the requester to receive the data of the reverse proxy server, and when the third power is less than or equal to the preset threshold, the detecting unit 112 determines that data transmission between the requester and the reverse proxy server is abnormal.
It is to be understood that the seventh data amount is a data amount returned by the reverse proxy server, and the eighth data amount is a data amount received by the requester, so that calculating the third power by using the seventh data amount and the eighth data amount can characterize whether the requester successfully receives the data of the reverse proxy server, and when the third power is less than or equal to the preset threshold, it may be determined that the requester cannot successfully receive the data, and further, it may be determined that the data transmission between the requester and the reverse proxy server is abnormal.
In at least one embodiment of the present invention, the detecting unit 112 detects whether the data transmission between the reverse proxy server and the internal server is abnormal, including, but not limited to, one or more of the following combinations:
(1) the detecting unit 112 determines a third data amount sent by the reverse proxy server to the internal server and a fourth data amount received by the internal server in a process that the reverse proxy server initiates a request to the internal server, further, the detecting unit 112 calculates a quotient of the fourth data amount and the third data amount as a fourth power component of the internal server for receiving the data of the reverse proxy server, and when the fourth power component is less than or equal to the preset threshold, the detecting unit 112 determines that data transmission between the reverse proxy server and the internal server is abnormal.
It is to be understood that the third data amount is a data amount sent by the reverse proxy server, and the fourth data amount is a data amount received by the internal server, so that calculating the fourth power by using the third data amount and the fourth data amount can characterize whether the internal server successfully receives the data of the reverse proxy server, and when the fourth power is less than or equal to the preset threshold, it may be determined that the internal server cannot successfully receive the data, and further determine that data transmission between the reverse proxy server and the internal server is abnormal.
(2) The detecting unit 112 determines a fifth data amount returned by the internal server to the reverse proxy server and a sixth data amount received by the reverse proxy server in a process that the internal server returns data to the reverse proxy server, further, the detecting unit 112 calculates a quotient of the sixth data amount and the fifth data amount as a fifth power of the reverse proxy server for receiving the data of the internal server, and when the fifth power is less than or equal to the preset threshold, the detecting unit 112 determines that data transmission between the reverse proxy server and the internal server is abnormal.
It is to be understood that the fifth data amount is a data amount returned by the internal server, and the sixth data amount is a data amount received by the reverse proxy server, so that calculating the fifth power by using the fifth data amount and the sixth data amount can characterize whether the reverse proxy server successfully receives the data of the internal server, and when the fifth power is less than or equal to the preset threshold, it may be determined that the reverse proxy server cannot successfully receive the data, and further determine that data transmission between the reverse proxy server and the internal server is abnormal.
Through the implementation mode, the specific abnormal flow can be positioned through the data volume of the flows in the reverse proxy service, so that the abnormal detection is assisted, the robustness and the stability of the whole reverse proxy service process are improved, and the efficiency of the abnormal detection is improved.
The optimization unit 113 optimizes the reverse proxy service according to the detected anomaly.
In at least one embodiment of the present invention, the optimization unit 113 optimizes the reverse proxy service according to the detected anomaly, including, but not limited to, one or a combination of the following:
(1) when the second power consumption is less than or equal to the preset threshold, the optimization unit 113 determines that the reverse proxy server is abnormal, and optimizes the reverse proxy server.
(2) When the third power is less than or equal to the preset threshold, the optimization unit 113 determines that the requester is abnormal, and optimizes the requester.
(3) When the fourth power is less than or equal to the preset threshold, the optimization unit 113 determines that the internal server is abnormal, and optimizes the internal server.
(4) When the fifth power is less than or equal to the preset threshold, the optimization unit 113 determines that the reverse proxy server is abnormal, and optimizes the reverse proxy server.
Through the implementation mode, the reverse proxy service can be optimized in a targeted manner according to the calculated success rate of each flow path.
In at least one embodiment of the invention, the method further comprises:
the calculation unit 111 calculates a quotient of the fifth data amount and the fourth data amount as a sixth power of the internal server service, and when the sixth power is less than or equal to the preset threshold, the determination unit 110 determines that the internal server is abnormal.
It is to be understood that the fifth data amount is a data amount returned by the internal server, and the fourth data amount is a data amount requested by the internal server, so that calculating the sixth generating power by using the fifth data amount and the fourth data amount can characterize whether the internal server has performed correct feedback according to the request.
Further, after determining that the internal server is abnormal, the optimization unit 113 optimizes the internal server to ensure the quality of the entire reverse proxy service.
In summary, the present invention can determine a first data volume sent by a requester to a reverse proxy server in a process of initiating a request to the reverse proxy server, and determine an eighth data volume received by the requester in a process of returning data from the reverse proxy server to the requester, so as to realize statistics of data volumes of multiple processes in a reverse proxy service, further calculate a quotient of the eighth data volume and the first data volume as a first success rate of the reverse proxy service, so as to comprehensively evaluate a service quality of the reverse proxy service based on the data volume, and detect whether data transmission between the requester and the reverse proxy server is abnormal and whether data transmission between the reverse proxy server and an internal server is abnormal when the first success rate is less than or equal to a preset threshold, so as to realize accurate positioning of the abnormity and further optimize the reverse proxy service according to the detected abnormity.
In the above embodiments, all or part may be implemented by software, hardware devices, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, removable hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in the form of a hardware device, and can also be realized in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A reverse proxy quality of service monitoring method, the method comprising:
determining a first data volume sent to a reverse proxy server by a requester in the process of initiating a request to the reverse proxy server by the requester;
determining an eighth data volume received by the requester in a process of returning data to the requester by the reverse proxy server;
calculating a quotient of the eighth data amount and the first data amount as a first power contribution of the reverse proxy service;
when the first power generation rate is smaller than or equal to a preset threshold value, detecting whether data transmission between the requester and the reverse proxy server is abnormal or not, and detecting whether data transmission between the reverse proxy server and an internal server is abnormal or not;
optimizing the reverse proxy service based on the detected anomaly.
2. The reverse proxy quality of service monitoring method of claim 1, wherein the method further comprises:
determining a first flow sent by the requester to the reverse proxy server in the process that the requester sends a request to the reverse proxy server;
determining an eighth flow received by the requester in the process of returning data to the requester by the reverse proxy server;
calculating a quotient of the eighth flow and the first flow as a check value;
and when the first power generation rate is the same as the check value, determining that the first power generation rate passes the check.
3. The reverse proxy qos monitoring method according to claim 1, wherein the detecting whether data transmission between the requester and the reverse proxy server is abnormal includes:
determining a second data volume received by the reverse proxy server in a process that the request is initiated to the reverse proxy server by the requester, calculating a quotient of the second data volume and the first data volume as a second power consumption of the reverse proxy server for receiving the data of the requester, and determining that data transmission between the requester and the reverse proxy server is abnormal when the second power consumption is less than or equal to the preset threshold; and/or
And in the process of determining that the reverse proxy server returns data to the requester, the reverse proxy server returns a seventh data volume of the requester, calculates a quotient of the eighth data volume and the seventh data volume as a third power of the requester for receiving the data of the reverse proxy server, and determines that the data transmission between the requester and the reverse proxy server is abnormal when the third power is less than or equal to the preset threshold.
4. The reverse proxy qos monitoring method according to claim 1, wherein the detecting whether data transmission between the reverse proxy server and an internal server is abnormal includes:
determining a third data volume sent to the internal server by the reverse proxy server and a fourth data volume received by the internal server in a process that the reverse proxy server initiates a request to the internal server, calculating a quotient of the fourth data volume and the third data volume as a fourth power of the internal server for receiving the data of the reverse proxy server, and determining that data transmission between the reverse proxy server and the internal server is abnormal when the fourth power is less than or equal to the preset threshold; and/or
Determining a fifth data volume returned by the internal server to the reverse proxy server and a sixth data volume received by the reverse proxy server in the process of determining that the internal server returns data to the reverse proxy server, calculating a quotient of the sixth data volume and the fifth data volume as a fifth component power of the reverse proxy server for receiving the data of the internal server, and determining that the data transmission between the reverse proxy server and the internal server is abnormal when the fifth component power is less than or equal to the preset threshold value.
5. The reverse proxy quality of service monitoring method of claim 1, wherein said optimizing the reverse proxy service based on the detected anomaly comprises:
when second power consumption is smaller than or equal to the preset threshold value, determining that the reverse proxy server is abnormal, and optimizing the reverse proxy server, wherein the second power consumption is a quotient of a second data volume received by the reverse proxy server and the first data volume in a process that the request direction initiates a request to the reverse proxy server; and/or
When third success rate is smaller than or equal to the preset threshold, determining that the requester is abnormal, and optimizing the requester, wherein the third success rate is a quotient of the eighth data volume and a seventh data volume returned by the reverse proxy server to the requester in a process that the reverse proxy server returns data to the requester; and/or
When fourth power is smaller than or equal to the preset threshold, determining that the internal server is abnormal, and optimizing the internal server, wherein the fourth power is a quotient of a fourth data volume received by the internal server and a third data volume sent to the internal server by the reverse proxy server in a process that the reverse proxy server initiates a request to the internal server; and/or
And when fifth success rate is smaller than or equal to the preset threshold, determining that the reverse proxy server is abnormal, and optimizing the reverse proxy server, wherein the fifth success rate is a quotient of a sixth data volume received by the reverse proxy server and a fifth data volume returned by the internal server to the reverse proxy server in a process that the internal server returns data to the reverse proxy server.
6. The reverse proxy quality of service monitoring method of claim 4, wherein the method further comprises:
calculating a quotient of the fifth data amount and the fourth data amount as a sixth success rate of the internal server service;
when the sixth success rate is less than or equal to the preset threshold, determining that the internal server is abnormal.
7. An electronic device, characterized in that the electronic device comprises:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the reverse proxy quality of service monitoring method of any of claims 1 to 6.
8. The electronic device of claim 7, wherein the electronic device is a node that constitutes a content distribution network or a blockchain network.
9. A reverse proxy quality of service monitoring system, the system comprising:
a determining unit, configured to determine a first data volume sent by a requester to a reverse proxy server in a process that the requester initiates a request to the reverse proxy server;
the determining unit is further configured to determine an eighth data size received by the requester in a process that the reverse proxy server returns data to the requester;
a calculating unit, configured to calculate a quotient of the eighth data amount and the first data amount as a first power consumption of the reverse proxy service;
a detecting unit, configured to detect whether data transmission between the requester and the reverse proxy server is abnormal or not and detect whether data transmission between the reverse proxy server and an internal server is abnormal or not when the first success rate is less than or equal to a preset threshold;
an optimization unit for optimizing the reverse proxy service according to the detected anomaly.
10. A computer-readable storage medium having stored thereon a reverse proxy quality of service monitoring program executable by one or more processors to implement the reverse proxy quality of service monitoring method of any one of claims 1 to 6.
CN201911166680.3A 2019-11-25 2019-11-25 Reverse proxy service quality monitoring method, electronic device, system and medium Active CN111106950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911166680.3A CN111106950B (en) 2019-11-25 2019-11-25 Reverse proxy service quality monitoring method, electronic device, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911166680.3A CN111106950B (en) 2019-11-25 2019-11-25 Reverse proxy service quality monitoring method, electronic device, system and medium

Publications (2)

Publication Number Publication Date
CN111106950A CN111106950A (en) 2020-05-05
CN111106950B true CN111106950B (en) 2022-08-16

Family

ID=70421061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911166680.3A Active CN111106950B (en) 2019-11-25 2019-11-25 Reverse proxy service quality monitoring method, electronic device, system and medium

Country Status (1)

Country Link
CN (1) CN111106950B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073431A (en) * 2000-08-24 2002-03-12 Nippon Telegr & Teleph Corp <Ntt> Www performance measurement method and its device
CN104135395A (en) * 2014-03-10 2014-11-05 腾讯科技(深圳)有限公司 Method and system of monitoring data transmission quality in IDC (Internet Data Center) network
CN104219090A (en) * 2014-08-28 2014-12-17 东北大学 System and method for media multipath relay transmission business quality-of-experience collaborative evaluation
CN105099831A (en) * 2015-09-06 2015-11-25 北京星网锐捷网络技术有限公司 Method and system for evaluating quality of WLAN (Wireless Local Area Network)
CN105281976A (en) * 2015-09-17 2016-01-27 国网北京市电力公司 Method and apparatus for monitoring transmission of proxy service data
US9531614B1 (en) * 2015-10-30 2016-12-27 AppDynamics, Inc. Network aware distributed business transaction anomaly detection
CN107624231A (en) * 2016-12-02 2018-01-23 深圳前海达闼云端智能科技有限公司 Method, apparatus, server and the computer program product that data send, received

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9565073B2 (en) * 2013-01-09 2017-02-07 Viavi Solutions Inc. Methods, systems, and computer program products for distributed packet traffic performance analysis in a communication network
CN106921511A (en) * 2015-12-28 2017-07-04 航天信息股份有限公司 Server end abnormality monitoring method and device
CN108616756A (en) * 2018-05-22 2018-10-02 国家电网公司 The detection method and device of video traffic, storage medium, electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073431A (en) * 2000-08-24 2002-03-12 Nippon Telegr & Teleph Corp <Ntt> Www performance measurement method and its device
CN104135395A (en) * 2014-03-10 2014-11-05 腾讯科技(深圳)有限公司 Method and system of monitoring data transmission quality in IDC (Internet Data Center) network
CN104219090A (en) * 2014-08-28 2014-12-17 东北大学 System and method for media multipath relay transmission business quality-of-experience collaborative evaluation
CN105099831A (en) * 2015-09-06 2015-11-25 北京星网锐捷网络技术有限公司 Method and system for evaluating quality of WLAN (Wireless Local Area Network)
CN105281976A (en) * 2015-09-17 2016-01-27 国网北京市电力公司 Method and apparatus for monitoring transmission of proxy service data
US9531614B1 (en) * 2015-10-30 2016-12-27 AppDynamics, Inc. Network aware distributed business transaction anomaly detection
CN107624231A (en) * 2016-12-02 2018-01-23 深圳前海达闼云端智能科技有限公司 Method, apparatus, server and the computer program product that data send, received

Also Published As

Publication number Publication date
CN111106950A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN110262918B (en) Process crash analysis method and device, distributed equipment and storage medium
CN112015663B (en) Test data recording method, device, equipment and medium
CN110677493B (en) Service state determination method and device, computer device and storage medium
CN108880897A (en) Acceptance method, device, computer equipment and the storage medium of server
CN111414374B (en) Block chain transaction concurrent processing method, device and equipment
WO2021114877A1 (en) Missing-number detection method, apparatus, electronic device, and storage medium
CN110647409B (en) Message writing method, electronic device, system and medium
CN108667840A (en) Injection loophole detection method and device
CN113383364B (en) Method, electronic equipment, system and medium for selecting nodes of verifier
CN112700261B (en) Method, device, equipment and medium for detecting single file of brushing on basis of suspicious communities
CN111106950B (en) Reverse proxy service quality monitoring method, electronic device, system and medium
CN111245948A (en) DHT network connection method, electronic device, and medium
CN110879701B (en) Workflow visual configuration method, server, system and medium
CN110688073B (en) Data storage method, electronic device, system and medium
CN111245727A (en) Message routing method, electronic device, proxy node and medium based on DHT network
WO2023125435A1 (en) Directional network detection method and apparatus based on tf-idf algorithm, device and medium
CN110730228A (en) Data storage method, electronic device, system and medium
CN114070763A (en) Improved REST protocol-based test method, client, server and medium
US10067778B2 (en) Management system, recording medium and method for managing virtual machines
CN113364848B (en) File caching method and device, electronic equipment and storage medium
CN110716806B (en) Edge node computing capability determining method, electronic equipment, system and medium
CN110716939B (en) Data management method, electronic device, system and medium
CN112000945B (en) Authorization method, device, equipment and medium based on artificial intelligence
CN110971697A (en) Redis single instance protection processing method and device, computer equipment and storage medium
CN113360398B (en) Hybrid application program testing method, device, equipment and 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