CN112487323B - Webpage experiment method and server - Google Patents

Webpage experiment method and server Download PDF

Info

Publication number
CN112487323B
CN112487323B CN201910859168.0A CN201910859168A CN112487323B CN 112487323 B CN112487323 B CN 112487323B CN 201910859168 A CN201910859168 A CN 201910859168A CN 112487323 B CN112487323 B CN 112487323B
Authority
CN
China
Prior art keywords
terminal
ratio
preset
end server
request information
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
CN201910859168.0A
Other languages
Chinese (zh)
Other versions
CN112487323A (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.)
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Wodong Tianjun Information Technology Co Ltd
Priority to CN201910859168.0A priority Critical patent/CN112487323B/en
Publication of CN112487323A publication Critical patent/CN112487323A/en
Application granted granted Critical
Publication of CN112487323B publication Critical patent/CN112487323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a webpage experiment method and a server. The webpage experimental method provided by the embodiment of the invention comprises the following steps: receiving UI request information sent by a back-end server, wherein the back-end server generates the UI request information according to webpage request information sent by a terminal; and returning a UI to the terminal according to the UI request information and a preset UI feedback rule so that the terminal generates a webpage to be tested according to the UI and a data file, wherein the back-end server feeds back the data file to the terminal according to the webpage request information and the preset data feedback rule. The webpage experiment method provided by the embodiment of the invention can output the webpage to be tested under various experiment conditions for the webpage experiment, thereby improving the experiment development efficiency and saving the experiment time.

Description

