Data testing method, device, equipment and storage medium

By using a nested view unit approach, the problem of existing technologies being unable to test complex page data with multiple configuration parameter combinations is solved, enabling fast and flexible testing of complex page data, applicable to different platforms.

CN114860564BActive Publication Date: 2026-11-24TENCENT TECH (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110146948.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-03
Publication Date
2026-11-24
Estimated Expiration
2041-02-03

AI Technical Summary

Technical Problem

Existing A/B testing methods cannot effectively test complex page data formed by combinations of multiple configuration parameters, especially the combination of content configuration, style configuration and recommendation configuration at the same time.

Method used

Page data is described using a nested view unit approach. Configuration data is retrieved from the view unit tree, and the corresponding view units are displayed on the terminal device. Click parameters are retrieved in response to user clicks, and the server determines the test results based on the click parameters.

Benefits of technology

It enables rapid and flexible testing of complex page data with multiple configuration parameter combinations, is applicable to different platforms, reduces data transmission volume, and can perform tests on different dimensions such as content configuration, style configuration, and recommendation configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860564B_ABST
    Figure CN114860564B_ABST
Patent Text Reader

Abstract

This application provides a data testing method, apparatus, device, and storage medium, applied in the field of computer technology, and particularly relating to page data testing, for testing complex page data composed of configuration parameters. Based on the page identifier of the page to be tested, a view unit tree associated with the page identifier is obtained from the server. Each child node in the tree represents the view unit identifier of a view unit corresponding to a business function on the page to be tested. For each child node, a data request is sent to the server to obtain the target configuration data of the view unit corresponding to each child node. The target configuration data includes at least two of content configuration, style configuration, and recommended configuration. Based on the obtained target configuration data, the corresponding view unit is displayed on the page to be tested. In response to a click operation triggered for any view unit, the corresponding click parameters are obtained and reported to the server, so that the server determines the test result based on the click parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a data testing method, apparatus, device, and storage medium. Background Technology

[0002] With technological advancements and the progress of internet industrialization, data has become a crucial component of product and operational processes, and the results of data analysis have become an important element in guiding product and operational strategies. Currently, the most widely used data analysis method for testing data is A / B testing.

[0003] ABTest is also used to test page data, but ABTest can only test simple configuration data and cannot test complex page data formed by the combination of multiple configuration parameters. Summary of the Invention

[0004] This application provides a data testing method, apparatus, device, and storage medium for testing complex page data formed by combinations of multiple configuration parameters.

[0005] In a first aspect, embodiments of this application provide a data testing method, the method comprising:

[0006] Based on the page identifier of the page to be tested, the view unit tree associated with the page identifier is obtained from the server. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0007] For each child node in the view unit tree, a data request is sent to the server to obtain the target configuration data of the view unit corresponding to each child node. The target configuration data includes at least two of the following: content configuration, style configuration, and recommendation configuration.

[0008] Based on the obtained target configuration data, the corresponding view units are displayed on the page to be tested;

[0009] In response to a click action triggered for any view unit, the system obtains the corresponding click parameters and reports them to the server so that the server can determine the corresponding test result based on the click parameters.

[0010] Secondly, embodiments of this application provide a data testing method, the method comprising:

[0011] Based on the page identifier of the page to be tested reported by the terminal device, the view unit tree associated with the page identifier is returned to the terminal device. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0012] The terminal device receives data requests sent by each child node in the view unit tree and determines the target configuration data for the view unit corresponding to each child node.

[0013] The determined target configuration data is returned to the terminal device so that the terminal device can display the corresponding view unit on the page to be tested based on the target configuration data. The target configuration data includes at least two of the following: content configuration, style configuration, and recommendation configuration.

[0014] Upon receiving each click parameter reported by the terminal device, the corresponding test result is determined based on the click parameter. The click parameter is determined by the terminal device in response to a click operation triggered on any view unit in the page under test.

[0015] Thirdly, embodiments of this application provide a data testing apparatus, the apparatus comprising:

[0016] The acquisition unit is used to retrieve the view unit tree associated with the page identifier from the server based on the page identifier of the page to be tested. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0017] The sending unit is used to send data requests to the server for each child node in the view unit tree in order to obtain the target configuration data of the view unit corresponding to each child node. The target configuration data includes at least two of the following: content configuration, style configuration and recommendation configuration.

[0018] The display unit is used to display the corresponding view unit on the page to be tested based on the obtained target configuration data;

[0019] The reporting unit is used to obtain the corresponding click parameters for each click operation triggered for any view unit, and report the click parameters to the server so that the server can determine the corresponding test result based on the click parameters.

[0020] In one possible implementation, the sending unit is specifically used for:

[0021] Send a data request to the server, wherein the data request carries at least the view unit identifier and terminal device identifier corresponding to each child node;

[0022] The server receives target configuration data returned in response to a data request. The target configuration data is either experimental configuration data associated with each view unit identifier returned by the server after determining that the data request has met the test conditions based on the terminal device identifier, or default configuration data associated with each view unit identifier returned by the server after determining that the data request has not met the test conditions based on the terminal device identifier. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data.

[0023] Fourthly, embodiments of this application provide a data testing apparatus, the apparatus comprising:

[0024] The first return unit is used to return the view unit tree associated with the page identifier to the terminal device based on the page identifier of the page to be tested reported by the terminal device. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0025] The determination unit is used to receive data requests sent by the terminal device for each child node in the view unit tree, and determine the target configuration data of the view unit corresponding to each child node respectively.

[0026] The second return unit is used to return the determined target configuration data to the terminal device so that the terminal device can display the corresponding view unit on the page to be tested based on the target configuration data. The target configuration data includes at least two of the following: content configuration, style configuration, and recommended configuration.

[0027] The receiving unit is used to receive click parameters reported by the terminal device and determine the corresponding test results based on the click parameters. The click parameters are determined by the terminal device in response to a click operation triggered on any view unit in the page to be tested.

[0028] In one possible implementation, the determining unit is specifically used for:

[0029] The test system receives data requests sent by terminal devices, and the data requests carry at least the view unit identifier and the terminal device identifier corresponding to each child node.

[0030] The test system obtains the hit result of the data request based on the terminal device identifier. The hit result is used to indicate whether the data request hits the test conditions.

[0031] The hit results and the view unit identifiers corresponding to each child node are forwarded to the management system, so that the management system can determine the target configuration data associated with each view unit identifier based on the hit results.

[0032] In one possible implementation, the determining unit is specifically used for:

[0033] The management system determines at least two configuration data corresponding to each view unit identifier. The at least two configuration data include default configuration data and at least one experimental configuration data. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data.

[0034] If the hit result indicates that the data request hits the test condition, then based on the hit result, the corresponding experimental configuration data is selected from at least two configuration data, and the experimental configuration data is used as the target configuration data.

[0035] If the hit result indicates that the data request did not meet the test conditions, then the default configuration data is selected from at least two configuration data and used as the target configuration data.

[0036] Fifthly, embodiments of this application provide a data testing device, including: a memory and a processor, wherein the memory is used to store computer instructions; and the processor is used to execute the computer instructions to implement the data testing method provided in embodiments of this application.

[0037] Sixthly, embodiments of this application provide a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the data testing method provided in embodiments of this application.

[0038] The beneficial effects of this application are as follows:

[0039] This application provides a data testing method, apparatus, device, and storage medium. In this embodiment, a terminal device can obtain a view unit tree associated with the page identifier from a server based on the page identifier of the page to be tested. For each child node in the view unit tree, the terminal device obtains the target configuration data of the view unit corresponding to that view unit identifier. The target configuration data includes at least two of content configuration, style configuration, and recommended configuration. Therefore, the target configuration data obtained by the terminal device is formed by a combination of multiple configuration parameters. Then, based on the obtained target configuration data, the terminal device displays the corresponding view units on the page to be tested. During the display of the corresponding view units on the page to be tested, in response to each click operation triggered for any view unit, the terminal device obtains the corresponding click parameters and reports them to the server. The server determines the corresponding test result based on the click parameters, enabling the server to determine the different effects brought about by using different target configuration data for the same level of page to be tested. This application uses a nested view unit approach to describe the data source and style of the page to be tested, which is applicable to different platforms, reduces data transmission volume, and allows for quick and flexible testing of complex page data with multiple configuration parameter combinations.

[0040] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 A schematic diagram illustrating the interface for displaying the same test page on different platforms, provided for embodiments of this application;

[0043] Figure 2 This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0044] Figure 3 A flowchart illustrating an overall data testing method provided in this application embodiment;

[0045] Figure 4 This application provides a schematic diagram of the structure of a view unit tree corresponding to an application.

[0046] Figure 5 This application provides a schematic diagram of the structure of a view unit tree obtained based on a page identifier, as shown in an embodiment of the present application.

[0047] Figure 6 A schematic diagram of the definition interface of an experimental framework with scalable configuration provided in an embodiment of this application;

[0048] Figure 7 A schematic diagram of the experimental configuration interface of an scalable experimental framework provided in this application embodiment;

[0049] Figure 8 A schematic diagram of the configuration interface of an experimental framework with scalable configuration provided in an embodiment of this application;

[0050] Figure 9 A schematic diagram of functional components of an experimental framework for scalable configuration derived from a schema, provided for embodiments of this application;

[0051] Figure 10 A schematic diagram of a form component in an experimental framework for a single-field schema configuration and derived extensible configuration provided in an embodiment of this application;

[0052] Figure 11 A flowchart illustrating the rendering of a view unit in a page to be tested, provided as an embodiment of this application;

[0053] Figure 12 A test flowchart provided for an embodiment of this application;

[0054] Figure 13 A flowchart of a data testing method provided in an embodiment of this application;

[0055] Figure 14 A flowchart of another data testing method provided in this application embodiment;

[0056] Figure 15 A structural diagram of a data testing device provided in an embodiment of this application;

[0057] Figure 16 Another data testing device structure diagram provided in the embodiments of this application;

[0058] Figure 17 This is a structural diagram of a computing device provided in an embodiment of this application. Detailed Implementation

[0059] To make the objectives, technical solutions, and beneficial effects of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0060] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.

[0061] 1. A / B Testing: Before the official product iteration and release, A / B testing involves customizing two (or more) solutions for the same goal. User traffic is divided into several groups, and users are randomly given one of the two solutions while ensuring that each group of users has the same characteristics. Users are then shown different solution designs. Based on the real data feedback from several groups of users, the solution is judged to be more effective, and a decision is made on the product. The results can be measured by click-through rate (CTR) or order rate.

[0062] A / B testing involves simultaneously testing two or more solutions online to ensure the consistency of the environment in which each version operates. This facilitates a more scientific and objective comparison of advantages and disadvantages, saves verification time, and eliminates the need to test one version after verifying another.

[0063] 2. View Unit: A data structure definition that describes a page. Nested view units can describe the presentation of any page. For example, in a video scenario, each page can be described using structures such as Page, Module, Section, and Block.

[0064] 3. View Data Source: Each view unit is associated with a data source, which defines the request service name, request function name, request protocol, and request method for the content data presented by the view unit.

[0065] 4. View Style: Each view unit is associated with a style, which defines the style type, layout, and supported versions of the view unit.

[0066] 5. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computing, storage, processing, and sharing of data.

[0067] Cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies applied to the cloud computing business model. It can form resource pools, providing flexible and convenient on-demand access. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to backend systems for logical processing. Data at different levels will be processed separately, and various industry data will all require robust system support, which can only be achieved through cloud computing.

[0068] The design concept of the embodiments of this application will be briefly introduced below.

[0069] This application is for testing page data. It mainly involves testing various pre-designed schemes for products that are displayed on the page before the official iteration and release, in order to obtain a large number of user click-through rates for different schemes, and then determine the test results corresponding to different schemes based on the user click-through rates.

[0070] In related technologies, when testing page data, the content configuration parameters (i.e., the content configuration in this embodiment) and style configuration parameters (i.e., the style configuration in this embodiment) are distributed across different management systems. Furthermore, because the testing system does not understand business function-related configurations, it cannot combine them. For example, if a business function corresponds to both content and style configurations, the testing system cannot combine them and can only test each configuration parameter individually. Therefore, when testing page data, the testing system can only test the content configuration or the style configuration, and cannot test complex configuration data such as combinations of content and style configurations.

[0071] Currently, the content displayed on the pages of various applications is mostly a combination of recommended configurations, content configurations, and style configurations. In other words, the displayed content is complex configuration data formed by a combination of various configuration parameters. At present, there is no technical solution for testing complex configurations. Therefore, it is very important to know how to quickly test complex configuration data.

[0072] In view of this, this application provides a data testing method to test complex configuration data formed by combinations of multiple configuration parameters, and to perform page testing in different dimensions, such as content configuration, style configuration, content configuration + style configuration, and content configuration + style configuration + recommendation configuration. This application provides an experimental framework for scalable configuration. This framework allows for the combination of scalable configurations such as content configuration, style configuration, and recommendation configuration in different ways; it also allows for the modification of default configuration data to form at least one set of experimental configuration data corresponding to the default configuration data. The server's management system can then use this scalable configuration experimental framework to combine multiple configuration parameters corresponding to the same business function, using each combined configuration data as the default configuration data, and modifying at least one parameter in the default configuration data to generate at least one set of experimental configuration data. This allows for the setting of multiple different display schemes for the business function. It should be noted that each business function may correspond to at least one of the scalable configurations such as content configuration, style configuration, and recommendation configuration.

[0073] Furthermore, most applications require configurations that display the same content with minor differences across different platforms, such as mobile devices, web pages, PCs, and mini-programs. Figure 1As shown, taking a video application as an example, for the same video application, due to different platforms and different system resolutions, the number and size of images that need to be rendered in the same business function are different on different resolution systems. Therefore, separate configuration is required for different platforms; moreover, the order of business functions may also be different on different platforms. Figure 1 As shown, Figure 1 The left side of the image shows a screenshot of a featured channel page of a video application displayed on a mobile terminal, while the right side shows a screenshot of the same featured channel page on a PC. Although the featured channel pages contain the same business functions, the number of images displayed for different business functions differs, and the order of the business functions on the mobile terminal differs from that on the PC. Therefore, this embodiment proposes using a nested view unit approach to describe the view data source and view style of any page. Specifically, this embodiment uses view units to describe the page and converge configuration data. A page consists of multiple view units with different business functions, and each view unit can contain multiple images. Then, in conjunction with a test system on a server, each view unit on any page is tested to obtain the test results of the default configuration data and experimental configuration data corresponding to each view unit. Using a nested view unit approach to describe the data source and style of the page under test is applicable to different platforms, reduces data transmission volume, and allows for quick and flexible testing of complex page data with multiple configuration parameter combinations.

[0074] It should be noted that the method of using nested view units to describe the page can be applied to various content-based products.

[0075] In this embodiment of the application, the terminal device first obtains the page identifier of the page to be tested indicated by the display instruction triggered by the user from the server; further, it obtains the page-level view unit tree associated with the page identifier from the server based on the page identifier.

