Analysis method for application deployment

Through dynamically determining the domain information and BGP routing ownership of the application, the difficulties of application deployment analysis in existing technologies have been solved, and more accurate application deployment map drawing and traffic scheduling analysis support is achieved.

CN119383164APending Publication Date: 2025-01-28CHINA UNITECHS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411299975.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The prior art is difficult to accurately analyze the deployment location of applications, especially in the case of multi-domain names, multi-IDC centers and CDN scheduling, which leads to difficulties in application deployment analysis.

Method used

Through the user's access characteristics, the domain name information of the application dynamically determines the application of the application, and combined with the BGP route to determine the application address belonging, so as to accurately draw the application map of the application. Specific methods include the root domain name information of the DNS log, determine the scope of analysis according to the number of requests of the DNS, and analyze the similarity based on the well -known root domain name and characteristic characters, build the mapping relationship between the client address and the root domain name, and screen the DNS response address to determine the deployment deployment Location.

Benefits of technology

It improves the accuracy of application deployment analysis, provides effective support for traffic scheduling analysis, and can more accurately determine the deployment location of the application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383164A_ABST
    Figure CN119383164A_ABST
Patent Text Reader

Abstract

The invention discloses an application deployment analysis method, which comprises the following steps of: extracting root domain name information of a DNS (Domain Name Server) log, and determining an analysis range of a root domain name according to a DNS request number; determining an associated root domain name of the application according to similarity analysis of the domain names based on the well-known root domain name of the application and the feature characters; constructing a mapping relationship between the client address and the root domain name according to time, and determining the root domain name of the application according to the access characteristics of the client; root domain names of the applications are screened, DNS response addresses of the applications are determined, the city where the applications are located is determined according to the DNS response addresses, and therefore the deployment positions of the applications are determined. According to the method, the domain name information of the application is dynamically determined through the access characteristics of the user, and the accuracy of application deployment analysis is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of application deployment analysis, and in particular to an analysis method for application deployment. Background Art

[0002] Existing applications are composed of multiple domain names. Different business types may have different root domain names. Each root domain name has several subdomain names. As the business develops, new domain names continue to appear for each application. Even when the same client accesses, multiple domain names will appear at the same time. The rapid change and hidden nature of domain names make it more difficult to analyze applications. In addition, each application is deployed in multiple IDC centers. In particular, head customers can access multiple locations through anycast, making it impossible to accurately determine the deployment location of the application. Coupled with the flexible scheduling of CDN, it is difficult to determine the deployment location of the application. Summary of the invention

[0003] In order to solve the above problems existing in the prior art, the present invention provides an analysis method for application deployment, which dynamically determines the domain name information of the application through the user's access characteristics, and determines the application address ownership in combination with BGP routing, thereby accurately drawing the application deployment map, improving the accuracy of application deployment analysis, and providing effective support for other traffic scheduling analysis.

[0004] To achieve the above purpose, the present invention adopts the following technical solutions:

[0005] In one embodiment of the present invention, a method for analyzing application deployment is proposed, the method comprising:

[0006] Extract root domain name information from DNS logs and determine the analysis scope of root domain names based on the number of DNS requests;

[0007] Based on the well-known root domain names and characteristic characters of the application, the associated root domain names of the application are determined according to the similarity analysis of the domain names;

[0008] Build a mapping relationship between the client address and the root domain name based on time, and determine the application's root domain name based on the customer's access characteristics;

[0009] Filter the root domain name of the application to determine the DNS response address of the application. Use the DNS response address to determine the city where the application is located, thereby determining the deployment location of the application.

[0010] Furthermore, based on the well-known root domain name and characteristic characters of the application, similarity analysis and calculation are performed on all domain names within the analysis range of the root domain name, and the domain name with a higher score is used as the associated root domain name of the application.

[0011] Furthermore, the root domain name of the application accessed by the client is recorded according to the time period. If there is a well-known root domain name, the frequency of the simultaneous appearance of the associated root domain name of the application and the well-known root domain name is counted;

[0012] If the frequency of the associated root domain name of an application and the well-known root domain name appearing together exceeds a threshold, the associated root domain name of the application is considered to be the root domain name of the application.

[0013] Furthermore, if the associated root domain name is associated with multiple applications, the number of requests for the associated root domain name on the client is counted. If the number of requests for the associated root domain name on the client is small, no analysis is performed; if the number of requests for the associated root domain name on the client is large, the associated root domain name belongs to an application with a large number of requests on the client.

[0014] Furthermore, the DNS response address is determined by the BGP route match of the province to which the DNS belongs.

[0015] In one embodiment of the present invention, a computer device is also proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the analysis method for the aforementioned application deployment is designed when the processor executes the computer program.

[0016] In one embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores a computer program for executing the analysis method for application deployment.

[0017] Beneficial effects:

[0018] The present invention dynamically determines the domain name information of an application through the access characteristics of a user, thereby improving the accuracy of application deployment analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of the analysis method flow of the application deployment of the present invention;

