Business testing method and device

By determining and matching user groups based on homogeneous indicators, obtaining their traffic, and performing business testing, the problems of long testing time and low efficiency in the existing technology are solved, and the efficiency of business testing is improved.

CN112346951BActive Publication Date: 2024-08-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910721492.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-06
Publication Date
2024-08-27
Estimated Expiration
2039-08-06

AI Technical Summary

Technical Problem

In business development, existing technology requires identifying target user groups with similar attributes for each test, resulting in long test times and low efficiency.

Method used

Determine the user group of the target business layer based on a preset number of homogeneous indicators, obtain and match the first click data of different user groups, select at least two user groups with homogeneous business indicators, obtain their traffic, and based on The traffic is executed for business testing, and the configuration parameters of the target version are selected from the configuration parameters of different versions to be tested.

Benefits of technology

It improves the efficiency of business testing, avoids the need to determine the target user group for each test, and significantly shortens the testing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112346951B
    Figure CN112346951B
Patent Text Reader

Abstract

The present invention provides a testing method and device for a service; the method comprises: determining multiple user groups of a target service layer among multiple service layers included in a corresponding service based on a preset number of homogeneous indicators; when the target service layer adopts a preset version of parameter configuration, respectively obtaining first click data corresponding to the target service layer from different user groups; performing similarity matching on the first click data corresponding to the target service layer from different user groups; based on the result of the similarity matching, selecting at least two target user groups with homogeneous service indicators from the multiple user groups; respectively obtaining the traffic corresponding to the target service layer from each of the target user groups; and performing different service tests on the target service layer based on the obtained traffic, wherein the service tests are used to select the configuration parameters of the target version from the configuration parameters of at least two different versions to be tested. Through the present invention, the efficiency of service testing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to Internet technology, and in particular to a service testing method and device. Background Art

[0002] With the development of Internet technology, more attention is paid to user experience in business development. Usually, multiple configuration parameters of the same business are tested to determine the parameters that best meet the user experience from multiple options.

[0003] In the related art, each time a service is tested, it is necessary to determine a target user group with similar attributes to ensure the accuracy of the service test, but this will also lead to problems such as long testing time and low testing efficiency. Summary of the invention

[0004] The embodiment of the present invention provides a service testing method and device, which can improve the efficiency of service testing.

[0005] The technical solution of the embodiment of the present invention is achieved as follows:

[0006] An embodiment of the present invention provides a service testing method, including:

[0007] Based on a preset number of homogeneous indicators, determining multiple user groups of a target business layer among multiple business layers included in the corresponding business;

[0008] When the target service layer adopts a preset version of parameter configuration, first click data of different user groups corresponding to the target service layer are respectively obtained;

[0009] Performing similarity matching on the first click data of different user groups corresponding to the target business layer;

[0010] Based on the similarity matching result, selecting at least two target user groups with homogeneous business indicators from the multiple user groups;

[0011] Respectively obtain the traffic of each target user group corresponding to the target service layer;

[0012] Based on the acquired traffic, different service tests are performed on the target service layer, where the service tests are used to select configuration parameters of a target version from configuration parameters of at least two different versions to be tested.

[0013] An embodiment of the present invention provides a service testing device, including:

[0014] A group determination unit, configured to determine, based on a preset number of homogeneity indicators, a plurality of user groups of a target service layer among a plurality of service layers included in the corresponding service;

[0015] A data acquisition unit, configured to respectively acquire first click data corresponding to the target business layer from different user groups when the target business layer adopts a preset version of parameter configuration;

[0016] A similarity matching unit, used for performing similarity matching on the first click data of different user groups corresponding to the target business layer;

[0017] A group selection unit, configured to select at least two target user groups with homogeneous business indicators from the multiple user groups based on the similarity matching result;

[0018] A traffic acquisition unit, used to respectively acquire the traffic of each target user group corresponding to the target service layer;

[0019] The service testing unit is used to perform different service tests on the target service layer based on the acquired traffic, and the service tests are used to select configuration parameters of the target version from configuration parameters of at least two different versions to be tested.

[0020] In the above solution, the group determination unit is further used to obtain a user portrait of a user corresponding to the target business layer;

[0021] Based on the obtained user portrait, multiple user groups whose user information similarities corresponding to the target business layer meet similarity conditions are determined.

[0022] In the above solution, the data acquisition unit is further used to respectively acquire the click rate and / or click volume of the service corresponding to different user groups when the target service layer adopts the parameter configuration of the preset version.

[0023] In the above solution, the group selection unit is further used to determine at least two user groups among the multiple user groups whose similarity reaches a similarity threshold;

[0024] At least two user groups whose similarities reach a similarity threshold are selected from the multiple user groups as the at least two target user groups.

