Method, system and equipment for reporting and checking game advertisement media packet and medium

By displaying and stress testing advertisement content on the SDK and testing equipment on the game side, the problem of insufficient evaluation of game advertising media package reporting inspection methods in the prior art under special circumstances has been solved, and a more stable and efficient advertising display and SDK has been achieved. Performance evaluation.

CN119065942AActive Publication Date: 2024-12-03GUANGZHOU YIHU NETWORK TECH CO LTD

Patent Information

Application Number
CN202411068524.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-03
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

The existing game advertising media package reporting inspection methods lack effective evaluation methods in special circumstances, resulting in response delays, service interruptions or performance degradation, affecting the reporting and inspection results.

Method used

Send ad requests to the advertising platform through the SDK on the game side, scripts analyze log data, judge the display of advertising content, and simulate the pressure environment on the test equipment to conduct stress testing on the SDK, record performance data, and generate SDK performance reports, including response time and resources Indicators such as occupancy and crash rate.

Benefits of technology

Improve the stability and accuracy of advertising reporting, reduce the testing workload, improve the testing efficiency, significantly improve the efficiency and accuracy of advertising display and SDK exception handling analysis, ensure the stability of advertising display and the reliability of SDK , provides resilience and performance stability in harsh environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065942A_ABST
    Figure CN119065942A_ABST
Patent Text Reader

Abstract

The invention is suitable for the field of advertisement putting, and discloses a reporting and checking method, system and device for a game advertisement media packet and a medium, and the reporting and checking method ensures effective display of advertisement content through interaction among a game end, an advertisement platform and an SDK. The method further relates to sending and responding of an advertisement request, checking and analyzing of log data, prompting of abnormal content and packaging and installing of advertisement content. Particularly, in the advertisement content packaging and installing process, a pressure testing scheme is introduced, an actual environment is simulated to conduct performance testing on the SDK, and a performance report is generated. According to the method, accurate display of the advertisement content is ensured, the stability and reliability of the SDK are improved through the pressure test, and powerful support is provided for efficient propagation of game advertisements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of advertisement delivery, and in particular to a reporting and checking method, system, device and medium for game advertisement media packages. Background Art

[0002] In the mobile Internet advertising industry, game advertising media package reporting and inspection is a key technology to ensure the effectiveness and billing of advertising. The media package refers to the resource package of game advertising, which includes advertising pictures, videos, animations and other content. With the rapid development of the game industry, there are many advertising platforms, and game publishers need to carry out refined management of advertising on each platform, which requires that the advertising media package reporting function must be stable and reliable.

[0003] In the existing reporting and inspection methods for game advertising media packages, there is often a lack of effective evaluation methods for the performance of advertising platforms and SDKs under special circumstances. Under special circumstances, the system may face tremendous pressure, resulting in response delays, service interruptions or performance degradation, which in turn affects the effectiveness of reporting and inspection. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a reporting and checking method, system, device and medium for game advertisement media packages.

[0005] In a first aspect, the present application proposes a reporting and checking method for a game advertisement media package, comprising:

[0006] The game terminal sends an advertisement request to the advertisement platform through the SDK, and the advertisement platform responds to the advertisement request and transmits the advertisement content of the game to the game terminal;

[0007] The script sends a check command to the SDK based on the advertisement content transmitted by the game terminal, and the SDK transmits log data to the script according to the check command;

[0008] The script analyzes the log data and reports the analysis result to the advertising platform, and the script determines whether the advertising content is displayed based on the analysis result;

[0009] If the analysis result contains abnormal content, the script prompts to check the abnormal content; if the analysis result contains no abnormal content, the script packages and installs the advertisement content on the test device;

[0010] When the script packages and installs the advertisement content on the test device, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data.

[0011] To be more specific, in the above technical solution, the stress environment includes at least one of low device power, insufficient device memory and different network environments; the performance data includes at least one of response time, resource occupancy and crash rate.

[0012] More specifically, in the above technical solution, recording the response time includes:

[0013] Setting a time window, and extracting data of all response times within the time window from the data of recorded response times;

[0014] Calculating a mean value of the response time according to the data of all response times in the time window, and calculating a standard deviation of the response time based on the mean value and the data of each response time;

[0015] Based on the mean and the standard deviation, a timeout judgment threshold is calculated, where the timeout judgment threshold=mean of the response time+3*standard deviation of the response time;