[0020] Figure 2 It is a schematic diagram of the computer device structure of the present invention. DETAILED DESCRIPTION

[0021] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and design the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0022] Those skilled in the art will appreciate that the embodiments of the present invention may be designed as a device, apparatus, equipment, method or computer program product. Therefore, the present disclosure may be specifically designed in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0023] According to an implementation of the present invention, a method for analyzing application deployment is proposed, which extracts root domain name information from DNS logs, and determines the analysis scope of the root domain name according to the number of DNS requests; based on the well-known root domain names and characteristic characters of the application, the associated root domain names of the application are determined according to the similarity analysis of the domain names; a mapping relationship between the client address and the root domain name is constructed according to time, and the root domain name of the application is determined according to the access characteristics of the customer; the root domain name of the application is screened to determine the DNS response address of the application, and the city where the application is located is determined by the DNS response address, thereby determining the deployment location of the application.

[0024] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.

[0025] Figure 1 Schematic diagram of the analysis method flow of the application deployment of the present invention. Figure 1 As shown, the method includes:

[0026] S1. Extract the root domain name information of the DNS log and determine the analysis scope of the root domain name according to the number of DNS requests;

[0027] Specifically, the root domain name information in the DNS log is extracted, and the root domain names are sorted from high to low according to the number of DNS requests, and the root domain names with the top 90% of the number of requests are taken as the analysis scope of the root domain names.

[0028] S2. Based on the well-known root domain names and characteristic characters of the application, determine the associated root domain names of the application according to the similarity analysis of the domain names;

[0029] The well-known root domain name of an application is generally the entrance to access the application and is a domain name that is publicly disclosed.

[0030] The characteristic characters are manually analyzed based on the well-known root domain names and application names of the applications.

[0031] Based on the well-known root domain name and characteristic characters of the application, similarity analysis and calculation are performed on all domain names within the analysis range of the root domain name, and the domain name with a higher score is used as the associated root domain name of the application.

[0032] S3. Build a mapping relationship between the client address and the root domain name according to time, and determine the root domain name of the application based on the customer's access characteristics;

[0033] The DNS log contains the client address, domain name and DNS response address.

[0034] The customer's access characteristics are obtained by analyzing the client's access behavior through DNS logs.

[0035] The root domain name of the application accessed by the client is recorded according to the time period. If there is a well-known root domain name, the frequency of the application's associated root domain name and the well-known root domain name appearing at the same time is counted.

[0036] If the frequency of the associated root domain name of an application and the well-known root domain name appearing together exceeds a threshold, the associated root domain name of the application is considered to be the root domain name of the application.

[0037] If the associated root domain name is associated with multiple applications, the number of requests for the associated root domain name on the client is counted. If the number of requests for the associated root domain name on the client is small, no analysis is performed. If the number of requests for the associated root domain name on the client is large, the associated root domain name belongs to the application with a large number of requests on the client.

[0038] S4. Filter the root domain name of the application to determine the DNS response address of the application, and determine the city where the application is located based on the DNS response address, thereby determining the deployment location of the application;

[0039] For the root domain name of the application determined in step S3, the DNS log is associated, the DNS response address is obtained, and the DNS response address is matched with the BGP route of the province to determine the city to which the DNS response address belongs.

[0040] Aggregate the cities where the applications are deployed to build all the deployment location information of the applications.

[0041] The DNS response address is constantly changing. The deployment location of the application is aggregated according to time, and the update time of the deployment location is updated.

[0042] When the update time of the deployment location of the application has not been updated for a long time, it will be aged and the city will be deleted from the application deployment location information.

[0043] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0044] In order to explain the above-mentioned analysis method of application deployment more clearly, a specific embodiment is described below. However, it should be noted that this embodiment is only for better illustrating the present invention and does not constitute an improper limitation to the present invention.

[0045] Example:

[0046] The implementation steps are as follows:

[0047] S1. Extract the root domain name information of the DNS log and determine the analysis scope of the root domain name according to the number of DNS requests;

[0048] Specifically, the root domain name information in the DNS log is extracted, and the root domain names are sorted from high to low according to the number of DNS requests, and the root domain names with the top 90% of the number of requests are taken as the analysis scope of the root domain names.

[0049] In specific implementation, the root domain name is counted according to the number of DNS requests, such as douyin.com, 20.1 million times / 5 minutes; taobao.com, 6.78 million times / 5 minutes; baidu.com, 2.78 million times / 5 minutes.

[0050] S2. Based on the well-known root domain names and characteristic characters of the application, determine the associated root domain names of the application according to the similarity analysis of the domain names;

[0051] The well-known root domain name of an application is generally the entrance to access the application and is a domain name that is publicly disclosed.

[0052] The characteristic characters are manually analyzed based on the well-known root domain names and application names of the applications.

[0053] Based on the well-known root domain name and characteristic characters of the application, similarity analysis and calculation are performed on all domain names within the analysis range of the root domain name, and the domain name with a higher score is used as the associated root domain name of the application.