[0076] The terminal device recursively obtains the entire view unit tree. Based on the view unit identifier represented by each child node in the view unit tree, it obtains the configuration data of the view unit corresponding to each view unit identifier. This configuration data may be the default configuration data corresponding to the view unit, or it may be the experimental configuration data corresponding to the view unit, which mainly depends on the view unit tree allocated to the terminal device by the server's test system.

[0077] The terminal device parses and requests the configurations such as view content, view style, and recommendations individually or in combination based on the acquired configuration data, and finally presents each view unit on the page to be tested.

[0078] Each time a terminal device responds to a click action triggered on any view unit in the page under test, it obtains the corresponding click parameters and then reports these parameters to the server. The server's testing system performs data statistics based on the view unit identifier and the reported click parameters, and determines the corresponding test result based on the data statistics results.

[0079] After introducing the design concept of the embodiments of this application, the following is a brief introduction to the application scenarios to which the technical solutions of the embodiments of this application can be applied. It should be noted that the application scenarios described below are only for illustrating the embodiments of this application and are not intended to limit the scope. In specific implementation, the technical solutions provided by the embodiments of this application can be flexibly applied according to actual needs.

[0080] Figure 2 An exemplary application scenario diagram of an embodiment of this application is provided, which includes a terminal device 20 and a server 21.

[0081] Among them, the terminal device 20 has various applications installed and running that need to display pages. The terminal device 20 is an electronic device used by the user, which can be a personal computer, mobile phone, tablet computer, laptop, e-book reader, etc.

[0082] Server 21 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0083] In one alternative implementation, the terminal device 20 and the server 21 can communicate via a communication network. The communication network can be a wired network or a wireless network. The terminal device 20 can be indirectly connected to the server 21 via a wireless access point 22, or directly connected to the server 21 via the Internet; this application does not impose any limitations on this.

[0084] In one possible implementation, after receiving a display command triggered by the user, the terminal device 20 sends a request to the server 21 to obtain the page identifier of the page to be tested indicated by the display command. Upon receiving the page identifier, the terminal device 20 reports the page identifier to the server 21. Based on the mapping relationship between the page identifier and the view unit tree, the server 21 determines the view unit tree corresponding to the page identifier and sends this view unit tree back to the terminal device 20. Therefore, the terminal device 20 obtains the page-level view unit tree based on the page identifier. After obtaining the view unit tree, the terminal device 20 traverses the entire view unit tree and determines the view unit tree based on the view unit identifiers of the child nodes in the view unit tree. The terminal device 20 sends a data request to the server 21 to obtain the configuration data of the view unit corresponding to the view unit identifier. After obtaining the configuration data, the terminal device 20 performs separate or combined parsing and requests for the configuration of view content, view style, recommendations, etc., according to the configuration data, and renders the view corresponding to the configuration data on the test page of the terminal device 20. Furthermore, the terminal device 20 reports the click parameters obtained based on the user's click operation on any view unit on the test page, as well as the view unit identifier corresponding to the clicked view unit, to the test system of the server 21, so that the test system can perform data statistics based on the view unit identifier and the reported click parameters to determine the corresponding test results.

[0085] In one possible implementation, this application employs cloud computing to provide services to terminal device 20. Cloud computing is a computing model that distributes computing tasks across a resource pool composed of a large number of computers, where each computer can act as a server, enabling various application systems to obtain computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, the resources in the "cloud" are infinitely scalable, readily available, on-demand, expandable, and pay-as-you-go.

[0086] As a provider of fundamental cloud computing capabilities, a cloud resource pool (referred to as a cloud platform, generally called an Infrastructure as a Service (IaaS) platform) is established. Various types of virtual resources are deployed in the resource pool for external customers to choose from. The cloud resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, and network devices.

[0087] Cloud computing is a product of the development and integration of traditional computer and network technologies such as grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balancing.

[0088] based on Figure 2 The following provides examples of the data testing methods involved in the embodiments of this application, based on the application scenarios.

[0089] Please refer to Figure 3 , Figure 3 An exemplary data testing method is provided in an embodiment of this application, the method comprising the following steps:

[0090] In step S300, the terminal device sends a first request to the server to obtain the view unit tree associated with the page identifier based on the page identifier of the page to be tested, so as to obtain the view unit tree associated with the page identifier from the server.

[0091] The first request contains the page identifier of the page to be tested.

[0092] In this embodiment of the application, the terminal device first responds to the display instruction and sends a second request to the server to obtain the page identifier based on the display instruction, so as to obtain the page identifier of the page to be tested from the server;

[0093] The display command can be a start command triggered when the application is launched, or it can be an operation command that performs a click operation on any view unit in a page already displayed in the application.

[0094] In step S301, the server responds to the first request to obtain the view unit tree associated with the page identifier, and obtains the view unit tree associated with the page identifier based on the page identifier in the first request.

[0095] The server pre-stores the mapping relationship between page identifiers and view unit trees. Therefore, after obtaining the page identifier, the view unit tree associated with the page identifier can be determined based on the pre-stored mapping relationship between page identifiers and view units.

[0096] In this embodiment of the application, each application can be understood as a very large view unit tree, and the view unit tree corresponding to that application is stored on the server. For example... Figure 4The diagram shown illustrates the structure of a view unit tree corresponding to a video application provided in this embodiment. Each node in the view unit tree can represent a view unit identifier. The hierarchy in the view unit tree represents the page hierarchy. There are two interconnected levels in the view unit tree, where the view unit identifier of the upper level is the page identifier of the page containing the view unit of the lower level. Therefore, in a sense, the page identifier is also a view unit identifier. For example, the featured video page of a video application displays modules such as business function A, business function B, and business function C.

[0097] Therefore, when determining the view unit tree associated with a page identifier from the pre-stored mapping relationship between page identifiers and view unit trees, only the multiple view unit identifiers associated with that page identifier can be determined. That is, a portion of the corresponding view unit tree is applied, which can also be called a view unit subtree. For example... Figure 5 The diagram shown is a schematic representation of a view unit tree obtained based on a page identifier, according to an embodiment of this application.

[0098] The view unit tree is a two-layer structure. The first layer is the root node of the view unit tree, which is used to represent the page identifier of the page to be tested. The second layer of the view unit tree is the child nodes of the view unit tree. A root node can connect to multiple child nodes. Each child node is used to represent the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0099] In step S302, the server returns the view cell tree associated with the page identifier to the terminal device.

[0100] In this context, each child node in the view unit tree associated with the page identifier represents the view unit identifier of the view unit corresponding to a business function in the page to be tested, and the root node in the view unit tree identifies the page identifier of the page to be tested.

[0101] In one possible implementation, after the server obtains the page identifier reported by the terminal device, it determines the view unit identifier of the view unit corresponding to each business function in the page to be tested according to the mapping relationship between the page identifier and the application's view unit tree. At this time, it returns multiple view unit identifiers to the terminal device for rendering the current page to be tested.

[0102] In this embodiment of the application, the terminal device can obtain the configuration data of each business function in the page to be tested corresponding to the root node, that is, the configuration data of each view unit in the page to be tested, based on the view unit identifier.

[0103] In step S303, the terminal device traverses each child node in the view unit tree and sends a data request to the server for each child node to obtain the target configuration data of the view unit corresponding to each child node.

[0104] In this embodiment, the data request sent by the terminal device to the server carries at least the view unit identifier and the terminal device identifier corresponding to each child node, so that the server can obtain the hit result of the data request based on the terminal device identifier through the test system. The hit result is used to indicate whether the data request hits the test conditions. Based on the hit result, the management system filters out the target configuration data of the view unit corresponding to each view unit identifier from at least two configuration data corresponding to each view unit identifier.

