CN110752962A - Monitoring method and device of advertisement interface - Google Patents

Monitoring method and device of advertisement interface Download PDF

Info

Publication number
CN110752962A
CN110752962A CN201810811942.6A CN201810811942A CN110752962A CN 110752962 A CN110752962 A CN 110752962A CN 201810811942 A CN201810811942 A CN 201810811942A CN 110752962 A CN110752962 A CN 110752962A
Authority
CN
China
Prior art keywords
advertisement
interface
record
request
log data
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.)
Pending
Application number
CN201810811942.6A
Other languages
Chinese (zh)
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810811942.6A priority Critical patent/CN110752962A/en
Publication of CN110752962A publication Critical patent/CN110752962A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • 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

Landscapes

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

Abstract

The invention discloses a monitoring method and a monitoring device for an advertisement interface. The method comprises the following steps: acquiring log data of an advertisement interface; extracting a relevant record of the advertisement request from the log data; and judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request. The technical scheme considers the particularity of the advertisement service, not only utilizes the fact that the advertisement is not returned to judge, but also obtains log data, further extracts the relevant records of the advertisement request to judge, combines the log with the request, and improves the accuracy of interface monitoring.

Description

Monitoring method and device of advertisement interface
Technical Field
The invention relates to the technical field of monitoring, in particular to a monitoring method and a monitoring device for an advertisement interface.
Background
The interface monitoring belongs to the stability management of the service function, but if the idea of 'right shift' in the testing link is considered, the interface monitoring can also be used as a part of the test. In general, an exception may exist as long as the interface does not normally return data upon request.
But the specificity of the advertising service needs to be considered. For example, an ad request that does not return an ad does not represent an ad interface exception, may not identify the user, may have consumed the ad, or may be actively dropped for other reasons. How to monitor the advertisement interface more accurately is a problem to be solved.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method and apparatus for monitoring an advertisement interface that overcomes or at least partially solves the above-mentioned problems.
According to an aspect of the present invention, there is provided a method for monitoring an advertisement interface, including:
acquiring log data of an advertisement interface;
extracting a relevant record of the advertisement request from the log data;
and judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request.
Optionally, the obtaining log data of the advertisement interface includes:
and acquiring log data of the advertisement interface from a service server corresponding to the advertisement interface, and/or acquiring the log data of the advertisement interface from a log server.
Optionally, the relevant record of the advertisement request includes: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface.
Optionally, the determining whether the advertisement interface is abnormal according to the relevant record of the advertisement request includes:
counting the total number of the advertisement requests received by the advertisement interface within a preset time period and recording as a first number according to the record of the advertisement requests received by the advertisement interface;
counting the total number of the advertisement requests corresponding to the processing result of the specified type in the preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests;
and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
Optionally, the specified type of processing result includes one or more of:
an advertisement request is timed out;
returning an advertisement null;
and returning the advertisement to report errors.
Optionally, the method further comprises:
acquiring advertising revenue corresponding to the service line of the advertising interface;
and analyzing the advertising income, and judging whether the advertising interface is abnormal or not according to the analysis result.
Optionally, the analyzing the advertising revenue and determining whether the advertising interface is abnormal according to the analysis result includes:
and acquiring the latest recorded advertisement income and the advertisement income serving as a comparison item from the advertisement income, judging whether the numerical difference reaches a preset threshold value, and if so, judging that the advertisement interface is abnormal.
Optionally, the advertisement revenue data as the comparison item is advertisement revenue recorded by a same ratio and/or advertisement revenue recorded by a ring ratio; the period of the same ratio is a natural day, and the period of the ring ratio is a natural week.
Optionally, the method further comprises:
and when the advertisement interface is judged to be abnormal, alarming is carried out in a preset alarming mode.
Optionally, the preset alarm manner includes one or more of the following:
short messages, emails and instant messaging messages.
According to another aspect of the present invention, there is provided a monitoring apparatus for an advertisement interface, including:
the system comprises an acquisition unit, a storage unit and a display unit, wherein the acquisition unit is suitable for acquiring log data of an advertisement interface;
a record extraction unit adapted to extract a record related to the advertisement request from the log data;
and the judging unit is suitable for judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request.
Optionally, the obtaining unit is adapted to obtain log data of the advertisement interface from a service server corresponding to the advertisement interface, and/or obtain log data of the advertisement interface from a log server.
Optionally, the relevant record of the advertisement request includes: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface.
Optionally, the determining unit is adapted to count a total number of the advertisement requests received by the advertisement interface within a preset time period and record the total number as a first number according to a record that the advertisement interface receives the advertisement requests; counting the total number of the advertisement requests corresponding to the processing result of the specified type in the preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests; and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
Optionally, the specified type of processing result includes one or more of: an advertisement request is timed out; returning an advertisement null; and returning the advertisement to report errors.
Optionally, the obtaining unit is further adapted to obtain an advertisement revenue corresponding to a service line of the advertisement interface;
the judging unit is also suitable for analyzing the advertising income and judging whether the advertising interface is abnormal or not according to the analysis result.
Optionally, the determining unit is adapted to obtain the latest recorded advertisement revenue and the advertisement revenue as a comparison item from the advertisement revenue, determine whether the numerical difference reaches a preset threshold, and determine that the advertisement interface is abnormal if the numerical difference reaches the preset threshold.
Optionally, the advertisement revenue data as the comparison item is advertisement revenue recorded by a same ratio and/or advertisement revenue recorded by a ring ratio; the period of the same ratio is a natural day, and the period of the ring ratio is a natural week.
Optionally, the apparatus further comprises:
and the alarm unit is suitable for alarming in a preset alarm mode when the advertisement interface is judged to be abnormal.
Optionally, the preset alarm manner includes one or more of the following: short messages, emails and instant messaging messages.
In accordance with still another aspect of the present invention, there is provided an electronic apparatus including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform a method as any one of the above.
According to a further aspect of the invention, there is provided a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement a method as any one of the above.
According to the technical scheme, the log data of the advertisement interface are obtained, the relevant records of the advertisement request are extracted from the log data, and whether the advertisement interface is abnormal or not is judged according to the relevant records of the advertisement request. The technical scheme considers the particularity of the advertisement service, not only utilizes the fact that the advertisement is not returned to judge, but also obtains log data, further extracts the relevant records of the advertisement request to judge, combines the log with the request, and improves the accuracy of interface monitoring.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating a method for monitoring an advertising interface, according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a monitoring device of an advertisement interface according to an embodiment of the present invention;
FIG. 3 shows a schematic structural diagram of an electronic device according to one embodiment of the invention;
fig. 4 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flow chart illustrating a monitoring method of an advertisement interface according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S110, obtaining the log data of the advertisement interface. The advertisement interface may be an advertisement interface on each line of the advertisement service provider, such as an interface for providing advertisements for mobile terminals, search engines, and the like.
In step S120, a record related to the advertisement request is extracted from the log data. There may be a lot of information in the log data, and in this embodiment only the relevant records of the ad request are of interest.
Step S130, judging whether the advertisement interface is abnormal according to the relevant record of the advertisement request.
It can be seen that, in the method shown in fig. 1, by acquiring log data of an advertisement interface, a relevant record of an advertisement request is extracted from the log data, and whether the advertisement interface is abnormal is determined according to the relevant record of the advertisement request. The technical scheme considers the particularity of the advertisement service, not only utilizes the fact that the advertisement is not returned to judge, but also obtains log data, further extracts the relevant records of the advertisement request to judge, combines the log with the request, and improves the accuracy of interface monitoring.
In an embodiment of the present invention, in the method, acquiring log data of an advertisement interface includes: and obtaining log data of the advertisement interface from a business server corresponding to the advertisement interface, and/or obtaining the log data of the advertisement interface from a log server.
Here, there are two ways to obtain the log data, one is to obtain the log data directly from the service server that generates the log data, and the other is to obtain the log data of the advertisement interface from the log server without interfering with the normal log processing logic of the service server (generally, forwarding it to the log server).
The specific implementation can be realized by adopting an ELK technology stack, which needs three tools, namely an elastic search tool, a Logstash tool and a Kibana tool.
The Elasticissearch is a real-time full-text search and analysis engine and provides three functions of collecting, analyzing and storing data; the system is an extensible distributed system which provides efficient search function by opening structures such as REST, JAVA API and the like. It is built on the Apache Lucene search engine library.
Logstash is a tool used to gather, analyze, and filter logs. It supports almost any type of log, including system logs, error logs, and custom application logs. It can receive logs from many sources including syslog, messaging (e.g., RabbitMQ), and JMX, which can output data in a variety of ways including email, websockets, and Elasticsearch.
Kibana is a Web-based graphical interface for searching, analyzing and visualizing log data stored in the Elasticissearch index. It utilizes the REST interface of the Elasticsearch to retrieve data, allowing users not only to create a customized dashboard view of their own data, but also allowing them to query and filter data in a special way.
In an embodiment of the present invention, in the method, the record related to the advertisement request includes: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface. It can be seen that this is to further analyze and determine in combination with the processing of the advertisement request by the advertisement interface, and in particular, in an embodiment of the present invention, the determining whether the advertisement interface is abnormal according to the relevant record of the advertisement request includes: counting the total number of the advertisement requests received by the advertisement interface within a preset time period and recording the total number as a first number according to the record of the advertisement requests received by the advertisement interface; counting the total number of the advertisement requests corresponding to the processing result of the specified type in a preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests; and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
That is, the total number of advertisement requests received by the advertisement interface within a preset time period (for example, if the judgment is performed every 5 minutes, the preset time period is 5 minutes) is counted, and it is assumed to be m; then, according to the processing result of each advertisement request, one or several types of specified types are selected, and the total number of the corresponding advertisement requests is counted, for example, if an advertisement request is not returned, that is, an advertisement empty return, the advertisement request belongs to one type. In an embodiment of the present invention, in the method, the processing result of the specified type includes one or more of the following: an advertisement request is timed out; returning an advertisement null; and returning the advertisement to report errors.
Assuming that the total number of advertisement requests returned by the advertisement empty in 5 minutes is n, n/m is calculated to obtain a percentage value, which is compared with a corresponding threshold (e.g. 10%), and if the threshold is reached, it indicates that there may be a problem with the interface. When a plurality of comparisons are performed, as long as one processing result of a specified type corresponds to the judgment result that exceeds the threshold value, the interface is considered to have a problem. Therefore, the real situation on the line can be more finely monitored, and the probability of false alarm in expectation is very small.
In an embodiment of the present invention, the method further includes: acquiring advertising revenue corresponding to a service line of an advertising interface; and analyzing the advertising income, and judging whether the advertising interface is abnormal or not according to the analysis result.
In this embodiment, there is further provided a way to monitor the advertisement interface according to the characteristics of the advertisement, considering that the advertisement is closely related to the revenue, the advertisement revenue can be analyzed, and if the advertisement revenue at a time point is significantly different from the advertisement revenue of the previous day or week, for example, the interface is likely to have problems if the advertisement is floating up or floating down by more than 50%.
Specifically, in an embodiment of the present invention, in the method, analyzing the advertising revenue, and determining whether the advertising interface is abnormal according to the analysis result includes: and acquiring the latest recorded advertisement income and the advertisement income serving as a comparison item from the advertisement income, judging whether the numerical difference reaches a preset threshold value, and judging that the advertisement interface is abnormal if the numerical difference reaches the preset threshold value. By way of further example, in one embodiment of the present invention, the advertising revenue data as the comparison term is advertising revenue recorded by a same ratio and/or advertising revenue recorded by a ring ratio; the period of the same ratio is a natural day, and the period of the ring ratio is a natural week.
For example, the total advertising revenue in 5 minutes is acquired every 5 minutes, this value is compared with the total advertising revenue in the corresponding time of the last week or the previous day, and if a large fluctuation occurs, the interface is considered to be abnormal.
In an embodiment of the present invention, the method further includes: and when the advertisement interface is judged to be abnormal, alarming is carried out in a preset alarming mode. Therefore, maintenance personnel can quickly know the situation and maintain the advertisement interface. In an embodiment of the present invention, in the method, the preset alarm manner includes one or more of the following: short messages, emails and instant messaging messages. The real-time sending of the alarm information is realized by configuring a format template of the alarm or the alarm information, a mobile phone number of a target, an email address and the like in advance.
Fig. 2 is a schematic structural diagram of a monitoring apparatus of an advertisement interface according to an embodiment of the present invention. As shown, the monitoring apparatus 200 of the advertisement interface includes:
the obtaining unit 210 is adapted to obtain log data of the advertisement interface. The advertisement interface may be an advertisement interface on each line of the advertisement service provider, such as an interface for providing advertisements for mobile terminals, search engines, and the like.
A record extraction unit 220 adapted to extract a record associated with the advertisement request from the log data. There may be a lot of information in the log data, and in this embodiment only the relevant records of the ad request are of interest.
The judging unit 230 is adapted to judge whether the advertisement interface is abnormal according to the relevant record of the advertisement request.
It can be seen that, the apparatus shown in fig. 2 acquires log data of the advertisement interface through mutual cooperation of the units, extracts a relevant record of the advertisement request from the log data, and determines whether the advertisement interface is abnormal according to the relevant record of the advertisement request. The technical scheme considers the particularity of the advertisement service, not only utilizes the fact that the advertisement is not returned to judge, but also obtains log data, further extracts the relevant records of the advertisement request to judge, combines the log with the request, and improves the accuracy of interface monitoring.
In an embodiment of the present invention, in the above apparatus, the obtaining unit 210 is adapted to obtain log data of the advertisement interface from a service server corresponding to the advertisement interface, and/or obtain log data of the advertisement interface from a log server.
Here, there are two ways to obtain the log data, one is to obtain the log data directly from the service server that generates the log data, and the other is to obtain the log data of the advertisement interface from the log server without interfering with the normal log processing logic of the service server (generally, forwarding it to the log server).
The specific implementation can be realized by adopting an ELK technology stack, which needs three tools, namely an elastic search tool, a Logstash tool and a Kibana tool.
The Elasticissearch is a real-time full-text search and analysis engine and provides three functions of collecting, analyzing and storing data; the system is an extensible distributed system which provides efficient search function by opening structures such as REST, JAVA API and the like. It is built on the Apache Lucene search engine library.
Logstash is a tool used to gather, analyze, and filter logs. It supports almost any type of log, including system logs, error logs, and custom application logs. It can receive logs from many sources including syslog, messaging (e.g., RabbitMQ), and JMX, which can output data in a variety of ways including email, websockets, and Elasticsearch.
Kibana is a Web-based graphical interface for searching, analyzing and visualizing log data stored in the Elasticissearch index. It utilizes the REST interface of the Elasticsearch to retrieve data, allowing users not only to create a customized dashboard view of their own data, but also allowing them to query and filter data in a special way.
In an embodiment of the present invention, in the above apparatus, the record related to the advertisement request includes: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface. It can be seen that this is to further analyze and judge in combination with the processing of the advertisement request by the advertisement interface, and specifically, in an embodiment of the present invention, in the above apparatus, the judging unit 230 is adapted to count the total number of the advertisement requests received by the advertisement interface within a preset time period as a first number according to the record that the advertisement interface receives the advertisement request; counting the total number of the advertisement requests corresponding to the processing result of the specified type in a preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests; and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
That is, the total number of advertisement requests received by the advertisement interface within a preset time period (for example, if the judgment is performed every 5 minutes, the preset time period is 5 minutes) is counted, and it is assumed to be m; then, according to the processing result of each advertisement request, one or several types of specified types are selected, and the total number of the corresponding advertisement requests is counted, for example, if an advertisement request is not returned, that is, an advertisement empty return, the advertisement request belongs to one type. In an embodiment of the present invention, in the apparatus, the processing result of the specified type includes one or more of the following: an advertisement request is timed out; returning an advertisement null; and returning the advertisement to report errors.
Assuming that the total number of advertisement requests returned by the advertisement empty in 5 minutes is n, n/m is calculated to obtain a percentage value, which is compared with a corresponding threshold (e.g. 10%), and if the threshold is reached, it indicates that there may be a problem with the interface. When a plurality of comparisons are performed, as long as one processing result of a specified type corresponds to the judgment result that exceeds the threshold value, the interface is considered to have a problem. Therefore, the real situation on the line can be more finely monitored, and the probability of false alarm in expectation is very small.
In an embodiment of the present invention, in the above apparatus, the obtaining unit 210 is further adapted to obtain an advertisement revenue corresponding to a service line of the advertisement interface; the determining unit 230 is further adapted to analyze the advertising revenue and determine whether the advertising interface is abnormal according to the analysis result.
In this embodiment, there is further provided a way to monitor the advertisement interface according to the characteristics of the advertisement, considering that the advertisement is closely related to the revenue, the advertisement revenue can be analyzed, and if the advertisement revenue at a time point is significantly different from the advertisement revenue of the previous day or week, for example, the interface is likely to have problems if the advertisement is floating up or floating down by more than 50%.
Specifically, in an embodiment of the present invention, in the above apparatus, the determining unit 230 is adapted to obtain the latest recorded advertisement revenue and the advertisement revenue as the comparison item from the advertisement revenue, determine whether the value difference reaches a preset threshold, and determine that the advertisement interface is abnormal if the value difference reaches the preset threshold. By way of further example, in one embodiment of the present invention, the advertisement revenue data as the comparison item is advertisement revenue recorded by a same ratio and/or advertisement revenue recorded by a ring ratio; the period of the same ratio is a natural day, and the period of the ring ratio is a natural week.
For example, the total advertising revenue in 5 minutes is acquired every 5 minutes, this value is compared with the total advertising revenue in the corresponding time of the last week or the previous day, and if a large fluctuation occurs, the interface is considered to be abnormal.
In an embodiment of the present invention, the above apparatus further comprises: and the alarm unit is suitable for alarming in a preset alarm mode when the advertisement interface is judged to be abnormal. Therefore, maintenance personnel can quickly know the situation and maintain the advertisement interface. In an embodiment of the present invention, in the above apparatus, the preset alarm manner includes one or more of the following: short messages, emails and instant messaging messages. The real-time sending of the alarm information is realized by configuring a format template of the alarm or the alarm information, a mobile phone number of a target, an email address and the like in advance.
In summary, according to the technical scheme of the present invention, log data of the advertisement interface is obtained, a relevant record of the advertisement request is extracted from the log data, and whether the advertisement interface is abnormal is determined according to the relevant record of the advertisement request. The technical scheme considers the particularity of the advertisement service, not only utilizes the fact that the advertisement is not returned to judge, but also obtains log data, further extracts the relevant records of the advertisement request to judge, combines the log with the request, and improves the accuracy of interface monitoring.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the monitoring device of the advertising interface according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
For example, fig. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the invention. The electronic device comprises a processor 310 and a memory 320 arranged to store computer executable instructions (computer readable program code). The memory 320 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. The memory 320 has a storage space 330 storing computer readable program code 331 for performing any of the method steps described above. For example, the storage space 330 for storing the computer readable program code may comprise respective computer readable program codes 331 for respectively implementing various steps in the above method. The computer readable program code 331 may be read from or written to one or more computer program products. These computer program products comprise a program code carrier such as a hard disk, a Compact Disc (CD), a memory card or a floppy disk. Such a computer program product is typically a computer readable storage medium such as described in fig. 4. Fig. 4 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer readable storage medium 400 has stored thereon a computer readable program code 331 for performing the steps of the method according to the invention, readable by a processor 310 of the electronic device 300, which computer readable program code 331, when executed by the electronic device 300, causes the electronic device 300 to perform the steps of the method described above, in particular the computer readable program code 331 stored on the computer readable storage medium may perform the method shown in any of the embodiments described above. The computer readable program code 331 may be compressed in a suitable form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The embodiment of the invention discloses A1 and a monitoring method of an advertisement interface, which comprises the following steps:
acquiring log data of an advertisement interface;
extracting a relevant record of the advertisement request from the log data;
and judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request.
A2, the method of A1, wherein the obtaining log data of an advertising interface includes:
and acquiring log data of the advertisement interface from a service server corresponding to the advertisement interface, and/or acquiring the log data of the advertisement interface from a log server.
A3, the method of A1, wherein the record of the ad request includes: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface.
A4, the method as in A3, wherein the determining whether the advertisement interface is abnormal according to the record related to the advertisement request comprises:
counting the total number of the advertisement requests received by the advertisement interface within a preset time period and recording as a first number according to the record of the advertisement requests received by the advertisement interface;
counting the total number of the advertisement requests corresponding to the processing result of the specified type in the preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests;
and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
A5, the method of A4, wherein the specified type of processing result includes one or more of:
an advertisement request is timed out;
returning an advertisement null;
and returning the advertisement to report errors.
A6, the method of a1, wherein the method further comprises:
acquiring advertising revenue corresponding to the service line of the advertising interface;
and analyzing the advertising income, and judging whether the advertising interface is abnormal or not according to the analysis result.
A7, the method as in A6, wherein the analyzing the advertising revenue and the determining whether the advertising interface is abnormal according to the analysis result comprises:
and acquiring the latest recorded advertisement income and the advertisement income serving as a comparison item from the advertisement income, judging whether the numerical difference reaches a preset threshold value, and if so, judging that the advertisement interface is abnormal.
A8, the method of A7, wherein the advertising revenue data as comparison terms is comparably recorded advertising revenue and/or ring-rate recorded advertising revenue; the period of the same ratio is a natural day, and the period of the ring ratio is a natural week.
A9, the method of any one of A1-A8, wherein the method further comprises:
and when the advertisement interface is judged to be abnormal, alarming is carried out in a preset alarming mode.
A10, the method according to A9, wherein the preset alarm modes include one or more of the following:
short messages, emails and instant messaging messages.
The embodiment of the invention also discloses B11, a monitoring device of an advertisement interface, comprising:
the system comprises an acquisition unit, a storage unit and a display unit, wherein the acquisition unit is suitable for acquiring log data of an advertisement interface;
a record extraction unit adapted to extract a record related to the advertisement request from the log data;
and the judging unit is suitable for judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request.
B12, the device of B11, wherein,
the obtaining unit is suitable for obtaining the log data of the advertisement interface from a service server corresponding to the advertisement interface and/or obtaining the log data of the advertisement interface from a log server.
B13, the apparatus as in B11, wherein the record of the advertisement request includes: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface.
B14, the device of B13, wherein,
the judging unit is suitable for counting the total number of the advertisement requests received by the advertisement interface within a preset time period and recording the total number as a first number according to the record that the advertisement interface receives the advertisement requests; counting the total number of the advertisement requests corresponding to the processing result of the specified type in the preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests; and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
B15, the apparatus of B14, wherein the specified type of processing results include one or more of: an advertisement request is timed out; returning an advertisement null; and returning the advertisement to report errors.
B16, the device of B11, wherein,
the acquisition unit is also suitable for acquiring the advertisement income corresponding to the service line of the advertisement interface;
the judging unit is also suitable for analyzing the advertising income and judging whether the advertising interface is abnormal or not according to the analysis result.
B17, the device of B16, wherein,
the judging unit is suitable for acquiring the latest recorded advertisement income and the advertisement income serving as a comparison item from the advertisement income, judging whether the numerical difference reaches a preset threshold value or not, and judging that the advertisement interface is abnormal if the numerical difference reaches the preset threshold value.
B18, the device as B17, wherein the advertisement income data as the comparison item is the advertisement income recorded by the same ratio and/or the advertisement income recorded by the ring ratio; the period of the same ratio is a natural day, and the period of the ring ratio is a natural week.
A device according to any one of B19 and B11-B18, wherein the device further comprises:
and the alarm unit is suitable for alarming in a preset alarm mode when the advertisement interface is judged to be abnormal.
B20, the device as B19, wherein the preset alarm modes include one or more of the following: short messages, emails and instant messaging messages.
The embodiment of the invention also discloses C21 and electronic equipment, wherein the electronic equipment comprises: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any one of a1-a 10.
Embodiments of the invention also disclose D22, a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method as any one of a1-a 10.