[0025] In the above scheme, the similarity matching unit is also used to determine multiple click rate intervals;

[0026] The click rate ranges of the click rates of the target business data layer corresponding to different user groups are obtained.

[0027] In the above solution, the group selection unit is further used to determine at least two user groups whose click rates are in the same range as target user groups with homogeneous business indicators.

[0028] In the above solution, the similarity matching unit is further used to obtain the difference between the click rates of different user groups corresponding to the service;

[0029] Two user groups having the smallest difference among different user groups are determined.

[0030] In the above solution, the service testing unit is further used to respectively allocate the traffic to services configured with different configuration parameter configurations of the to-be-tested versions when the target service layer is configured with at least two different to-be-tested versions of configuration parameters;

[0031] According to the correspondence between the traffic and the configuration parameters of the version to be tested, second click data corresponding to the service for different target user groups are respectively obtained;

[0032] Based on the second click data, configuration parameters that meet the test conditions are determined among the configuration parameters of at least two different versions to be tested.

[0033] In the above solution, the service testing unit is further used to obtain the click-through rates of the services corresponding to different target user groups respectively;

[0034] Comparing the click-through rates corresponding to different target user groups to determine the minimum click-through rate;

[0035] Determine a target user group for which the difference between the click rates corresponding to different target user groups and the minimum click rate reaches a preset threshold;

[0036] The configuration parameters corresponding to the target user group whose difference reaches the preset threshold are determined as the configuration parameters that meet the test conditions.

[0037] An embodiment of the present invention provides an electronic device, including:

[0038] A memory for storing executable instructions;

[0039] The processor is used to implement the service testing method provided by the embodiment of the present invention when executing the executable instructions stored in the memory.

[0040] An embodiment of the present invention provides a storage medium storing executable instructions for causing a processor to execute the instructions to implement a service testing method provided by the embodiment of the present invention.

[0041] The embodiments of the present invention have the following beneficial effects:

[0042] When the target business layer adopts a preset version of parameter configuration, the first click data of the target business layer corresponding to different user groups are obtained respectively; the first click data of the target business layer corresponding to different user groups are similarly matched; based on the result of the similarity matching, at least two target user groups with homogeneous business indicators are selected from multiple user groups. In this way, different business tests can be performed on the target business layer according to the acquired target user groups, without the need to determine the target user group for each business test, thereby improving the efficiency of business testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A test system for the service provided by an embodiment of the present invention;

[0044] Figure 2 is a schematic diagram of the hardware structure of a server provided in an embodiment of the present invention;

[0045] Figure 3 It is a flowchart of a service testing method provided by an embodiment of the present invention;

[0046] Figure 4 It is a flowchart of a service testing method provided by an embodiment of the present invention;

[0047] Figure 5 It is a flowchart of a service testing method provided by an embodiment of the present invention;

[0048] Figure 6 is a flow distribution diagram provided by an embodiment of the present invention;

[0049] Figure 7 It is a schematic diagram of the composition structure of a test device for a service provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0051] It should be noted that in the embodiments of the present application, related data such as user information (such as user portraits, etc.) are involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0052] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0053] In the following description, the terms "first\second, etc." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second, etc." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0055] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.

[0056] 1) User portrait, including user interest portrait and user basic portrait; among which,

[0057] User interest portrait refers to a virtual representation of a real user. It is a target user model based on a series of attribute data and is used to indicate the user's interest classification.

[0058] User basic portrait is a labeled picture of the user's information abstracted from the user's real gender, age, permanent login location and other basic information.

[0059] 2) Click-through rate refers to the ratio of the number of times a certain content on a website page is clicked to the number of times it is displayed;

[0060] 3) Click volume refers to the number of times a certain content on a website page is clicked within a certain period of time;

[0061] 4) Buckets are implemented by performing hash calculations on specified columns. The data under a column name is divided into a set of buckets through the hash value, and each bucket corresponds to a storage file under the column name.

[0062] See also Figure 1 , Figure 1It is an optional architectural diagram of a test system 100 for a service provided in an embodiment of the present invention. To support an exemplary application, terminals (exemplarily showing terminal 400-1, terminal 400-2, terminal 400-3 and terminal 400-4) are connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two.

[0063] The server 200 determines, based on a preset number of homogeneity indicators, a plurality of user groups of a target business layer among a plurality of business layers included in the corresponding business;

[0064] The terminal is used to receive a first operation of a user on a service when the service adopts the target parameter configuration, and send first click data corresponding to the first operation to the server;

[0065] Server 200 is used to respectively obtain the first click data of the target business layer corresponding to different user groups; perform similarity matching on the first click data of the target business layer corresponding to different user groups; based on the result of the similarity matching, select at least two target user groups with homogeneous business indicators from multiple user groups; respectively obtain the traffic of each target user group corresponding to the target business layer; based on the obtained traffic, perform different business tests on the target business layer, and the business test is used to select the configuration parameters of the target version from the configuration parameters of at least two different versions to be tested.