[0105] It should be noted that the data request carrying the view unit identifier and terminal device identifier is only an example. In this embodiment, the data request may also carry the terminal version, application version, and user-related information such as user identification information, user access time, and access region.

[0106] In step S304, after receiving the data request sent by the terminal device for each child node in the view unit tree, the server determines the target configuration data of the view unit corresponding to each child node.

[0107] In this embodiment of the application, the server receives data requests sent by the terminal device for each sub-node through the test system, and the test system obtains the view unit identifier and terminal device identifier corresponding to each sub-node carried in the data request; then the test system determines the hit result of the data request based on the received terminal device identifier, and the hit result is used to indicate whether the data request hits the test conditions.

[0108] The server sends the hit results of the data request and the identifiers of each view unit carried in the data request to the management system through the testing system, so that the management system can determine the target configuration data of the view unit corresponding to each child node.

[0109] After receiving the hit results and the identifiers of each view unit, the management system first determines at least two configuration data corresponding to each view unit identifier. The at least two configuration data include one default configuration data and at least one experimental configuration data. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data based on the experimental framework of extensible configuration.

[0110] Secondly, the management system determines whether the data request meets the test conditions based on the hit results forwarded by the test system, and filters out the target configuration data of the view unit corresponding to each view unit identifier.

[0111] In this embodiment of the application, when the management system filters the target configuration data of the view unit corresponding to each view unit identifier based on the hit result:

[0112] If the hit result indicates that the test conditions were not met, that is, the experimental configuration data was not met, then at least two configuration data corresponding to each view unit are identified, the default configuration data corresponding to each view unit is filtered out, and the filtered default configuration data is used as the target configuration data.

[0113] If the hit result indicates that the test conditions have been met, i.e. the experimental configuration data has been met, then the data type of the hit experimental configuration is determined based on the hit result. Further, based on the data type of the hit experimental configuration, at least two corresponding configuration data are identified in each view unit, the experimental configuration data corresponding to the experimental configuration data type is filtered out, and the filtered experimental configuration data is used as the target configuration data.

[0114] In one possible implementation, after receiving a data request from a terminal device, the server inputs the terminal device identifier carried in the data request into the testing system, and the testing system determines the hit result of the data request based on the terminal device identifier.

[0115] The testing system can be pre-set with data distribution information and device tags. The data distribution information allocates configuration data corresponding to a view unit identifier to at least one type of terminal device according to the same or different proportions. Therefore, the data distribution information can be used to allocate different configuration data corresponding to the same view unit identifier to corresponding terminal devices of the same type according to a corresponding proportion. The device tag is a label used to identify the device type of the terminal device to which configuration data is to be allocated. Device types include mobile phones, PCs, tablets, etc.

[0116] For example, view unit identifier A corresponds to experimental configuration data A, experimental configuration data B, and default configuration data. In this case, the preset data distribution information and device labels in the test system can be: allocate 30% of experimental configuration data A to the PC, allocate 30% of experimental configuration data B to the PC, allocate 40% of default configuration data to the PC; allocate 20% of experimental configuration data A to the mobile device, allocate 30% of experimental configuration data B to the mobile device, and allocate 50% of default configuration data to the mobile device.

[0117] In one possible implementation, the testing system can determine the hit result of a data request in the following manner.

[0118] Method 1:

[0119] After determining the terminal device identifier, the test system identifies the device type of the terminal device corresponding to that identifier and determines the corresponding data distribution information for the configuration data. For example, if the determined device type is a mobile device, the data distribution information is as follows: allocate 20% of the experimental configuration data A to the mobile device, allocate 30% of the experimental configuration data B to the mobile device, and allocate 50% of the default configuration data to the mobile device; and

[0120] Determine the historical statistics corresponding to this device type. The historical statistics record which type of configuration data has been assigned to users for this device type and the number of users assigned to each type of configuration data. For example, experimental configuration data A has been assigned to 500 users, experimental configuration data B has been assigned to 800 users, and default configuration data has been assigned to 1000 users.

[0121] Based on historical statistical data, the current allocation status of each configuration data type is determined; then, based on the determined allocation status and data distribution information, the configuration data type with the worst current allocation status can be determined, and the configuration data corresponding to the configuration data type with the worst current allocation status is the configuration data that the server needs to send to the terminal device.

[0122] At this point, the testing system determines which configuration data to send to the terminal device. If it determines to send the default configuration data to the terminal device, it is determined that the test condition has not been met. If it determines to send the experimental configuration data to the terminal device, it is determined that the test condition has been met. In other words, the test system determines the hit result.

[0123] Since the testing system is only used to determine what kind of configuration data to send to the terminal device, that is, to determine the type of configuration data to be sent, the specific configuration data to be sent needs to be obtained from the management system based on the hit result output by the testing system; that is, the testing system determines the hit result, which is used to indicate whether the data request hits the test conditions, that is, whether it hits the experimental configuration data. If it hits the experimental configuration data, it is also necessary to determine the type of implementation configuration data hit.

[0124] For example, the test system determines the current allocation as follows: the allocation ratio of experimental configuration data A is 21.7%, the allocation ratio of experimental configuration data B is 34.7%, and the allocation ratio of default configuration data is 43.4%. Based on the determined allocation and data distribution information (such as 20% of experimental configuration data A, 30% of experimental configuration data B allocated to mobile devices, and 50% of default configuration data allocated to mobile devices), it can be determined that the worst allocation type of configuration data is the default configuration data. At this time, the test system determines that the configuration data corresponding to the configuration data type that needs to be sent to the terminal device is the default configuration data, which does not meet the test conditions. Therefore, the hit result output by the test system is "test conditions not met".

[0125] Correspondingly, after receiving the hit results from the test system and determining that the test conditions were not met, the management system selects the default configuration data from at least two configuration data corresponding to each view unit identifier, uses the default configuration data as the target configuration data, and then sends the target configuration data to the terminal device.

[0126] Method 2:

[0127] After receiving the terminal device identifier, the test system determines the device type of the terminal device corresponding to the terminal device identifier, and determines the corresponding data routing information of the configuration data for that device type; based on the data routing message, it determines the type of configuration data corresponding to the device type; as above, if the device type of the terminal device corresponding to the terminal device identifier is a mobile phone, the configuration data corresponding to the mobile phone includes experimental configuration data A, experimental configuration data B, and default configuration data;

[0128] The testing system randomly assigns configuration data types to terminal devices and determines the hit result based on the assigned configuration data type. For example, if the assigned configuration data type corresponds to the default configuration data, the hit result indicates that the data request did not hit the test conditions. If the assigned configuration data type corresponds to experimental configuration data B, the hit result indicates that the data request hit the test conditions, and the type of experimental configuration data hit is experimental configuration data B.

[0129] At this point, the testing system determines the hit result based on the random allocation result and forwards the hit result to the management system. For example, the hit result indicates that the data request hits the test condition, and the data type of the hit experimental configuration is experimental configuration data B.

[0130] Accordingly, after receiving the hit result from the test system and determining the hit test conditions, the management system selects the experimental configuration data corresponding to experimental configuration data B from at least two configuration data corresponding to each view unit identifier, uses the experimental configuration data as the target configuration data, and then sends the target configuration data to the terminal device.

[0131] It should be noted that the method by which the above-mentioned test system determines the hit result is only an example. In this embodiment of the application, other methods such as configuring data distribution can also be used to determine the hit result.

[0132] In one possible implementation, the data request may also carry the terminal version, application version, and user-related information such as user identification information, user access time, and access region.

