[go: up one dir, main page]

CN110995839B - Method and device for analyzing performance of advertisement system and computer storage medium - Google Patents

Method and device for analyzing performance of advertisement system and computer storage medium Download PDF

Info

Publication number
CN110995839B
CN110995839B CN201911222307.5A CN201911222307A CN110995839B CN 110995839 B CN110995839 B CN 110995839B CN 201911222307 A CN201911222307 A CN 201911222307A CN 110995839 B CN110995839 B CN 110995839B
Authority
CN
China
Prior art keywords
terminal
performance
terminal type
advertisement
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911222307.5A
Other languages
Chinese (zh)
Other versions
CN110995839A (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 Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN201911222307.5A priority Critical patent/CN110995839B/en
Publication of CN110995839A publication Critical patent/CN110995839A/en
Application granted granted Critical
Publication of CN110995839B publication Critical patent/CN110995839B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/53Network services using third party service providers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an analysis method and device for performance of an advertisement system and a computer storage medium, which are used for collecting performance data generated when the advertisement system provides advertisement service for a network terminal in real time; aiming at each terminal type, recording partial or all performance data in the performance data corresponding to the terminal type according to the sampling rate corresponding to the terminal type to obtain a performance log of the terminal type; the performance data corresponding to the terminal category refers to the performance data generated by providing the advertisement service for the network terminal corresponding to the terminal category; and the performance log corresponding to each terminal type is used as a basis for analyzing the performance of the advertisement system. Compared with the existing scheme for recording the performance data of different terminal types based on the same sampling rate, the scheme configures the corresponding sampling rate for each terminal type, thereby avoiding the problem of more resources required by performance analysis caused by excessive performance data corresponding to certain terminal types.

Description

广告系统性能的分析方法、装置和计算机存储介质Analysis method, device and computer storage medium for advertising system performance

技术领域technical field

本发明涉及系统分析技术领域,特别涉及一种广告系统性能的分析方法、装置和计算机存储介质。The present invention relates to the technical field of system analysis, in particular to a method, device and computer storage medium for analyzing the performance of an advertising system.

背景技术Background technique

广告系统是一类用于为多种不同终端类别的网络终端提供广告服务的系统。为了更好的维护广告系统,往往需要对广告系统进行性能分析。现有的性能分析方法是,基于一个预设的抽样率,记录广告系统为每一终端类别的网络终端提供广告服务的过程中产生的性能数据,得到广告系统的性能日志,然后就可以基于性能日志分析广告系统的性能。An advertisement system is a system for providing advertisement services to network terminals of various types of terminals. In order to better maintain the advertising system, it is often necessary to analyze the performance of the advertising system. The existing performance analysis method is based on a preset sampling rate, recording performance data generated in the process of the advertising system providing advertising services for network terminals of each terminal category, and obtaining the performance log of the advertising system. The log analyzes the performance of the advertising system.

这种方法的问题在于,广告系统为不同终端类别的网络终端提供广告服务的频率往往差别较大,以单一的抽样率记录每一终端类别对应的性能数据,会导致性能日志中记录有需要频繁提供广告服务的终端类别所对应的大量性能数据,导致后续基于性能日志进行系统分析性能时所需的资源较多。The problem with this method is that the frequency of advertising services provided by the advertising system for network terminals of different terminal types is often quite different. Recording the performance data corresponding to each terminal type at a single sampling rate will result in frequent records of needs in the performance log. The large amount of performance data corresponding to the terminal categories that provide advertising services results in more resources required for subsequent system performance analysis based on performance logs.

发明内容SUMMARY OF THE INVENTION

基于上述现有技术的缺点,本申请提供一种广告系统性能的分析方法、装置和计算机存储介质,以解决现有的分析广告系统性能的方法所需资源较多的问题。Based on the above shortcomings of the prior art, the present application provides a method, device and computer storage medium for analyzing the performance of an advertising system, so as to solve the problem that the existing methods for analyzing the performance of an advertising system require more resources.

本申请第一方面提供一种广告系统性能的分析方法,包括:A first aspect of the present application provides a method for analyzing the performance of an advertising system, including:

实时采集广告系统为网络终端提供广告服务时产生的性能数据;其中,所述网络终端是通过网络连接至所述广告系统的任一网络终端;Real-time collection of performance data generated when the advertising system provides advertising services for network terminals; wherein, the network terminal is any network terminal connected to the advertising system through a network;

针对每一终端类别,根据预设的所述终端类别对应的抽样率,记录采集得到的所述终端类别对应的性能数据中的部分或全部性能数据,得到所述终端类别对应的性能日志;其中,所述终端类别对应的性能数据,指代为所述终端类别对应的网络终端提供广告服务而产生的性能数据;每一种终端类别对应的性能日志,用于作为分析所述广告系统的性能的依据。For each terminal type, according to the preset sampling rate corresponding to the terminal type, record some or all of the performance data in the performance data corresponding to the terminal type obtained through collection, and obtain the performance log corresponding to the terminal type; wherein , the performance data corresponding to the terminal category refers to the performance data generated by providing advertising services for the network terminals corresponding to the terminal category; the performance log corresponding to each terminal category is used as a tool for analyzing the performance of the advertising system. in accordance with.

可选的,还包括:Optionally, also include:

针对每一终端类别,根据一定时间段内所述终端类别对应的网络终端请求广告服务的频率,以及预设的抽样率调整规则,更新所述终端类别对应的抽样率。For each terminal type, the sampling rate corresponding to the terminal type is updated according to the frequency of requesting advertisement service by the network terminal corresponding to the terminal type within a certain period of time and the preset sampling rate adjustment rule.

可选的,所述针对每一终端类别,根据预设的所述终端类别的抽样率,记录采集得到的所述终端类别对应的性能数据中的部分或全部性能数据,得到所述终端类别的性能日志之后,还包括:Optionally, for each terminal type, according to the preset sampling rate of the terminal type, record some or all of the performance data in the collected performance data corresponding to the terminal type, and obtain the data of the terminal type. After the performance log, also include:

利用消息队列将每一种终端类别的性能日志上传至数据仓库,使所述数据仓库根据每一种终端类别的性能日志分析所述广告系统的性能。The performance log of each terminal type is uploaded to the data warehouse by using the message queue, so that the data warehouse can analyze the performance of the advertising system according to the performance log of each terminal type.

可选的,所述广告系统为网络终端提供广告服务时产生的性能数据,包括:Optionally, the performance data generated when the advertising system provides advertising services for network terminals, including:

服务请求响应时间,服务数据传输时间和服务数据接收成功率中的任意一种或者组合。Any one or combination of service request response time, service data transmission time and service data reception success rate.

可选的,根据每一种终端类别的性能日志分析所述广告系统的性能的过程,包括:Optionally, the process of analyzing the performance of the advertising system according to the performance log of each terminal category includes:

针对每一终端类别,根据所述终端类别对应的性能日志中记录的每次提供广告服务时的服务请求响应时间,计算所述广告系统为所述终端类别对应的网络终端提供广告服务时的平均响应时长;For each terminal type, according to the service request response time recorded in the performance log corresponding to the terminal type each time the advertisement service is provided, calculate the average time when the advertisement system provides advertisement service for the network terminal corresponding to the terminal type response time;

或者,or,

针对每一终端类别,根据所述终端类别对应的性能日志中记录的每次提供广告服务时的服务数据传输时间,确定所述广告系统和所述终端类别对应的网络终端之间的网络延迟;For each terminal type, determine the network delay between the advertisement system and the network terminal corresponding to the terminal type according to the service data transmission time recorded in the performance log corresponding to the terminal type each time the advertisement service is provided;

或者,or,

针对每一终端类别,根据所述终端类别对应的性能日志中记录的每次提供广告服务时的服务数据接收成功率,判断所述广告系统和所述终端类别对应的网络终端之间是否存在网络故障。For each terminal type, determine whether there is a network connection between the advertising system and the network terminal corresponding to the terminal type according to the service data reception success rate recorded in the performance log corresponding to the terminal type each time the advertisement service is provided Fault.

本申请第二方面提供一种广告系统性能的分析装置,包括:A second aspect of the present application provides an apparatus for analyzing the performance of an advertising system, including:

采集单元,用于实时采集广告系统为网络终端提供广告服务时产生的性能数据;其中,所述网络终端是通过网络连接至所述广告系统的任一网络终端;a collection unit, used for real-time collection of performance data generated when the advertising system provides advertising services for a network terminal; wherein the network terminal is any network terminal connected to the advertising system through a network;

记录单元,用于针对每一终端类别,根据预设的所述终端类别对应的抽样率,记录采集得到的所述终端类别对应的性能数据中的部分或全部性能数据,得到所述终端类别对应的性能日志;其中,所述终端类别对应的性能数据,指代为所述终端类别对应的网络终端提供广告服务而产生的性能数据;每一种终端类别对应的性能日志,用于作为分析所述广告系统的性能的依据。A recording unit, configured to, for each terminal type, record part or all of the performance data in the performance data corresponding to the terminal type obtained by recording according to the preset sampling rate corresponding to the terminal type, and obtain the corresponding terminal type performance log; wherein, the performance data corresponding to the terminal category refers to the performance data generated by providing advertising services for the network terminal corresponding to the terminal category; the performance log corresponding to each terminal category is used as a The basis for the performance of the advertising system.

可选的,还包括:Optionally, also include:

更新单元,用于针对每一终端类别,根据一定时间段内所述终端类别对应的网络终端请求广告服务的频率,以及预设的抽样率调整规则,更新所述终端类别对应的抽样率。The updating unit is configured to, for each terminal type, update the sampling rate corresponding to the terminal type according to the frequency of requesting advertisement services by the network terminal corresponding to the terminal type within a certain period of time and the preset sampling rate adjustment rule.

可选的,还包括:Optionally, also include:

上传单元,用于利用消息队列将每一种终端类别的性能日志上传至数据仓库,使所述数据仓库根据每一种终端类别的性能日志分析所述广告系统的性能。The uploading unit is configured to upload the performance log of each terminal type to the data warehouse by using the message queue, so that the data warehouse can analyze the performance of the advertising system according to the performance log of each terminal type.

可选的,所述广告系统为网络终端提供广告服务时产生的性能数据,包括:Optionally, the performance data generated when the advertising system provides advertising services for network terminals, including:

服务请求响应时间,服务数据传输时间和服务数据接收成功率中的任意一种或者组合。Any one or combination of service request response time, service data transmission time and service data reception success rate.

本申请第三方面提供一种计算机存储介质,其特征在于,用于存储程序,所述程序被执行时,用于实现如本申请第一方面任意一项提供的广告系统性能的分析方法。A third aspect of the present application provides a computer storage medium, which is characterized in that it is used for storing a program, and when the program is executed, it is used to implement the method for analyzing the performance of an advertising system as provided in any one of the first aspect of the present application.

本申请提供一种广告系统性能的分析方法、装置和计算机存储介质,实时采集广告系统为网络终端提供广告服务时产生的性能数据;针对每一终端类别,根据该终端类别对应的抽样率,记录该终端类别对应的性能数据中的部分或全部性能数据,得到该终端类别的性能日志;终端类别对应的性能数据,指代为这一终端类别对应的网络终端提供广告服务而产生的性能数据;每一终端类别对应的性能日志,作为分析广告系统的性能的依据。相对于现有的基于同一抽样率记录不同终端类别的性能数据的方案,本方案为每一终端类别均配置了对应的抽样率,从而避免某些终端类别对应的性能数据过多导致的性能分析所需资源较多的问题。The present application provides an analysis method, device and computer storage medium for the performance of an advertising system, which collects performance data generated when the advertising system provides advertising services for network terminals in real time; For some or all of the performance data corresponding to the terminal category, the performance log of the terminal category is obtained; the performance data corresponding to the terminal category refers to the performance data generated by providing advertising services for the network terminal corresponding to the terminal category; each A performance log corresponding to a terminal category is used as a basis for analyzing the performance of the advertising system. Compared with the existing scheme of recording performance data of different terminal categories based on the same sampling rate, this scheme configures a corresponding sampling rate for each terminal category, so as to avoid performance analysis caused by excessive performance data corresponding to some terminal categories. More resources are required.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.

图1为本申请实施例提供的广告系统性能的分析方法所适用的一种网络架构的示意图;1 is a schematic diagram of a network architecture to which the method for analyzing the performance of an advertising system provided by an embodiment of the present application is applied;

图2为本申请实施例提供的广告系统性能的分析方法的流程图;2 is a flowchart of a method for analyzing the performance of an advertising system provided by an embodiment of the present application;

图3为本申请另一实施例提供的广告系统性能的分析方法的流程图;3 is a flowchart of a method for analyzing performance of an advertising system provided by another embodiment of the present application;

图4为本申请实施例提供广告系统性能的分析装置的结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for analyzing the performance of an advertising system according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本申请所提供的的广告系统性能的分析方法,可以适用于多种用于提供广告服务的网络架构中,如图1所示就是一种可以适用本申请所提供的广告系统性能的分析方法的网络架构。The method for analyzing the performance of the advertising system provided by this application can be applied to a variety of network architectures for providing advertising services, as shown in FIG. Network Architecture.

请参考图1,服务器集群200中设置有多个服务器,每一个服务器上均运行有用于提供广告服务的广告系统,服务器集群中的每一个服务器均通过网络连接有若干个不同终端类别的网络终端,图1中示出了几种常见的终端类别对应的网络终端,包括运行于PC(个人电脑,包括台式电脑和笔记本电脑)的电脑网页端301,电脑客户端程序302,以及运行于移动智能设备(包括智能手机和平板电脑)的移动网页端303,手机视频软件304,手机新闻软件305等等。当然,广告系统还可以为其他的终端类别的网络终端提供广告服务,此处不一一列举。Referring to FIG. 1, a server cluster 200 is provided with a plurality of servers, each server runs an advertising system for providing advertising services, and each server in the server cluster is connected to several network terminals of different terminal types through the network , FIG. 1 shows network terminals corresponding to several common terminal categories, including a computer web terminal 301 running on a PC (personal computer, including a desktop computer and a notebook computer), a computer client program 302, and a computer running on a mobile smart Mobile web terminal 303 of devices (including smart phones and tablet computers), mobile video software 304, mobile news software 305, and so on. Of course, the advertisement system may also provide advertisement services for network terminals of other terminal types, which are not listed here one by one.

广告系统可以用于提供包括广告发布服务在内的多种广告服务。具体的,提供广告发布服务时,网络终端可以向任一服务器的广告系统提出广告发布请求,然后广告系统可以查找出满足网络终端的广告发布请求的广告内容,将查找得到的广告内容作为本次的服务数据发送给网络终端,网络终端接收广告内容,并进行展示之后,就成功的完成了一次广告发布服务。The advertising system can be used to provide various advertising services including advertising distribution services. Specifically, when providing the advertisement distribution service, the network terminal can submit an advertisement distribution request to the advertisement system of any server, and then the advertisement system can find out the advertisement content that satisfies the advertisement distribution request of the network terminal, and use the found advertisement content as the current advertisement content. The service data is sent to the network terminal, and after the network terminal receives the advertisement content and displays it, an advertisement publishing service is successfully completed.

另一方面,服务器集群中的服务器均通过网络连接至数据仓库100,数据仓库也可以由一个或多个服务器实现。数据仓库一方面用于保存服务器集群中各个服务器上传的性能日志,性能日志中记录有各个服务器的广告系统在运行期间产生的性能数据,一方面用于根据服务器上传的性能日志对各个服务器上运行的广告系统进行性能分析。On the other hand, the servers in the server cluster are all connected to the data warehouse 100 through a network, and the data warehouse can also be implemented by one or more servers. On the one hand, the data warehouse is used to save the performance logs uploaded by each server in the server cluster. The performance log records the performance data generated by the advertising system of each server during the operation. performance analysis of the advertising system.

基于上述图1所示的网络架构,本申请第一个实施例提供了一种广告系统性能的分析方法。Based on the network architecture shown in FIG. 1 above, the first embodiment of the present application provides a method for analyzing the performance of an advertising system.

首先需要说明的是,在图1所示的网络架构中,一般服务器集群的每一个服务器均设置有监控模块,监控模块用于记录本服务器的广告系统产生的性能数据,得到本服务器运行的广告系统的性能日志。First of all, it should be noted that, in the network architecture shown in Figure 1, each server in a general server cluster is provided with a monitoring module. The monitoring module is used to record the performance data generated by the advertising system of the server, and obtain the advertisements running by the server. System performance log.

本申请所提供的广告系统性能的分析方法,其关键在于为不同的终端类别配置对应的抽样率,使得监控模块能够根据不同终端类别的抽样率选择性的记录不同终端类别对应的性能数据,减少单位时间段内性能日志中所记录的数据量,从而减少后续基于性能日志进行性能分析时所需要的资源。因此,本实施例主要以上述监控模块作为执行主体,介绍监控模块记录广告系统的性能数据,得到性能日志的过程。The key to the method for analyzing the performance of an advertising system provided by the present application is to configure corresponding sampling rates for different terminal types, so that the monitoring module can selectively record the performance data corresponding to different terminal types according to the sampling rates of different terminal types, reducing the number of The amount of data recorded in the performance log in a unit time period, thereby reducing the resources required for subsequent performance analysis based on the performance log. Therefore, this embodiment mainly uses the above-mentioned monitoring module as the execution body, and introduces the process of the monitoring module recording the performance data of the advertising system and obtaining the performance log.

请参考图2,本实施例提供的方法包括如下步骤:Referring to FIG. 2 , the method provided by this embodiment includes the following steps:

S201、实时采集广告系统为网络终端提供广告服务时产生的性能数据。S201. Collect real-time performance data generated when an advertisement system provides an advertisement service for a network terminal.

对于广告系统所提供的任意一次广告服务,从收到网络终端对这次广告服务的请求开始,直至收到网络终端对本次广告服务的反馈为止的这段时间内采集得到的,能够反映广告系统的数据处理能力,以及广告系统所属的服务器和网络终端之间的通信情况的数据,均可以认为是广告系统提供这次广告服务时产生的性能数据。For any advertisement service provided by the advertising system, the data collected during the period from the time the network terminal receives the request for the advertisement service to the receipt of the network terminal's feedback on the advertisement service can reflect the advertisement. The data processing capability of the system and the data of the communication between the server to which the advertisement system belongs and the network terminal can be considered as performance data generated when the advertisement system provides this advertisement service.

具体的,性能数据包括但不限于:服务请求响应时间,服务数据传输时间和服务数据接收成功率中的任意一种或者组合。Specifically, the performance data includes, but is not limited to, any one or a combination of service request response time, service data transmission time, and service data reception success rate.

其中,服务请求响应时间表示广告系统收到任一网络终端的服务请求之后,用于确定出满足这一服务请求的服务数据的时间。广告系统确定出满足一个服务请求的服务数据,需要首先对该服务请求进行解析以确定出需要提供哪些服务数据,然后再从数据库中查找出满足服务请求的数据。因此,广告系统提供一次广告服务所需要的服务请求响应时间,可以反映出广告系统在提供这次广告服务时的数据处理能力。Wherein, the service request response time indicates the time used by the advertising system to determine the service data satisfying the service request after receiving the service request from any network terminal. When the advertising system determines the service data that satisfies a service request, it needs to analyze the service request first to determine which service data needs to be provided, and then find out the data that satisfies the service request from the database. Therefore, the service request response time required by the advertisement system to provide an advertisement service can reflect the data processing capability of the advertisement system when providing this advertisement service.

服务数据传输时间就是指,广告系统确定出满足服务请求的服务数据后,服务数据从广告系统全部发送至网络终端所需的时间。具体的,广告系统可以记录开始发送服务数据的时刻,以及网络终端反馈服务数据接收完毕的时刻,根据这两个时刻就可以计算出服务数据传输时间。The service data transmission time refers to the time required for all the service data to be sent from the advertisement system to the network terminal after the advertisement system determines the service data that satisfies the service request. Specifically, the advertising system can record the time when the service data starts to be sent, and the time when the network terminal feedbacks the time when the service data is received, and can calculate the service data transmission time according to these two times.

可选的,广告系统上报服务数据传输时间时,根据设计的数据上报点的不同,可以计算出服务数据传输时间并上报,也可以直接上报上述两个时刻,后续需要分析时在进行计算得到服务数据传输时间。Optionally, when the advertising system reports the service data transmission time, according to the different data reporting points designed, the service data transmission time can be calculated and reported, or the above two times can be directly reported, and the service can be obtained by calculating when the subsequent analysis is required. data transfer time.

服务数据接收成功率,指代被网络终端正确接收的服务数据在广告系统发出的服务数据中所占的比例,该数据可以由网络终端收到服务数据后,利用数据校验技术对接收的服务数据进行验证并反馈至广告系统。The success rate of receiving service data refers to the proportion of service data correctly received by the network terminal in the service data sent by the advertising system. The data is verified and fed back to the advertising system.

可以理解的,服务数据传输时间和服务数据接收成功率均能够反映出在提供一次广告服务的过程中,广告系统所在的服务器和网络终端之间的网络状况。It can be understood that both the service data transmission time and the service data reception success rate can reflect the network status between the server where the advertisement system is located and the network terminal during the process of providing an advertisement service.

开发人员可以在广告系统中预先设置数据上报点,从而实现上述性能数据的采集。广告系统相当于是运行在服务器的一组计算机程序,每收到一次服务请求,这组计算机程序开始运行从而为网络终端提供广告服务并接收反馈。当运行到开发人员设置的数据上报点时,广告系统就将这个数据上报点指定需要上报的性能数据发送给监控模块,从而完成一次性能数据的上报。Developers can pre-set data reporting points in the advertising system to collect the above performance data. The advertising system is equivalent to a group of computer programs running on the server. Each time a service request is received, the group of computer programs starts to run to provide advertising services for network terminals and receive feedback. When running to the data reporting point set by the developer, the advertising system will send the performance data that needs to be reported specified by the data reporting point to the monitoring module, thereby completing a performance data report.

S202、针对每一终端类别,根据预设的该终端类别对应的抽样率,记录采集得到的该终端类别对应的性能数据中的部分或全部性能数据,得到这一终端类别对应的性能日志。S202. For each terminal type, record part or all of the performance data corresponding to the terminal type obtained by recording according to the preset sampling rate corresponding to the terminal type, and obtain a performance log corresponding to the terminal type.

其中,终端类别对应的性能数据,指代为终端类别对应的网络终端提供广告服务而产生的性能数据。The performance data corresponding to the terminal category refers to performance data generated by providing advertising services for network terminals corresponding to the terminal category.

每一种终端类别对应的性能日志,用于作为分析广告系统的性能的依据。The performance log corresponding to each terminal category is used as a basis for analyzing the performance of the advertising system.

下面结合具体的例子介绍步骤S202的具体执行过程:The specific execution process of step S202 is described below with reference to specific examples:

假设手机视频软件这一终端类别对应的抽样率是25%,那么监控模块在实时接收广告系统每次为手机视频软件提供广告服务而产生的性能数据的基础上,监控模块将广告系统某一次为一个手机视频软件提供广告服务而产生的性能数据记录在性能日志中,后续广告系统为手机视频软件提供的三次广告服务而产生的性能数据则被监控模块摒弃,第四次为手机视频软件提供广告服务而产生的性能数据则记录在性能日志中,然后第五次至第七次为手机视频软件提供广告服务而产生的性能数据则摒弃,以此类推。Assuming that the sampling rate corresponding to the terminal category of mobile video software is 25%, then the monitoring module will receive the performance data generated by the advertising system each time the advertising system provides advertising services for mobile video software in real time. The performance data generated by a mobile phone video software providing advertising services is recorded in the performance log, and the performance data generated by the subsequent advertising system for the three advertising services provided by the mobile video software are discarded by the monitoring module, and the fourth time advertising is provided for mobile video software. The performance data generated by the service is recorded in the performance log, and then the performance data generated by the fifth to seventh time providing advertising services for mobile video software are discarded, and so on.

也就是说,对于手机视频软件对应的25%的抽样率,广告系统每为手机视频软件提供四次广告服务,监控模块才记录其中的一次广告服务对应的性能数据,最终手机视频软件的性能日志中记录的性能数据在广告系统上报的手机视频软件对应的性能数据中所占的比例就是25%。That is to say, for the 25% sampling rate corresponding to the mobile video software, the monitoring module records the performance data corresponding to one advertisement service every time the advertising system provides four advertisement services for the mobile video software, and finally the performance log of the mobile video software The ratio of the performance data recorded in the advertising system to the performance data corresponding to the mobile phone video software reported by the advertising system is 25%.

对应的,若手机新闻软件这一终端类别对应的抽样率是50%,那么广告系统每为手机新闻软件提供两次广告服务,监控模块记录其中的一次广告服务对应的性能数据。Correspondingly, if the sampling rate corresponding to the terminal category of mobile news software is 50%, the monitoring module records performance data corresponding to one advertisement service for each time the advertisement system provides two advertisement services for the mobile news software.

可选的,开发人员在设计监控模块时可以为每一个终端类别预先配置一个初始抽样率。监控模块运行期间,可以按一定的调整周期,自动调整每一终端类别的抽样率。Optionally, the developer can pre-configure an initial sampling rate for each terminal category when designing the monitoring module. During the operation of the monitoring module, the sampling rate of each terminal category can be automatically adjusted according to a certain adjustment period.

具体的,每经过一个预设的调整周期,监控模块可以统计最近的这个调整周期内广告系统为每一终端类别对应的网络终端提供广告服务的次数,然后针对每一终端类别,计算最近的调整周期内,广告系统为这一终端类别对应的网络终端提供广告服务的次数和当前这个终端类别对应的抽样率的乘积。Specifically, after each preset adjustment period, the monitoring module can count the number of times that the advertising system provides advertising services for network terminals corresponding to each terminal category in the latest adjustment period, and then calculate the latest adjustment for each terminal category. In a period, the number of times that the advertising system provides advertising services for the network terminal corresponding to this terminal category is the product of the current sampling rate corresponding to this terminal category.

对于任意一个终端类别,若计算得到的这个终端类别的乘积小于预设的下限值,则增大这个终端类别对应的抽样率,并再次执行上述计算,直至这个计算结果大于预设的下限值为止。For any terminal category, if the calculated product of the terminal category is less than the preset lower limit, increase the sampling rate corresponding to the terminal category, and perform the above calculation again until the calculation result is greater than the preset lower limit value up to.

对应的,若计算后发现某一终端类别地乘积大于预设的上限值,则减小这个终端类别对应的抽样率,直至这个终端类别对应的计算结果小于预设的上限值为止。Correspondingly, if the product of a certain terminal category is found to be greater than the preset upper limit value after calculation, the sampling rate corresponding to this terminal category is reduced until the calculation result corresponding to this terminal category is smaller than the preset upper limit value.

一个终端类别对应的网络终端在一定时间段内请求广告服务的频率,可以称为这个终端类别的流量。一定时间段内,有大量的手机视频软件请求广告服务,相当于该时间段内手机视频软件的流量较大,对应的,若一定时间段内只有少量的手机新闻软件请求广告服务,相当于手机新闻软件在该时间段内的流量较小。The frequency at which a network terminal corresponding to a terminal type requests advertisement services within a certain period of time may be referred to as the traffic of this terminal type. During a certain period of time, a large number of mobile phone video software requests advertising services, which is equivalent to a large flow of mobile phone video software in this period of time. Correspondingly, if only a small number of mobile phone news software requests advertising services within a certain period of time, it is equivalent to mobile phone video software. News software has less traffic during this time period.

通过上述动态调整的方法,在记录性能数据时,对于流量较大的终端类别,可以及时减小抽样率,从而避免流量增大导致性能日志中记录的这一终端类别对应的性能数据增多,增加性能分析环节所需的资源。对于流量较小的终端类别,可以及时的增大抽样率,确保在性能日志中记录的这一终端类别对应的性能数据足够多,从而保证基于性能数据进行分析时的准确性。Through the above dynamic adjustment method, when recording performance data, for the terminal category with large traffic, the sampling rate can be reduced in time, so as to avoid the increase in traffic caused by the increase in the performance data corresponding to this terminal category recorded in the performance log. Resources required for the performance analysis session. For terminal types with small traffic, the sampling rate can be increased in time to ensure that the performance data corresponding to this terminal type recorded in the performance log is sufficient, so as to ensure the accuracy of analysis based on performance data.

可选的,监控模块可以直接根据记录得到的性能日志分析广告系统的性能,也可以利用消息队列将每一种终端类别的性能日志上传至数据仓库,由数据仓库根据每一种终端类别的性能日志分析广告系统的性能。Optionally, the monitoring module can directly analyze the performance of the advertising system according to the recorded performance logs, and can also use the message queue to upload the performance logs of each terminal type to the data warehouse, and the data warehouse can analyze the performance of each terminal type according to the performance log of each terminal type. The log analyzes the performance of the advertising system.

本申请提供一种广告系统性能的分析方法,实时采集广告系统为网络终端提供广告服务时产生的性能数据;针对每一终端类别,根据该终端类别对应的抽样率,记录该终端类别对应的性能数据中的部分或全部性能数据,得到该终端类别的性能日志;终端类别对应的性能数据,指代为这一终端类别对应的网络终端提供广告服务而产生的性能数据;每一终端类别对应的性能日志,作为分析广告系统的性能的依据。相对于现有的基于同一抽样率记录不同终端类别的性能数据的方案,本方案为每一终端类别均配置了对应的抽样率,从而避免某些终端类别对应的性能数据过多导致的性能分析所需资源较多的问题。The present application provides a method for analyzing the performance of an advertising system. The performance data generated when the advertising system provides advertising services for network terminals is collected in real time; for each terminal type, the performance corresponding to the terminal type is recorded according to the sampling rate corresponding to the terminal type. Part or all of the performance data in the data, the performance log of the terminal type is obtained; the performance data corresponding to the terminal type refers to the performance data generated by providing advertising services for the network terminal corresponding to this terminal type; the performance data corresponding to each terminal type Logs, as the basis for analyzing the performance of the advertising system. Compared with the existing scheme of recording performance data of different terminal categories based on the same sampling rate, this scheme configures a corresponding sampling rate for each terminal category, so as to avoid performance analysis caused by excessive performance data corresponding to some terminal categories. More resources are required.

如前一实施例所述,广告系统所在的服务器上的监控模块记录得到的性能日志,可以上传至数据仓库,由数据仓库基于性能日志分析广告系统的性能。为了进一步理解本申请所提供的方案,下面结合图3介绍本申请实施例提供的一种数据仓库分析广告系统的性能日志的方法:As described in the previous embodiment, the performance log recorded by the monitoring module on the server where the advertising system is located can be uploaded to the data warehouse, and the data warehouse analyzes the performance of the advertising system based on the performance log. In order to further understand the solution provided by the present application, a method for analyzing the performance log of an advertising system provided by a data warehouse provided by an embodiment of the present application is described below with reference to FIG. 3 :

需要说明的是,图2对应的实施例所记录得到的性能日志,可以适用于下述实施例所介绍的分析方法,当然也可以适用于其他的分析方法。It should be noted that, the performance log recorded in the embodiment corresponding to FIG. 2 can be applied to the analysis methods introduced in the following embodiments, and of course can also be applied to other analysis methods.

S301、计算广告系统为每一终端类别对应的网络终端提供广告服务时的平均响应时长。S301. Calculate the average response time when the advertisement system provides advertisement services for network terminals corresponding to each terminal category.

性能日志中记录有广告系统每次提供广告服务时的服务请求响应时长,因此,只需要针对一个需要计算的终端类别,从服务器集群中各个服务器上传的性能日志中提取出运行于该服务器的广告系统最近一段时间内,每次为需要计算的终端类别对应网络终端提供广告服务所需的服务请求响应时长,然后计算平均值,就可以得到广告系统为每一终端类别对应的网络终端提供广告服务时的平均响应时长。The performance log records the service request response time each time the advertising system provides advertising services. Therefore, it is only necessary to extract the advertisements running on the server from the performance logs uploaded by each server in the server cluster for one terminal category that needs to be calculated. In the recent period of time, the service request response time required to provide advertisement services for network terminals corresponding to the terminal category to be calculated each time, and then calculate the average value to obtain the advertisement service provided by the advertising system for network terminals corresponding to each terminal category. average response time.

可以理解的,根据最近一段时间内的服务请求响应时长计算得到的平均响应时长能够反映当前广告系统处理这一终端类别对应的服务请求的能力,平均响应时长越长,处理能力越差。因此,可以设置一个平均响应时长阈值,若计算得到的某一终端类别对应的平均响应时长大于平均响应时长阈值,则数据仓库输出告警信息,使得运维人员能够及时的进行对应的资源调度和配置,以加强服务器集群处理对应终端类别的服务请求的能力。It can be understood that the average response duration calculated according to the service request response duration in the recent period can reflect the capability of the current advertising system to process the service request corresponding to this terminal category. The longer the average response duration, the worse the processing capability. Therefore, an average response time threshold can be set. If the calculated average response time corresponding to a certain terminal category is greater than the average response time threshold, the data warehouse will output alarm information, so that the operation and maintenance personnel can schedule and configure the corresponding resources in a timely manner. , in order to strengthen the ability of the server cluster to process the service request corresponding to the terminal category.

S302、计算广告系统和每一终端类别对应的网络终端之间的网络延迟。S302: Calculate the network delay between the advertisement system and the network terminal corresponding to each terminal category.

具体的,若性能日志中记录有每一次提供广告服务时发送的服务数据的数据量,以及服务数据传输时间。那么,对于产生的性能数据被记录在性能日志中的广告服务,可以将服务数据的数据量除以服务数据传输时间,得到提供这次广告服务时的网络传输速率(即单位时间传输的数据量)。Specifically, if the performance log records the data volume of the service data sent each time the advertisement service is provided, and the service data transmission time. Then, for the advertisement service whose performance data is recorded in the performance log, the data volume of the service data can be divided by the service data transmission time to obtain the network transmission rate when the advertisement service is provided (that is, the amount of data transmitted per unit time). ).

