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
advertisement
service
terminal type
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; CALCULATING OR 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

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

Method and device for analyzing performance of advertising system and computer storage medium
Technical Field
The present invention relates to the field of system analysis technologies, and in particular, to a method and an apparatus for analyzing performance of an advertisement system, and a computer storage medium.
Background
An advertisement system is a type of system for providing advertisement services to network terminals of a plurality of different terminal classes. In order to maintain the advertisement system better, performance analysis of the advertisement system is often required. The existing performance analysis method is to record performance data generated in the process that an advertisement system provides advertisement service for network terminals of each terminal type based on a preset sampling rate to obtain a performance log of the advertisement system, and then to analyze the performance of the advertisement system based on the performance log.
The problem of this method is that the frequency of providing advertisement services by the advertisement system to network terminals of different terminal classes is often very different, and recording the performance data corresponding to each terminal class at a single sampling rate will result in a large amount of performance data corresponding to the terminal class that needs to provide advertisement services frequently being recorded in the performance log, resulting in more resources being required for subsequent performance analysis of the system based on the performance log.
Disclosure of Invention
Based on the above shortcomings in the prior art, the present application provides an advertisement system performance analysis method, an advertisement system performance analysis device, and a computer storage medium, so as to solve the problem that the existing advertisement system performance analysis method requires more resources.
A first aspect of the present application provides an advertisement system performance analysis method, including:
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;
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; and the performance log corresponding to each terminal type is used as a basis for analyzing the performance of the advertisement system.
Optionally, the method further includes:
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.
Optionally, the recording, for each terminal category, part or all of the acquired performance data corresponding to the terminal category according to a preset sampling rate of the terminal category, and after obtaining the performance log of the terminal category, further includes:
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.
Optionally, the performance data generated when the advertisement system provides the advertisement service for the network terminal includes:
any one or a combination of a service request response time, a service data transmission time, and a service data reception success rate.
Optionally, the process of analyzing the performance of the advertisement system according to the performance log of each terminal category includes:
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 recorded in the performance log corresponding to the terminal type when the advertisement service is provided each time;
alternatively, the first and second electrodes may be,
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;
alternatively, the first and second electrodes may be,
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.
A second aspect of the present application provides an apparatus for analyzing performance of an advertisement system, including:
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 advertisement system through a network;
the terminal comprises a recording unit and a processing unit, wherein the recording unit is used for recording partial or all performance data in the performance data corresponding to the acquired 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; the performance data corresponding to the terminal category refers to performance data generated by providing an 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.
Optionally, the method further includes:
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.
Optionally, the method further includes:
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.
Optionally, the performance data generated when the advertisement system provides the advertisement service for the network terminal includes:
any one or a combination of a service request response time, a service data transmission time, and a service data reception success rate.
A third aspect of the present application provides a computer storage medium storing a program which, when executed, implements an advertising system performance analysis method as provided in any one of the first aspects of the present application.
The application provides an analysis method, a device and a computer storage medium for the performance of an advertisement system, 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.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture to which the method for analyzing performance of an advertisement system according to the embodiment of the present application is applied;
FIG. 2 is a flow chart of a method for analyzing performance of an advertisement system according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of a method for analyzing performance of an advertisement system according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an analysis apparatus for providing advertisement system performance according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for analyzing performance of an advertisement system provided by the present application can be applied to various network architectures for providing advertisement services, and as shown in fig. 1, the method for analyzing performance of an advertisement system provided by the present application is applicable to a network architecture.
Referring to fig. 1, a server cluster 200 is provided with a plurality of servers, each server runs on an advertisement system for providing advertisement services, each server in the server cluster is connected with a plurality of network terminals of different terminal types through a network, and fig. 1 shows several common network terminals corresponding to terminal types, including a computer web page terminal 301 running on a PC (personal computer, including desktop computer and notebook computer), a computer client program 302, a mobile web page terminal 303 running on a mobile intelligent device (including a smart phone and a tablet computer), a mobile video software 304, a mobile news software 305, and the like. Of course, the advertisement system may also provide advertisement services for other terminal classes of network terminals, not to be enumerated here.
The advertisement system may be used to provide a variety of advertisement services including an advertisement distribution service. Specifically, when the advertisement publishing service is provided, the network terminal may provide an advertisement publishing request to an advertisement system of any server, and then the advertisement system may find out the advertisement content satisfying the advertisement publishing request of the network terminal, send the found advertisement content to the network terminal as the service data of this time, and the network terminal receives and displays the advertisement content, thereby successfully completing one advertisement publishing service.
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 may also be implemented by one or more servers. The data warehouse is used for storing performance logs uploaded by all servers in the server cluster, recording performance data generated by the advertisement systems of all the servers during operation in the performance logs, and performing performance analysis on the advertisement systems operated on all the servers according to the performance logs uploaded by the servers.
Based on the network architecture shown in fig. 1, a first embodiment of the present application provides a method for analyzing performance of an advertisement system.
It should be noted that, in the network architecture shown in fig. 1, each server of a general server cluster is provided with a monitoring module, and the monitoring module is configured to record performance data generated by an advertisement system of the server, so as to obtain a performance log of the advertisement system operated by the server.
The method for analyzing the performance of the advertising system has the key point that corresponding sampling rates are configured for different terminal types, so that the monitoring module can selectively record performance data corresponding to different terminal types according to the sampling rates of the different terminal types, the data volume recorded in the performance log in a unit time period is reduced, and resources required in performance analysis based on the performance log are reduced. Therefore, the present embodiment mainly uses the monitoring module as an execution subject, and introduces a process in which the monitoring module records performance data of the advertisement system to obtain a performance log.
Referring to fig. 2, the method provided in this embodiment includes the following steps:
s201, collecting performance data generated when the advertisement system provides advertisement service for the network terminal in real time.
For any one advertisement service provided by the advertisement system, data which is acquired in the period from the time when a request of the network terminal for the advertisement service is received to the time when the feedback of the network terminal for the advertisement service is received can reflect the data processing capacity of the advertisement system and the communication condition between the server to which the advertisement system belongs and the network terminal, and can be considered as performance data generated when the advertisement system provides the advertisement service.
In particular, performance data includes, but is not limited to: any one or a combination of a service request response time, a service data transmission time, and a service data reception success rate.
The service request response time indicates a time for determining service data satisfying a service request after the advertisement system receives the service request of any network terminal. The advertisement system determines the service data that satisfies a service request by first parsing the service request to determine which service data needs to be provided, and then looking up the data that satisfies the service request from the database. Therefore, the service request response time required by the advertisement system to provide the advertisement service can reflect the data processing capacity of the advertisement system when the advertisement system provides the advertisement service.
The service data transmission time is a time required for the advertisement system to transmit all the service data from the advertisement system to the network terminal after the advertisement system determines the service data satisfying the service request. Specifically, the advertisement system may record a time when the service data transmission is started and a time when the service data reception is completed fed back by the network terminal, and may calculate the service data transmission time according to the two times.
Optionally, when the advertisement system reports the service data transmission time, the service data transmission time may be calculated and reported according to the difference of the designed data reporting points, or the service data transmission time may be directly reported at the above two moments, and the service data transmission time is calculated when the service data transmission time needs to be analyzed subsequently.
The service data receiving success rate refers to the proportion of the service data correctly received by the network terminal in the service data sent by the advertisement system, and the received service data can be verified and fed back to the advertisement system by using a data verification technology after the service data is received by the network terminal.
It can be understood that both the service data transmission time and the service data receiving success rate can reflect the network condition between the server and the network terminal where the advertisement system is located in the process of providing an advertisement service.
Developers can preset data reporting points in the advertising system, so that the performance data can be collected. The advertisement system corresponds to a set of computer programs running on a server, which starts to run each time a service request is received, thereby providing an advertisement service to a network terminal and receiving feedback. When the system runs to a data reporting point set by a developer, the advertising system sends performance data which is specified by the data reporting point and needs to be reported to the monitoring module, and therefore one-time performance data reporting is completed.
S202, aiming at 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, and acquiring a performance log corresponding to the terminal type.
The performance data corresponding to the terminal category refers to performance data generated by providing an 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.
The specific implementation of step S202 is described below with reference to specific examples:
assuming that the sampling rate corresponding to the terminal category of the mobile phone video software is 25%, on the basis of receiving performance data generated by the advertisement system for providing the advertisement service for the mobile phone video software each time in real time, the monitoring module records the performance data generated by the advertisement system for providing the advertisement service for one mobile phone video software for one time in a performance log, the performance data generated by the subsequent advertisement system for providing the mobile phone video software for three times of advertisement services is abandoned by the monitoring module, the performance data generated by the mobile phone video software for the fourth time is recorded in the performance log, and the performance data generated by the mobile phone video software for the fifth time to the seventh time is abandoned, and so on.
That is to say, for a sampling rate of 25% corresponding to the mobile phone video software, each time the advertisement system provides four advertisement services for the mobile phone video software, the monitoring module records performance data corresponding to one of the advertisement services, and finally, the proportion of the performance data recorded in the performance log of the mobile phone video software in the performance data corresponding to the mobile phone video software reported by the advertisement system is 25%.
Correspondingly, if the sampling rate corresponding to the terminal type of the mobile phone news software is 50%, the monitoring module records performance data corresponding to one advertisement service every time the advertisement system provides two advertisement services for the mobile phone news software.
Optionally, the developer may pre-configure an initial sampling rate for each terminal class when designing the monitoring module. During the operation of the monitoring module, the sampling rate of each terminal type can be automatically adjusted according to a certain adjustment period.
Specifically, each time a preset adjustment period passes, the monitoring module may count the number of times that the advertisement system provides the advertisement service for the network terminal corresponding to each terminal category in the latest adjustment period, and then calculate, for each terminal category, the product of the number of times that the advertisement system provides the advertisement service for the network terminal corresponding to the terminal category in the latest adjustment period and the current sampling rate corresponding to the terminal category.
For any terminal type, if the calculated product of the terminal type is smaller than the preset lower limit value, the sampling rate corresponding to the terminal type is increased, and the calculation is executed again until the calculation result is larger than the preset lower limit value.
Correspondingly, if the calculated product of a certain terminal type is larger than the preset upper limit value, the sampling rate corresponding to the terminal type is reduced until the calculation result corresponding to the terminal type is smaller than the preset upper limit value.
The frequency with which a network terminal corresponding to a terminal class requests an advertisement service for a certain period of time may be referred to as traffic of the terminal class. In a certain time period, a large amount of mobile phone video software requests an advertisement service, which is equivalent to that the flow of the mobile phone video software in the time period is large, and correspondingly, if only a small amount of mobile phone news software requests the advertisement service in a certain time period, which is equivalent to that the flow of the mobile phone news software in the time period is small.
By the dynamic adjustment method, when the performance data is recorded, the sampling rate can be timely reduced for the terminal type with larger flow, so that the increase of the performance data corresponding to the terminal type recorded in the performance log caused by the increase of the flow is avoided, and resources required by a performance analysis link are increased. For the terminal type with smaller flow, the sampling rate can be increased in time, and the performance data corresponding to the terminal type recorded in the performance log is ensured to be enough, so that the accuracy in analysis based on the performance data is ensured.
Optionally, the monitoring module may directly analyze the performance of the advertisement system according to the recorded performance log, or may upload the performance log of each terminal type to the data warehouse by using the message queue, and the data warehouse analyzes the performance of the advertisement system according to the performance log of each terminal type.
The application provides an analysis method of advertisement system performance, which collects performance data generated when an 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.
As described in the previous embodiment, the performance log obtained by the monitoring module on the server where the advertisement system is located may be uploaded to the data warehouse, and the data warehouse analyzes the performance of the advertisement system based on the performance log. In order to further understand the solution provided by the present application, a method for analyzing a performance log of an advertisement system by a data warehouse according to an embodiment of the present application is described below with reference to fig. 3:
it should be noted that the performance log recorded in the embodiment corresponding to fig. 2 may be applied to the analysis method described in the following embodiment, and may be applied to other analysis methods.
S301, calculating the average response time length when the advertisement system provides the advertisement service for the network terminal corresponding to each terminal type.
The service request response time length of the advertisement system providing the advertisement service each time is recorded in the performance log, so that the average response time length of the advertisement system providing the advertisement service for the network terminal corresponding to each terminal type can be obtained only by extracting the service request response time length required by the advertisement system operating in the server in the latest period of time from the performance log uploaded by each server in the server cluster aiming at one terminal type needing to be calculated and then calculating the average value.
It can be understood that the average response duration calculated according to the service request response duration in the recent period of time can reflect the capability of the current advertisement system to process the service request corresponding to the terminal category, and the longer the average response duration is, the worse the processing capability is. Therefore, an average response time threshold can be set, and if the calculated average response time corresponding to a certain terminal type is greater than the average response time threshold, the data warehouse outputs alarm information, so that operation and maintenance personnel can perform corresponding resource scheduling and configuration in time to enhance the capability of the server cluster for processing the service request corresponding to the terminal type.
S302, calculating the network delay between the advertisement system and the network terminal corresponding to each terminal type.
Specifically, if the data amount of the service data transmitted each time the advertisement service is provided and the service data transmission time are recorded in the performance log, the service data transmission time is recorded. Then, for the advertisement service in which the generated performance data is recorded in the performance log, the data amount of the service data may be divided by the service data transmission time to obtain the network transmission rate (i.e., the data amount transmitted per unit time) at the time of providing the advertisement service.
Further, for any terminal category, the network transmission rate recorded in the performance log in the recent period of time each time when the network terminal corresponding to the terminal category is provided with the advertisement service is calculated, and then all the calculated network transmission rates are averaged, so that the obtained result is the network delay between the current advertisement system and the network terminal corresponding to the terminal category.
Generally, a telecommunications carrier provides different communication modes for different network terminals, such as a wired network provided for a computer web page and a program, a mobile cellular network provided for a smart phone, and the like. By calculating the network delay between the network terminals corresponding to each terminal type by the advertisement system, the network with lower current data transmission rate can be found in time for corresponding processing.
S303, judging whether a network fault exists between the advertisement system and the network terminal corresponding to each terminal type.
Specifically, for any terminal category, the service data reception success rate recorded in the performance log when the network terminal corresponding to the terminal category is provided with the advertisement service in the latest period of time may be counted.
Taking mobile phone video software as an example, if advertisement services with low service data receiving success rate frequently occur in multiple advertisement services provided for a plurality of mobile phone video software within a recent period of time, it can be determined that a fault occurs in a network connecting an advertisement system and the mobile phone video software, and fault warning information is output.
In a specific implementation manner, an advertisement service with a service data receiving success rate lower than a preset success rate threshold may be marked as a failed service, and if a ratio of the failed service in the advertisement services provided for the network terminal corresponding to a certain terminal category within a certain time period is greater than a preset failure threshold, it is determined that a network between the advertisement system and the terminal category has a failure.
It should be noted that the execution sequence of the three steps may be changed arbitrarily without affecting the implementation of the embodiment, and in other embodiments of analyzing the performance log of the advertisement system in the present application, other steps may also be executed to calculate more indexes capable of reflecting the performance of the advertisement system, and the three indexes are not limited to the above three indexes. In addition, according to actual conditions, only any one or two indexes mentioned in the present embodiment may be calculated.
Further, in other embodiments of the present application, the following analysis may also be performed:
on the first hand, according to the data volume of the performance data recorded in the performance log and the sampling rate corresponding to each current terminal type, the number of times of the advertisement service provided by the advertisement system in the recent period is calculated, and further the busy degree of the advertisement system is determined.
In a second aspect, for the performance data corresponding to the advertisement publishing service recorded in the performance log and the sampling rate of each terminal category, the number of times of the advertisement publishing service provided in a recent period of time may be counted, and further, according to the service data receiving success rate recorded in the performance data generated by the advertisement publishing service, it is determined whether the advertisement provided by the advertisement publishing service is successfully displayed by the network terminal each time, so as to calculate the proportion of the advertisement published by the advertisement system successfully displayed by the network terminal in a certain period of time, that is, the proportion of non-empty advertisements.
In summary, the present embodiment can calculate various performance indexes reflecting the current data processing capability and the network condition of the advertisement system according to the collected performance logs, thereby providing a real-time advertisement system performance analysis method.
Another embodiment of the present application provides an apparatus for analyzing performance of an advertisement system, please refer to fig. 4, the apparatus includes:
the collecting unit 401 is configured to collect, in real time, performance data generated when the advertisement system provides an advertisement service for the network terminal.
The network terminal is any network terminal connected to the advertisement system through a network.
A recording unit 402, configured to record, for each terminal category, according to a preset sampling rate corresponding to the terminal category, part or all of the acquired performance data corresponding to the terminal category, so as to obtain a performance log of the terminal category.
Wherein, 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.
Optionally, the analysis apparatus provided in this embodiment further includes:
an updating unit 403, configured to update, for each terminal category, a sampling rate corresponding to the terminal category according to a frequency of requesting an advertisement service by a network terminal corresponding to the terminal category within a certain time period and a preset sampling rate adjustment rule.
Optionally, the analysis apparatus provided in this embodiment further includes:
an uploading unit 404, configured to upload the performance log of each terminal category to a data warehouse using a message queue, so that the data warehouse analyzes the performance of the advertisement system according to the performance log of each terminal category.
The application provides an analysis device for the performance of an advertisement system, wherein a collecting unit 401 collects performance data generated when the advertisement system provides advertisement service for a network terminal in real time; the recording unit 402 records, for each terminal type, part or all of the 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.
Embodiments of the present application further provide a computer storage medium for storing a program, where the program is used to implement the performance analysis method of the advertisement system provided in any embodiment of the present application when executed.
Those skilled in the art can make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present 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;
alternatively, the first and second electrodes may be,
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;
alternatively, the first and second electrodes may be,
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 北京奇虎科技有限公司 System, client terminal 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 浪潮软件集团有限公司 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 北京奇虎科技有限公司 System, client terminal 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 浪潮软件集团有限公司 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
US11356521B2 (en) Methods and apparatus to share online media impressions data
CN107040863B (en) Real-time service recommendation method and system
CN107370806B (en) HTTP status code monitoring method, device, storage medium and electronic equipment
CN111124819B (en) Method and device for full link monitoring
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN111740860A (en) Log data transmission link monitoring method and device
CN110688277A (en) Data monitoring method and device for micro-service framework
CN110858192A (en) Log query method and system, log checking system and query terminal
CN104301161A (en) Computing method, computing device and communication system for business quality index
CN107306200B (en) Network fault early warning method and gateway for network fault early warning
CN110620699A (en) Message arrival rate determination method, device, equipment and computer readable storage medium
CN113645287B (en) Automobile message storage method and device and automobile message storage system
CN111158926A (en) Service request analysis method, device and equipment
CN110995839B (en) Method and device for analyzing performance of advertisement system and computer storage medium
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN110647448A (en) Mobile application operation log data real-time analysis method, server and system
CN114598622B (en) Data monitoring method and device, storage medium and computer equipment
CN110569424A (en) Information recommendation method and device
CN114048059A (en) Method and device for adjusting timeout time of interface, computer equipment and storage medium
CN113761433A (en) Service processing method and device
CN112131198A (en) Log analysis method and device and electronic equipment
CN112367634B (en) Message sending method and device
CN113791801A (en) Application program updating method and device, storage medium and electronic device
CN115460062A (en) Data monitoring method and device and electronic equipment
CN116842063A (en) Data processing method and device

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