[0133] When the data request also carries the application version, the testing system can determine the hit result based on the application version. For example, it can allocate 30% of the experimental configuration data A to application version A, 30% of the experimental configuration data B to application version A, and 40% of the default configuration data to application version A; or allocate 40% of the experimental configuration data A to application version B, 30% of the experimental configuration data B to application version B, and 30% of the default configuration data to application version B. In this case, after receiving the data request message sent by the terminal device, the server inputs the application version in the data request into the testing system. The testing system then determines the hit result of the data request based on the configuration data type corresponding to the received application version; or it determines the hit result of the data request based on the data distribution information of the configuration data type corresponding to the application version and historical statistics.

[0134] When the data request also carries the terminal device identifier and application version, the testing system can also determine the hit result based on the terminal device identifier and application version. The specific method can be referred to in the above embodiments, and will not be repeated here.

[0135] Therefore, the information and test conditions carried in the data request in this embodiment can also be extended based on the scalable experimental framework, that is, the information and test conditions carried in the data request are scalable.

[0136] The scalable experimental framework is set up in the server's management system and is available for developers or operations personnel to log in and use.

[0137] In this embodiment, the developer logs into the extensible configuration experimental framework and defines dynamic form field types and validations, etc., in the definition interface of the extensible configuration experimental framework, such as... Figure 6 As shown, Figure 6 An exemplary embodiment of this application provides a definition interface for an experimental framework with scalable configuration. Within this scalable configuration framework, developers can also modify one or more parameters of the default configuration data for the same view unit to obtain multiple sets of experimental configuration data. For example... Figure 7 As shown, Figure 7 An exemplary embodiment of this application provides an experimental configuration interface for an scalable experimental framework to obtain multiple sets of experimental configuration data.

[0138] In this embodiment, the operations and maintenance personnel log in to the scalable experimental framework and dynamically render forms in the configuration interface of the scalable experimental framework according to the fields defined by the developers in the definition interface of the scalable experimental framework. They then configure the style, display method, or display switching time, etc. Figure 8 As shown, Figure 8An exemplary configuration interface for an experimental framework with scalable configuration is provided in an embodiment of this application.

[0139] The scalable configuration experimental framework provided in this application is based on the Internet Data Exchange Format Architecture (JavaScript Object Notationschema, JSONschema), which extends more field types, field value conditions, field validation, and a complete set of UI definitions and configuration interfaces.

[0140] like Figure 9 The diagram shown illustrates the functional components of an experimental framework for scalable configuration derived from a schema, as provided in this application embodiment. This scalable configuration experimental framework, defined by an extensible schema, can provide a form component (Form) for adding or modifying data, a table component (Table) for displaying all data, and a filter component (Filter) for filtering table data. Figure 10 The diagram shown is a schematic of a form component in an experimental framework for a single field's schema configuration and derived extensible configuration, provided in an embodiment of this application. The schema defines the number of fields, field types, display identifiers, field value restrictions, and validation, etc., and the extensible configuration parameters are achieved through the schema.

[0141] In step S305, the server returns the determined target configuration data to the terminal device.

[0142] In this embodiment of the application, the target configuration data includes at least one extensible configuration among content configuration, style configuration, and recommendation configuration.

[0143] In step S306, the terminal device displays the corresponding view unit on the page to be tested based on the obtained target configuration data.

[0144] Please refer to Figure 11 , Figure 11 An exemplary flowchart of rendering a view unit in a page to be tested is provided in an embodiment of this application.

[0145] In this embodiment of the application, the target configuration data includes, but is not limited to, content configuration, style configuration, and recommendation configuration; wherein, the content configuration includes at least the request service name, request function name, request protocol, and request method of the content data, and the style configuration includes at least the style type and style layout.

[0146] from Figure 11 As can be seen from this: when the target configuration data includes content configuration, the terminal device sends a request to the server to obtain content data based on the content configuration, in order to request the content data of the view unit, and displays the corresponding business function based on the obtained content data.

[0147] When the target configuration data includes style configuration, the terminal device sends a request to the server to obtain style data based on the style configuration, in order to request the style data of the view unit, and to render the view unit corresponding to the business function based on the obtained style data.

[0148] When the configuration data includes a recommended configuration, the terminal device sends a request to the server to obtain recommended data based on the recommended configuration, in order to request the recommended data of the view unit and perform differentiated processing on the default configuration data based on the obtained recommended data.

[0149] Therefore, based on the above three configuration parameters, the terminal device presents the corresponding view units in each business function of the page to be tested.

[0150] In this embodiment of the application, when the terminal device requests at least one of content data, style data, and recommendation data from the server, it makes individual or combined parsing requests based on the obtained target configuration data.

[0151] If only one target configuration data is obtained, a request can be sent to the server for that target configuration data.

[0152] If multiple target configuration data are obtained, the terminal device will decide whether to use a separate request or a merged parsing request based on the current page scene that needs to be rendered.

[0153] In one possible implementation, after the terminal device obtains multiple target configuration data, if it determines that data needs to be quickly returned to the currently rendered page scenario, it sends corresponding requests to the server for each target configuration data separately to obtain the corresponding rendering data for each target configuration data. Then, based on this rendering data, it renders the view units on the currently rendered page. This reduces the amount of data in each request, thereby achieving faster data retrieval and accelerating the rendering of page view units. For example, if the currently rendered page is the homepage, to reduce user waiting time and improve user experience, the homepage view units need to be rendered quickly; therefore, a separate request approach is used for faster rendering.

[0154] In one possible implementation, after the terminal device obtains multiple target configuration data, if it determines that there is no need to quickly return the data to the page that needs to be rendered, it can use the method of merging and parsing requests to send corresponding requests to the server for at least two target configuration data, so as to obtain the corresponding rendering data of at least two target configuration data at one time, and parse the obtained corresponding rendering data to obtain the rendering data corresponding to each target configuration data, and render the view unit in the page that needs to be rendered based on the rendering data corresponding to each target configuration data.

[0155] In step S307, the terminal device obtains the corresponding click parameters in response to each click operation triggered for any view unit.

[0156] Since this test is conducted before the official product iteration and release, the main focus at this stage is to determine the merits of the solutions corresponding to the default configuration data and the experimental configuration data based on user behavior, i.e., click-through rate. Therefore, when a user triggers a click operation on any view unit in the page to be tested, the terminal device will obtain the corresponding click parameters and report the click parameters to the server so that the server can determine the corresponding test results.

[0157] In step S308, the terminal device reports the click parameters to the server.

[0158] In this embodiment of the application, while the terminal device reports the click parameters to the server, it also reports the view unit identifier and terminal device identifier corresponding to the click operation to the server.

[0159] Step S309: Each time the server receives a click parameter reported by the terminal device, it determines the corresponding test result based on the click parameter.

[0160] Correspondingly, when the server receives the click parameters reported by the terminal device, it will also receive the view unit identifier and the terminal device identifier, etc.

[0161] In this embodiment of the application, since it is a test, the server's test system obtains the click parameters, view unit identifier, and terminal device identifier reported by the terminal device, etc., and performs data statistics based on the view unit identifier and the reported click parameters. The statistical dimensions include whether the view unit identifier matches the experimental configuration data or not in the full data. The corresponding test results are determined based on the data statistics results, so as to analyze the test effect of the experimental configuration data and the default configuration data in the test process.