进一步的,对于任一终端类别,通过计算最近一段时间内,性能日志中记录的,每一次为这一终端类别对应的网络终端提供广告服务时的网络传输速率,然后对计算得到的所有网络传输速率求平均,得到的结果就是目前广告系统和这一终端类别对应的网络终端之间的网络延迟。Further, for any terminal type, by calculating the network transmission rate recorded in the performance log in the recent period of time, each time the network terminal corresponding to this terminal type is provided with advertisement services, and then all network transmission rates obtained by calculation are calculated. The rate is averaged, and the result obtained is the network delay between the current advertising system and the network terminal corresponding to this terminal category.

一般的,电信运营商为不同的网络终端提供不同的通信方式,例如,为电脑网页和程序提供的有线网络,为智能手机提供的移动蜂窝网络等。通过计算广告系统对每一终端类别对应的网络终端之间的网络延迟,可以及时发现当前数据传输速率较低的网络,进行对应的处理。Generally, telecommunication operators provide different communication methods for different network terminals, for example, a wired network for computer web pages and programs, a mobile cellular network for smart phones, and so on. By calculating the network delay between the network terminals corresponding to each terminal type by the advertising system, the network with the current low data transmission rate can be found in time, and corresponding processing can be performed.

S303、判断广告系统和每一终端类别对应的网络终端之间是否存在网络故障。S303. Determine whether there is a network fault between the advertisement system and the network terminal corresponding to each terminal type.