[0016] Based on the data of all response times in the time window, the request volume and the timeout request volume in the time window are respectively obtained, the timeout rate in the time window is calculated based on the request volume and the timeout request volume, and the size of the next time window is adjusted according to the timeout rate.

[0017] More specifically, in the above technical solution, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data, including:

[0018] The script simulates different network environments, obtains the performance table data of the SDK under various network conditions, records the response time and success rate of the SDK under different network delay and packet loss rate pressure environments, and obtains the performance report of the SDK in different network environments.

[0019] More specifically, in the above technical solution, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generating a performance report of the SDK based on the performance data also includes:

[0020] The script simulates a stressful environment of low battery and insufficient device memory, obtains the running status of the SDK, records the CPU occupancy and crash rate of the SDK, and obtains a performance report of the SDK under low battery and insufficient device memory.

[0021] To be more specific, in the above technical solution, after the script analyzes the log data, it also includes memory leak detection. The memory leak detection includes: the script analyzes the log data through a linear regression algorithm to predict the memory growth trend. If the memory usage shows a continuous growth trend, it is determined that there is a memory leak, and the memory leakage rate is calculated.

[0022] To be more specific, in the above technical solution, based on the log data, the actual values ​​of the click-through rate, views and dwell time of the advertising content in the current time period are obtained, and the predicted values ​​of the click-through rate, views and dwell time of the advertising content in each time period are obtained through model training, and the predicted values ​​and the actual values ​​are compared by using statistical analysis methods to obtain the performance effect of the advertising content in the current time period.

[0023] In a second aspect, the present application also proposes a reporting system for a game advertisement media package, comprising:

[0024] First processing module: the game terminal sends an advertisement request to the advertisement platform through the SDK, and the advertisement platform transmits the advertisement content of the game to the game terminal after responding to the advertisement request;

[0025] Second processing module: the script sends a check command to the SDK based on the advertisement content transmitted by the game terminal, and the SDK transmits log data to the script according to the check command;

[0026] The third processing module: the script analyzes the log data and reports the analysis result to the advertising platform, and the script determines whether to display the advertising content based on the analysis result;

[0027] Fourth processing module: if the analysis result contains abnormal content, the script prompts to check the abnormal content; if the analysis result contains no abnormal content, the script packages and installs the advertisement content on the test device;

[0028] When the script packages and installs the advertisement content on the test device, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data.

[0029] In a third aspect, the present application further proposes a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described above when executing the computer program.

[0030] In a fourth aspect, the present application further proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described in any one of the above items is implemented.

[0031] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0032] The reporting and checking method of the game advertisement media package of the present invention improves the stability and accuracy of advertisement reporting, reduces the testing workload, improves the testing efficiency, and reduces human errors through automation.

[0033] In addition, the present invention significantly improves the efficiency and accuracy of advertisement display and SDK exception handling analysis through automated testing and multi-dimensional exception simulation; the system can promptly detect and feedback abnormal situations to ensure the stability of advertisement display and the reliability of SDK; at the same time, through simulation and data analysis of various extreme situations, the present invention provides strong support for further optimization of SDK, and improves its recovery ability and performance stability in harsh environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is a flowchart of a method for reporting and checking a game advertisement media package provided by an embodiment of the present invention;

[0036] Figure 2 It is a structural diagram of a reporting and checking system for game advertisement media packages provided by an embodiment of the present invention;

[0037] Figure 3 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0039] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0040] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0041] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0042] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0043] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0044] See also Figure 1 This application proposes a reporting and checking method for a game advertisement media package, comprising:

[0045] S01, the game terminal sends an advertisement request to the advertisement platform through the SDK, and the advertisement platform responds to the advertisement request and transmits the advertisement content of the game to the game terminal;

[0046] S02, the script sends a check command to the SDK based on the advertisement content transmitted by the game terminal, and the SDK transmits log data to the script according to the check command;

[0047] S03, the script analyzes the log data and reports the analysis result to the advertising platform, and the script determines whether the advertising content is displayed based on the analysis result;

[0048] S04. If the analysis result contains abnormal content, the script prompts to check the abnormal content; if the analysis result contains no abnormal content, the script packages and installs the advertisement content on the test device;

[0049] When the script packages and installs the advertisement content on the test device, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data.