[0162] like Figure 12As shown, this embodiment of the application provides a testing process. Developers can select view units to be tested and copy the default configuration data of the view unit through the experimental framework of the scalable configuration in the management system to obtain at least one set of experimental configuration data. The management system stores the correspondence between the default configuration data and the view unit identifier, as well as the correspondence between the experimental configuration data and the view unit identifier. Therefore, the same view unit identifier can correspond to multiple sets of configuration data, i.e., one set of default configuration data and at least one set of experimental configuration data. The configuration data is then sent to the testing system, which randomly assigns either the experimental configuration data or the default configuration data to the terminal device. The terminal device then sends a data request to the testing system based on the view unit identifier and the terminal device identifier that received the configuration data. The testing system determines whether the terminal device identifier matches the test conditions and then reports the match result and the view unit identifier sent by the terminal device to the management system to retrieve the configuration data corresponding to the view unit identifier sent by the terminal device from the management system, and filters out the target configuration data from the configuration data based on the match result.

[0163] This application proposes an experimental framework for scalable configuration, which uses view units to describe different page levels, enabling the ability to experiment with configurations of different granularities. It can quickly and flexibly test complex configuration data, greatly improving the efficiency of designing experiments and reducing the operational cost of configuration experiments.

[0164] Figure 13 The implementation details a data testing method according to an embodiment of this application, which includes the following steps:

[0165] Step S1300: Based on the page identifier of the page to be tested, obtain the view unit tree associated with the page identifier from the server. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0166] Step S1301: For each child node in the view unit tree, send a data request to the server to obtain the target configuration data of the view unit corresponding to each child node. The target configuration data includes at least two of the following: content configuration, style configuration, and recommendation configuration.

[0167] Step S1302: Based on the obtained target configuration data, display the corresponding view units on the page to be tested;

[0168] In step S1303, for each click operation triggered for any view unit, the corresponding click parameters are obtained and reported to the server so that the server can determine the corresponding test result based on the click parameters.

[0169] In one possible implementation, a data request is sent to the server to obtain the configuration data of the view unit corresponding to each child node, including:

[0170] Send a data request to the server, wherein the data request carries at least the view unit identifier and terminal device identifier corresponding to each child node;

[0171] The server receives target configuration data returned in response to a data request. The target configuration data is either experimental configuration data associated with each view unit identifier returned by the server after determining that the data request has met the test conditions based on the terminal device identifier, or default configuration data associated with each view unit identifier returned by the server after determining that the data request has not met the test conditions based on the terminal device identifier. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data.

[0172] Figure 14 The implementation provides another data testing method in the embodiments of this application, which includes the following steps:

[0173] Step S1400: Based on the page identifier of the page to be tested reported by the terminal device, the view unit tree associated with the page identifier is returned to the terminal device. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0174] Step S1401: Receive data requests sent by the terminal device for each child node in the view unit tree, and determine the target configuration data of the view unit corresponding to each child node respectively;

[0175] Step S1402: Return the determined target configuration data to the terminal device so that the terminal device can display the corresponding view unit on the page to be tested based on the target configuration data. The target configuration data includes at least two of the following: content configuration, style configuration and recommended configuration.

[0176] Step S1403: For each click parameter reported by the terminal device, determine the corresponding test result based on the click parameter. The click parameter is determined by the terminal device in response to a click operation triggered on any view unit in the page to be tested.

[0177] In one possible implementation, a data request is sent to the server to obtain the configuration data of the view unit corresponding to each child node, including:

[0178] The test system receives data requests sent by terminal devices, and the data requests carry at least the view unit identifier and the terminal device identifier corresponding to each child node.

[0179] The test system obtains the hit result of the data request based on the terminal device identifier. The hit result is used to indicate whether the data request hits the test conditions.

[0180] The hit results and the view unit identifiers corresponding to each child node are forwarded to the management system, so that the management system can determine the target configuration data associated with each view unit identifier based on the hit results.

[0181] In one possible implementation, the management system determines the configuration data associated with each view unit identifier based on the hit results, including:

[0182] The management system determines at least two configuration data corresponding to each view unit identifier. The at least two configuration data include default configuration data and at least one experimental configuration data. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data.

[0183] If the hit result indicates that the data request hits the test condition, then based on the hit result, the corresponding experimental configuration data is selected from at least two configuration data, and the experimental configuration data is used as the target configuration data.

[0184] If the hit result indicates that the data request did not meet the test conditions, then default configuration data is selected from at least two configuration data sets, and the default configuration data is used as the target configuration data. Based on the same inventive concept, embodiments of this application also provide a data testing device 1500, such as... Figure 15 As shown, the device 1500 includes: an acquisition unit 1501, a transmission unit 1502, a display unit 1503, and a reporting unit 1504, wherein:

[0185] The acquisition unit 1501 is used to obtain the view unit tree associated with the page identifier from the server based on the page identifier of the page to be tested. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0186] Sending unit 1502 is used to send data requests to the server for each child node in the view unit tree to obtain the target configuration data of the view unit corresponding to each child node. The target configuration data includes at least two of the following: content configuration, style configuration and recommendation configuration.

[0187] Display unit 1503 is used to display the corresponding view unit on the page to be tested based on the obtained target configuration data;

[0188] The reporting unit 1504 is used to obtain the corresponding click parameters in response to each click operation triggered for any view unit, and report the click parameters to the server so that the server can determine the corresponding test result based on the click parameters.

[0189] In one possible implementation, the sending unit 1502 is specifically used for:

[0190] Send a data request to the server, wherein the data request carries at least the view unit identifier and terminal device identifier corresponding to each child node;

[0191] The server receives target configuration data returned in response to a data request. The target configuration data is either experimental configuration data associated with each view unit identifier returned by the server after determining that the data request has met the test conditions based on the terminal device identifier, or default configuration data associated with each view unit identifier returned by the server after determining that the data request has not met the test conditions based on the terminal device identifier. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data.

[0192] Based on the same inventive concept, this application also provides another data testing device 1600, such as... Figure 16 As shown, the device 1600 includes: a first return unit 1601, a determining unit 1602, a second return unit 1603, and a receiving unit 1604, wherein:

[0193] The first return unit 1601 is used to return a view unit tree associated with the page identifier to the terminal device based on the page identifier of the page to be tested reported by the terminal device. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested.

[0194] The determining unit 1602 is used to receive data requests sent by the terminal device for each child node in the view unit tree, and determine the target configuration data of the view unit corresponding to each child node respectively.

[0195] The second return unit 1603 is used to return the determined target configuration data to the terminal device so that the terminal device can display the corresponding view unit in the page to be tested based on the target configuration data. The target configuration data includes at least two of the following: content configuration, style configuration and recommended configuration.

[0196] The receiving unit 1604 is used to determine the corresponding test result based on the click parameters reported by the terminal device each time it receives them. The click parameters are determined by the terminal device in response to a click operation triggered on any view unit in the page to be tested.

[0197] In one possible implementation, the determining unit 1602 is specifically used for:

[0198] The test system receives data requests sent by terminal devices, and the data requests carry at least the view unit identifier and the terminal device identifier corresponding to each child node.

[0199] The test system obtains the hit result of the data request based on the terminal device identifier. The hit result is used to indicate whether the data request hits the test conditions.

[0200] The hit results and the view unit identifiers corresponding to each child node are forwarded to the management system, so that the management system can determine the target configuration data associated with each view unit identifier based on the hit results.

[0201] In one possible implementation, the determining unit 1602 is specifically used for:

[0202] The management system determines at least two configuration data corresponding to each view unit identifier. The at least two configuration data include default configuration data and at least one experimental configuration data. The experimental configuration data is obtained by modifying at least one parameter in the default configuration data.

[0203] If the hit result indicates that the data request hits the test condition, then based on the hit result, the corresponding experimental configuration data is selected from at least two configuration data, and the experimental configuration data is used as the target configuration data.