具体的,针对任一终端类别,可以统计性能日志中记录的,最近一段时间内为这一终端类别对应的网络终端提供广告服务时的服务数据接收成功率。Specifically, for any terminal type, statistics can be performed on the success rate of receiving service data recorded in the performance log when advertising services are provided for the network terminal corresponding to this terminal type in a recent period of time.

以手机视频软件为例,若最近一段时间内为若干个手机视频软件提供的多次广告服务中,频繁出现服务数据接收成功率较低的广告服务,那么就可以确定出连接广告系统和手机视频软件之间的网络出现了故障,进而输出故障告警信息。Taking mobile phone video software as an example, if advertisement services with a low success rate of receiving service data frequently appear in the multiple advertisement services provided for several mobile video software in the recent period, then it can be determined that the connection between the advertising system and the mobile phone video is determined. The network between the software is faulty, and then the fault alarm information is output.

在具体的实施方式中,可以将服务数据接收成功率低于预设的成功率阈值的广告服务标记为失败服务,若一定时间段内为某一终端类别对应的网络终端提供的广告服务中,失败服务所占的比例大于预设的故障阈值,则认为广告系统和这一终端类别之间的网络出现故障。In a specific implementation, an advertisement service whose service data reception success rate is lower than a preset success rate threshold may be marked as a failed service. If the advertisement service provided for a network terminal corresponding to a certain terminal category within a certain period of time, If the proportion of failed services is greater than the preset failure threshold, the network between the advertising system and this terminal category is considered to be in failure.