Claims (10)

1. A method of monitoring an advertising interface, comprising:
acquiring log data of an advertisement interface;
extracting a relevant record of the advertisement request from the log data;
and judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request.
2. The method of claim 1, wherein the obtaining log data for an advertising interface comprises:
and acquiring log data of the advertisement interface from a service server corresponding to the advertisement interface, and/or acquiring the log data of the advertisement interface from a log server.
3. The method of claim 1, wherein the relevant record of ad requests comprises: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface.
4. The method of claim 3, wherein said determining whether the advertisement interface is abnormal according to the record related to the advertisement request comprises:
counting the total number of the advertisement requests received by the advertisement interface within a preset time period and recording as a first number according to the record of the advertisement requests received by the advertisement interface;
counting the total number of the advertisement requests corresponding to the processing result of the specified type in the preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests;
and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
5. A monitoring device for an advertising interface, comprising:
the system comprises an acquisition unit, a storage unit and a display unit, wherein the acquisition unit is suitable for acquiring log data of an advertisement interface;
a record extraction unit adapted to extract a record related to the advertisement request from the log data;
and the judging unit is suitable for judging whether the advertisement interface is abnormal or not according to the relevant record of the advertisement request.
6. The apparatus of claim 5, wherein,
the obtaining unit is suitable for obtaining the log data of the advertisement interface from a service server corresponding to the advertisement interface and/or obtaining the log data of the advertisement interface from a log server.
7. The apparatus of claim 5, wherein the record of the ad request comprises: the advertisement interface receives a record of the advertisement request and a record of the processing of the received advertisement request by the advertisement interface.
8. The apparatus of claim 7, wherein,
the judging unit is suitable for counting the total number of the advertisement requests received by the advertisement interface within a preset time period and recording the total number as a first number according to the record that the advertisement interface receives the advertisement requests; counting the total number of the advertisement requests corresponding to the processing result of the specified type in the preset time period and recording the total number as a second number according to the processing record of the advertisement interface to the received advertisement requests; and calculating the ratio of the first quantity to the second quantity, judging whether the ratio reaches a preset threshold corresponding to the processing result of the specified type, and if so, judging that the advertisement interface is abnormal.
9. An electronic device, wherein the electronic device comprises: a processor; and a memory arranged to store computer-executable instructions that, when executed, cause the processor to perform the method of any one of claims 1-4.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-4.
CN201810811942.6A 2018-07-23 2018-07-23 Monitoring method and device of advertisement interface Pending CN110752962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810811942.6A CN110752962A (en) 2018-07-23 2018-07-23 Monitoring method and device of advertisement interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810811942.6A CN110752962A (en) 2018-07-23 2018-07-23 Monitoring method and device of advertisement interface

