CN110032509B - Method, device and system for switching experiments in local list and storage medium - Google Patents

Method, device and system for switching experiments in local list and storage medium Download PDF

Info

Publication number
CN110032509B
CN110032509B CN201910161468.1A CN201910161468A CN110032509B CN 110032509 B CN110032509 B CN 110032509B CN 201910161468 A CN201910161468 A CN 201910161468A CN 110032509 B CN110032509 B CN 110032509B
Authority
CN
China
Prior art keywords
experiment
version
name
local list
experiment version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910161468.1A
Other languages
Chinese (zh)
Other versions
CN110032509A (en
Inventor
郑永欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201910161468.1A priority Critical patent/CN110032509B/en
Publication of CN110032509A publication Critical patent/CN110032509A/en
Application granted granted Critical
Publication of CN110032509B publication Critical patent/CN110032509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a method for switching experiments in a local list, which comprises the following steps: generating a local list according to an experiment; and completing the switching of the experiments in the local list according to the local list. After the first local list and the second local list can be generated, a user can select different experiment versions corresponding to different experiments for use through the application program client. Different experimental versions are manually switched, so that the problem that the using version of the application program can only be configured through the server is avoided, the limitation of the server is eliminated, and a user manually and automatically switches and experiences different experimental versions of different experiments, so that the development efficiency of products can be improved.

Description

Method, device and system for switching experiments in local list and storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, a system, and a storage medium for switching experiments in a local list.
Background
In the times of prevailing internet nowadays, terminals applying the internet and related application programs in the terminals are released or updated more and more quickly, and the release or update of the application programs can better meet daily use requirements of people. Before the application program is released or updated, the AB test is generally carried out on the updated application program so as to select the version of the application program which is more in line with the use requirements of people and has better user experience.
The concept of the AB test is derived from a double-blind test in biomedicine, in which patients are randomly divided into two groups, placebo and test drugs are given without knowledge, and after a period of experiment, the two groups of patients are compared for significant differences in their performance, thereby determining whether the test drugs are effective. Similar concepts have been adopted by the AB test of internet companies: two or more versions of an internet (Web) or application program (APP) interface or process are respectively accessed by two or more visitor groups with the same (or similar) attributes (or components) in the same time dimension, user experience data and service data of each group are collected, finally, the best version is analyzed and evaluated, and the best version is formally adopted.
It can be seen from the definition of the AB test that the AB test emphasizes the test of similar attribute grouping users in the same time dimension, the uniformity of time effectively avoids the influence caused by factors such as time and season, and the similarity of attributes minimizes the influence of other factors such as region, gender and age on the effect statistics.
However, in the AB test currently applied to the application program, the AB test can only be configured in the server, multiple different versions can only be configured in the server, one version is selected from multiple different year versions in the server to be applied to the client, and the version of the application program experienced by the user when using the application program is the version selected by the server. The client through the application program cannot select other versions in the AB test for use, and cannot know which versions are set in the application program, what style the different versions are running, and the like.
Disclosure of Invention
In order to solve the above technical problems, a main object of the present invention is to provide a method, an apparatus, a system and a storage medium for switching experiments in a local list, so as to solve the technical problems that in the prior art, an application client cannot select different versions in an AB test for use, and cannot know which versions are set in an application, and what style the different versions are run.
The technical scheme of the invention is realized by the following modes:
a method of switching experiments in a local list, comprising:
generating a local list according to an experiment;
and completing the switching of the experiments in the local list according to the local list.
Preferably, the generating the local list according to the experiment specifically includes:
extracting the experiment into an experiment interface, and adding an experiment name, an experiment ID and a default experiment version ID to the experiment interface through a first note, wherein the experiment name corresponds to the experiment ID one to one;
creating a class corresponding to the experiment interface, and adding an experiment version name and an experiment version ID of the class for the class through a second annotation, wherein the experiment version name corresponds to the experiment version ID one by one;
generating a local list from the first and second annotations.
Preferably, the local list comprises a first local list and a second local list;
generating the first local list according to the first annotation, wherein the first local list comprises the experiment name, the experiment ID, the default experiment version ID and an experiment version option button corresponding to the experiment name currently; the experiment version option button corresponding to the experiment name currently displays the experiment version name corresponding to the experiment name currently;
generating the second local list according to the second annotation, wherein the second local list is a local list corresponding to the experiment version option button and comprises an experiment version name and an experiment version ID; the experiment version ID includes the default experiment version ID.
Preferably, the step of completing the switching of the experiment in the local list according to the local list specifically includes:
judging whether the experiment version corresponding to the experiment version name displayed in the experiment version option button is selected through the second local list;
and selecting the experiment needing to be switched according to the judgment result.
Preferably, the selecting the experiment to be switched according to the judgment result specifically includes:
when an experiment version corresponding to an experiment version name other than the experiment version name displayed in the experiment version option button is selected through the second local list in the experiment version corresponding to the current experiment version name, an experiment version ID corresponding to the selected experiment version name is saved, and when the experiment name corresponding to the current experiment version name is entered next time, the experiment version corresponding to the experiment version name corresponding to the selected experiment version ID is switched;
otherwise, when the experiment corresponding to the current experiment name is entered next time, the experiment version corresponding to the current experiment version name is continuously used.
Preferably, when entering the experiment name corresponding to the current experiment version name next time, switching to the experiment version corresponding to the experiment version name corresponding to the selected experiment version ID specifically includes:
acquiring the first local list and the second local list;
acquiring an experiment version ID corresponding to the saved selected experiment version name;
and determining and switching to an experiment version corresponding to the experiment version name corresponding to the acquired experiment version ID from the first local list and the second local list.
Preferably, the selecting an experiment to be switched according to the judgment result further includes:
judging whether an experiment version corresponding to an experiment version name corresponding to an experiment version ID configured by a server can be selected when the experiment name corresponding to the current experiment version name is entered for the first time;
when an experiment version corresponding to an experiment version name corresponding to an experiment version ID configured by a server can be selected, selecting the experiment version corresponding to the experiment version name corresponding to the experiment version ID configured by the server as an experiment version corresponding to an experiment name corresponding to the current experiment version name for the first time;
otherwise, taking the experiment version corresponding to the experiment version name corresponding to the default experiment version ID in the first local list as the experiment version corresponding to the experiment name corresponding to the current experiment version name for the first time.
An apparatus for switching experiments in a local list, comprising:
the local list generating module is used for generating a local list according to an experiment;
and the switching module is used for completing the switching of the experiments in the local list according to the local list.
A system for switching experiments in a local list, comprising:
a memory for storing program instructions;
a processor for executing the program instructions to implement the above-described method.
A storage medium having stored thereon readable instructions which, when executed by a processor, implement the method described above.
Compared with the prior art, the method, the device, the system and the storage medium for switching the experiment in the local list have the following beneficial effects that:
1) the invention can generate a local list comprising different experimental versions of different experiments. The method comprises the steps of extracting preset experiments into experiment interfaces, creating classes corresponding to the experiment interfaces, adding experiment names and experiment IDs to the experiment interfaces through first annotations, and adding the experiment version names, the experiment version IDs and default experiment version IDs to the classes corresponding to the experiment interfaces through second annotations. And generating a local list according to the first annotation and the second annotation, wherein the local list comprises the first local list and the second local list. The first local list comprises experiment names corresponding to different experiments and option buttons of experiment versions corresponding to the experiments currently, and the option buttons display the experiment versions currently corresponding to the experiments. Different experiment versions corresponding to the experiment can be selected through the option button.
2) After the first local list and the second local list are generated, a user can select different experiment versions corresponding to different experiments to use through an application program client. Different experimental versions are manually switched, so that the problem that the using version of the application program can only be configured through the server is avoided, the limitation of the server is eliminated, and a user manually and automatically switches and experiences different experimental versions of different experiments, so that the development efficiency of products can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of a method for switching experiments in a local list according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for generating a local list according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an AB test entry of an application client according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a first local list according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a second local list according to an embodiment of the present invention;
fig. 6 is an interface effect diagram of an experimental version according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a switching process of different experimental versions of an experiment according to a first local list and a second local list in the experiment according to the embodiment of the present invention;
fig. 8 is an interface effect diagram of another experimental version of an experiment according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
The invention is further explained with reference to the drawings.
As shown in fig. 1, a schematic flow chart of a method for switching an experiment in a local list according to an embodiment of the present invention is provided, where the method mainly includes the following steps:
step S100, a local list is generated according to an experiment. The experiment in this step is set when an application program is developed, and by writing a program related to the experiment, the experiment can be operated when the program is run and related operations are performed. The experiment may be a page corresponding to a certain function in the application program, and the experiment may be multiple experiments, for example, an experiment of a login page, an experiment of a home page, and the like. The local list is generated according to the set experiment, and the local list can comprise a first local list and a second local list. The generated local list includes information related to the experiment, for example, the information includes a name corresponding to the experiment of the login page and a name corresponding to the experiment of the home page, the name corresponding to the experiment of the login page may be directly the experiment of the login page of the unregistered user, and the name corresponding to the experiment of the home page may be the experiment of the home page display. The experiment system also comprises a switching button of different experiment versions corresponding to each experiment, and the switching button can enter an option list of different experiment versions and select different experiment versions from the option category.
And step S200, completing the switching of the experiment in the local list according to the local list.
The versions of the experiment are selected according to the first local list and the second local list generated in step S100, so that different experimental versions of the experiment can be manually switched at the client of the application program, and the technical problem that the configuration can only be performed through the server in the prior art is solved.
The method for switching the experiment in the local list can be used for an application program client based on an Android operating system.
As shown in fig. 2, to generate a local list according to an experiment, a schematic flow diagram of a method for generating a local list specifically includes:
step S101, extracting the experiment into an experiment interface through the prior art, where the interface may be a Java interface, so that the subsequent steps continue to perform corresponding operations. The experiment in this step is set up when researching and developing the application program, after setting up the experiment, will research and develop the experiment that the application program set up and extract into the experiment interface through prior art, the experiment that sets up can be a plurality of. If one experiment is set, the experiment is extracted into an experiment interface, and if a plurality of experiments are set, each experiment needing AB testing is extracted into an experiment interface. For example, the set experiment may be a login interface of the application client, a home page displayed after logging in the application client, or the like, and the login interface, the home page, or the like is referred to as an experiment in this embodiment.
After the experiment is extracted into the experiment interfaces, adding information corresponding to the experiment interfaces to each experiment interface in an annotation manner, specifically, adding an experiment name, an experiment ID and a default experiment version ID corresponding to the experiment to each experiment interface through annotation, wherein the experiment name of each experiment corresponds to the experiment ID of the experiment one to one. The annotation in this step is referred to as the first annotation.
After each experiment is extracted into an experiment interface and corresponding information is added to each experiment interface through the first annotation, the method further comprises the step S102:
creating a corresponding class for each experiment interface, and adding an experiment version name and an experiment version ID of the class for the class through a second annotation, wherein the experiment version name corresponds to the experiment version ID one by one. The classes in this step may be different experimental versions in the experiment corresponding to the experimental interface, one experimental interface corresponds to one class of this experiment, and the class of this experiment includes different versions of this experiment. And after a corresponding class is created for each experiment interface, adding an experiment version name and an experiment ID corresponding to the experiment version for different experiment versions corresponding to each experiment in an annotation mode. For example, the experiment is a login page of an application client, an experiment interface corresponding to the experiment includes an experiment name and an experiment ID of the experiment, and a class corresponding to the experiment includes login pages of different versions, which may be a login page style 1, a login page style 2, and the like. The default experimental version name may be the version configured by the server.
Step S103, generating a local list according to the first annotation and the second annotation.
Specifically, the local list may be generated by using an annotation parser for generating the local list according to the experiment name, the experiment ID and the default experiment version ID corresponding to the experiment added by the first annotation, and the experiment version name and the default experiment version ID added by the second annotation. The annotation parser used in this step is already generated. The local list may include a first local list and a second local list. And generating a first local list according to the information added by the first annotation, wherein the first local list comprises the experiment name, the experiment ID, the default experiment version ID and an experiment version option button currently corresponding to the experiment name, and the experiment version option button currently corresponding to the experiment name displays the experiment version name currently corresponding to the experiment name.
Referring to fig. 4, a schematic diagram of a first local list provided in an embodiment of the present invention is shown, where experiment names corresponding to different experiments displayed on the left side in the diagram and experiment version option buttons corresponding to experiment names displayed on the right side in the diagram are generated by the annotator in step S103 according to the first annotation in step S101. In the figure, the set experiments are 5 in total, including 7.14 personal information work page experiments, hand Y7.10 login guidance optimization experiments, hand Y7.13 user anonymous guidance login experiments, unregistered user popup login window experiments and live broadcast room immersive watching experiments. Each experiment in the 5 experiments corresponds to a current corresponding experiment version option button. The right side of the figure shows that each experiment is provided with an experiment version configured by the server, namely, the server configuration item is obtained. The name of the manually switched experiment version is displayed in the option button for manually switching and receiving the experiment version. And manually switching the experiment versions by clicking an option button of the current experiment version.
And generating a second local list according to the information added by the second annotation, wherein the second local list is a local list corresponding to the experiment version option button currently corresponding to the experiment name, and the list comprises the experiment version name and the experiment version ID.
Referring to fig. 5, a diagram of a second local list is shown, which is a list corresponding to the experiment version option button. For example, the local list shown in the figure is a local list corresponding to an experiment of popping up a login window by an unregistered user in the first local list, and a second local list can be obtained by clicking an experiment version option button corresponding to the experiment of popping up the login window by the unregistered user in the first local list, wherein the second local list comprises an acquisition server configuration item, a new work TAB style, an original work TAB style-group 1 and an original work TAB style-group 2. The method comprises the steps that an experiment version name corresponding to an experiment name of an experiment for popping up a login window by a user who does not log in corresponds to four experiment version names of an acquisition server configuration item, a new work TAB pattern, an original work TAB pattern-group 1 and an original work TAB pattern-group 2, namely, the experiment for popping up the login window by the user who does not log in comprises four switchable schemes of the acquisition server configuration item, the new work TAB pattern, the original work TAB pattern-group 1 and the original work TAB pattern-group 2. The experiment version names in the second local list include default experiment version names, and the experiment version IDs include default experiment version IDs. The first time an application is opened and used, the default is the acquisition server configuration item in the local list, i.e. the name of the experiment version selected by the server configuration. The experiment ID in the first local list, the default experiment version ID, and the experiment version ID in the second local list are not shown in the first local list and the second local list, and since the IDs are unique, the IDs are used to determine the experiment and the experiment version corresponding to the IDs. The invention can generate a local list comprising different experimental versions of different experiments. The method comprises the steps of extracting preset experiments into experiment interfaces, creating classes corresponding to the experiment interfaces, adding experiment names, experiment IDs and default experiment version IDs for the experiment interfaces through first annotations, and adding the experiment version names and the experiment version IDs for the classes corresponding to the experiment interfaces through second annotations. And generating a local list according to the first annotation and the second annotation, wherein the local list comprises the first local list and the second local list. The first local list comprises experiment names corresponding to different experiments and option buttons of experiment versions corresponding to the experiments currently, and the option buttons display the experiment versions currently corresponding to the experiments. Different experiment versions corresponding to the experiment can be selected through the option button.
When the application program is opened for the first time, a default experiment version name is set in the application program for a certain experiment name, and when the experiment of the application program is opened for the first time, an experiment version corresponding to the default experiment version name is displayed. Since the experiment of the application is opened for the first time, the experiment has not been entered before and a different version of the experiment is selected for the experiment, and the version entered after opening the experiment is the version of the experiment corresponding to the experiment selected by the server configuration item. After entering the experiment for the first time, the first local list can be entered through the AB test lab portal for selection of experiments and different versions of experiments corresponding to different experiments. AB test lab entry referring to fig. 3, fig. 3 shows an ABTest lab entry screen shot of an application by clicking on the AB test lab of fig. 3 to enter the first local list.
Specifically, when an experiment name corresponding to the current experiment version name is entered for the first time, whether an experiment version corresponding to the experiment version name corresponding to the experiment version ID configured by the server can be selected is judged, and when an experiment version corresponding to the experiment version name corresponding to the experiment version ID configured by the server can be selected, the experiment version corresponding to the experiment version name corresponding to the experiment version ID configured by the server is selected as an experiment version corresponding to the experiment name corresponding to the current experiment version name entered for the first time. The experimental version option button displays a default configuration item for obtaining the server, that is, an experimental version corresponding to the experimental version ID configured by the server is selected from the first local list according to the experimental version ID configured by the server, that is, the version of the home page display interface selected by the server. And if the experimental version corresponding to the experimental version name corresponding to the experimental version ID configured by the server cannot be selected, taking the experimental version corresponding to the experimental version name corresponding to the default experimental version ID in the first local list as the experimental version corresponding to the experimental name corresponding to the current experimental version name for the first time. For example, the server is not configured, or the network request fails.
Referring to fig. 6, which illustrates a home page interface, the contents shown in fig. 7 are displayed when the home page is first entered. The first page of the experiment corresponds to the experiment version as the default experiment version, which is selected by the server configuration item, and does not know which version is in the second local list. Of course the figure may also be a displayed version of the current top page, not necessarily the first time the top page is entered. This embodiment is described by taking the first entry into the top page as an example.
The user wants to manually switch the version of the home page interface through the application program client, namely, the user can obtain the first local list by clicking the ABtest laboratory and entering the ABtest laboratory. The second local list is obtained by a current experiment version option button on the right side corresponding to the experiment on the top page of the application client in the first local list (the experiment name of the experiment on the top page of the application client is not shown in the first local list shown in fig. 4, which may be shown, but is illustrated as an example in the figure).
After the second local list is obtained, the experiment version corresponding to the experiment of the first page can be selected at will, and the display interface of the first page corresponding to each experiment version is different. And saving the ID corresponding to the selected experimental version so as to directly enter the selected first page version when the application program is opened next time, wherein the version displayed after entering the first page is the first page interface corresponding to the selected version. The experimental version ID will not be saved if no selection is made.
Fig. 7 is a flowchart of a method for switching between different experimental versions of an experiment according to a first local list and a second local list, where steps in the flowchart are described as an example of the description of fig. 6, and are operations after entering an application home page interface for the first time and after manually switching between experimental versions from the second local list, where the steps mainly include:
step S201, determining whether an experiment version corresponding to an experiment version name other than the experiment version name displayed in the experiment version option button is selected through the second local list in the experiment version corresponding to the current experiment version name. And judging whether the user manually selects the experimental version corresponding to the experimental version name except the experimental version name displayed in the experimental version option button in the second local list or not in the experimental version corresponding to the current experimental version name of the home page.
Step 202, when an experiment version corresponding to an experiment version name other than the experiment version name displayed in the experiment version option button is selected through the second local list in the experiment version corresponding to the current experiment version name, saving an experiment version ID corresponding to the selected experiment version name, and switching to the experiment version corresponding to the experiment version name corresponding to the selected experiment version ID when entering the experiment name corresponding to the current experiment version name next time.
When entering the experiment name corresponding to the current experiment version name next time, switching to the experiment version corresponding to the experiment version name corresponding to the selected experiment version ID specifically includes:
and acquiring the first local list and the second local list.
And acquiring the experiment version ID corresponding to the saved selected experiment version name through the distributor.
After the experimental version ID corresponding to the stored selected experimental version name is obtained through the distributor, the experimental version corresponding to the experimental version ID corresponding to the stored experimental version name is obtained from the first list and the second list, and then the experimental version corresponding to the experimental version name corresponding to the stored experimental version ID is switched to. The experiment version corresponding to the default experiment version ID is included in the experiment version corresponding to the experiment version ID in the second list, and after an experiment corresponding to an experiment name corresponding to the current experiment version name is entered for the first time, when experiment versions corresponding to experiment version names corresponding to other experiment version IDs are selected through the second local list, the experiment version corresponding to the experiment version name corresponding to the experiment version ID configured by the server and the experiment version corresponding to the experiment version name corresponding to the default experiment version ID can be selected.
As shown in fig. 8, the experimental version corresponding to the top page in fig. 6 is different for the top page interface after switching the versions.
Step S203, if no experimental version corresponding to an experimental version name other than the experimental version name displayed in the experimental version option button is selected in the experimental version corresponding to the current experimental version name through the second local list, the distributor does not obtain an experimental version ID, which indicates that no experimental version is manually switched, and when an experiment corresponding to the current experimental name is entered next time, the experimental version corresponding to the current experimental version name is continuously used, and the top page displayed after the entry of the top page is the version shown in fig. 6.
And when the experiment versions corresponding to the other experiment version names are selected through the second local list, displaying the currently selected experiment version name in the experiment version option button and the second local list. The selected experimental version corresponding to the other experimental version name is not immediately displayed as the selected other experimental version, but the step S201 is executed when the application is closed and the application is started next time, and the selected other experimental version is entered.
After the first local list and the second local list are generated, a user can select different experiment versions corresponding to different experiments for use through the application program client. Different experimental versions are manually switched, so that the problem that the using version of the application program can only be configured through the server is avoided, the limitation of the server is eliminated, and a user manually and automatically switches and experiences different experimental versions of different experiments, so that the development efficiency of products can be improved.
The above method embodiments provide specific implementation methods for implementing the present invention, and the above methods may be implemented by corresponding apparatuses, and the apparatuses may also solve the technical problems solved by the above methods, so as to achieve the same technical effects as the above methods.
The invention also provides a device for switching experiments in the local list, which mainly comprises:
the local list generating module 1 is used for generating a local list according to an experiment;
and the switching module 2 is used for completing the switching of the experiments in the local list according to the local list.
The invention also provides a system for switching experiments in the local list, which comprises the following steps: more than one memory and more than one processor. Wherein the content of the first and second substances,
a memory (not shown) for storing program instructions, the memory may be transient or persistent.
And the processor (not shown in the figure) is used for executing the program instructions to implement the page jump method in the technical scheme.
The invention also provides a storage medium, wherein the storage medium stores readable instructions, and the readable instructions can be executed by a processor to realize the page jump method in the technical scheme.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (9)