需要说明的是,上述的三个步骤的执行顺序可以进行任意变更,均不影响本实施例的实现,并且,在本申请的其他分析广告系统的性能日志的实施例中,还可以执行其他步骤以计算得到更多的能够反映广告系统性能的指标,而并不限于上述三种指标。另外,根据实际情况,也可以只计算本实施例中提及的任意一种或任意两种指标。It should be noted that the execution order of the above three steps can be arbitrarily changed without affecting the implementation of this embodiment, and in other embodiments of the present application for analyzing the performance log of the advertising system, other steps may also be executed More indicators that can reflect the performance of the advertising system can be obtained by calculation, and are not limited to the above three indicators. In addition, according to the actual situation, only any one or any two indexes mentioned in this embodiment may be calculated.

进一步的,在本申请的其他实施例中,还可以进行以下方面的分析:Further, in other embodiments of the present application, the following analysis can also be performed:

第一方面,根据性能日志中记录的性能数据的数据量,以及当前各个终端类别对应的抽样率,计算最近一段时间内广告系统提供的广告服务的次数,进而确定出广告系统的繁忙程度。First, according to the data volume of the performance data recorded in the performance log and the current sampling rate corresponding to each terminal category, the number of advertisement services provided by the advertisement system in the recent period is calculated, and then the busyness of the advertisement system is determined.