[0066] The following is a description of an electronic device for implementing a testing method for implementing a service in an embodiment of the present invention. In some embodiments, the electronic device can be implemented as various types of terminals such as a smart phone, a tablet computer, a laptop computer, and can also be a server. In the embodiment of the present invention, the electronic device is taken as an example of a server, and the hardware structure of the server is described in detail.

[0067] Figure 2 The hardware structure diagram of the server provided in the embodiment of the present invention can be understood as follows: Figure 2 Only an exemplary structure of the server is shown, not all structures, and can be implemented as needed. Figure 2 Partial or complete structure shown. Figure 2 The server provided in the embodiment of the present invention includes: at least one processor 201, a memory 202, a user interface 203 and at least one network interface 204. The various components in the server are coupled together through a bus system 205. It can be understood that the bus system 205 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 205 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as bus systems 205 in FIG. 2.

[0068] The user interface 203 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0069] It is understood that the memory 202 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a flash memory, etc. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory 402 described in the embodiment of the present invention is intended to include these and any other suitable types of memory.

[0070] The memory 202 in the embodiment of the present invention is used to store various types of data to support the operation of the server 200. Examples of such data include: any executable instructions for operating on the server 200, such as executable instructions, and the program implementing the test method of the service of the embodiment of the present invention can be included in the executable instructions.

[0071] As an example of a test device for the service provided by an embodiment of the present invention being implemented by a combination of software and hardware, the test device for the service provided by an embodiment of the present invention can be directly embodied as a combination of software modules executed by a processor 201, and the software module can be located in a storage medium, and the storage medium is located in a memory 202. The processor 201 reads the executable instructions included in the software module in the memory 202, and completes the test method for the service provided by an embodiment of the present invention in combination with necessary hardware (for example, including the processor 201 and other components connected to the bus 205).

[0072] As an example, the processor 201 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0073] As an example of a hardware implementation of the test device for the service provided in the embodiment of the present invention, the device provided in the embodiment of the present invention can be directly executed by a processor 201 in the form of a hardware decoding processor, for example, one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components to implement the test method for the service provided in the embodiment of the present invention.

[0074] The testing method of the service disclosed in the embodiment of the present invention can be implemented by the processor 201. The processor 201 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the testing method of the service can be completed by the hardware integrated logic circuit or software instructions in the processor 201. The above-mentioned processor 201 can be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 201 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the testing method of the service disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. The software module can be located in a storage medium, which is located in the memory 202. The processor 201 reads the information in the memory 202 and completes the steps of the testing method of the service provided in the embodiment of the present invention in combination with its hardware.

[0075] Based on the above description of the service testing system and electronic device according to the embodiment of the present invention, the service testing method provided by the embodiment of the present invention is described below. Figure 3The flowchart of the service testing method provided by the embodiment of the present invention is as follows. In some embodiments, the service testing method can be implemented by the server, such as by Figure 1 The server 200 implementation in combination with Figure 1 and Figure 3 The service testing method provided by the embodiment of the present invention includes:

[0076] Step 301: The server determines a plurality of user groups of a target business layer among a plurality of business layers included in a corresponding business based on a preset number of homogeneity indicators.

[0077] Here, the business includes algorithm-based, operation-based, and user interface-based businesses. Among them, various algorithms are the most widely used areas for business testing. Business testing can be used to verify whether a new algorithm or a small optimization can improve the business indicators of the algorithm, such as recommendation, search, precision advertising, and refined operation of algorithm products. Various operation methods, such as user operation (user acquisition, member operation, etc.), content operation (program arrangement in the video industry, etc.), and event operation (lottery, etc.), can all be used to verify which operation strategy is more effective. The user interface is the part of any Internet product that can be directly perceived by users. Users interact with Internet products through the user interface, and users' perception of a product is also first established through users; a simple and beautiful user interface and smooth user interaction can often leave a good first impression on users. For the optimization of user vision and interaction, it is often not enough to rely on the experience of designers. Technical means are needed to verify which user interface display style and which interaction method are preferred by users and can bring the greatest benefits.

[0078] It should be noted that the homogeneity index may be user information such as the user's age, gender, and education level. The user may configure one or more homogeneity indexes as needed. The server determines multiple user groups of the target business layer in the multiple business layers included in the corresponding business according to the homogeneity indexes preset by the user. Here, each user group includes multiple users, where multiple means two or more.