1. A method for switching experiments in a local list, comprising:
generating a local list according to an experiment;
extracting the experiment into an experiment interface, and adding an experiment name, an experiment ID and a default experiment version ID to the experiment interface through a first annotation, wherein the experiment name corresponds to the experiment ID one by one;
creating a class corresponding to the experiment interface, and adding an experiment version name and an experiment version ID of the class for the class through a second annotation, wherein the experiment version name corresponds to the experiment version ID one by one;
generating a local list from the first annotation and the second annotation;
determining the version of the experiment selected by the user according to the local list;
and completing the switching of the experiments in the local list according to the local list so as to enable the client of the application program to be switched to the version of the experiment selected by the user.
2. The method of claim 1, wherein the local list comprises a first local list and a second local list;
generating the first local list according to the first annotation, wherein the first local list comprises the experiment name, the experiment ID, the default experiment version ID and an experiment version option button currently corresponding to the experiment name; the experiment version option button corresponding to the experiment name currently displays the experiment version name corresponding to the experiment name currently;
generating the second local list according to the second annotation, wherein the second local list is a local list corresponding to the experiment version option button and comprises an experiment version name and an experiment version ID; the experiment version ID includes the default experiment version ID.
3. The method according to claim 2, wherein the step of completing the handover of the experiment in the local list according to the local list specifically comprises:
judging whether the experiment version corresponding to the experiment version name displayed in the experiment version option button is selected through the second local list;
and selecting the experiment needing to be switched according to the judgment result.
4. The method of claim 3, wherein selecting the experiment to be switched according to the determination result comprises:
when an experiment version corresponding to an experiment version name other than the experiment version name displayed in the experiment version option button is selected through the second local list in the experiment version corresponding to the current experiment version name, an experiment version ID corresponding to the selected experiment version name is saved, and when the experiment name corresponding to the current experiment version name is entered next time, the experiment version corresponding to the experiment version name corresponding to the selected experiment version ID is switched;
otherwise, when the experiment corresponding to the experiment name corresponding to the current experiment version name is entered next time, the experiment version corresponding to the current experiment version name is continuously used.
5. The method according to claim 4, wherein switching to the experiment version corresponding to the experiment version name corresponding to the selected experiment version ID when entering the experiment name corresponding to the current experiment version name next time specifically comprises:
acquiring the first local list and the second local list;
acquiring an experiment version ID corresponding to the stored selected experiment version name;
and determining and switching to an experiment version corresponding to the experiment version name corresponding to the acquired experiment version ID from the first local list and the second local list.
6. The method according to claim 5, wherein selecting the experiment to be switched according to the judgment result further comprises:
judging whether an experiment version corresponding to an experiment version name corresponding to an experiment version ID configured by a server can be selected when the experiment name corresponding to the current experiment version name is entered for the first time;
when an experiment version corresponding to an experiment version name corresponding to an experiment version ID configured by a server can be selected, selecting the experiment version corresponding to the experiment version name corresponding to the experiment version ID configured by the server as an experiment version corresponding to an experiment name corresponding to the current experiment version name for the first time;
otherwise, the experiment version corresponding to the experiment version name corresponding to the default experiment version ID in the first local list is used as the experiment version corresponding to the experiment name corresponding to the current experiment version name for the first time.
7. An apparatus for switching experiments in a local list, comprising:
the local list generating module is used for generating a local list according to an experiment;
extracting the experiment into an experiment interface, and adding an experiment name, an experiment ID and a default experiment version ID to the experiment interface through a first annotation, wherein the experiment name corresponds to the experiment ID one by one;
creating a class corresponding to the experiment interface, and adding an experiment version name and an experiment version ID of the class to the class through a second annotation, wherein the experiment version name corresponds to the experiment version ID one by one;
generating a local list from the first annotation and the second annotation;
and the switching module is used for determining the version of the experiment selected by the user according to the local list and completing the switching of the experiment in the local list according to the local list so as to switch the client of the application program to the version of the experiment selected by the user.
8. A system for switching experiments on a local list, comprising:
a memory for storing program instructions;
a processor for executing the program instructions to implement the method of any one of claims 1 to 6.
9. A storage medium storing readable instructions which, when executed by a processor, implement the method of any one of claims 1 to 6.
CN201910161468.1A 2019-03-04 2019-03-04 Method, device and system for switching experiments in local list and storage medium Active CN110032509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910161468.1A CN110032509B (en) 2019-03-04 2019-03-04 Method, device and system for switching experiments in local list and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910161468.1A CN110032509B (en) 2019-03-04 2019-03-04 Method, device and system for switching experiments in local list and storage medium