[0050] The SDK sends an ad request to the ad platform, and carries parameters such as device information and user information. Based on these parameters, the ad platform selects appropriate ad content and returns it to the SDK. After receiving the ad content returned by the ad platform, the SDK displays the ad in the game and records the ad display log data. The automated script sends a check command to the SDK, obtains the ad display log data recorded by the SDK, and parses and analyzes the log data. By analyzing the log data, it determines whether the ad is successfully displayed, generates an ad display result report, and feeds the result back to the ad platform. If the analysis result shows an abnormality, the automated script prompts that manual intervention is required to check the specific abnormal point and generate an abnormality report. The SDK automatically packages and installs the game ad content on the test device through the script. The script simulates various network environments, low device power, insufficient device memory and other extreme situations to stress test the SDK. In extreme test situations, the script records various performance indicators of the SDK, such as response time, resource usage, crash rate, etc., to evaluate its stability and reliability. Using big data analysis technology, the SDK performance data obtained from multiple iterative tests is summarized and analyzed to generate a comprehensive performance report of the SDK in various complex environments. Based on the comprehensive analysis report, determine whether the SDK meets the expected stability and reliability requirements. If not, feedback will be provided to the SDK development team for optimization and improvement.

[0051] Specifically, when the SDK sends an ad request to the ad platform, it carries information such as the device's IMEI number, MAC address, operating system version, and user's age, gender, and geographic location. After receiving these parameters, the ad platform uses machine learning algorithms such as logistic regression and decision trees to perform user portrait analysis, screen out ad content with a CTR estimate greater than 0.5%, and return it to the SDK. After receiving the ad content, the SDK uses the ViewVisibility algorithm to determine the visibility of the ad view. If the visibility is greater than 50% and the duration exceeds 1 second, it is recorded as a valid display, and the display log data such as ad ID, display timestamp, visibility, etc. are stored in the local database in JSON format. The automated script sends a check command to the SDK through the HTTP interface, and the SDK returns the log data in the local database to the script. The script uses regular expressions to parse the JSON data, extract key fields, and use the NumPy library for data analysis to calculate the number of impressions, CTR, and other indicators of each ad. If the analysis results show that the CTR of an ad is less than 0.1%, it is determined to be an abnormal situation, and an abnormal report is generated and automatically sent to the ad platform and operator by email. The script uses the Appium framework to automatically install game APK and IPA packages on different models of Android devices, set extreme environments such as network disconnection, weak network, and high latency, simulate user operations such as frequent switching between the foreground and background, and fast sliding lists, and perform stress testing on the SDK. During the test, the script uses AndroidProfiler and Instruments tools to record the SDK's CPU occupancy, memory usage, crash rate and other performance indicators. Using the MapReduce framework, the massive log data obtained from multiple devices and multiple iterations of testing is processed in parallel, and the comprehensive performance of the SDK under various network environments and user operations is counted to generate a visual analysis report. If the SDK's crash rate is higher than 1%, or the response time is longer than 500ms, it is judged as not meeting the standard, and a JIRA task is automatically created and assigned to the SDK development team for optimization.

[0052] In some embodiments, the stress environment includes at least one of low device power, insufficient device memory, and different network environments; and the performance data includes at least one of response time, resource usage, and crash rate.

[0053] In some embodiments, recording the response time includes:

[0054] Setting a time window, and extracting data of all response times within the time window from the data of recorded response times;

[0055] Calculating a mean value of the response time according to the data of all response times in the time window, and calculating a standard deviation of the response time based on the mean value and the data of each response time;

[0056] Based on the mean and the standard deviation, a timeout judgment threshold is calculated, where the timeout judgment threshold=mean of the response time+3*standard deviation of the response time;

[0057] Based on the data of all response times in the time window, the request volume and the timeout request volume in the time window are respectively obtained, the timeout rate in the time window is calculated based on the request volume and the timeout request volume, and the size of the next time window is adjusted according to the timeout rate.

[0058] According to the sample of response time data of requests under stress environment collected, by setting an initial time window size, all response time data in the initial time window are obtained. According to all response time data collected in the time window, the mean response time is calculated, and the standard deviation of response time is obtained by calculating the sum of squares of the differences between all response time samples and the mean in the time window and then taking the arithmetic square root of the mean. According to the mean response time and the standard deviation of response time, the timeout judgment threshold is calculated by using the formula "timeout judgment threshold = response time mean + 3 * response time standard deviation". By traversing all response time data in the time window, the minimum response time value in the time window is obtained. By traversing all response time data in the time window, the maximum response time value in the time window is obtained. According to the total number of advertising requests in the time window, the number of requests in the time window is determined. By comparing each response time in the time window with the timeout judgment threshold, the number of requests exceeding the judgment threshold is counted to obtain the number of timeout requests. According to the number of timeout requests and the total number of requests, the timeout rate in the time window is calculated by using the formula "timeout rate = timeout request number / request number". Based on the above calculation results, the size of the next time window is dynamically adjusted to ensure that response time samples can be collected more accurately and optimize the response time analysis process of advertising requests under stressful environments.