[0079] In actual implementation, users can configure the business layer according to different modules of the business. For example, the search business includes three modules: user display module, result ranking module, and advertisement insertion module. Then three business layers can be configured to correspond to the three modules respectively. The server can obtain the first click data of different business layers at the same time, and different business layers do not interfere with each other. When the user's preset homogeneous indicators are age and gender, and the target business layer is the result ranking layer, the server can group users according to the age and gender corresponding to the users of the result ranking layer, and obtain multiple user groups corresponding to the result ranking layer.

[0080] In some embodiments, the server may determine multiple user groups of a target business layer among multiple business layers included in the corresponding business in the following manner: obtain user portraits of users of the corresponding business; and based on the obtained user portraits, determine multiple user groups whose user information similarity of the corresponding business meets similarity conditions.

[0081] Here, the user portrait may include at least one of the following: user interest portrait, user basic portrait. In some embodiments, the server may obtain user portraits of all users of the corresponding service, filter out some users from all users based on the obtained user portraits, and divide the filtered users into multiple user groups, so that the similarity of user information corresponding to any two user groups meets the similarity condition; in other embodiments, the server may divide multiple users of the corresponding service into multiple user groups, and then obtain user portraits of the users of the corresponding service, and determine multiple user groups whose user information similarity of the service meets the similarity condition from the multiple user groups based on the obtained user portraits.

[0082] Here, if the similarity of the user information of the service satisfies the similarity condition, it means that the composition of users in the user group is the same. For example, the server obtains the age and gender of the users of the corresponding service, and determines multiple user groups based on the age and gender of the users. The ratio of male users to female users in each user group is 1:1, and the age is between 20 and 40 years old.

[0083] In some embodiments, the server can determine multiple user groups corresponding to the business in the following manner: distribute the traffic of the corresponding business to multiple buckets; determine the users corresponding to the traffic in each bucket based on the information carried in the access request corresponding to the traffic in each bucket; determine multiple user groups corresponding to the business based on the user profiles of the users corresponding to the traffic in each bucket, and the user group includes the users corresponding to the traffic in at least one bucket.

[0084] It should be noted that traffic can be the number of unique visitors (UV) or page views (PV). Traffic corresponds to the number of access requests. For example, if the traffic is 10,000, the corresponding number of access requests is also 10,000.

[0085] In actual implementation, random traffic is used to distribute traffic to different buckets. The access traffic in each bucket is the same. Since the information carried in the access request includes the user ID, the server can determine the user corresponding to the traffic in each bucket based on the user ID, obtain the user's user profile, and perform similarity matching on the user information corresponding to the traffic in different buckets to determine at least two user groups.

[0086] The embodiment of the present invention performs similarity matching on user information corresponding to traffic in different buckets. Since the match is made on the average value of user information corresponding to each bucket, it is not necessary to perform similarity matching on each piece of user information, thereby improving the matching efficiency.

[0087] In some embodiments, the number of users in each user group can be configured, and the number of buckets corresponding to the user group can be selected according to the configured number. For example, the traffic in each bucket is 1000, that is, the number of users corresponding to the traffic in each bucket is 1000, and the number of users in a user group is configured to 2000, then the user group includes users corresponding to the traffic in the two buckets. Here, the number of users in each user group can be different. For example, the first user group can include users corresponding to the traffic in buckets A and B, and the second user group can include users corresponding to the traffic in bucket C.

[0088] Step 302: When the target business layer adopts the parameter configuration of the preset version, first click data of the target business layer corresponding to different user groups are obtained respectively.

[0089] Here, the parameter can be a process algorithm for the target business layer, or an interface display parameter for the business. For example, when the target business layer is the result sorting layer of the search business, the user presets the sorting algorithm for the result sorting, and after different user groups send search requests, the server sorts the search results of the corresponding search requests according to the preset sorting algorithm for the result sorting, generates a search result page, and obtains the click data of different user groups on the search result page for the search results.

[0090] In actual implementation, the first click data includes click data of the corresponding service of each user in the user group, and may also be an average value of click data of the corresponding services of multiple users in the user group.

[0091] In some embodiments, the server may distribute users in a user group to multiple buckets, and obtain the average value of the first click data of all users in each bucket. This can ensure the accuracy of subsequent determination of the target user group while reducing the amount of calculation.

[0092] In some embodiments, the first click data may be a click rate and / or a click volume. When the service adopts target parameter configuration, the click rate and / or click volume of the service corresponding to different user groups are obtained respectively.

[0093] Step 303: Perform similarity matching on the first click data of the target business layer corresponding to different user groups.

[0094] In some embodiments, the server may perform similarity matching in the following manner: determining a plurality of click rate (click volume) intervals; and obtaining the click rate intervals in which the click rates of different user groups corresponding to the target business data layer are located.

[0095] For example, five click rate intervals are preset, namely less than 3%, 3%-8%, 8%-13%, 13%-18%, and greater than 18%, and user groups are divided according to the click rate intervals.