第二方面,针对性能日志中记录的广告发布服务对应的性能数据和各个终端类别的抽样率,可以统计最近一段时间内提供的广告发布服务的次数,并进一步根据广告发布服务所产生的性能数据中记录的服务数据接收成功率,判断每一次广告发布服务所提供的广告是否被网络终端成功显示,从而计算出一定时间段内,广告系统发布的广告被网络终端成功显示的比例,也就是非空广告占比。In the second aspect, for the performance data corresponding to the advertisement distribution service recorded in the performance log and the sampling rate of each terminal category, the number of advertisement distribution services provided in a recent period of time can be counted, and further based on the performance data generated by the advertisement distribution service. The success rate of receiving service data recorded in , judge whether the advertisement provided by each advertisement publishing service is successfully displayed by the network terminal, so as to calculate the proportion of the advertisement issued by the advertising system that is successfully displayed by the network terminal within a certain period of time, that is, the non- The percentage of empty ads.

综上所述,本实施例能够根据采集到的性能日志,计算出多种反映广告系统当前的数据处理能力以及网络情况的性能指标,从而提供一种实时的广告系统性能分析方法。To sum up, this embodiment can calculate a variety of performance indicators reflecting the current data processing capability and network conditions of the advertising system according to the collected performance logs, thereby providing a real-time advertising system performance analysis method.

