CN110677307A - Service monitoring method, device, equipment and storage medium - Google Patents

Service monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN110677307A
CN110677307A CN201911059838.7A CN201911059838A CN110677307A CN 110677307 A CN110677307 A CN 110677307A CN 201911059838 A CN201911059838 A CN 201911059838A CN 110677307 A CN110677307 A CN 110677307A
Authority
CN
China
Prior art keywords
alias
service
target
network request
domain name
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
CN201911059838.7A
Other languages
Chinese (zh)
Other versions
CN110677307B (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.)
Beijing Bo Hongyuan Data Polytron Technologies Inc
Original Assignee
Beijing Bo Hongyuan Data Polytron Technologies Inc
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 Beijing Bo Hongyuan Data Polytron Technologies Inc filed Critical Beijing Bo Hongyuan Data Polytron Technologies Inc
Priority to CN201911059838.7A priority Critical patent/CN110677307B/en
Publication of CN110677307A publication Critical patent/CN110677307A/en
Application granted granted Critical
Publication of CN110677307B publication Critical patent/CN110677307B/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/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a service monitoring method, a service monitoring device, service monitoring equipment and a storage medium. The method comprises the following steps: acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request; judging whether the domain name is matched with a user-defined network acceleration domain name of a target user; if the matching is determined, determining that the target network request is a network acceleration request, and determining service manufacturer information corresponding to the target network request according to at least one alias and a preset alias library table; and acquiring service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data. The embodiment of the invention can automatically identify the network acceleration request in real time, automatically acquire the information of the service manufacturer and monitor the network acceleration service according to the acquired information of the service manufacturer.

Description