[0096] In some embodiments, when there are two target user groups, the server may perform similarity matching in the following manner: obtaining the difference between click rates of services corresponding to different user groups; and determining two user groups with the smallest difference among the different user groups.

[0097] For example, the click rates of user groups A, B, and C are 5%, 7%, and 17%, respectively, among which the minimum difference in click rates between user group A and user group B is 2%. User group A and user group B are the two user groups with the smallest difference.

[0098] Step 304: Based on the similarity matching result, at least two target user groups with homogeneous business indicators are selected from the multiple user groups.

[0099] In some embodiments, when the server obtains the click rate range of the click rates of different user groups corresponding to the target business data layer, at least two user groups with click rates in the same range can be determined as target user groups with homogeneous business indicators.

[0100] In some embodiments, when the server obtains two user groups with the smallest difference among different user groups, the server uses the two user groups with the smallest difference as target user groups with homogeneous business indicators.

[0101] In some embodiments, the server may further determine at least two user groups from the multiple user groups whose similarity reaches a similarity threshold; and select at least two user groups from the multiple user groups whose similarity reaches the similarity threshold as the at least two target user groups.

[0102] In some embodiments, the server may determine, through hypothesis testing, that the similarity between at least two user groups reaches a similarity threshold.

[0103] In actual implementation, setting the similarity of at least two user groups reaching the similarity threshold as the null hypothesis, and setting the similarity of at least two user groups not reaching the similarity threshold as the alternative hypothesis. Then, if p-value < alpha / n, it indicates that the null hypothesis does not hold; otherwise, the null hypothesis holds. Here, p-value is the probability of the original hypothesis holding calculated by statistical methods. The smaller the p-value, the greater the likelihood of rejecting the original hypothesis. Alpha represents the significance level, and n is the number of parameters included in the first click data. For example, if the first click data is click-through rate and click volume, then n is 2. In actual implementation, alpha can be set to 0.05.

[0104] In some embodiments, when there are multiple parameters in the first click data, the p-value can be corrected by the Family-wise error rate (FWER) or False discovery rate (FDR) algorithm.

[0105] Step 305: Obtain the traffic corresponding to each of the target user groups for the target service layer respectively.

[0106] It should be noted that a user can trigger one traffic or multiple traffics. For example, if user a has only swiped Weibo once in a day, then it can be recorded that user a triggered one traffic on Weibo in a day. Another example is that if user a has swiped Weibo n times in a day, then it can be recorded that user a triggered n traffics.

[0107] Step 306: Based on the obtained traffic, perform different service tests on the target service layer. The service test is used to select the configuration parameters of the target version from the configuration parameters of at least two different versions to be tested.

[0108] Here, based on the obtained traffic, the server can perform different service tests without determining the target user group once for each service test, thus saving the time of service tests and improving the efficiency of service tests.

[0109] In some embodiments, the server can perform service tests on the target service layer in the following manner: when the target service layer is configured with the configuration parameters of at least two different versions to be tested, allocate the traffic to the services configured with the configuration parameters of different versions to be tested respectively; according to the correspondence between the traffic and the configuration parameters of the version to be tested, obtain the second click data of the services corresponding to different target user groups respectively; based on the second click data, determine the configuration parameters that meet the test conditions among the configuration parameters of at least two different versions to be tested.

[0110] Taking the user interface test of a page as an example, page A is configured with the configuration parameters of the first version to be tested, and the navigation bar is red. Page B is configured with the configuration parameters within the second version to be tested, and the navigation bar is black. The traffic is respectively allocated to the pages configured with the configuration parameters of different versions to be tested, so that when the target user group A accesses the page, page A is displayed, and when the target user group B accesses the page, page B is displayed. The click data corresponding to different pages of the target user groups A and B are respectively obtained. When the click data of the target user group A is significantly greater than the click data of the target user group B, it is determined that page A is the page that users prefer more.

[0111] In some embodiments, the server respectively obtains the click-through rates (click volumes) of different target user groups corresponding to the service; compares the magnitudes of the click-through rates (click volumes) corresponding to different target user groups to determine the minimum click-through rate (click volume); determines the target user groups whose differences between the click-through rates (click volumes) corresponding to different target user groups and the minimum click-through rate (click volume) reach a preset threshold; and determines the configuration parameters corresponding to the target user groups whose differences reach the preset threshold as the configuration parameters that meet the test conditions.

[0112] For example, the click-through rates corresponding to the target user groups A, B, and C are 2%, 3%, and 10% respectively. The minimum click-through rate among the click-through rates corresponding to the target user groups A, B, and C is 2%. Assuming the preset threshold is 5%, then the configuration parameters corresponding to the target user groups are determined as the configuration parameters that meet the test conditions.