本申请另一实施例提供一种广告系统性能的分析装置,请参考图4,该装置包括:Another embodiment of the present application provides an apparatus for analyzing the performance of an advertising system, please refer to FIG. 4 , the apparatus includes:

采集单元401,用于实时采集广告系统为网络终端提供广告服务时产生的性能数据。The collection unit 401 is configured to collect the performance data generated when the advertisement system provides advertisement services for the network terminal in real time.

其中,网络终端是通过网络连接至广告系统的任一网络终端。The network terminal is any network terminal connected to the advertising system through the network.

记录单元402,用于针对每一终端类别,根据预设的终端类别对应的抽样率,记录采集得到的终端类别对应的性能数据中的部分或全部性能数据,得到终端类别的性能日志。The recording unit 402 is configured to, for each terminal type, record part or all of the performance data corresponding to the collected terminal type according to the preset sampling rate corresponding to the terminal type, and obtain a performance log of the terminal type.

其中,终端类别对应的性能数据,指代为终端类别对应的网络终端提供广告服务而产生的性能数据;每一种终端类别对应的性能日志,用于作为分析广告系统的性能的依据。The performance data corresponding to the terminal category refers to performance data generated by providing advertising services for network terminals corresponding to the terminal category; the performance log corresponding to each terminal category is used as a basis for analyzing the performance of the advertising system.