Webpage experiment method and server
Technical Field
The invention relates to the technical field of webpages, in particular to a webpage experiment method and a server.
Background
With the rapid development of internet technology, web page technology is also applied to more and more fields for information display and interaction. Because different webpages bring different visual experiences to users, in order to explore the experience effect of the users on the unnecessary webpages, higher page benefits are achieved, and in the webpage development process, experiments on the webpages are an important means for exploring the webpage effects and improving the page benefits.
Currently, before performing a web page experiment, a front-end experiment and a back-end experiment are generally required to be performed on a web page to be tested according to a predetermined layout and algorithm. The front-end experiment is usually performed on a design of a presentation class of a web page, for example, a User Interface (UI) mainly based on the vision of a graph, a text, and the like. Whereas the back-end experiments are typically experiments based on logic algorithms implemented by data, such as recommended strategy experiments. In the prior art, since the algorithm policy and the HTML file corresponding to the UI are both set in the back-end server and are tightly coupled, the front-end and back-end experiments in the web page experiment technology can only be in a serial manner, that is, when the UI experiment is performed, the logic algorithm needs to be fixed, and when the logic algorithm experiment is performed, the UI needs to be fixed.
However, when multiple UI experiments or multiple algorithm strategy experiments are performed, the number of serial experiments to be performed is increased, and after each experiment, statistics and observation are performed on data fed back by each webpage to be tested, so that the serial experiment mode tends to result in long webpage experiment period and low efficiency.
Disclosure of Invention
The embodiment of the invention provides a webpage experiment method and a server, so that multiple experiments can be simultaneously carried out at the front end and the rear end, the experiment development efficiency is improved, and the experiment time is saved. The front-end experiment and the back-end experiment are independent from each other, and the respective experiments are deployed in respective servers. When the front end makes an experiment, a front end developer deploys an HTML file corresponding to the UI into the front end service; when the back-end makes experiments, back-end developers deploy algorithm strategies into the back-end server. The front end experiment and the rear end experiment are independent and do not affect each other, and the independent development and deployment mode can reduce development cost and improve development efficiency.
In a first aspect, an embodiment of the present invention provides a web page experiment method, including:
Receiving UI request information sent by a back-end server, and generating the UI request information by the back-end server according to webpage request information sent by a terminal;
And returning corresponding UI (user interface) to the terminal according to the UI request information and a preset UI feedback rule, for example, different html files correspond to different UI, so that the terminal generates a webpage to be tested according to the UI and the data, wherein the back-end server feeds back the data to the terminal according to the webpage request information and the preset data feedback rule.
In one possible design, the preset feedback rule is a mapping relationship between a preset flow allocation proportion and each UI, so that the frequency distribution of each UI returned to the terminal matches the preset flow allocation proportion.
In one possible design, the preset flow distribution ratio includes: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
In one possible design, the step of returning the UI to the terminal according to the UI request information and a preset UI feedback rule includes:
And returning the UI to the terminal according to the label information and a preset mapping relation, wherein the mapping relation is the mapping relation between the label information and each UI, the UI request information comprises the label information, and the back-end server generates the label information according to the preset flow distribution proportion so as to enable the quantity distribution of each label information to be matched with the preset flow distribution proportion.
In one possible design, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation proportion. In a second aspect, an embodiment of the present invention further provides a web page experiment method, including:
Generating UI request information according to webpage request information sent by a terminal, and sending the UI request information to a front-end server so that the front-end server returns a UI to the terminal according to the UI request information and a preset UI feedback rule;
and feeding back a data file to the terminal according to the webpage request information and a preset data feedback rule, so that the terminal generates a webpage to be tested according to the UI and the data.
In one possible design, the preset feedback rule is a mapping relationship between a preset flow allocation proportion and each UI, so that the frequency distribution of each UI returned to the terminal matches the preset flow allocation proportion.
In one possible design, the preset flow distribution ratio includes: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
In one possible design, before the sending the UI request information to the front-end server, the method further includes:
Generating tag information according to the preset flow distribution proportion, so that the front-end server returns the UI to the terminal according to the tag information and a preset mapping relation, wherein the mapping relation is the mapping relation between the tag information and each UI, the UI request information comprises the tag information, and the quantity distribution of each tag information is matched with the preset flow distribution proportion.
In one possible design, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation proportion.
In a third aspect, an embodiment of the present invention further provides a front-end server, including:
The front-end receiving module is used for receiving UI request information sent by the back-end server, and the back-end server generates the UI request information according to the webpage request information sent by the terminal;
The front-end processing module is used for determining a UI according to the UI request information and a preset feedback rule;
And the front-end feedback module is used for returning the UI to the terminal so that the terminal generates a webpage to be tested according to the UI and the data, wherein the back-end server feeds back the data to the terminal according to the webpage request information and a preset data feedback rule.
In one possible design, the preset feedback rule is a mapping relationship between a preset flow allocation proportion and each UI, so that the frequency distribution of each UI returned to the terminal matches the preset flow allocation proportion.
In one possible design, the preset flow distribution ratio includes: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
In one possible design, the front-end feedback module is specifically configured to:
And returning the UI to the terminal according to the label information and a preset mapping relation, wherein the mapping relation is the mapping relation between the label information and each UI, the UI request information comprises the label information, and the back-end server tests the label information according to the preset flow distribution proportion so as to enable the quantity distribution of each label information to be matched with the preset flow distribution proportion.
In one possible design, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of the data file through each database experiment matches the preset allocation proportion.
In a fourth aspect, an embodiment of the present invention further provides a backend server, including:
The rear end receiving module is used for receiving webpage request information sent by the terminal;
The back-end processing module is used for generating UI request information according to the webpage request information;
the back-end sending module is used for sending the UI request information to a front-end server so that the front-end server returns a UI to the terminal according to the UI request information and a preset UI feedback rule;
And the back-end feedback module is used for feeding back a data file to the terminal according to the webpage request information and a preset data feedback rule so that the terminal generates a webpage to be tested according to the UI and the data file.
In one possible design, the preset feedback rule is a mapping relationship between a preset flow allocation proportion and each UI, so that the frequency distribution of each UI returned to the terminal matches the preset flow allocation proportion.
In one possible design, the preset flow distribution ratio includes: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
In one possible design, the back-end processing module is further configured to generate tag information according to the preset traffic distribution ratio, so that the front-end server returns the UI to the terminal according to the tag information and a preset mapping relationship, where the mapping relationship is a mapping relationship between the tag information and each UI, the UI request information includes the tag information, and the number distribution of each tag information matches the preset traffic distribution ratio.
In one possible design, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation proportion.
In a fifth aspect, an embodiment of the present invention further provides a web page experiment system, including: a terminal, the front-end server of any one of the second aspect, and the back-end server of any one of the third aspect; communication connection is respectively arranged among the terminal, the front-end server and the back-end server. In a sixth aspect, an embodiment of the present invention further provides a front-end server, including:
a front-end processor; and
A front-end memory for storing executable instructions of the front-end processor;
wherein the front-end processor is configured to perform any one of the possible web page experimental methods of the first aspect via execution of the executable instructions.
In a seventh aspect, an embodiment of the present invention further provides a storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the possible web page experiment methods of the first aspect.
In an eighth aspect, an embodiment of the present invention further provides a backend server, including:
a back-end processor; and
A back-end memory for storing executable instructions of the back-end processor;
wherein the back-end processor is configured to perform any one of the possible web page experimental methods of the second aspect via execution of the executable instructions.
In a ninth aspect, an embodiment of the present invention further provides a storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the possible web page experiment methods of the second aspect.
In a tenth aspect, an embodiment of the present invention further provides a web page experiment system, including: a terminal, the front-end server according to any one of the sixth aspect, and the back-end server according to any one of the eighth aspect;
Communication connection is respectively arranged among the terminal, the front-end server and the back-end server.
According to the webpage experiment method and the server, the back-end server receives webpage request information sent by the terminal and feeds back data files to the terminal according to the webpage request information and the preset data feedback rule, in addition, the back-end server also generates UI request information according to the webpage request information and sends the UI request information to the front-end server, so that the front-end server returns the UI to the terminal according to the UI request information and the preset UI feedback rule, finally generates a webpage to be tested according to the UI and the data files in the terminal, decouples the front-end UI and the back-end logic algorithm experiment, further can carry out combined experiments on different logic algorithms and different UIs, and outputs the webpage to be tested under various experimental conditions for subsequent webpage experiments, and therefore parallel development and independent deployment of the front-end experiment and the back-end experiment are achieved, experimental development efficiency is improved, and experimental time is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a web experimental method application scenario architecture according to an example embodiment of the present invention;
FIG. 2 is a schematic diagram of a web experimental method application scenario architecture according to another example embodiment of the present invention;
FIG. 3 is a signaling interaction diagram of a web page experiment method according to an example embodiment of the present invention;
FIG. 4 is a schematic flow diagram of the web page test method shown in FIG. 3;
FIG. 5 is a schematic diagram of a front-end server according to an example embodiment of the invention;
FIG. 6 is a schematic diagram of a backend server according to an example embodiment of the present invention;
FIG. 7 is a schematic diagram of an exemplary web page experiment system according to the present invention;
FIG. 8 is a schematic diagram of a front-end server according to another example embodiment of the invention;
FIG. 9 is a schematic diagram of a backend server according to another example embodiment of the present invention;
FIG. 10 is a schematic diagram of a web page experiment system according to another example of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
To explore the user reverberation under different UI interfaces and different algorithmic logic strategies, experimental approaches may be employed to analyze and discover the laws therein. In the prior art, because database data and HTML files corresponding to UIs are both arranged in a back-end server and are tightly coupled, front-end and back-end experiments in the web page experiment technology can only be in a serial mode, namely, when the UI experiments are performed, a logic algorithm needs to be fixed, and when the logic algorithm experiments are performed, the UIs need to be fixed. When the UI or the algorithm logic involved is more, the number of serial experiments to be performed is increased, and after each experiment, statistics and observation are performed on the data fed back by each webpage to be tested, so that the serial experiment mode tends to result in long webpage experiment period and low efficiency.
Aiming at the problems, in order to improve the experimental efficiency and shorten the experimental period, the embodiment of the invention adopts a cross experiment mode to parallelly develop the logic algorithm experiment and the UI experiment (the returned data files are different through different logic algorithm experiments, wherein the algorithm experiment is a back-end experiment, and different UI experiments are displayed to a user, and the page to be tested is different, wherein the UI experiment is a front-end experiment), and meanwhile, in order to improve the experimental efficiency, front-end server and back-end server are adopted to separate, develop and deploy.
Fig. 1 is a schematic view of a web page experiment method application scenario according to an exemplary embodiment of the present invention, and fig. 2 is a schematic view of a web page experiment method application scenario according to another exemplary embodiment of the present invention. As shown in fig. 1-2, the web page experiment method provided by the embodiment of the invention is applied to a web page experiment system, wherein the web page experiment system comprises a terminal, a back-end server and a front-end server, and communication connection is respectively established among the terminal, the back-end server and the front-end server. It should be noted that the terminal may be a smart phone, a personal computer, and other electronic devices having processing and display functions, and the specific form of the terminal is not limited in this embodiment.
When a combination experiment is required according to different logic algorithms and different UIs, for example, the back-end logic algorithm comprises a first algorithm, a second algorithm and a third algorithm, and the front-end UI interface comprises a first UI interface, a second UI interface, a third UI interface, a fourth UI interface and a fifth UI interface, when the combination experiment is performed, the first algorithm can be combined with the first UI interface to render a web page, the first algorithm can be combined with the second UI interface to render a web page, the second algorithm can be combined with the first UI interface to render a web page, and the like, so that various algorithms of the back-end logic algorithm can be combined with various UI interfaces of the front end arbitrarily, and different web pages to be tested can be generated. It is worth to describe that different webpages to be tested generated after combination are used for being displayed to users, and then follow-up behaviors of the users are acquired for statistics and analysis, so that user reverberation under different UI interfaces and different algorithm logic strategies is determined. It is worth explaining that when a user browses a webpage, different reactions can be generated to different UI interfaces and different data, and the good UI interfaces and the data interested by the user can greatly improve the use experience and the user viscosity of the user, and further conversion of the user is facilitated, so that the economic benefit of the webpage is improved. In this embodiment, the manner in which the user data is acquired subsequently on the page to be tested generated by the method provided in this embodiment is not limited.
Fig. 3 is a signaling interaction diagram of a web page experimental method according to an exemplary embodiment of the present invention, and fig. 4 is a schematic flow diagram of the web page experimental method shown in fig. 3. As shown in fig. 3 to 4, the web page experiment method provided in this embodiment includes:
S101, sending webpage request information.
Specifically, the user may send page request information to the backend server through the terminal, where the page request information may be a uniform resource locator (Uniform Resource Locator, abbreviated as URL). The user may input the URL through a browser in the terminal, for example, may request a web page corresponding to the jingdong mall through the URL corresponding to the jingdong mall.
S102, generating UI request information according to the webpage request information sent by the terminal.
S103, sending UI request information.
After the back-end server receives the webpage request information, UI request information is generated according to the webpage request information, and the UI request information is sent to the front-end server.
Alternatively, the UI request information may include tag information, that is, when the back-end server transmits the UI request information to the front-end server, the tag information is simultaneously transferred. Referring to fig. 4, the tag information may take different values, for example, may take a value ra, rb, rc, rd, re, and the probability of taking a value ra, rb, rc, rd, re is a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, where the sum of all ratio values is equal to 1, and for the first ratio value, the second ratio value, the third ratio value, the fourth ratio value, and the fifth ratio value, 10%, 20%, and 40% may be used. The front-end server may determine the HTLM file to be fed back according to the received tag information.
S104, feeding back the data file according to the webpage request information and a preset data feedback rule.
Specifically, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of generating the data file through each database matches the preset allocation proportion. The preset distribution ratio can be set according to experimental requirements, for example, 30% of flow ratio can be selectively distributed to generate a data file through a first algorithm, 40% of flow ratio can be distributed to generate a data file through a second algorithm, and 30% of flow ratio can be distributed to generate a data file through a third algorithm; alternatively, the data file may be generated by selecting to allocate 100% of the traffic proportion through the first algorithm, the second algorithm or the third algorithm.
S105, returning to the UI according to the UI request information and preset UI feedback rules.
Optionally, the preset feedback rule is a mapping relationship between the preset flow distribution proportion and each UI, so that the frequency distribution of each UI returned to the terminal is consistent with the preset flow distribution proportion.
Specifically, the preset flow distribution ratio may include: the first, second, third, fourth and fifth ratio values, wherein the sum of all ratio values is equal to 1. While the UI comprises: the first UI, the second UI, the third UI, the fourth UI, and the fifth UI. The ratio of the times of returning the first UI to the terminal is a first ratio value, the ratio of the times of returning the second UI to the terminal is a second ratio value, the ratio of the times of returning the third UI to the terminal is a third ratio value, the ratio of the times of returning the fourth UI to the terminal is a fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is a fifth ratio value.
In one possible implementation, the control of the proportional value may be performed by taking the value of the tag information. And returning the UI to the terminal according to the label information and a preset mapping relation, wherein the mapping relation is the mapping relation between the label information and each UI, the UI request information comprises the label information, and the back-end server generates the label information according to the preset flow distribution proportion so as to enable the quantity distribution of each label information to be matched with the preset flow distribution proportion.
For example, a first scale value in the access traffic, e.g., 10% of tag information in the web page request information, may be assigned ra; a second scale value in the access traffic, for example, 10% of the tag information in the web page request information may be assigned to rb; a third scale value in the access traffic, for example, 20% of the tag information in the web page request information may be assigned to rc; a fourth scale value in the access traffic, for example, 20% of the tag information in the web page request information may be assigned as rd; a fifth proportional value in the access traffic, for example 40% of the tag information in the web page request information, may be assigned to re.
Therefore, through the label information setting mode, the UI experiment can support parallel development of 1-5 experiments, and the experiment with any whole ten proportion can be obtained through a plurality of combinations. It is understood that experiments of 1,2, 3, and 4 UI output modes may be performed by combining the ratio values, in addition to 5 UI output modes according to the first ratio value, the second ratio value, the third ratio value, the fourth ratio value, and the fifth ratio value. For carrying out A, B two UI experiments, if the flow ratios of the a experiment and the B experiment are 30% and 70%, the labels with the flow ratios of 10% and 20% may be taken as the a experiment, and the rest labels may be configured as the B experiment.
In addition, it should be noted that when the user sends the web page request information through the terminal, the user may upload the identification information of the terminal side, where the identification information may be device information, IP address information or other distinguishable identification information, and may also be the identification information of the uploading user, for example, account information of the user logging in the browser. When a web page request is made to a specific terminal, for example, an a terminal, during the first request, the label information in the UI request information corresponding to the a terminal is assigned for the first time according to the preset flow allocation proportion, for example, ra is assigned, and a mapping relationship is established between ra and the identification information of the a terminal. And when the subsequent A terminal continuously initiates the webpage request of the same webpage, the UI to be returned is directly determined according to the assigned label information, so that the consistency of the seen effect is ensured when the same terminal or the same user opens the same webpage for a plurality of times, and good user experience is ensured.
Alternatively, with continued reference to fig. 4, the UI returned by the front-end server may be an HTML file. Wherein the first UI, the second UI, the third UI, the fourth UI, and the fifth UI correspond to HTML1, HTML2, HTML3, HTML4, and HTML5, respectively.
And S106, generating a webpage to be tested according to the UI and the data file.
Optionally, the data file is combined with the UI, so that a webpage to be tested is rendered in a browser of the terminal, and the rendered webpage to be tested is displayed for a user.
And then, different webpages to be tested generated after combination are used for being displayed to the user, and then, subsequent behaviors of the user are acquired for statistics and analysis, so that user reverberation under different UI interfaces and different algorithm logic strategies is determined.
In this embodiment, the back-end server receives the webpage request information sent by the terminal, and feeds back the data file to the terminal according to the webpage request information and the preset data feedback rule, in addition, the back-end server generates the UI request information according to the webpage request information, and sends the UI request information to the front-end server, so that the front-end server returns the UI to the terminal according to the UI request information and the preset UI feedback rule, finally generates the webpage to be tested according to the UI and the data file in the terminal, so as to decouple the front-end UI and the back-end logic algorithm experiment, further perform combined experiments on different logic algorithms and different UIs, and output the webpage to be tested under various experimental conditions for subsequent webpage experiments, thereby realizing parallel development and independent deployment of the front-end experiment, improving experimental development efficiency, and saving experimental time.
Fig. 5 is a schematic diagram of a front-end server according to an exemplary embodiment of the present invention. As shown in fig. 5, the front-end server 200 provided in this embodiment includes:
The front-end receiving module 201 is configured to receive UI request information sent by a back-end server, where the back-end server generates the UI request information according to web page request information sent by a terminal;
the front-end processing module 202 is configured to determine a UI according to the UI request information and a preset feedback rule;
And the front-end feedback module 203 is configured to return the UI to the terminal, so that the terminal generates a webpage to be tested according to the UI and a data file, where the back-end server feeds back the data file to the terminal according to the webpage request information and a preset data feedback rule.
In one possible design, the preset feedback rule is a mapping relationship between a preset flow allocation proportion and each UI, so that the frequency distribution of each UI returned to the terminal matches the preset flow allocation proportion.
In one possible design, the preset flow distribution ratio includes: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
In one possible design, the front-end feedback module 203 is specifically configured to:
And returning the UI to the terminal according to the label information and a preset mapping relation, wherein the mapping relation is the mapping relation between the label information and each UI, the UI request information comprises the label information, and the back-end server generates the label information according to the preset flow distribution proportion so as to enable the quantity distribution of each label information to be matched with the preset flow distribution proportion.
In one possible design, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation proportion.
The above front-end processing module 202 may be configured as one or more integrated circuits implementing the above methods, such as: one or more Application SPECIFIC INTEGRATED Circuits (ASIC), or one or more microprocessors (DIGITAL SINGNAL processor, DSP), or one or more field programmable gate arrays (Field Programmable GATE ARRAY, FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
It should be noted that, the front-end server provided in the embodiment shown in fig. 4 may be used to execute the steps on the front-end server side provided in any of the above method embodiments, and the specific implementation manner and technical effects are similar, and are not repeated here.
Fig. 6 is a schematic diagram of a backend server according to an example embodiment of the present invention. As shown in fig. 6, the backend server 300 provided in this embodiment includes:
the back-end receiving module 301 is configured to receive web page request information sent by a terminal;
The back-end processing module 302 is configured to generate UI request information according to the web page request information;
The back-end sending module 303 is configured to send the UI request information to a front-end server, so that the front-end server returns a UI to the terminal according to the UI request information and a preset UI feedback rule;
And the back-end feedback module 304 is configured to feed back a data file to the terminal according to the webpage request information and a preset data feedback rule, so that the terminal generates a webpage to be tested according to the UI and the data file.
In one possible design, the preset feedback rule is a mapping relationship between a preset flow allocation proportion and each UI, so that the frequency distribution of each UI returned to the terminal matches the preset flow allocation proportion.
In one possible design, the preset flow distribution ratio includes: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
In one possible design, the back-end processing module 302 is further configured to generate tag information according to the preset traffic distribution ratio, so that the front-end server returns the UI to the terminal according to the tag information and a preset mapping relationship, where the mapping relationship is a mapping relationship between the tag information and each UI, the UI request information includes the tag information, and a quantity distribution of each tag information matches the preset traffic distribution ratio.
In one possible design, the preset data feedback rule is a mapping relationship between a preset allocation proportion and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation proportion.
The above back-end processing module 302 may be configured as one or more integrated circuits implementing the above methods, such as: one or more Application SPECIFIC INTEGRATED Circuits (ASIC), or one or more microprocessors (DIGITAL SINGNAL processor, DSP), or one or more field programmable gate arrays (Field Programmable GATE ARRAY, FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
It should be noted that, the front-end server provided in the embodiment shown in fig. 5 may be used to execute the steps on the back-end server side provided in any of the above method embodiments, and the specific implementation manner and technical effects are similar, and are not repeated here.
FIG. 7 is a schematic diagram of an exemplary web page experiment system according to the present invention. As shown in fig. 7, the web page experiment system 500 provided in this embodiment includes:
The terminal 400, the front-end server 200 as described in any one of the above embodiments, and the back-end server 300 as described in any one of the above embodiments;
Communication connections are respectively set among the terminal 400, the front-end server 200 and the back-end server 300.
Fig. 8 is a schematic diagram of a front-end server according to another example embodiment of the present invention. As shown in fig. 8, a front-end server 600 provided in this embodiment includes:
A front-end processor 601; and
A front-end memory 602, configured to store executable instructions of the front-end processor, where the front-end memory may also be a flash (flash memory);
wherein the front-end processor 601 is configured to perform the front-end server side steps of the method described above via execution of the executable instructions. Reference may be made in particular to the description of the embodiments of the method described above.
Alternatively, the front-end memory 602 may be separate or integrated with the front-end processor 601.
When the front-end memory 602 is a device separate from the front-end processor 601, the front-end server 600 may further include:
a bus 603 for connecting the front-end processor 601 and the front-end memory 602.
The present embodiment also provides a readable storage medium, in which a computer program is stored, which when executed by at least one processor of an electronic device, performs the steps of the front-end server side in the methods provided in the above various embodiments.
The present embodiment also provides a program product comprising a computer program stored in a readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the electronic device, and executed by the at least one processor, causes the electronic device to implement the steps of the front-end server side of the method provided by the various embodiments described above.
Fig. 9 is a schematic diagram of a backend server according to another example embodiment of the present invention. As shown in fig. 9, a backend server 700 provided in this embodiment includes:
A back-end processor 701; and
A back-end memory 702 for storing executable instructions of the back-end processor, where the back-end memory may also be a flash memory;
wherein the back-end processor 701 is configured to perform the steps of the back-end server side of the method described above via execution of the executable instructions. Reference may be made in particular to the description of the embodiments of the method described above.
Alternatively, the back-end memory 702 may be separate or integrated with the back-end processor 701.
When the back-end memory 702 is a device separate from the back-end processor 701, the back-end server 700 may further include:
a bus 703 for connecting the back-end processor 701 and the back-end memory 702.
The present embodiment also provides a readable storage medium, in which a computer program is stored, and when executed by at least one processor of an electronic device, the electronic device performs each step on the back-end server side in the methods provided in the above various embodiments.
The present embodiment also provides a program product comprising a computer program stored in a readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the electronic device, and executed by the at least one processor, causes the electronic device to implement the steps of the method provided by the various embodiments described above on the back-end server side.
FIG. 10 is a schematic diagram of a web page experiment system according to another example of the invention. As shown in fig. 10, the web page experiment system 900 provided in this embodiment includes:
A terminal 800, the front-end server 600 as described in any one of the above embodiments, and the back-end server 700 as described in any one of the above embodiments;
Communication connections are respectively set among the terminal 800, the front-end server 600 and the back-end server 700.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features can be replaced equivalently; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. The webpage experiment method is characterized by being applied to a front-end server and comprising the following steps of:
the front-end server receives UI request information sent by the back-end server, wherein the UI request information is generated by the back-end server according to webpage request information sent by the terminal;
The front-end server returns a UI to the terminal according to the UI request information and a preset UI feedback rule, so that the terminal generates a webpage to be tested according to the UI and a data file, wherein the preset UI feedback rule is a mapping relation between a preset flow distribution proportion and each UI, so that the frequency distribution of each UI returned to the terminal is matched with the preset flow distribution proportion; and the data file is fed back to the terminal after the back-end server generates the data file according to the webpage request information and a preset data feedback rule.
2. The web page experiment method according to claim 1, wherein the preset flow distribution ratio comprises: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
3. The web page experiment method according to claim 1 or 2, wherein the front-end server returns a UI to the terminal according to the UI request information and a preset UI feedback rule, including:
The front-end server returns the UI to the terminal according to label information and a preset mapping relation, wherein the mapping relation is the mapping relation between the label information and each UI, the UI request information comprises the label information, and the label information is generated by the back-end server according to the preset flow distribution proportion, so that the quantity distribution of each label information is matched with the preset flow distribution proportion.
4. The web page experiment method according to claim 1 or 2, wherein the preset data feedback rule is a mapping relationship between a preset allocation ratio and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation ratio.
5. The webpage experiment method is characterized by being applied to a back-end server and comprising the following steps of:
The back-end server generates UI request information according to the webpage request information sent by the terminal, and sends the UI request information to the front-end server, so that the front-end server returns a UI to the terminal according to the UI request information and a preset UI feedback rule; the preset UI feedback rule is a mapping relation between a preset flow distribution proportion and each UI, so that the frequency distribution of each UI returned to the terminal is matched with the preset flow distribution proportion;
And the back-end server generates a data file according to the webpage request information and a preset data feedback rule, and feeds back the data file to the terminal so that the terminal generates a webpage to be tested according to the UI and the data file.
6. The web page experiment method according to claim 5, wherein the preset flow distribution ratio comprises: a first ratio value, a second ratio value, a third ratio value, a fourth ratio value, and a fifth ratio value, wherein the sum of all ratio values is equal to 1;
the UI includes: a first UI, a second UI, a third UI, a fourth UI, and a fifth UI;
The ratio of the times of returning the first UI to the terminal is the first ratio value, the ratio of the times of returning the second UI to the terminal is the second ratio value, the ratio of the times of returning the third UI to the terminal is the third ratio value, the ratio of the times of returning the fourth UI to the terminal is the fourth ratio value, and the ratio of the times of returning the fifth UI to the terminal is the fifth ratio value.
7. The web page experiment method according to claim 5 or 6, further comprising, before the back-end server transmits the UI request information to a front-end server:
the back-end server generates label information according to the preset flow distribution proportion, so that the front-end server returns the UI to the terminal according to the label information and a preset mapping relation, wherein the mapping relation is the mapping relation between the label information and each UI, the UI request information comprises the label information, and the quantity distribution of each label information is matched with the preset flow distribution proportion.
8. The web page experiment method according to claim 5 or 6, wherein the preset data feedback rule is a mapping relationship between a preset allocation ratio and each database, so that the frequency distribution of generating the data file by each database matches the preset allocation ratio.
9. A front-end server, comprising:
a front-end processor; and
A front-end memory for storing executable instructions of the front-end processor;
Wherein the front-end processor is configured to perform the web page experiment method of any one of claims 1 to 4 via execution of the executable instructions.
10. A back-end server, comprising:
a back-end processor; and
A back-end memory for storing executable instructions of the back-end processor;
Wherein the back-end processor is configured to perform the web page experiment method of any one of claims 5 to 8 via execution of the executable instructions.
CN201910859168.0A 2019-09-11 2019-09-11 Webpage experiment method and server Active CN112487323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910859168.0A CN112487323B (en) 2019-09-11 2019-09-11 Webpage experiment method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910859168.0A CN112487323B (en) 2019-09-11 2019-09-11 Webpage experiment method and server

Publications (2)

Publication Number Publication Date
CN112487323A CN112487323A (en) 2021-03-12
CN112487323B true CN112487323B (en) 2024-07-16

Family

ID=74920264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910859168.0A Active CN112487323B (en) 2019-09-11 2019-09-11 Webpage experiment method and server

Country Status (1)

Country Link
CN (1) CN112487323B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988311A (en) * 2021-04-16 2021-06-18 辽宁向日葵教育科技有限公司 On-line experimental method based on WEB server

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227742A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Dynamic web page based on B/S pattern generates method, server and system

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001071488A2 (en) * 2001-03-20 2001-09-27 Ampersand Corporation Systems for developing websites and methods therefor
US20080162699A1 (en) * 2006-12-29 2008-07-03 John Gaffney Selectively Apportioning User Web Traffic
CN102655519A (en) * 2011-03-04 2012-09-05 腾讯科技(北京)有限公司 Method and device for processing web page information
CN102938776B (en) * 2012-09-28 2016-06-29 方正国际软件有限公司 Dynamic page processing system based on ajax technology
CN104426983A (en) * 2013-09-05 2015-03-18 携程计算机技术(上海)有限公司 Website building system and method
CN104052809B (en) * 2014-06-17 2017-09-26 北京京东尚科信息技术有限公司 A kind of flow-dividing control method and apparatus of website test
CN104267959B (en) * 2014-09-30 2017-12-01 广州华多网络科技有限公司 The method and apparatus that style sheet is set
CN104394439B (en) * 2014-11-20 2016-04-20 合一网络技术(北京)有限公司 Based on the system that the video recommendations of dynamic-configuration is shunted
CN104539481A (en) * 2014-12-26 2015-04-22 刘永健 Website testing method and device
CN105007309A (en) * 2015-06-29 2015-10-28 上海瀚之友信息技术服务有限公司 System and method for separately controlling dynamic data and static interface
US10091076B2 (en) * 2015-08-25 2018-10-02 Google Llc Systems and methods for configuring a resource for network traffic analysis
CN105262636A (en) * 2015-09-08 2016-01-20 摩贝(上海)生物科技有限公司 Online testing system and method
WO2017100464A1 (en) * 2015-12-09 2017-06-15 Quad Analytix Llc Systems and methods for web page layout detection
US20170168999A1 (en) * 2015-12-14 2017-06-15 International Business Machines Corporation Translating web applications based on a context model
CN106227763A (en) * 2016-07-13 2016-12-14 珠海市魅族科技有限公司 The method and device that a kind of webpage loads
US10255173B2 (en) * 2016-12-27 2019-04-09 Optimizely, Inc. Experimentation in internet-connected applications and devices
CN107463422A (en) * 2017-07-20 2017-12-12 阿里巴巴集团控股有限公司 Code dispositions method and device, electronic equipment
CN108470001B (en) * 2018-03-16 2021-02-26 北京腾云天下科技有限公司 Webpage application gray level publishing method, server and system
CN109726087A (en) * 2018-04-13 2019-05-07 平安普惠企业管理有限公司 Multiple web pages scheme test method, device, equipment and computer readable storage medium
CN108536608A (en) * 2018-04-25 2018-09-14 万惠投资管理有限公司 Page versions test method and device
CN108717435B (en) * 2018-05-16 2023-05-23 腾讯科技(深圳)有限公司 Webpage loading method, information processing method, computer equipment and storage medium
CN109977026A (en) * 2019-04-04 2019-07-05 天津字节跳动科技有限公司 Test webpage rollback method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227742A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Dynamic web page based on B/S pattern generates method, server and system

Also Published As

Publication number Publication date
CN112487323A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108153670B (en) Interface testing method and device and electronic equipment
CN109460527B (en) Product data configuration method, device, computer equipment and storage medium
CN107273290B (en) A/B test method and device for page service
CN109542427B (en) System customization method and device, electronic equipment and storage medium
CN108255701B (en) Scene testing method and mobile terminal
CN108334517A (en) A kind of webpage rendering intent and relevant device
CN106484383A (en) page rendering method, device and equipment
CN105630524B (en) Web page text analytic method, device and mobile terminal
CN111858296B (en) Interface testing method, device, equipment and storage medium
CN109408375A (en) The generation method and device of interface document
CN105160027B (en) Advertisement data processing method and device
CN105471968B (en) A kind of method for interchanging data, system and data platform server
CN103475744A (en) Resource downloading method, device and system on basis of Web application
CN111026634A (en) Interface automation test system, method, device and storage medium
CN107797918A (en) Method of testing and test device
CN114240358A (en) Method, device, equipment and medium for realizing user-defined business process
CN114594927A (en) Low code development method, device, system, server and storage medium
CN112487323B (en) Webpage experiment method and server
CN112965711B (en) Job testing method and device, electronic equipment and storage medium
CN102436509A (en) Method and system for browsing webpage at mobile terminal
CN111367703B (en) Fault checking method and device
CN116776030A (en) Gray release method, device, computer equipment and storage medium
CN111459484B (en) Method for simulating back-end data during separate development of front end and back end of webpage
KR102303182B1 (en) Automated Test Network System and Automated Test Method
CN113821430A (en) Multi-service testing method and device

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
GR01 Patent grant
GR01 Patent grant