Service monitoring method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a service monitoring method, a service monitoring device, service monitoring equipment and a storage medium.
Background
A Content Delivery Network (CDN) is an intelligent virtual Network built on the basis of the existing Network, and a user can obtain required Content nearby by using functional modules of load balancing, Content Delivery, scheduling and the like of a central platform by means of edge servers deployed in various places, so that Network congestion is reduced, and the access response speed of the user is increased. Because there are many vendors providing CDN acceleration services, the emphasis points of the vendors on deploying CDN node networks are different, and the distribution scheduling policies of the vendors are different, it is not guaranteed that networks of all regions and operators can obtain continuous, stable, and high-quality acceleration experiences, and acceleration services need to be continuously monitored.
In the prior art, a domain name submitted to CDN acceleration and CDN manufacturer information need to be manually added to monitoring configuration information by a user in advance, and then a monitoring program adds the CDN acceleration domain name to a CDN performance monitoring queue according to the monitoring configuration information to monitor acceleration services.
The defects of the prior art are as follows: a large amount of configuration work needs to be carried out before formal monitoring, so that the requirement on users is high, and the configuration is troublesome. Under the condition that monitoring configuration information is default and is not configured, the system cannot know which domain names are CDN acceleration domain names in advance, cannot know acceleration manufacturer information, cannot automatically add new CDN acceleration domain names which are not configured into a CDN performance monitoring queue, and data are relatively lagged.
Disclosure of Invention
Embodiments of the present invention provide a service monitoring method, apparatus, device, and storage medium to optimize an existing network acceleration service monitoring method, automatically identify a network acceleration request in real time, and monitor a network acceleration service.
In a first aspect, an embodiment of the present invention provides a service monitoring method, including:
acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request;
the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name;
judging whether the domain name is matched with a user-defined network acceleration domain name of a target user;
if the domain name is determined to be matched with the customized network acceleration domain name of the target user, determining that the target network request is a network acceleration request, and determining service manufacturer information corresponding to the target network request according to at least one alias and a preset alias library table;
and acquiring service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
Optionally, after determining whether the domain name is matched with the customized network acceleration domain name of the target user, the method further includes:
if the domain name is determined not to be matched with the user-defined network acceleration domain name of the target user, judging whether a target alias matched with at least one alias exists in a preset alias library table;
if the target alias matched with at least one alias exists in the preset alias table, determining that the target network request is a network acceleration request, and acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request;
and acquiring service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
Optionally, after determining whether the domain name is matched with the customized network acceleration domain name of the target user, the method further includes:
and if the target alias matched with at least one alias does not exist in the preset alias table, determining that the target network request is a common network request, acquiring service index data corresponding to the target network request according to a preset common network service index, and generating a service monitoring result corresponding to the target network request according to the service index data.
In a second aspect, an embodiment of the present invention further provides a service monitoring apparatus, including:
the information acquisition module is used for acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request;
the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name;
the domain name matching module is used for judging whether the domain name is matched with a user-defined network acceleration domain name of a target user;
the first manufacturer determination module is used for determining that the target network request is a network acceleration request if the domain name is determined to be matched with the user-defined network acceleration domain name of the target user, and determining service manufacturer information corresponding to the target network request according to at least one alias and a preset alias library table;
and the first result generation module is used for acquiring service index data corresponding to the target network request according to a preset network acceleration service index and the service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
In a third aspect, an embodiment of the present invention further provides a computer device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by one or more processors, the one or more processors implement the service monitoring method according to the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the service monitoring method according to the embodiment of the present invention.
The technical scheme of the embodiment of the invention comprises the steps of obtaining a target network request of a target user sent by a client, a domain name in the target network request and at least one alias corresponding to the domain name, judging whether the domain name is matched with a user-defined network acceleration domain name of the target user, if the domain name is matched with the user-defined network acceleration domain name of the target user, determining that the target network request is the network acceleration request, determining service manufacturer information corresponding to the target network request according to the at least one alias and a preset alias table, obtaining service index data corresponding to the target network request according to a preset network acceleration service index and the service manufacturer information, generating a service monitoring result corresponding to the target network request according to the service index data, and generating a service monitoring result corresponding to the user-defined network acceleration domain name and the preset alias table according to the user-defined network acceleration domain name and the preset alias table, the network acceleration request is automatically identified in real time, the service manufacturer information can be automatically acquired according to the preset alias library table, and the network acceleration service is monitored according to the acquired service manufacturer information.
Drawings
Fig. 1a is a flowchart of a service monitoring method according to an embodiment of the present invention;
fig. 1b is a schematic diagram of a service monitoring result according to an embodiment of the present invention;
fig. 1c is a schematic diagram of a service monitoring result according to an embodiment of the present invention;
fig. 2 is a flowchart of a service monitoring method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service monitoring apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1a is a flowchart of a service monitoring method according to an embodiment of the present invention. The present embodiment is applicable to the case of monitoring CDN acceleration services, and the method may be executed by a service monitoring apparatus provided in the embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, and may be generally integrated in a computer device. Such as a server. As shown in fig. 1a, the method of this embodiment specifically includes:
step 101, acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request.
The domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name.
Optionally, a target network request sent by a target user through a client is captured in real time through a Software Development Kit (SDK) installed in the client, a domain name in the target network request is obtained, all resolution processes during domain name resolution in the request process are captured at the same time, at least one alias (CNAME) corresponding to the domain name in the target network request is stored in an array of a transmission data protocol, and the alias is reported to a server in real time.
Optionally, the alias library table preset by the server is used for recording the mapping relationship between the alias and the service vendor information. The service manufacturer information is related information of the CDN service manufacturer. For example, the alias table is used to record the mapping relationship between the alias and the domain name of the CDN service vendor to which the alias points.
After acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request, a server may determine whether the target network request is a network acceleration request according to at least one alias and a preset alias table, that is, determine whether the target network request is a CDN network acceleration request. Specifically, whether a target alias matched with at least one alias exists in a preset alias table is judged. If the target alias matched with at least one alias exists in the preset alias table, determining that the target network request is a network acceleration request, acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request, acquiring service index data corresponding to the target network request according to the service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data. And if the target alias matched with at least one alias does not exist in the preset alias table, determining that the target network request is a common network request, acquiring service index data corresponding to the target network request according to a preset common network service index, and generating a service monitoring result corresponding to the target network request according to the service index data.
Step 102, judging whether the domain name is matched with the user-defined network acceleration domain name of the target user: if yes, go to step 103; if not, go to step 105.
The user-defined network acceleration domain name is a CDN network acceleration domain name defined by a target user.
If the domain name in the target network request is matched with the customized network acceleration domain name of the target user, the target network request can be directly determined to be the network acceleration request. If the domain name in the target network request is not matched with the user-defined network acceleration domain name of the target user, whether the target network request is a network acceleration request needs to be further determined according to at least one alias and a preset alias library table.
The step of determining whether the domain name matches the target user's custom network accelerated domain name is to maximize compatibility with all scenarios. In a scene that the target network request cannot be determined to be the network acceleration request according to at least one alias and a preset alias library table, the target network request can also be determined to be the network acceleration request according to a user-defined network acceleration domain name of a target user, and monitoring of acceleration service is supported. For example, the CDN service provider corresponding to the at least one alias is a scenario of a very small CDN service provider having no record in the alias table, or a scenario of an enterprise self-built CDN.
And 103, determining that the target network request is a network acceleration request, and determining service manufacturer information corresponding to the target network request according to at least one alias and a preset alias library table.
If the domain name in the target network request is matched with the customized network acceleration domain name of the target user, the target network request can be directly determined to be the network acceleration request.
Optionally, determining, according to the at least one alias and a preset alias library table, service vendor information corresponding to the target network request may include: judging whether a target alias matched with at least one alias exists in a preset alias table; and if the preset alias table is determined to have the target alias matched with at least one alias, acquiring the service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request.
And judging whether a target alias matched with at least one alias exists in a preset alias library table, namely judging whether each alias corresponding to the domain name in the target network request is in the preset alias library table. And if the target alias matched with each alias exists in the preset alias library table, namely each alias is in the preset alias library table, acquiring the service manufacturer information matched with each alias as the service manufacturer information corresponding to the target network request.
In one specific example, the alias corresponding to the domain name in the target network request includes: CNAME1, CNAME2, and CNAME 3. It is determined whether there are target aliases matching CNAME1, CNAME2, and CNAME3 in the preset alias library table, i.e., whether CNAME1, CNAME2, and CNAME3 are in the preset alias library table. CNAME1, CNAME2, and CNAME3 are in preset alias table tables. If the CNAME1, the CNAME2 and the CNAME3 are determined to be in a preset alias library table, in the alias library table, according to the mapping relation between the alias and the service vendor information, the service vendor information matched with the CNAME1, the CNAME2 and the CNAME3 is respectively acquired, and the acquired 3 pieces of service vendor information are used as service vendor information corresponding to the target network request.
Optionally, determining, according to at least one alias and a preset alias library table, service vendor information corresponding to the target network request, may further include: and if the preset alias table is determined not to have the target alias matched with at least one alias, determining that the service manufacturer information corresponding to the target network request is other service manufacturer information.
After the target network request is determined to be a network acceleration request, if it is determined that a target alias matched with at least one alias does not exist in a preset alias library table, indicating that the alias corresponding to the domain name in the target network request is not in the preset alias library table, determining that service manufacturer information corresponding to the target network request is other service manufacturer information, then continuously acquiring service index data corresponding to the target network request according to a preset network acceleration service index and the other service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
And 104, acquiring service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
Optionally, obtaining service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information includes: and monitoring the network acceleration service of the service manufacturer aiming at the target network request according to the information of the service manufacturer, and acquiring the downloading speed and the throughput rate corresponding to the target network request.
Optionally, generating a service monitoring result corresponding to the target network request according to the service index data may include: and taking the service manufacturer information and the corresponding downloading speed and throughput rate corresponding to the target network request as a service monitoring result corresponding to the target network request.
Optionally, after generating the service monitoring result corresponding to the target network request, the method may further include: and sending the service monitoring result to the client. And the client displays the service monitoring result to the target user.
In one specific example, the alias corresponding to the domain name in the target network request includes: CNAME1, CNAME2, and CNAME 3. CNAME1, CNAME2, and CNAME3 are in preset alias table tables. Acquiring service vendor information matched with CNAME1, CNAME2 and CNAME3 respectively: the service provider information 1, the service provider information 2, and the service provider information 3 are service provider information corresponding to the target network request, which is the above-mentioned 3 pieces of service provider information. According to the information of 3 service manufacturers, monitoring the network acceleration service of the service manufacturer aiming at the target network request in a grouping way, and acquiring the downloading speed and the throughput rate corresponding to the target network request: monitoring the network acceleration service of the service manufacturer 1 corresponding to the service manufacturer information 1 aiming at the target network request, and acquiring a downloading speed 1 and a throughput rate 1 corresponding to the target network request; monitoring the network acceleration service of the service manufacturer 2 corresponding to the service manufacturer information 2 aiming at the target network request, and acquiring a downloading speed 2 and a throughput rate 2 corresponding to the target network request; and monitoring the network acceleration service of the service manufacturer 3 corresponding to the service manufacturer information 3 aiming at the target network request, and acquiring the download speed 3 and the throughput rate 3 corresponding to the target network request. Generating a service monitoring result corresponding to the target network request: service manufacturer 1, download speed 1 and throughput rate 1; service manufacturer 2, download speed 2 and throughput rate 2; service vendor 3, download speed 3, throughput rate 3.
For example, fig. 1b is a schematic diagram of a service monitoring result according to an embodiment of the present invention. As shown in fig. 1b, the service provider corresponding to the network acceleration request of the target user includes: service provider 1, service provider 2, service provider 3, service provider 4, service provider 5, and service provider 6. The service monitoring result comprises the corresponding downloading speed and throughput rate of each service manufacturer, and the network acceleration service of each service manufacturer can be effectively distinguished and compared. By clicking the information display control 11 corresponding to the service vendor 1, the service monitoring result shown in fig. 1c is obtained. As shown in fig. 1c, the service monitoring result includes a download speed and a throughput rate corresponding to each accelerated domain name of the service provider 1.
Therefore, for the condition that the same domain name is accelerated by a plurality of service manufacturers, the network acceleration service can be monitored in groups, the service monitoring result is generated, and the network acceleration services of the service manufacturers can be effectively distinguished and compared.
In another embodiment, the service vendor information corresponding to the target network request is other service vendor information. And monitoring the network acceleration service requested by the target network, and acquiring the downloading speed 4 and the throughput rate 4 corresponding to the target network request. Generating a service monitoring result corresponding to the target network request: other service vendors, download speed 4, throughput 4.
Step 105, judging whether a target alias matched with at least one alias exists in a preset alias table: if yes, go to step 106; if not, go to step 107.
If the domain name in the target network request is not matched with the user-defined network acceleration domain name of the target user, whether the target network request is a network acceleration request needs to be further determined according to at least one alias and a preset alias library table.
And step 106, determining that the target network request is a network acceleration request, and acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request. After the execution of step 106 is completed, step 104 is executed.
If the preset alias table is determined to have the target alias matched with at least one alias, determining that the target network request is a network acceleration request, and acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request.
And judging whether a target alias matched with at least one alias exists in a preset alias library table, namely judging whether each alias corresponding to the domain name in the target network request is in the preset alias library table. And if the target aliases matched with the aliases exist in the preset alias table, namely the aliases are in the preset alias table, determining that the target network request is a network acceleration request, and acquiring service manufacturer information matched with the aliases as service manufacturer information corresponding to the target network request.
In one specific example, the alias corresponding to the domain name in the target network request includes: CNAME1, CNAME2, and CNAME 3. It is determined whether there are target aliases matching CNAME1, CNAME2, and CNAME3 in the preset alias library table, i.e., whether CNAME1, CNAME2, and CNAME3 are in the preset alias library table. CNAME1, CNAME2, and CNAME3 are in preset alias table tables. If the CNAME1, the CNAME2 and the CNAME3 are determined to be in a preset alias library table, the target network request is determined to be a network acceleration request, service manufacturer information matched with the CNAME1, the CNAME2 and the CNAME3 is respectively obtained in the alias library table according to the mapping relation between the alias and the service manufacturer information, and the obtained 3 service manufacturer information is used as service manufacturer information corresponding to the target network request.
And 107, determining that the target network request is a general network request, acquiring service index data corresponding to the target network request according to a preset general network service index, and generating a service monitoring result corresponding to the target network request according to the service index data.
Optionally, obtaining service index data corresponding to the target network request according to a preset general network service index may include: and acquiring request response time corresponding to the target network request.
Optionally, generating a service monitoring result corresponding to the target network request according to the service index data may include: and taking the request response time corresponding to the target network request as a service monitoring result corresponding to the target network request.
Optionally, after generating the service monitoring result corresponding to the target network request, the method may further include: and sending the service monitoring result to the client. And the client displays the service monitoring result to the target user.
Therefore, if the target network request is determined to be the network acceleration request, calculation and analysis are carried out according to the special network acceleration service index of the network acceleration request, and a service monitoring result corresponding to the target network request is generated; and if the target network request is determined not to be the network acceleration request, calculating and analyzing according to the general network service index to generate a service monitoring result corresponding to the target network request.
The embodiment of the invention provides a service monitoring method, which comprises the steps of obtaining a target network request of a target user sent by a client, a domain name in the target network request and at least one alias corresponding to the domain name, judging whether the domain name is matched with a user-defined network acceleration domain name of the target user, if the domain name is matched with the user-defined network acceleration domain name of the target user, determining the target network request as a network acceleration request, determining service manufacturer information corresponding to the target network request according to the at least one alias and a preset alias library table, obtaining service index data corresponding to the target network request according to a preset network acceleration service index and the service manufacturer information, generating a service monitoring result corresponding to the target network request according to the service index data, and generating the service monitoring result according to the user-defined network acceleration domain name and the preset alias library table, the network acceleration request is automatically identified in real time, the service manufacturer information can be automatically acquired according to the preset alias library table, and the network acceleration service is monitored according to the acquired service manufacturer information.
Example two
Fig. 2 is a flowchart of a service monitoring method according to a second embodiment of the present invention. In this embodiment, determining, according to at least one alias and a preset alias library table, service vendor information corresponding to the target network request may include: judging whether a target alias matched with at least one alias exists in a preset alias table; and if the preset alias table is determined to have the target alias matched with at least one alias, acquiring the service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request.
And determining service vendor information corresponding to the target network request according to the at least one alias and a preset alias library table, which may further include: and if the preset alias table is determined not to have the target alias matched with at least one alias, determining that the service manufacturer information corresponding to the target network request is other service manufacturer information.
As shown in fig. 2, the method of this embodiment specifically includes:
step 201, acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request.
The domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name.
Step 202, judging whether the domain name is matched with the user-defined network acceleration domain name of the target user: if yes, go to step 203; if not, go to step 207.
Step 203, determining that the target network request is a network acceleration request, and judging whether a target alias matched with at least one alias exists in a preset alias table: if yes, go to step 204; if not, go to step 205.
If the domain name in the target network request is matched with the customized network acceleration domain name of the target user, the target network request can be directly determined to be the network acceleration request. And then judging whether a target alias matched with at least one alias exists in a preset alias table.
And if the preset alias table is determined to have the target alias matched with at least one alias, acquiring the service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request.
If it is determined that a target alias matched with at least one alias does not exist in the preset alias base table, indicating that the alias corresponding to the domain name in the target network request is not in the preset alias base table, determining that the service manufacturer information corresponding to the target network request is other service manufacturer information, then continuously acquiring service index data corresponding to the target network request according to a preset network acceleration service index and the other service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
And step 204, acquiring the service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request.
Step 205, determining that the service manufacturer information corresponding to the target network request is other service manufacturer information.
And step 206, acquiring service index data corresponding to the target network request according to the preset network acceleration service index and the service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
Step 207, determining whether a target alias matching at least one alias exists in a preset alias table: if yes, go to step 208; if not, go to step 209.
And step 208, determining that the target network request is a network acceleration request, and acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request. After the execution of step 208 is completed, step 206 is executed.
Step 209, determining that the target network request is a general network request, obtaining service index data corresponding to the target network request according to a preset general network service index, and generating a service monitoring result corresponding to the target network request according to the service index data.
The embodiment of the invention provides a service monitoring method, which comprises the steps of judging whether a preset alias table has a target alias matched with at least one alias or not; if the preset alias table is determined to have a target alias matched with at least one alias, acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request; if it is determined that a target alias matched with at least one alias does not exist in the preset alias library table, determining that the service manufacturer information corresponding to the target network request is other service manufacturer information, automatically identifying the network acceleration request in real time according to the user-defined network acceleration domain name and the preset alias library table, and automatically acquiring the service manufacturer information according to the preset alias library table.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a service monitoring device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus may be configured with a computer device, including: an information acquisition module 301, a domain name matching module 302, a first vendor determination module 303, and a first result generation module 304.
The information obtaining module 301 is configured to obtain a target network request of a target user sent by a client and domain name information corresponding to the target network request; the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name; a domain name matching module 302, configured to determine whether the domain name matches a user-defined network acceleration domain name of the target user; the first vendor determining module 303 is configured to determine that the target network request is a network acceleration request if it is determined that the domain name is matched with the customized network acceleration domain name of the target user, and determine service vendor information corresponding to the target network request according to at least one alias and a preset alias library table; the first result generating module 304 is configured to obtain service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generate a service monitoring result corresponding to the target network request according to the service index data.
The embodiment of the invention provides a service monitoring device, which is characterized in that a target network request of a target user, a domain name in the target network request and at least one alias corresponding to the domain name, which are sent by a client, are acquired, whether the domain name is matched with a user-defined network acceleration domain name of the target user is judged, if the domain name is matched with the user-defined network acceleration domain name of the target user is determined, the target network request is determined to be the network acceleration request, service manufacturer information corresponding to the target network request is determined according to the at least one alias and a preset alias library table, service index data corresponding to the target network request is acquired according to a preset network acceleration service index and the service manufacturer information, a service monitoring result corresponding to the target network request is generated according to the service index data, and the user-defined network acceleration domain name and the preset alias library table can be used for monitoring the target network request, the network acceleration request is automatically identified in real time, the service manufacturer information can be automatically acquired according to the preset alias library table, and the network acceleration service is monitored according to the acquired service manufacturer information.
On the basis of the above embodiments, the first vendor determination module 303 may include: the first judgment unit is used for judging whether a target alias matched with at least one alias exists in a preset alias library table; and the first determination unit is used for acquiring service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request if the target alias matched with at least one alias exists in the preset alias table.
On the basis of the foregoing embodiments, the first vendor determination module 303 may further include: and the second determining unit is used for determining that the service manufacturer information corresponding to the target network request is other service manufacturer information if the preset alias table is determined not to have the target alias matched with at least one alias.
On the basis of the foregoing embodiments, the service monitoring apparatus may further include: the domain name judging module is used for judging whether a target alias matched with at least one alias exists in a preset alias library table or not if the domain name is determined not to be matched with the user-defined network acceleration domain name of the target user; and the second manufacturer determination module is used for determining that the target network request is a network acceleration request if the target alias matched with at least one alias exists in the preset alias table, and acquiring the service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request.
On the basis of the foregoing embodiments, the service monitoring apparatus may further include: and the second result generation module is used for determining that the target network request is a general network request if the target alias matched with at least one alias does not exist in the preset alias table, acquiring service index data corresponding to the target network request according to a preset general network service index, and generating a service monitoring result corresponding to the target network request according to the service index data.
On the basis of the foregoing embodiments, the service monitoring apparatus may further include: and the result sending module is used for sending the service monitoring result to the client.
The service monitoring device can execute the service monitoring method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the service monitoring method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computer device. The components of computer device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 that connects the various system components (including the memory 28 and the processors 16). The processor 16 includes, but is not limited to, an AI processor.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 of the computer device 12 executes various functional applications and data processing, such as implementing the service monitoring method provided by the embodiments of the present invention, by executing programs stored in the memory 28. The method specifically comprises the following steps: acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request; the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name; judging whether the domain name is matched with a user-defined network acceleration domain name of a target user; if the domain name is determined to be matched with the customized network acceleration domain name of the target user, determining that the target network request is a network acceleration request, and determining service manufacturer information corresponding to the target network request according to at least one alias and a preset alias library table; and acquiring service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the service monitoring method provided in the fifth embodiment of the present invention. The method specifically comprises the following steps: acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request; the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name; judging whether the domain name is matched with a user-defined network acceleration domain name of a target user; if the domain name is determined to be matched with the customized network acceleration domain name of the target user, determining that the target network request is a network acceleration request, and determining service manufacturer information corresponding to the target network request according to at least one alias and a preset alias library table; and acquiring service index data corresponding to the target network request according to a preset network acceleration service index and service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, Ruby, Go, and conventional procedural programming languages, such as the "C" programming language or similar programming languages, and computer languages for AI algorithms. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of service monitoring, comprising:
acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request;
the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name;
judging whether the domain name is matched with a user-defined network acceleration domain name of the target user;
if the domain name is determined to be matched with the user-defined network acceleration domain name of the target user, determining that the target network request is a network acceleration request, and determining service manufacturer information corresponding to the target network request according to the at least one alias and a preset alias base table;
and acquiring service index data corresponding to the target network request according to a preset network acceleration service index and the service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
2. The method of claim 1, wherein determining service vendor information corresponding to the target network request according to the at least one alias and a preset alias library table comprises:
judging whether a target alias matched with the at least one alias exists in the preset alias base table;
and if the preset alias table is determined to have the target alias matched with the at least one alias, acquiring the service manufacturer information matched with the target alias as the service manufacturer information corresponding to the target network request.
3. The method of claim 2, wherein determining service vendor information corresponding to the target network request based on the at least one alias and a preset alias library table, further comprises:
and if the preset alias base table is determined not to have the target alias matched with the at least one alias, determining that the service manufacturer information corresponding to the target network request is other service manufacturer information.
4. The method of claim 1, after determining whether the domain name matches the target user's customized network acceleration domain name, further comprising:
if the domain name is determined not to be matched with the user-defined network acceleration domain name of the target user, judging whether a target alias matched with the at least one alias exists in the preset alias library table or not;
and if the preset alias table is determined to have the target alias matched with the at least one alias, determining that the target network request is a network acceleration request, and acquiring service manufacturer information matched with the target alias as service manufacturer information corresponding to the target network request.
5. The method of claim 3, wherein determining whether a target alias matching the at least one alias exists in the pre-defined alias library table further comprises:
and if the target alias matched with the at least one alias does not exist in the preset alias base table, determining that the target network request is a common network request, acquiring service index data corresponding to the target network request according to a preset common network service index, and generating a service monitoring result corresponding to the target network request according to the service index data.
6. The method of claim 1, after generating the service monitoring result corresponding to the target network request, further comprising:
and sending the service monitoring result to the client.
7. A service monitoring device, comprising:
the information acquisition module is used for acquiring a target network request of a target user sent by a client and domain name information corresponding to the target network request;
the domain name information comprises a domain name in the target network request and at least one alias corresponding to the domain name;
the domain name matching module is used for judging whether the domain name is matched with the user-defined network acceleration domain name of the target user;
the first manufacturer determination module is used for determining that the target network request is a network acceleration request if the domain name is determined to be matched with the user-defined network acceleration domain name of the target user, and determining service manufacturer information corresponding to the target network request according to the at least one alias and a preset alias library table;
and the first result generation module is used for acquiring service index data corresponding to the target network request according to a preset network acceleration service index and the service manufacturer information, and generating a service monitoring result corresponding to the target network request according to the service index data.
8. The apparatus of claim 7, wherein the first vendor determination module comprises:
a first judging unit, configured to judge whether a target alias matching the at least one alias exists in the preset alias library table;
a first determining unit, configured to, if it is determined that a target alias matching the at least one alias exists in the preset alias library table, acquire service vendor information matching the target alias as service vendor information corresponding to the target network request.
9. A computer device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the service monitoring method of any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the service monitoring method according to any one of claims 1-6.
CN201911059838.7A 2019-10-30 2019-10-30 Service monitoring method, device, equipment and storage medium Active CN110677307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911059838.7A CN110677307B (en) 2019-10-30 2019-10-30 Service monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911059838.7A CN110677307B (en) 2019-10-30 2019-10-30 Service monitoring method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110677307A true CN110677307A (en) 2020-01-10
CN110677307B CN110677307B (en) 2022-11-25