[0059] Specifically, when analyzing the response time of an ad request, we first set the initial time window size to 10 minutes. By collecting all response time data within these 10 minutes, we assume that the data samples we collected are: [120ms, 130ms, 125ms, 150ms, 200ms, 180ms, 170ms, 160ms, 140ms, 155ms]. Based on these data, we calculate the mean of the response time as: mean = (120+130+125+150+200+180+170+160+140+155) / 10 = 153ms. Then, we calculate the square of the difference between each response time and the mean. For example, if the first response time is 120ms, the corresponding square of the difference is: (120-153)^2 = (-33)^2 = 1089. The sum of the squares of the differences of all response times is calculated in sequence: (120-153)^2+(130-153)^2+(125-153)^2+(150-153)^2+(200-153)^2+(180-153)^2+(170-153)^2+(160-153)^2+(140-153)^2+(155-153)^2=1089+529+784+9+2209+729+289+49+169+4=5860. The square root of the average value is calculated to obtain the standard deviation of the response time: standard deviation=sqrt(5860 / 10)≈22ms. Based on the mean and standard deviation, the timeout judgment threshold is calculated: timeout judgment threshold=153+3*22≈226ms. By traversing all the response time data in the time window, the minimum response time value is 120ms and the maximum response time value is 200ms. The total number of requests in the statistical time window is 10. Next, compare each response time with the timeout judgment threshold and count the number of requests that exceed the judgment threshold. Since all response times are less than 226ms, the number of timeout requests is 0. According to the number of timeout requests and the total number of requests, the timeout rate is calculated: timeout rate = 0 / 10 = 0. Based on the above calculation results, the size of the next time window can be dynamically adjusted. Since the current timeout rate is 0, it indicates that the response time of the ad request is relatively stable, so the time window can be appropriately increased, for example, adjusted to 15 minutes, to collect more response time samples, thereby optimizing the response time analysis process of the ad request. The above process shows how to effectively analyze and optimize the response time of ad requests under pressure by setting the initial time window, collecting response time data, calculating the mean and standard deviation, determining the timeout judgment threshold, counting the number of timeout requests and the timeout rate, and dynamically adjusting the time window size.

[0060] In some embodiments, the automated script sends a check command to the SDK, and the SDK returns log data containing key performance indicators such as CPU occupancy, memory occupancy, and power. The script parses the log data and extracts the values ​​of various indicators, such as a CPU occupancy of 35%, a memory occupancy of 120MB, and a power occupancy of 15%. The device resource simulation framework intercepts the SDK's resource query request by hooking the system API, and returns preset low-resource status data, such as a CPU occupancy of 90%, a memory occupancy of only 30MB, and a power occupancy of 5%, so that the SDK runs in a controlled low-resource environment. The script analyzes the SDK's running log, captures alarms triggered by excessive CPU occupancy, and abnormalities such as the inability to write to the cache due to low memory usage, and determines that the current environment cannot meet the display requirements of the advertisement. The script prompts manual intervention, checks the SDK's exception handling logic, and optimizes the resource scheduling strategy, such as using incremental updates and delayed loading to reduce one-time resource consumption. After optimization, the game was repackaged and the above test process was repeated under different resource states. Through comparative analysis, the adaptability and stability of the SDK were improved, the CPU usage rate was reduced to 60%, the memory usage was increased to 80MB, and the ads were displayed normally. With the assistance of the network environment simulator, the SDK's request retry and timeout processing mechanisms were further tested under weak network and no network conditions, test cases were formulated for key scenarios, and the performance of the SDK was comprehensively evaluated, and finally a complete test report was formed.

[0061] In some embodiments, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generating a performance report of the SDK based on the performance data includes:

[0062] The script simulates different network environments, obtains the performance table data of the SDK under various network conditions, records the response time and success rate of the SDK under different network delay and packet loss rate pressure environments, and obtains the performance report of the SDK in different network environments.

[0063] In some embodiments, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generating a performance report of the SDK based on the performance data further includes:

[0064] The script simulates a stressful environment of low battery and insufficient device memory, obtains the running status of the SDK, records the CPU occupancy and crash rate of the SDK, and obtains a performance report of the SDK under low battery and insufficient device memory.