Publications (2)

Publication Number Publication Date
CN110032509A CN110032509A (en) 2019-07-19
CN110032509B true CN110032509B (en) 2022-08-23

Family

ID=67235104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910161468.1A Active CN110032509B (en) 2019-03-04 2019-03-04 Method, device and system for switching experiments in local list and storage medium

Country Status (1)

Country Link
CN (1) CN110032509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363756B (en) * 2020-12-04 2022-06-21 四川长虹电器股份有限公司 Method capable of dynamically switching BOM versions

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023863B (en) * 2010-12-13 2015-07-22 中兴通讯股份有限公司 Method and device for switching editions
CN103283209B (en) * 2011-04-18 2015-12-09 北京新媒传信科技有限公司 A kind of application service platform system and its implementation
US9417994B2 (en) * 2014-04-08 2016-08-16 Turnkey Solutions, Corp. Software test automation system and method
CN105740137B (en) * 2014-12-08 2018-07-31 阿里巴巴集团控股有限公司 Divide bucket test method and the method, apparatus and system of configuration information are provided
CN109308255B (en) * 2017-07-28 2021-11-30 北京京东尚科信息技术有限公司 Method and device for A/B test experiment
CN108650262B (en) * 2018-05-09 2020-12-01 聚龙股份有限公司 Cloud platform expansion method and system based on micro-service architecture
CN109240936A (en) * 2018-10-17 2019-01-18 深圳壹账通智能科技有限公司 Compatibility test method, terminal device and the medium of application program