[0204] If the hit result indicates that the data request did not meet the test conditions, then the default configuration data is selected from at least two configuration data and used as the target configuration data.

[0205] For ease of description, the above sections are divided into units (or modules) according to their functions and described separately. Of course, in implementing this application, the functions of each unit (or module) can be implemented in one or more software or hardware components.

[0206] After introducing the data testing method and apparatus of exemplary embodiments of this application, the data testing computing device of another exemplary embodiment of this application will be introduced next.

[0207] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."

[0208] In one possible implementation, the data testing computing device provided in this application embodiment may include at least a processor and a memory. The memory stores program code, which, when executed by the processor, causes the processor to perform any step of the data testing method in the various exemplary embodiments of this application.

[0209] The following reference Figure 17 This describes a data testing computing device 1700 according to one embodiment of the present application. For example... Figure 17 The data testing computing device 1700 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0210] like Figure 17 As shown, the components of computing device 1700 may include, but are not limited to: at least one processor 1701, at least one memory 1702, and a bus 1703 connecting different system components (including memory 1702 and processor 1701).

[0211] Bus 1703 represents one or more of several bus architectures, including a memory bus or memory controller, peripheral bus, processor, or local bus using any of the various bus architectures.

[0212] The memory 1702 may include a readable medium in the form of volatile memory, such as random access memory (RAM) 17021 and / or cache memory 17022, and may further include read-only memory (ROM) 17023.

[0213] The memory 1702 may also include a program / utility 17025 having a set (at least one) of program modules 17024, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0214] The computing device 1700 can also communicate with one or more external devices 1704 (e.g., keyboard, pointing device, etc.), and with one or more devices that enable a user to interact with the computing device 1700, and / or with any device that enables the computing device 1700 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via the input / output (I / O) interface 1705. Furthermore, the computing device 1700 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 1706. Figure 17As shown, network adapter 1706 communicates with other modules used in computing device 1700 via bus 1703. It should be understood that, although... Figure 17 As not shown, it can be used in conjunction with computing device 1700 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0215] In some possible implementations, various aspects of the data testing method provided in this application may also be implemented in the form of a program product, which includes program code that, when the program product is run on a computer device, causes the computer device to perform the steps in the data testing method according to the various exemplary embodiments of this application described above.

[0216] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0217] The SMS sending control program product of the embodiments of this application can be a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a computing device.

[0218] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. This propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting a program for use by or in conjunction with a command execution system, apparatus, or device.

[0219] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0220] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages.

[0221] It should be noted that although several units or sub-units of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.

[0222] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0223] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A data testing method, characterized in that, The method includes: Based on the page identifier of the page to be tested, the view unit tree associated with the page identifier is obtained from the server. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested; the root node in the view unit tree represents the page identifier of the page to be tested. For each child node in the view unit tree, the following steps are performed: A data request carrying a terminal device identifier and the view unit identifier corresponding to the child node is sent to the server to obtain the target configuration data for the view unit corresponding to the child node; wherein, the target configuration data is determined by the server through a testing system, based on the terminal device identifier, the device type of the terminal device corresponding to the terminal device identifier, and based on the preset data distribution information and historical statistics corresponding to the device type, the worst-case configuration data type in the current allocation situation is determined, and then selected by the management system from at least two configuration data corresponding to the view unit identifier based on the worst-case configuration data type in the current allocation situation; wherein, the preset data... The traffic allocation information is information that allocates the configuration data corresponding to the view unit identifier to at least one type of terminal device according to the same or different proportions. The historical statistics record the allocation quantity corresponding to each type of configuration data allocated to the device type. The target configuration data includes at least two of the following: content configuration, style configuration, and recommended configuration. The at least two configuration data include one default configuration data and at least one experimental configuration data. Each experimental configuration data is obtained by modifying at least one parameter in the default configuration data based on an experimental framework for scalable configuration. The experimental framework for scalable configuration is based on the Internet data exchange format architecture and extends field types, field value conditions, field validation, and a complete set of UI definitions and configuration interfaces. When multiple target configuration data are obtained, the request method is determined in combination with the current page scene to be rendered, and based on the request method, the rendering data of each target configuration data is obtained from the server, and the corresponding view unit is presented in each business function of the page to be tested according to the obtained rendering data; wherein, the request method is one of individual request and merged parsing request; In response to a click operation triggered for any view unit, the corresponding click parameters are obtained and reported to the server so that the server can determine the corresponding test result based on the click parameters.

2. The method as described in claim 1, characterized in that, The target configuration data is determined in the following way: The server determines the device type of the terminal device corresponding to the terminal device identifier based on the terminal device identifier, and determines the configuration data type with the worst current allocation based on the preset data distribution information and historical statistics corresponding to the device type. Then, it determines the experimental configuration data associated with each view unit identifier returned after the data request hits the test conditions; wherein, the hit test conditions indicate the experimental configuration data corresponding to the configuration data type that has been hit; or... The server determines the device type of the terminal device corresponding to the terminal device identifier based on the terminal device identifier, and determines the configuration data type with the worst current allocation situation according to the preset data diversion information corresponding to the device type and the historical statistical data corresponding to the device type. Then, it determines the default configuration data associated with each view unit identifier returned after the data request fails to meet the test conditions. The failure to meet the test conditions indicates the default configuration data corresponding to the configuration data type.

3. A data testing method, characterized in that, The method also includes: Based on the page identifier of the page to be tested reported by the terminal device, a view unit tree associated with the page identifier is returned to the terminal device. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested; the root node in the view unit tree represents the page identifier of the page to be tested. For each child node in the view unit tree, the following steps are performed: Receive a data request sent by the terminal device to the child node, carrying the terminal device identifier and the view unit identifier corresponding to the child node; through the testing system, determine the device type of the terminal device corresponding to the terminal device identifier based on the terminal device identifier; and based on the preset data distribution information corresponding to the device type and the historical statistics data corresponding to the device type, determine the configuration data type with the worst current allocation; then, through the management system, select target configuration data from at least two configuration data types corresponding to the view unit identifier based on the configuration data type with the worst current allocation; wherein, the preset data distribution information is to allocate the view unit identifier... The system identifies the information of configuration data allocated to at least one type of terminal device according to the same or different proportions. The historical statistics record the allocation quantity corresponding to each type of configuration data allocated to the device type. The target configuration data includes at least two of the following: content configuration, style configuration, and recommended configuration. The at least two configuration data include one default configuration data and at least one experimental configuration data. Each experimental configuration data is obtained by modifying at least one parameter in the default configuration data based on an experimental framework for scalable configuration. The experimental framework for scalable configuration extends the Internet data exchange format architecture by adding field types, field value conditions, field validation, and a complete set of UI definitions and configuration interfaces. The determined target configuration data is returned to the terminal device, so that when the terminal device determines that it has obtained multiple target configuration data, it determines the request method in combination with the current page scene to be rendered, and obtains the rendering data of each target configuration data from the server based on the request method. Based on the obtained rendering data, the terminal device presents the corresponding view unit in each business function of the page to be tested; wherein, the request method is one of individual request and merged parsing request. Upon receiving each click parameter reported by the terminal device, a corresponding test result is determined based on the click parameter, wherein the click parameter is determined by the terminal device in response to a click operation triggered on any view unit in the page to be tested.

4. The method as described in claim 3, characterized in that, The method specifically includes: The test system receives a data request from the terminal device, which carries the terminal device identifier and the view unit identifier corresponding to the child node. The testing system determines the device type of the terminal device corresponding to the terminal device identifier based on the terminal device identifier, and determines the configuration data type with the worst current allocation based on the preset data diversion information and historical statistics corresponding to the device type. The hit result of the data request is then obtained. The hit result is used to indicate whether the data request hits the test conditions and to indicate the configuration data type. The hit result and the view unit identifier corresponding to the child node are forwarded to the management system, so that the management system can select the target configuration data associated with the view unit identifier from at least two configuration data corresponding to the view unit identifier based on the hit result.