[0065] It is understandable that the present invention can obtain the performance of the SDK under various network conditions by simulating different network environments according to the functions and business scenarios of the SDK, and obtain the pressure tolerance of the SDK under different network environments by recording the response time, success rate and other indicators of the SDK under different network delays, packet loss rates and the like. For example, according to the power and memory usage of the mobile device, the running state of the SDK under resource-constrained conditions is obtained by simulating low power and insufficient memory of the device, and the stability and reliability of the SDK under extreme conditions are judged by monitoring the CPU occupancy rate, crash rate and other indicators of the SDK when the power is low and the memory is insufficient. For example, according to the business volume and concurrency requirements of the SDK, the processing capacity of the SDK in high-concurrency scenarios is obtained by simulating concurrent access by a large number of users, and the maximum number of concurrent users that the SDK can support is determined by gradually increasing the number of concurrent users and recording the changes in the response time, error rate and the like of the SDK. For example, according to the data transmission and storage requirements of the SDK, the performance of the SDK in data-intensive scenarios is obtained by simulating large amounts of data. By continuously increasing the amount of data in a single request, the changes in indicators such as the SDK's transmission speed and storage occupancy are monitored to determine the SDK's processing efficiency and resource consumption in the case of large amounts of data. Based on the results of the above stress tests, the comprehensive performance of the SDK in various extreme situations is obtained by analysis and comparison. By summarizing the test indicators in different scenarios, trend graphs and bottleneck graphs of SDK performance are drawn to determine the optimization direction and improvement measures of the SDK, thereby improving the stability, reliability and efficiency of the SDK and better meeting the actual needs of the business.

[0066] Specifically, in order to comprehensively evaluate the performance of the SDK in various network environments, you can use network simulation tools such as Charles or Fiddler to set different network delays (such as 100ms, 500ms, 1s) and packet loss rates (such as 1%, 5%, 10%), and then use automated test scripts such as Appium or Selenium to simulate user behavior and record the average response time and request success rate of the SDK under each network condition. For example, when the network delay is 500ms and the packet loss rate is 5%, if the average response time of the SDK is less than 1s and the success rate is higher than 99%, it can be considered that it performs well under medium network conditions. At the same time, in order to test the stability of the SDK under resource-constrained conditions, you can use AndroidStudio's DeviceMonitor or Xcode's Instruments to simulate scenarios where the device power is less than 10% or the available memory is less than 50MB, and monitor the SDK's CPU usage and crash times. If the SDK's CPU usage is always less than 30% after running for 1 hour and no crashes occur, it means that its resource utilization is high and it can adapt to harsh device conditions. In addition, it is also necessary to evaluate the load capacity of the SDK in high-concurrency scenarios. With the help of stress testing tools such as JMeter or LoadRunner, set the number of concurrent users to 100, 500, 1000, etc., and observe the changing trend of the SDK's average response time and error rate. If the average response time increases by less than 50% and the error rate is less than 1% when the number of concurrent users reaches 500, it means that the SDK can withstand a large number of concurrent accesses. Finally, for data-intensive applications, you can use Charles's Rewrite function or self-developed data generator to simulate a single request with a data volume of 1KB, 100KB, 1MB, etc., and analyze the changes in the SDK's data transmission speed and memory usage. For example, if the SDK's average transmission speed is higher than 5MB / s when the request data volume is 1MB, and the memory usage is less than 50MB, it proves that its data processing efficiency is high and can meet the business needs of large data volumes. By combining the stress test results of the above multiple dimensions, we can obtain the overall performance of the SDK in extreme scenarios such as unstable network, poor device performance, many concurrent users, and large data volume. Through visual charts such as line charts and waterfall charts, we can intuitively show the advantages and disadvantages of its performance and the room for improvement, providing strong data support and decision-making basis for subsequent optimization work, and ultimately creating a stable, efficient, reliable and high-quality SDK product.

[0067] In some embodiments, the script further includes memory leak detection after analyzing the log data. The memory leak detection includes: the script analyzes the log data through a linear regression algorithm to predict the memory growth trend. If the memory usage shows a continuous growth trend, it is determined that a memory leak exists, and the memory leakage rate is calculated.