Family

ID=69085678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911059838.7A Active CN110677307B (en) 2019-10-30 2019-10-30 Service monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110677307B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872871A (en) * 2021-09-24 2021-12-31 上海哔哩哔哩科技有限公司 Network acceleration method and system
CN114007234A (en) * 2021-10-29 2022-02-01 中国联合网络通信集团有限公司 Network performance monitoring method, device, equipment and storage medium
CN114095384A (en) * 2021-10-29 2022-02-25 新浪网技术(中国)有限公司 CDN fused service quality real-time display method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410691A (en) * 2014-11-27 2015-03-11 网宿科技股份有限公司 Method and system for website acceleration on basis of content delivery network
CN106412063A (en) * 2016-09-29 2017-02-15 赛尔网络有限公司 CDN node detection and resource scheduling system and method in education network
CN108964967A (en) * 2018-02-23 2018-12-07 云智慧(北京)科技有限公司 Method and system for intelligently monitoring and analyzing CDN acceleration service
CN109167674A (en) * 2018-07-24 2019-01-08 网宿科技股份有限公司 Methods of marking, domain name system DNS dispatching method and the server of service node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410691A (en) * 2014-11-27 2015-03-11 网宿科技股份有限公司 Method and system for website acceleration on basis of content delivery network
CN106412063A (en) * 2016-09-29 2017-02-15 赛尔网络有限公司 CDN node detection and resource scheduling system and method in education network
CN108964967A (en) * 2018-02-23 2018-12-07 云智慧(北京)科技有限公司 Method and system for intelligently monitoring and analyzing CDN acceleration service
CN109167674A (en) * 2018-07-24 2019-01-08 网宿科技股份有限公司 Methods of marking, domain name system DNS dispatching method and the server of service node

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872871A (en) * 2021-09-24 2021-12-31 上海哔哩哔哩科技有限公司 Network acceleration method and system
CN114007234A (en) * 2021-10-29 2022-02-01 中国联合网络通信集团有限公司 Network performance monitoring method, device, equipment and storage medium
CN114095384A (en) * 2021-10-29 2022-02-25 新浪网技术(中国)有限公司 CDN fused service quality real-time display method and system
CN114095384B (en) * 2021-10-29 2023-03-24 新浪网技术(中国)有限公司 CDN fused service quality real-time display method and system
CN114007234B (en) * 2021-10-29 2023-05-09 中国联合网络通信集团有限公司 Network performance monitoring method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110677307B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
US11582130B2 (en) Performance monitoring in a distributed storage system
US9317259B2 (en) Apparatus, system, and method for automatically generating a reusable software component for interfacing with a web service
CN110677307B (en) Service monitoring method, device, equipment and storage medium
JP2021524090A (en) Selectively provide mutual transport layer security using alternate server names
CN110225104B (en) Data acquisition method and device and terminal equipment
US9497096B2 (en) Dynamic control over tracing of messages received by a message broker
US9052963B2 (en) Cloud computing data center machine monitor and control
CN112367370A (en) Management method, device, equipment and medium for hybrid cloud resource data
CN111796978B (en) Interface detection method, device, system, equipment and storage medium
CN110737726B (en) Method and device for determining test data of interface to be tested
CN111818145B (en) File transmission method, device, system, equipment and storage medium
CN110737891A (en) host intrusion detection method and device
CN114356521A (en) Task scheduling method and device, electronic equipment and storage medium
CN113010208B (en) Version information generation method, device, equipment and storage medium
CN114398044A (en) Vehicle control and software configuration method, device, electronic equipment and storage medium
CN113094236A (en) System data acquisition method and device, computer equipment and storage medium
CN109120433B (en) Method and apparatus for containerized deployment of hosts
CN109144864B (en) Method and device for testing window
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN111262727B (en) Service capacity expansion method, device, equipment and storage medium
CN113938322A (en) Multi-cloud operation and maintenance management method and system, electronic device and readable storage medium
CN113341929A (en) Electronic control unit calibration data management system, method, device and equipment
CN111711713A (en) Data access method, computer device and storage medium
CN110753136A (en) Domain name resolution method, device, equipment and storage medium
CN111885177A (en) Biological information analysis cloud computing method and system based on cloud computing technology

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