[0113] It should be noted that if the difference between the click-through rate corresponding to a certain target user group and the minimum click-through rate among the click-through rates corresponding to the target user groups is greater than the preset threshold, it indicates that the click-through rate corresponding to this target user group is much greater than the click-through rates corresponding to other user groups, which means that the configuration parameters adopted by the service corresponding to this user group are superior to other configuration parameters, and the configuration parameters are determined as the configuration parameters that meet the test conditions.

[0114] In some embodiments, the configuration parameters that meet the test conditions can be determined by means of hypothesis testing. In actual implementation, the two sets of configuration parameters are respectively the parameters corresponding to the original plan and the parameters corresponding to the new plan. The null hypothesis is set that the click-through rate and / or click volume of the new plan are higher than those of the original plan. The p - value is calculated through statistical methods. If the p - value < alpha, it indicates that the null hypothesis does not hold, and the configuration parameters that meet the test conditions are the parameters corresponding to the original plan; otherwise, the null hypothesis holds, and the configuration parameters that meet the test conditions are the parameters corresponding to the new plan. In actual implementation, alpha can be set to 0.05.

[0115] The embodiment of the present invention obtains the first click data of the target business layer corresponding to different user groups respectively when the target business layer adopts a preset version of parameter configuration; performs similarity matching on the first click data of the target business layer corresponding to the different user groups; and based on the result of the similarity matching, selects at least two target user groups with homogeneous business indicators from multiple user groups. In this way, different business tests can be performed on the target business layer according to the acquired target user groups, without the need to determine the target user group for each business test, thereby improving the efficiency of the business test.

[0116] Next, the test method of the service provided by the embodiment of the present invention is described by taking the search ranking layer in the search service as an example. Figure 4 A flow chart of a method for testing a service provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown,

[0117] Step 401: The server distributes the traffic corresponding to the search ranking layer into 1000 buckets.

[0118] Step 402: Determine the user corresponding to the traffic in each bucket according to the information carried in the access request corresponding to the traffic in each bucket.

[0119] Step 403: According to the homogeneity indexes of users corresponding to the traffic in each bucket, multiple user groups whose homogeneity index similarities reach a similarity threshold are determined.

[0120] Here, each user group includes users corresponding to the traffic in at least one bucket.

[0121] Step 404: Obtain the first click rate of each user group for the target page.

[0122] Here, the target page displays the search results in a target sorting manner.

[0123] Step 405: Perform similarity matching on the click rates of target pages corresponding to different user groups to determine two user groups whose similarities reach a similarity threshold among the multiple user groups.

[0124] Step 406: Two user groups whose similarities reach a similarity threshold are used as target user groups.

[0125] Step 407: Obtain a second click rate of the first target user group for the page corresponding to the original sorting method, and a third click rate of the second target user group for the page corresponding to the new sorting method.

[0126] Step 408: When the second click rate is increased by more than 30% relative to the third click rate, if so, determine that the new sorting method is a sorting method that meets the target.

[0127] Here, if the second click rate is increased by more than 30% relative to the third click rate, it means that the new sorting method is obviously better than the original sorting method.

[0128] The following describes the testing method for the service provided by the embodiment of the present invention. Figure 5 For a flow chart of a method for testing a service provided by an embodiment of the present invention, see Figure 5 In actual implementation, the service testing method provided by the embodiment of the present invention includes the following steps.

[0129] First, divide the traffic of the corresponding business layer into multiple buckets. For example, divide the traffic corresponding to the business layer into 10,000 buckets according to the random traffic method, and the traffic of each bucket is one ten-thousandth.

[0130] Here, traffic can be UV or PV. Users create corresponding service layers according to business needs and allocate traffic to each layer. For example, Figure 6 is a flow distribution diagram provided by an embodiment of the present invention, such as Figure 6 As shown, the search business includes three modules: user display, result sorting, and advertisement insertion. Three business layers can be created to correspond to the three modules respectively.

[0131] It should be noted that traffic in the same layer can only hit one service test, and cannot hit two or more service tests at the same time. Traffic in different layers can hit different service tests, but the traffic is orthogonal. In other words, the traffic that hits the service test in the user display layer-B is evenly distributed in the result sorting layer-C, which can ensure that the service tests in the two layers will not interfere with each other.

[0132] In some embodiments, users can create cross-layer tests based on services, for example, Figure 6 As shown in the figure, the user has created the user display layer-B and the result sorting layer-C. The user hopes to test the configuration parameters of the user display layer-B and the result sorting layer-C at the same time. Since the traffic of each layer is orthogonal, the user needs to create a merge layer-E to test the configuration parameters of the user display layer-B and the result sorting layer-C at the same time. Here, different configuration parameters correspond to different interfaces or processes.