[0068] Preferably, the script adds memory leak detection between analyzing the log data and reporting the analysis results to the advertising platform, which is specifically implemented as follows: advertising request: the game sends an advertising request to the advertising platform through the SDK and waits for an advertising response; reporting response: the advertising platform responds to the game request and returns the advertising content; automated script detection: the script sends a check command to the SDK, and the SDK returns log data to the script for analysis; at the same time, the script regularly samples and analyzes the memory space occupied by the SDK and records the memory usage; memory leak detection: a linear regression algorithm is used to analyze the collected memory data and predict the memory growth trend; if the memory usage shows a continuous growth trend, it is determined that there is a memory leak, and the leakage rate is calculated. rate; memory leak detection results will be used as an important indicator of the operation status of the advertising SDK; reporting result analysis: the script analyzes the reporting results and memory detection results to comprehensively determine whether the advertisement is successfully displayed and whether the SDK has abnormal conditions such as memory leaks; the analysis results will be fed back to the advertising platform and a test report will be generated at the same time; manual inspection prompts: if there are abnormalities, the script prompts manual intervention to check the abnormal points, including abnormal advertising display and memory leaks; manual inspection will assist in determining the cause of the abnormality and provide optimization suggestions; automatic packaging and installation: the script automatically packages and installs the game on the test device for the next round of testing; at the same time, the memory detection module is integrated into the packaging and installation process to realize the automation of the detection function. By adding a memory leak detection module, the automated test script can comprehensively evaluate the performance and stability of the advertising SDK to ensure that the SDK will not have memory leaks during operation, consume too much memory resources, and affect the user experience. The memory detection results and advertising display results will form a complete test report, providing a basis for optimizing SDK performance. At the same time, the memory detection module is integrated into the automated packaging and installation process to further improve the test efficiency and ensure the quality of the SDK.

[0069] Specifically, the game sends an ad request to the ad platform through the SDK and waits for an ad response. After receiving the request, the ad platform selects appropriate ad content from the ad library, encapsulates it in JSON format, and returns it to the SDK through the HTTP protocol. The automated script sends a check command to the SDK through Socket communication. After receiving the command, the SDK returns the key log data to the script in the form of key-value pairs. The script parses the log data and extracts key indicators such as ad fill rate and display rate. At the same time, it collects the size of the SDK's occupied memory space every 5 seconds for 100 consecutive times. The collected memory data will be used for memory leak detection. The memory occupancy growth curve is fitted by the least squares method. If the slope of the fitted curve is greater than 1MB / min, it is determined that there is a memory leak, and the leak rate is the slope value. The memory leak detection results are fed back to the ad platform together with the ad indicator data, and a PDF format test report is generated at the same time. If there is an abnormal situation, such as a memory leak rate exceeding 1MB / min or an ad fill rate less than 90%, a red prompt will be marked in the report and sent to the relevant personnel by email. The script automatically calls Android packaging tools such as Gradle, dynamically modifies game package name, version number and other parameters according to the configuration file, inserts the memory detection module code into the game code, performs packaging and signing, generates an APK file, and automatically installs it to the test device through the ADB tool for the next round of testing.

[0070] In some embodiments, based on the log data, the actual values ​​of the click-through rate, views and dwell time of the advertising content in the current time period are obtained, and the predicted values ​​of the click-through rate, views and dwell time of the advertising content in each time period are obtained through model training. The predicted values ​​and the actual values ​​are compared using statistical analysis methods to obtain the performance effect of the advertising content in the current time period.

[0071] According to the display log of the advertising delivery platform, the advertisement screenshot data is obtained to obtain the screenshot image of the actual advertisement display. The material library in the advertising creative management system is used to obtain the original advertisement material and determine the original advertisement image or video used for delivery. Through image processing technology, the key element features in the advertisement screenshot are extracted to obtain information such as title, brand, slogan, product image, etc. The image similarity calculation algorithm is used to calculate the similarity between the key elements extracted from the advertisement screenshot and the original advertisement material to obtain the matching score. According to the advertisement display log, the timestamp of the advertisement display is obtained to determine the specific time when the advertisement display starts and ends. Through the user behavior tracking system, the user's interactive behavior during the advertisement display is obtained to determine the specific behavior data of the user's click, hover, skip, etc. on the advertisement. Using the advertisement delivery page structure data, the specific display position of the advertisement in the page or app is obtained to determine the display position of the advertisement. According to the device information identification, the device type when the advertisement is displayed is obtained to determine whether the device used for the advertisement display is a mobile phone, computer, etc. Through the user data analysis system, the population characteristics of the advertisement display object are obtained to determine the user portrait information, including age, gender, interests, etc. Based on the data obtained in the above steps, a complete advertising effect analysis system is formed to provide data support for advertising strategy optimization and effect evaluation.