5. The method as described in claim 4, characterized in that, The step of selecting the target configuration data associated with the view unit identifier from at least two configuration data corresponding to the view unit identifier by the management system based on the hit result includes: The management system determines at least two configuration data corresponding to the view unit identifier; If the hit result indicates that the data request hits the test condition, then based on the hit result, the hit experimental configuration data is selected from the at least two configuration data, and the selected experimental configuration data is used as the target configuration data; wherein, the hit test condition indicates that the configuration data type corresponds to the hit experimental configuration data; If the hit result indicates that the data request did not meet the test conditions, then default configuration data is selected from the at least two configuration data, and the default configuration data is used as the target configuration data; wherein, the test conditions that did not meet the test conditions indicate that the configuration data type corresponds to the default configuration data.

6. A data testing device, characterized in that, The device includes: The acquisition unit is used to acquire the view unit tree associated with the page identifier of the page to be tested from the server. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested. The root node in the view unit tree represents the page identifier of the page to be tested. The sending unit is configured to, for each child node in the view unit tree, execute the following respectively: send a data request to the server carrying a terminal device identifier and a view unit identifier corresponding to the child node, to obtain target configuration data for the view unit corresponding to the child node; wherein, the target configuration data is determined by the server through a testing system, based on the terminal device identifier, to determine the device type of the terminal device corresponding to the terminal device identifier, and based on the preset data distribution information corresponding to the device type and the historical statistical data corresponding to the device type, to determine the configuration data type with the worst current allocation situation, and then through a management system, based on the configuration data type with the worst current allocation situation, from at least two configuration data corresponding to the view unit identifier; wherein, the preset data distribution information corresponding to the terminal device identifier, carrying a terminal device identifier and a view unit identifier corresponding to the child node, to obtain target configuration data for the view unit corresponding to the child node; wherein, the preset data distribution information corresponding to the terminal device identifier, carrying a terminal device identifier and a view unit identifier corresponding to the child node, to obtain target configuration data for the view unit corresponding to the child node; wherein, the preset data distribution information corresponding to the terminal device identifier, carrying a terminal device identifier and a view unit identifier corresponding to the child node, to obtain target configuration data for the view unit corresponding to the child node, and then through a management system, to select the configuration data type with the worst current allocation situation from at least two configuration data types corresponding to the view unit identifier ... The data distribution information is defined as the information that allocates the configuration data corresponding to the view unit identifier to at least one type of terminal device according to the same or different proportions. The historical statistics record the allocation quantity corresponding to each type of configuration data allocated to the device type. The target configuration data includes at least two of the following: content configuration, style configuration, and recommended configuration. The at least two configuration data include one default configuration data and at least one experimental configuration data. Each experimental configuration data is obtained by modifying at least one parameter in the default configuration data based on an experimental framework for scalable configuration. The experimental framework for scalable configuration is based on the Internet data exchange format architecture and extends field types, field value conditions, field validation, and a complete UI definition and configuration interface. The display unit is used to determine the request method in combination with the current page scene to be rendered when it is determined that multiple target configuration data are obtained, and to obtain the rendering data of each target configuration data from the server based on the request method, and to present the corresponding view unit in each business function of the page to be tested according to the obtained rendering data; wherein, the request method is one of individual request and merged parsing request; The reporting unit is used to obtain the corresponding click parameters in response to each click operation triggered for any view unit, and report the click parameters to the server so that the server can determine the corresponding test result based on the click parameters.

7. A data testing device, characterized in that, The device includes: The first return unit is used to return a view unit tree associated with the page identifier to the terminal device based on the page identifier of the page to be tested reported by the terminal device. Each child node in the view unit tree represents the view unit identifier of the view unit corresponding to a business function in the page to be tested; the root node in the view unit tree represents the page identifier of the page to be tested. The determining unit is configured to, for each child node in the view unit tree, perform the following actions: receiving a data request sent by the terminal device to the child node, carrying a terminal device identifier and a view unit identifier corresponding to the child node; determining the device type of the terminal device corresponding to the terminal device identifier through a testing system based on the terminal device identifier; determining the configuration data type with the worst current allocation based on preset data distribution information and historical statistics corresponding to the device type; and selecting target configuration data from at least two configuration data types corresponding to the view unit identifier through a management system based on the configuration data type with the worst current allocation. The preset data distribution information is used to allocate the view unit tree data to the child node. The configuration data corresponding to the graph unit identifier is allocated to at least one type of terminal device according to the same or different proportions. The historical statistics record the allocation quantity corresponding to each type of configuration data allocated to the device type. The target configuration data includes at least two of the following: content configuration, style configuration, and recommended configuration. The at least two configuration data include one default configuration data and at least one experimental configuration data. Each experimental configuration data is obtained by modifying at least one parameter in the default configuration data based on the experimental framework of scalable configuration. The experimental framework of scalable configuration is based on the Internet data exchange format architecture and extends the field type, field value conditions, field validation, and a complete UI definition and configuration interface. The second return unit is used to return the determined target configuration data to the terminal device, so that when the terminal device determines that it has obtained multiple target configuration data, it can determine the request method in combination with the current page scene to be rendered, and based on the request method, obtain the rendering data of each target configuration data from the server, and present the corresponding view unit in each business function of the page to be tested according to the obtained rendering data; wherein, the request method is one of individual request and merged parsing request; The receiving unit is configured to determine the corresponding test result based on the click parameters reported by the terminal device each time it receives them, wherein the click parameters are determined by the terminal device in response to a click operation triggered on any view unit in the page to be tested.

8. The apparatus as claimed in claim 7, characterized in that, The determining unit is specifically used for: The test system receives a data request from the terminal device, which carries the terminal device identifier and the view unit identifier corresponding to the child node. The testing system determines the device type of the terminal device corresponding to the terminal device identifier based on the terminal device identifier, and determines the configuration data type with the worst current allocation based on the preset data diversion information and historical statistics corresponding to the device type. The hit result of the data request is then obtained. The hit result is used to indicate whether the data request hits the test conditions and to indicate the configuration data type. The hit result and the view unit identifier corresponding to the child node are forwarded to the management system, so that the management system can select the target configuration data associated with the view unit identifier from at least two configuration data corresponding to the view unit identifier based on the hit result; Specifically, the determining unit is used for: The management system determines at least two configuration data corresponding to the view unit identifier; If the hit result indicates that the data request hits the test condition, then based on the hit result, the hit experimental configuration data is selected from the at least two configuration data, and the selected experimental configuration data is used as the target configuration data; wherein, the hit test condition indicates that the configuration data type corresponds to the hit experimental configuration data; If the hit result indicates that the data request did not meet the test conditions, then default configuration data is selected from the at least two configuration data, and the default configuration data is used as the target configuration data; wherein, the test conditions that did not meet the test conditions indicate that the configuration data type corresponds to the default configuration data.

9. A data testing device, characterized in that, The device includes: a memory and a processor, wherein the memory is used to store computer instructions; and the processor is used to execute the computer instructions to implement the method as claimed in any one of claims 1 to 2, or to implement the method as claimed in any one of claims 3 to 5.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 2, or implement the method as described in any one of claims 3 to 5.

Citation Information

Patent Citations

  • A method and apparatus for dynamically embedding indicators for page AB testing

    CN109101425A

  • Page processing method and related equipment

    CN111273907A