[0133] Then, a pre-AA phase experiment is conducted through the idle module to obtain basic information of users corresponding to the traffic in each bucket, and first operation information of users corresponding to the traffic in each bucket when the business layer adopts the parameter configuration of the preset version.

[0134] It should be noted that the idle rotation module records the usage of traffic, including the allocated traffic and the unallocated traffic. Here, the idle rotation module obtains the user information and the first operation information corresponding to the traffic in the idle buckets. The user information refers to the user's age, gender, education level, etc. The first operation information can be the number of clicks, click-through rate, etc. The obtained user information and the first operation information are stored in the idle rotation database. It should be noted that the users corresponding to each bucket are assigned to 50 sub-buckets. Therefore, the storage format of the idle rotation database is 51 columns of data: bucket ID and the user information and the first operation information of the users corresponding to 50 sub-buckets.

[0135] Next, determine two user groups. Each user group includes at least one user corresponding to the bucket traffic. Obtain the user information and the first operation information corresponding to each user group from the database. According to the obtained user information and the first operation information, through hypothesis testing, determine whether the user composition of the two user groups is the same. In actual implementation, the number of users corresponding to the user group can be configured by the user.

[0136] For example, if the first user group includes the users corresponding to buckets {12, 1019}, and the second user group includes the users corresponding to buckets {3330, 8912}, then merge the user information and the first operation information of the users in bucket 12 and bucket 1019, merge the user information and the first operation information of the users in bucket 3330 and bucket 8912, and then conduct hypothesis testing.

[0137] Here, the significance level alpha of the hypothesis test is 0.05. If p-value < alpha / the number of indicators, it means that the user composition of the two user groups is different, and two user groups need to be re-determined; otherwise, the user composition of the two user groups is the same, and the two user groups are respectively corresponding to two different sets of configuration parameters. Here, the indicators include the first operation information and the basic information of the user. If there are multiple indicators, FWER or FDR can be used to correct the p-value.

[0138] Finally, run the AB stage of the experiment, respectively obtain the second operation information of the two user groups with respect to different configuration parameters, determine whether the second operation information corresponding to the two user groups is significantly different, so as to obtain which set of configuration parameters is better. At the same time, update the unallocated traffic in the business layer and return it to the idle rotation module.

[0139] Here, the second operation information can be the number of clicks, click-through rate, etc. In actual implementation, determining whether the second operation information corresponding to the two user groups is significantly different can also adopt the method of hypothesis testing.

[0140] It should be noted that, in the same layer, multiple configuration parameters can be tested simultaneously; in the test system, configuration parameters can be tested in multiple layers simultaneously.

[0141] Next, a service testing device provided by an embodiment of the present invention is described. In some embodiments, the service testing device may be implemented in the form of a software module. Figure 7 A schematic diagram of the structure of the test device for the service provided by the embodiment of the present invention is shown in FIG. Figure 7 , the test equipment for the business includes:

[0142] The group determination unit 701 is used to determine a plurality of user groups of a target service layer among a plurality of service layers included in a corresponding service based on a preset number of homogeneity indicators;

[0143] A data acquisition unit 702 is used to respectively acquire first click data corresponding to the target business layer from different user groups when the target business layer adopts a preset version of parameter configuration;

[0144] A similarity matching unit 703, configured to perform similarity matching on the first click data of different user groups corresponding to the target business layer;

[0145] A group selection unit 704, configured to select at least two target user groups with homogeneous business indicators from the multiple user groups based on the similarity matching result;

[0146] A traffic acquisition unit 705, configured to respectively acquire the traffic of each target user group corresponding to the target service layer;

[0147] The service testing unit 706 is used to perform different service tests on the target service layer based on the acquired traffic, and the service tests are used to select configuration parameters of a target version from configuration parameters of at least two different versions to be tested.

[0148] An embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0149] A memory for storing executable programs;

[0150] The processor is used to implement the service testing method provided by the embodiment of the present invention when executing the executable program stored in the memory.

[0151] An embodiment of the present invention further provides a storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will be caused to execute the service testing method provided by the embodiment of the present invention.

[0152] All or part of the steps of the embodiment can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, random access memory (RAM), read-only memory (ROM), magnetic disk or optical disk, etc. Various media that can store program codes.

[0153] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, RAM, ROM, magnetic disks or optical disks.