可选的,本实施例提供的分析装置还包括:Optionally, the analysis device provided in this embodiment further includes:

更新单元403,用于针对每一终端类别,根据一定时间段内终端类别对应的网络终端请求广告服务的频率,以及预设的抽样率调整规则,更新终端类别对应的抽样率。The updating unit 403 is configured to, for each terminal type, update the sampling rate corresponding to the terminal type according to the frequency of requesting advertisement services by the network terminal corresponding to the terminal type within a certain period of time and the preset sampling rate adjustment rule.

可选的,本实施例提供的分析装置还包括:Optionally, the analysis device provided in this embodiment further includes:

上传单元404,用于利用消息队列将每一种终端类别的性能日志上传至数据仓库,使数据仓库根据每一种终端类别的性能日志分析广告系统的性能。The uploading unit 404 is configured to upload the performance log of each terminal type to the data warehouse by using the message queue, so that the data warehouse can analyze the performance of the advertising system according to the performance log of each terminal type.

本申请提供一种广告系统性能的分析装置,采集单元401实时采集广告系统为网络终端提供广告服务时产生的性能数据;记录单元402针对每一终端类别,根据该终端类别对应的抽样率,记录该终端类别对应的性能数据中的部分或全部性能数据,得到该终端类别的性能日志;终端类别对应的性能数据,指代为这一终端类别对应的网络终端提供广告服务而产生的性能数据;每一终端类别对应的性能日志,作为分析广告系统的性能的依据。相对于现有的基于同一抽样率记录不同终端类别的性能数据的方案,本方案为每一终端类别均配置了对应的抽样率,从而避免某些终端类别对应的性能数据过多导致的性能分析所需资源较多的问题。The present application provides an analysis device for the performance of an advertising system. The collection unit 401 collects performance data generated when the advertising system provides advertising services for network terminals in real time; the recording unit 402 records, for each terminal type, according to the sampling rate corresponding to the terminal For some or all of the performance data corresponding to the terminal category, the performance log of the terminal category is obtained; the performance data corresponding to the terminal category refers to the performance data generated by providing advertising services for the network terminal corresponding to the terminal category; each A performance log corresponding to a terminal category is used as a basis for analyzing the performance of the advertising system. Compared with the existing scheme of recording performance data of different terminal categories based on the same sampling rate, this scheme configures a corresponding sampling rate for each terminal category, so as to avoid performance analysis caused by excessive performance data corresponding to some terminal categories. More resources are required.

本申请实施例还提供一种计算机存储介质,用于存储程序,所述程序被执行时,用于实现如本申请任一实施例所提供的广告系统的性能分析方法。An embodiment of the present application further provides a computer storage medium for storing a program, and when the program is executed, it is used to implement the performance analysis method of the advertising system provided by any embodiment of the present application.