[0072] Specifically, in order to realize the advertising effect analysis system, first obtain the advertising screenshot data from the display log of the advertising delivery platform, such as exporting a CSV file containing the URL of the advertising screenshot from the log record. Then, use the material library in the advertising creative management system to download the original advertising material, including pictures and videos. For example, the advertising material library contains an image file named "summer_sale_banner.jpg". Next, extract the key element features from the advertising screenshot through image recognition algorithms (such as OpenCV and Tesseract). Suppose the title we extracted from the advertising screenshot is "SummerSale", the brand name is "XYZClothing", the slogan is "Upto50% off", and the product image URL is "product_image_12jpg". Next, use the image similarity calculation algorithm (such as SIFT or ORB feature matching) to calculate the similarity between the key elements extracted from the advertising screenshot and the original advertising material. Assume that the similarity score calculated by the SIFT algorithm is 85%. We use the timestamp data in the ad display log to determine the specific time of ad display, such as the display start time is "2023-10-0114:00:00" and the end time is "2023-10-0114:05:00". Through the user behavior tracking system, such as using the event tracking function of Google Analytics, obtain the user's interactive behavior data during the ad display. For example, the number of times the user clicks on the ad is recorded as 150 times, the hover time is an average of 5 seconds, and the proportion of skip behavior is 30%. Then, using the ad delivery page structure data, determine the specific display position of the ad in the page or app, such as in the middle of the right column of the web page. Through device information identification, obtain the device type when the ad is displayed, for example, identify the devices that display the ad as 60% mobile phones, 30% computers, and 10% tablets. Further, through the user data analysis system, using SQL query or a dedicated analysis platform, extract the demographic information of the ad display object from the database, such as the user age group of 18-34 years old accounts for 70%, and the gender ratio is 60% female and 40% male. Combining all the above data, a complete advertising effect analysis system is formed through data analysis tools (such as Tableau or Excel). For example, by combining the similarity score of the advertising display, user interaction behavior, display location and device type, it is concluded that the advertisement has the best effect among young women, with a high click-through rate and hover time, which can provide accurate data support for future advertising strategy optimization and effect evaluation.

[0073] See also Figure 2 The present application also proposes a reporting system for game advertising media packages, including:

[0074] First processing module 201: the game terminal sends an advertisement request to the advertisement platform through the SDK, and the advertisement platform responds to the advertisement request and transmits the advertisement content of the game to the game terminal;

[0075] Second processing module 202: The script sends a check command to the SDK based on the advertisement content transmitted by the game terminal, and the SDK transmits log data to the script according to the check command;

[0076] The third processing module 203: the script analyzes the log data and reports the analysis result to the advertising platform, and the script determines whether to display the advertising content based on the analysis result;

[0077] Fourth processing module 204: if the analysis result contains abnormal content, the script prompts to check the abnormal content; if the analysis result contains no abnormal content, the script packages and installs the advertisement content on the test device;

[0078] When the script packages and installs the advertisement content on the test device, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data.

[0079] It is understandable that if Figure 1 The contents of the game advertising media package reporting and checking method embodiment shown in the figure are applicable to the game advertising media package reporting and checking system embodiment of the present invention. The functions specifically implemented by the game advertising media package reporting and checking system embodiment are similar to those of the present invention. Figure 1 The reporting and checking method for the game advertisement media package shown in the embodiment is the same as that in the embodiment shown in the embodiment, and the beneficial effects achieved are the same as those in the embodiment shown in the embodiment. Figure 1 The beneficial effects achieved by the embodiment of the reporting and checking method for game advertisement media packages shown are also the same.

[0080] It should be noted that the information interaction, execution process and other contents between the above-mentioned systems are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0081] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0082] See also Figure 3 The embodiment of the present invention further provides a computer device 3, comprising: a memory 302 and a processor 301 and a computer program 303 stored in the memory 302. When the computer program 303 is executed on the processor 301, a reporting and checking method for a game advertisement media package as described in any one of the above methods is implemented.

[0083] The computer device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0084] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0085] In some embodiments, the memory 302 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 302 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 3. Further, the memory 302 may also include both an internal storage unit of the computer device 3 and an external storage device. The memory 302 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0086] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for reporting and checking a game advertisement media package as described in any one of the above methods is implemented.