[0054] In the specific implementation, taking Douyin as an example, douyin.com is its well-known root domain name, and douyin, dy, and byte are its characteristic characters; through the similarity analysis of the root domain name and characteristic characters, douyinvod.com, douyincdn.com, bytecdn, etc. are all its associated root domain names.

[0055] S3. Build a mapping relationship between the client address and the root domain name according to time, and determine the root domain name of the application based on the customer's access characteristics;

[0056] The DNS log contains the client address, domain name and DNS response address.

[0057] The customer's access characteristics are obtained by analyzing the client's access behavior through DNS logs.

[0058] Specifically, a customer's visit to an APP or website usually lasts for a period of time; in addition, within a period of time, a customer generally only visits one main application.

[0059] The root domain name of the application accessed by the client is recorded according to the time period. If there is a well-known root domain name, the frequency of the application's associated root domain name and the well-known root domain name appearing at the same time is counted.

[0060] If the frequency of the associated root domain name of an application and the well-known root domain name appearing together exceeds a threshold, the associated root domain name of the application is considered to be the root domain name of the application.

[0061] If the associated root domain name is associated with multiple applications, the number of requests for the associated root domain name on the client is counted. If the number of requests for the associated root domain name on the client is small, no analysis is performed; if the number of requests for the associated root domain name on the client is large, the associated root domain name belongs to the application with a large number of requests on the client.

[0062] In specific implementation, different time granularities are set based on the client address and different application access times. When the root domain name accessed by the client appears, the associated root domain name also appears. The associated root domain name is the root domain name of the application.

[0063] In this embodiment, when a client plays Douyin, he first visits the well-known root domain name douyin.com. At the same time, doyinvod.com appears at a high frequency, reaching a threshold of more than 80%. Therefore, it is considered that doyinvod.com is also one of the root domain names of the Douyin application.

[0064] S4. Filter the root domain name of the application to determine the DNS response address of the application, and determine the city where the application is located based on the DNS response address, thereby determining the deployment location of the application;

[0065] For the root domain name of the application determined in step S3, the DNS log is associated, the DNS response address is obtained, and the DNS response address is matched with the BGP route of the province to determine the city to which the DNS response address belongs.

[0066] Aggregate the cities where the applications are deployed to build all the deployment location information of the applications.

[0067] The DNS response address is constantly changing. The deployment location of the application is aggregated according to time, and the update time of the deployment location is updated.

[0068] When the update time of the deployment location of the application has not been updated for a long time, it will be aged and the city will be deleted from the application deployment location information.

[0069] Based on the above invention concept, Figure 2 As shown, the present invention also proposes a computer device 100, including a memory 110, a processor 120, and a computer program 130 stored in the memory 110 and executable on the processor 120, and when the processor 120 executes the computer program 130, the aforementioned analysis method for application deployment is designed.

[0070] Based on the aforementioned inventive concept, the present invention further proposes a computer-readable storage medium, which stores a computer program for executing the aforementioned analysis method for application deployment.

[0071] The application deployment analysis method proposed by the present invention dynamically determines the domain name information of the application through the user's access characteristics, thereby improving the accuracy of the application deployment analysis.

[0072] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements contained in the spirit and scope of the attached claims.

[0073] Regarding the limitation of the protection scope of the present invention, those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.

Claims

1. A method for analyzing application deployment, characterized in that: The method includes: Extract root domain name information from DNS logs and determine the analysis scope of root domain names based on the number of DNS requests; Based on the well-known root domain names and characteristic characters of the application, the associated root domain names of the application are determined according to the similarity analysis of the domain names; Build a mapping relationship between the client address and the root domain name based on time, and determine the application's root domain name based on the customer's access characteristics; Filter the root domain name of the application to determine the DNS response address of the application. Use the DNS response address to determine the city where the application is located, thereby determining the deployment location of the application.

2. The application deployment analysis method according to claim 1, characterized in that: Based on the well-known root domain name and characteristic characters of the application, similarity analysis and calculation are performed on all domain names within the analysis range of the root domain name, and the domain name with a higher score is used as the associated root domain name of the application.

3. The application deployment analysis method according to claim 1, characterized in that: The root domain name of the application accessed by the client is recorded according to the time period. If there is a well-known root domain name, the frequency of the application's associated root domain name and the well-known root domain name appearing at the same time is counted; If the frequency of the associated root domain name of an application and the well-known root domain name appearing together exceeds a threshold, the associated root domain name of the application is considered to be the root domain name of the application.

4. The application deployment analysis method according to claim 3, characterized in that: If the associated root domain name is associated with multiple applications, the number of requests for the associated root domain name on the client is counted. If the number of requests for the associated root domain name on the client is small, no analysis is performed; if the number of requests for the associated root domain name on the client is large, the associated root domain name belongs to an application with a large number of requests on the client.

5. The application deployment analysis method according to claim 1, characterized in that: The DNS response address is determined by the BGP route matching of the province to which the DNS belongs.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 5.