专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。A skilled person can implement or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for analyzing performance of an advertising system, comprising:
acquiring performance data generated when an advertisement system provides advertisement service for a network terminal in real time; wherein the network terminal is any network terminal connected to the advertisement system through a network; the performance data includes: any one or combination of service request response time, service data transmission time and service data reception success rate;
according to each terminal type, recording part or all of the acquired performance data corresponding to the terminal type according to a preset sampling rate corresponding to the terminal type to obtain a performance log corresponding to the terminal type; wherein, the performance data corresponding to the terminal category refers to performance data generated by providing advertisement service for the network terminal corresponding to the terminal category; a performance log corresponding to each terminal type, which is used as a basis for analyzing the performance of the advertisement system; the terminal categories include: various types of software and web pages for receiving advertisements.
2. The analytical method of claim 1, further comprising:
and aiming at each terminal type, updating the sampling rate corresponding to the terminal type according to the frequency of the network terminal corresponding to the terminal type requesting the advertisement service in a certain time period and a preset sampling rate adjustment rule.
3. The analysis method according to claim 1, wherein the step of recording, for each terminal class, some or all of the collected performance data corresponding to the terminal class according to a preset sampling rate of the terminal class, and after obtaining the performance log of the terminal class, further comprises:
and uploading the performance logs of each terminal type to a data warehouse by using a message queue, so that the data warehouse analyzes the performance of the advertisement system according to the performance logs of each terminal type.
4. The method of claim 1, wherein the process of analyzing the performance of the advertisement system based on the performance log of each terminal category comprises:
aiming at each terminal type, calculating the average response time of the advertisement system for providing the advertisement service for the network terminal corresponding to the terminal type according to the service request response time of each time of providing the advertisement service recorded in the performance log corresponding to the terminal type;
or,
aiming at each terminal type, determining the network delay between the advertisement system and the network terminal corresponding to the terminal type according to the service data transmission time recorded in the performance log corresponding to the terminal type when the advertisement service is provided each time;
or,
and aiming at each terminal type, judging whether a network fault exists between the advertisement system and the network terminal corresponding to the terminal type according to the service data receiving success rate recorded in the performance log corresponding to the terminal type when the advertisement service is provided each time.
5. An apparatus for analyzing performance of an advertisement system, comprising:
the system comprises a collecting unit, a processing unit and a processing unit, wherein the collecting unit is used for collecting performance data generated when an advertisement system provides advertisement service for a network terminal in real time; wherein the network terminal is any network terminal connected to the advertising system through a network; the performance data includes: any one or combination of service request response time, service data transmission time and service data reception success rate;
the terminal comprises a recording unit, a processing unit and a processing unit, wherein the recording unit is used for recording partial or all performance data in the acquired performance data corresponding to the terminal category according to a preset sampling rate corresponding to the terminal category aiming at each terminal category to obtain a performance log corresponding to the terminal category; wherein, the performance data corresponding to the terminal category refers to performance data generated by providing advertisement service for the network terminal corresponding to the terminal category; a performance log corresponding to each terminal type, which is used as a basis for analyzing the performance of the advertisement system; the terminal categories include: various types of software and web pages for receiving advertisements.
6. The analysis device of claim 5, further comprising:
and the updating unit is used for updating the sampling rate corresponding to each terminal type according to the frequency of the network terminal corresponding to the terminal type requesting the advertisement service in a certain time period and a preset sampling rate adjusting rule.
7. The analysis device of claim 5, further comprising:
and the uploading unit is used for uploading the performance logs of each terminal type to a data warehouse by using the message queue, so that the data warehouse analyzes the performance of the advertisement system according to the performance logs of each terminal type.
8. A computer storage medium storing a program which, when executed, implements an advertising system performance analysis method according to any one of claims 1 to 4.
CN201911222307.5A 2019-12-03 2019-12-03 Method and device for analyzing performance of advertisement system and computer storage medium Active CN110995839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911222307.5A CN110995839B (en) 2019-12-03 2019-12-03 Method and device for analyzing performance of advertisement system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911222307.5A CN110995839B (en) 2019-12-03 2019-12-03 Method and device for analyzing performance of advertisement system and computer storage medium

Publications (2)

Publication Number Publication Date
CN110995839A CN110995839A (en) 2020-04-10
CN110995839B true CN110995839B (en) 2022-09-20

Family

ID=70089629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911222307.5A Active CN110995839B (en) 2019-12-03 2019-12-03 Method and device for analyzing performance of advertisement system and computer storage medium

Country Status (1)

Country Link
CN (1) CN110995839B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937984A (en) * 2012-10-22 2013-02-20 北京奇虎科技有限公司 A system, client and method for collecting data
CN106888133A (en) * 2015-12-15 2017-06-23 中国电信股份有限公司 Using speed-measuring method and device
CN107135128A (en) * 2017-06-28 2017-09-05 努比亚技术有限公司 Call chain collecting method, mobile terminal and computer-readable recording medium
CN107678932A (en) * 2017-09-29 2018-02-09 浪潮软件集团有限公司 An application performance analysis method and device
CN207369077U (en) * 2017-11-17 2018-05-15 南京感度信息技术有限责任公司 Website user's behavioral data acquisition system based on big data
CN108337127A (en) * 2017-12-21 2018-07-27 中国平安人寿保险股份有限公司 application performance monitoring method, system, terminal and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9734037B1 (en) * 2009-09-15 2017-08-15 Symantec Corporation Mobile application sampling for performance and network behavior profiling
CN102118706A (en) * 2010-12-14 2011-07-06 北京星源无限传媒科技有限公司 Mobile phone advertising method based on subdivision of mobile phone advertisement users
CN106549813A (en) * 2015-09-16 2017-03-29 中兴通讯股份有限公司 A kind of appraisal procedure and system of network performance
US9798647B2 (en) * 2015-10-30 2017-10-24 Ca, Inc. Display window contextual visualization for application performance monitoring

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937984A (en) * 2012-10-22 2013-02-20 北京奇虎科技有限公司 A system, client and method for collecting data
CN106888133A (en) * 2015-12-15 2017-06-23 中国电信股份有限公司 Using speed-measuring method and device
CN107135128A (en) * 2017-06-28 2017-09-05 努比亚技术有限公司 Call chain collecting method, mobile terminal and computer-readable recording medium
CN107678932A (en) * 2017-09-29 2018-02-09 浪潮软件集团有限公司 An application performance analysis method and device
CN207369077U (en) * 2017-11-17 2018-05-15 南京感度信息技术有限责任公司 Website user's behavioral data acquisition system based on big data
CN108337127A (en) * 2017-12-21 2018-07-27 中国平安人寿保险股份有限公司 application performance monitoring method, system, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110995839A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US12368787B2 (en) Methods and apparatus to share online media impressions data
US7551922B2 (en) Rule based data collection and management in a wireless communications network
US20110106942A1 (en) Data collection associated with components and services of a wireless communication network
CN111740860B (en) Log data transmission link monitoring method and device
CN111404713A (en) A network resource adjustment method, device and storage medium
CN103414693B (en) Get method and device for dotting ready
CN103678372A (en) Method and equipment for obtaining application performance of page
CN111162932A (en) API gateway monitoring method based on log analysis
CN110727563B (en) Cloud service alarm method and device for preset customers
CN114222153B (en) Online user quantity counting method and device, electronic equipment and storage medium
CN106101264A (en) Content distributing network daily record method for pushing, device and system
CN106341373A (en) Method and apparatus for detecting and preventing malicious clicks on advertisement links
WO2023041051A1 (en) User perception evaluation method and device, storage medium, and electronic device
CN115086147B (en) Service data monitoring and early warning method and device, medium and electronic equipment
CN111314124A (en) Network problem analysis method, device, equipment and storage medium for high-speed rail network
CN110995839B (en) Method and device for analyzing performance of advertisement system and computer storage medium
CN114626876A (en) Training method, system and related device for abnormal flow detection model
CN113747506B (en) Resource scheduling method, device and network system
CN115883607A (en) Method and device for acquiring module information, computer equipment and storage medium
CN114742235A (en) Federated learning method, data analysis model training method and device, storage medium
CN110852537A (en) Service quality detection method and device
CN111352992B (en) Data consistency detection method, device and server
WO2025017614A1 (en) Method and system for performing delta-analysis by a simple network management protocol (snmp) parser
CN118945227A (en) Unmanned vehicle log collection method, device and electronic equipment
CN116185648A (en) Synchronous execution control method, device and equipment for multi-channel advertisement front-end tasks

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