[0087] In this embodiment, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0088] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for reporting and checking a game advertisement media package, characterized in that: include: The game terminal sends an advertisement request to the advertisement platform through the SDK, and the advertisement platform responds to the advertisement request and transmits the advertisement content of the game to the game terminal; The script sends a check command to the SDK based on the advertisement content transmitted by the game terminal, and the SDK transmits log data to the script according to the check command; The script analyzes the log data and reports the analysis result to the advertising platform, and the script determines whether the advertising content is displayed based on the analysis result; If the analysis result contains abnormal content, the script prompts to check the abnormal content; if the analysis result contains no abnormal content, the script packages and installs the advertisement content on the test device; When the script packages and installs the advertisement content on the test device, the script performs stress testing on the SDK by simulating a stress environment and records the performance data of the SDK, and generates a performance report of the SDK based on the performance data.

2. The reporting and checking method of the game advertisement media package according to claim 1 is characterized in that: The stress environment includes at least one of low battery of the device, insufficient memory of the device and different network environments; the performance data includes at least one of response time, resource usage and crash rate.

3. The reporting and checking method of the game advertisement media package according to claim 2 is characterized in that: Recording the response time includes: Setting a time window, and extracting data of all response times within the time window from the data of recorded response times; Calculating a mean value of the response time according to the data of all response times in the time window, and calculating a standard deviation of the response time based on the mean value and the data of each response time; Based on the mean and the standard deviation, a timeout judgment threshold is calculated, where the timeout judgment threshold=mean of the response time+3*standard deviation of the response time; Based on the data of all response times in the time window, the request volume and the timeout request volume in the time window are respectively obtained, the timeout rate in the time window is calculated based on the request volume and the timeout request volume, and the size of the next time window is adjusted according to the timeout rate.

4. The reporting and checking method of the game advertisement media package according to claim 2 is characterized in that: The script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data, including: The script simulates different network environments, obtains the performance table data of the SDK under various network conditions, records the response time and success rate of the SDK under different network delay and packet loss rate pressure environments, and obtains the performance report of the SDK in different network environments.

5. The reporting and checking method of the game advertisement media package according to claim 4 is characterized in that: The script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generating a performance report of the SDK based on the performance data further includes: The script obtains the running status of the SDK by simulating a stress environment of low battery and insufficient device memory, records the CPU occupancy and crash rate of the SDK, and obtains a performance report of the SDK under low battery and insufficient device memory.

6. The reporting and checking method of the game advertisement media package according to claim 1 is characterized in that: After analyzing the log data, the script also includes memory leak detection. The memory leak detection includes: the script analyzes the log data through a linear regression algorithm to predict the memory growth trend. If the memory usage shows a continuous growth trend, it is determined that there is a memory leak and the memory leakage rate is calculated.

7. The reporting and checking method of the game advertisement media package according to claim 1 is characterized in that: Based on the log data, the actual values ​​of the click-through rate, views and dwell time of the advertising content in the current time period are obtained, and the predicted values ​​of the click-through rate, views and dwell time of the advertising content in each time period are obtained through model training. The predicted values ​​and the actual values ​​are compared using statistical analysis methods to obtain the performance effect of the advertising content in the current time period.

8. A reporting system for game advertising media packages, characterized in that: include: First processing module: the game terminal sends an advertisement request to the advertisement platform through the SDK, and the advertisement platform transmits the advertisement content of the game to the game terminal after responding to the advertisement request; Second processing module: the script sends a check command to the SDK based on the advertisement content transmitted by the game terminal, and the SDK transmits log data to the script according to the check command; The third processing module: the script analyzes the log data and reports the analysis result to the advertising platform, and the script determines whether to display the advertising content based on the analysis result; Fourth processing module: if the analysis result contains abnormal content, the script prompts to check the abnormal content; if the analysis result contains no abnormal content, the script packages and installs the advertisement content on the test device; When the script packages and installs the advertisement content on the test device, the script simulates a stress environment to perform stress testing on the SDK and records performance data of the SDK, and generates a performance report of the SDK based on the performance data.

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

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and system for implementing regression testing

    CN106569955A

  • Method and device for processing advertising request

    CN107590686A

  • Software development kit testing method, device and equipment and computer storage medium

    CN110119350A

  • Method and system for analyzing internet advertisement abnormal equipment and medium

    CN110706033A

  • SDK test method and device, equipment and storage medium

    CN111651366A

Cited By

  • Integrated data reporting system and method based on Android platform

    CN119792907A

  • Multi-scene advertisement identification content management system based on cloud platform

    CN119963257A

  • Media advertisement putting interaction method and system

    CN120612132A