Also Published As

Publication number Publication date
CN110032509A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
US20200311342A1 (en) Populating values in a spreadsheet using semantic cues
EP2151773B1 (en) Synchronous to asynchronous web page conversion
US20180349329A1 (en) Support for non-native file types in web application environment
Matejka et al. IP-QAT: in-product questions, answers, & tips
CN108399072B (en) Application page updating method and device
WO2016044534A1 (en) Analytics for mobile applications
WO2022111249A1 (en) Information presentation method, apparatus, and computer storage medium
WO2000004434B1 (en) A computer interface method and apparatus with portable network organization system and targeted advertising
CN107193743B (en) Application evaluation method and device, computer equipment and storage medium
US20170269945A1 (en) Systems and methods for guided live help
CN111078221B (en) Page color theme switching method and device, storage medium and electronic equipment
CN108830383B (en) Method and system for displaying machine learning modeling process
CN112199296B (en) Page testing method and device, computer equipment and storage medium
WO2017181528A1 (en) Search display method and device
CN113076104A (en) Page generation method, device, equipment and storage medium
US11269756B1 (en) Self-healing web applications
CN111752535A (en) Web page development method and device, computer equipment and readable storage medium
CN109445893A (en) A kind of method and device of the unique identification of determining operation interface frame
CN109165052A (en) Interaction processing method, device and the terminal of application scenarios, system, storage medium
CN110032509B (en) Method, device and system for switching experiments in local list and storage medium
US11586696B2 (en) Enhanced web browsing
WO2023236795A1 (en) Encyclopedia entry processing method and apparatus, and electronic device, medium and program product
JP6641777B2 (en) Information processing device and program
Williams et al. Systems thinking: what business modeling can do for public health
US20170286473A1 (en) Element identifier generation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190719

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000031

Denomination of invention: A method, device, system and storage medium for switching experiments in local list

License type: Common License

Record date: 20210125

EE01 Entry into force of recordation of patent licensing contract
GR01 Patent grant
GR01 Patent grant