Publications (1)

Publication Number Publication Date
CN110752962A true CN110752962A (en) 2020-02-04

Family

ID=69275018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810811942.6A Pending CN110752962A (en) 2018-07-23 2018-07-23 Monitoring method and device of advertisement interface

Country Status (1)

Country Link
CN (1) CN110752962A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112001758A (en) * 2020-08-26 2020-11-27 豆盟(北京)科技股份有限公司 Method and device for monitoring state abnormity of advertisement interactive page
CN112465569A (en) * 2020-12-16 2021-03-09 北京搜狐新媒体信息技术有限公司 Data processing method, advertising system, electronic device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767653A (en) * 2015-01-29 2015-07-08 小米科技有限责任公司 Method and device for monitoring network interfaces
CN105553740A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Data interface monitoring method and device
CN107679906A (en) * 2017-09-29 2018-02-09 北京奇虎科技有限公司 The processing method and processing device of ad-request
CN107948744A (en) * 2017-12-13 2018-04-20 深圳市雷鸟信息科技有限公司 Interface detection method, interface detection device and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767653A (en) * 2015-01-29 2015-07-08 小米科技有限责任公司 Method and device for monitoring network interfaces
CN105553740A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Data interface monitoring method and device
CN107679906A (en) * 2017-09-29 2018-02-09 北京奇虎科技有限公司 The processing method and processing device of ad-request
CN107948744A (en) * 2017-12-13 2018-04-20 深圳市雷鸟信息科技有限公司 Interface detection method, interface detection device and computer-readable recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112001758A (en) * 2020-08-26 2020-11-27 豆盟(北京)科技股份有限公司 Method and device for monitoring state abnormity of advertisement interactive page
CN112001758B (en) * 2020-08-26 2024-01-30 豆盟(北京)科技股份有限公司 Advertisement interaction page state abnormality monitoring method and device
CN112465569A (en) * 2020-12-16 2021-03-09 北京搜狐新媒体信息技术有限公司 Data processing method, advertising system, electronic device and computer storage medium