[0154] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A service testing method, characterized in that: The method comprises: Allocate the traffic of the corresponding business to multiple buckets, and determine the user corresponding to the traffic in each bucket according to the information carried in the access request corresponding to the traffic in each bucket; Obtain user portraits of users corresponding to a target business layer from among users corresponding to the traffic in each of the buckets, where the target business layer belongs to a plurality of business layers included in the business; based on the obtained user portraits, determine a plurality of user groups whose user information similarities corresponding to the target business layer in each of the buckets satisfy a similarity condition, where the user groups include users corresponding to the traffic in at least one bucket; When the target service layer adopts a preset version of parameter configuration, first click data of different user groups corresponding to the target service layer are respectively obtained; Performing similarity matching on the first click data of different user groups corresponding to the target business layer; Based on the similarity matching result, selecting at least two target user groups with homogeneous business indicators from the multiple user groups; Respectively obtain the traffic of each target user group corresponding to the target service layer; When the target service layer is configured with at least two different versions of configuration parameters to be tested, respectively allocating the traffic to services configured with the configuration parameters of the different versions to be tested; According to the correspondence between the traffic and the configuration parameters of the version to be tested, second click data corresponding to the service for different target user groups are respectively obtained; Based on the second click data, configuration parameters of a target version that meets a test condition are determined among configuration parameters of at least two different versions to be tested.

2. The method according to claim 1, characterized in that When the target business layer adopts the parameter configuration of the preset version, respectively obtaining the first click data corresponding to the target business layer of different user groups includes: When the target service layer adopts the parameter configuration of the preset version, the click rate and / or click volume of the service corresponding to different user groups are obtained respectively.

3. The method according to claim 1, characterized in that The selecting at least two target user groups with homogeneous business indicators from the multiple user groups based on the similarity matching result includes: Determine at least two user groups among the multiple user groups whose similarities reach a similarity threshold; At least two user groups whose similarities reach a similarity threshold are selected from the multiple user groups as the at least two target user groups.

4. The method according to claim 1, characterized in that The similarity matching of the first click data of different user groups corresponding to the target business layer includes: Determine multiple click-through rate intervals; The click rate ranges of the click rates of different user groups corresponding to the target business layer are obtained.

5. The method according to claim 4, characterized in that The selecting at least two target user groups with homogeneous business indicators from the multiple user groups based on the similarity matching result includes: At least two user groups whose click-through rates are in the same range are determined as target user groups with homogeneous business indicators.

6. The method according to claim 1, characterized in that The similarity matching of the first click data of different user groups corresponding to the target business layer includes: Obtaining the difference between the click rates of different user groups corresponding to the service; Two user groups having the smallest difference among different user groups are determined.

7. The method according to claim 1, characterized in that The determining, based on the second click data, configuration parameters that meet the test conditions among the configuration parameters of at least two different versions to be tested includes: Obtaining click-through rates of the services corresponding to different target user groups respectively; Comparing the click-through rates corresponding to different target user groups to determine the minimum click-through rate; Determine a target user group for which the difference between the click rates corresponding to different target user groups and the minimum click rate reaches a preset threshold; The configuration parameters corresponding to the target user group whose difference reaches the preset threshold are determined as the configuration parameters that meet the test conditions.

8. A service testing device, characterized in that: The device comprises: A group determination unit is used to distribute the traffic of the corresponding business to multiple buckets, and determine the users corresponding to the traffic in each bucket according to the information carried in the access request corresponding to the traffic in each bucket; obtain the user portrait of the user corresponding to the target business layer among the users corresponding to the traffic in each bucket, and the target business layer belongs to the multiple business layers included in the business; based on the obtained user portrait, determine multiple user groups whose user information similarity of each bucket corresponding to the target business layer meets the similarity condition, and the user group includes the user corresponding to the traffic in at least one bucket; A data acquisition unit, configured to respectively acquire first click data corresponding to the target business layer from different user groups when the target business layer adopts a preset version of parameter configuration; A similarity matching unit, used for performing similarity matching on the first click data of different user groups corresponding to the target business layer; A group selection unit, configured to select at least two target user groups with homogeneous business indicators from the multiple user groups based on the similarity matching result; A traffic acquisition unit, used to respectively acquire the traffic of each target user group corresponding to the target service layer; The service testing unit is used to allocate the traffic to services configured with the configuration parameters of different versions to be tested, respectively, when the target service layer adopts at least two different versions to be tested. According to the correspondence between the traffic and the configuration parameters of the version to be tested, respectively obtain second click data of the services corresponding to different target user groups. Based on the second click data, determine the configuration parameters of the target version that meets the test conditions among the configuration parameters of at least two different versions to be tested.

9. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the service testing method according to any one of claims 1 to 7 when executing executable instructions stored in the memory.

10. A storage medium storing executable instructions for causing a processor to execute the service testing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Service advertisement data recommendation method and device

    CN107545444A

  • Multimedia information editing method and system

    CN109151576A

  • Machine learning comparison tools

    US20190227912A1

  • Selecting a test based on connections between clusters of configuration changes and clusters of test scenario runs

    US9134961B1

  • Selecting transactions based on similarity of profiles of users belonging to different organizations

    US9348735B1