Similar Documents

Publication Publication Date Title
US10664837B2 (en) Method and system for real-time, load-driven multidimensional and hierarchical classification of monitored transaction executions for visualization and analysis tasks like statistical anomaly detection
CN108170580A (en) A kind of rule-based log alarming method, apparatus and system
CN108549569B (en) Method and equipment for searching information in application program
WO2017113677A1 (en) User behavior data processing method and system
CN110609780B (en) Data monitoring method and device, electronic equipment and storage medium
CN106874335B (en) Behavior data processing method and device and server
CN108200643B (en) Method and device for positioning intelligent terminal
CN108322350B (en) Service monitoring method and device and electronic equipment
CN112152823B (en) Website operation error monitoring method and device and computer storage medium
CN106445938B (en) Data detection method and device
CN109859002B (en) Product pushing method, device, computer equipment and storage medium
CN110752962A (en) Monitoring method and device of advertisement interface
CN112783749A (en) Static code scanning optimization method and device, electronic equipment and storage medium
CN109918048B (en) Target object extraction method, device and system and computer readable storage medium
CN114650167A (en) Abnormity detection method, device, equipment and computer readable storage medium
CN114003568A (en) Data processing method and related device
CN111104628A (en) User identification method and device, electronic equipment and storage medium
CN110796178B (en) Decision model training method, sample feature selection method, device and electronic equipment
CN112887123A (en) Service alarm method, system and device based on call chain
CN111672128A (en) Game mall game recommendation method and system based on local reserved time identification
CN110991241A (en) Abnormality recognition method, apparatus, and computer-readable medium
US11544098B2 (en) Systems and methods for centralization and diagnostics for live virtual server performance data
CN108257011B (en) Drop list processing method and device
CN111105261B (en) User identification method, device, electronic equipment and storage medium
CN111105259B (en) User identification method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204

RJ01 Rejection of invention patent application after publication