CN111290779B - Gray release method and device, storage medium and electronic equipment - Google Patents

Gray release method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111290779B
CN111290779B CN202010144296.XA CN202010144296A CN111290779B CN 111290779 B CN111290779 B CN 111290779B CN 202010144296 A CN202010144296 A CN 202010144296A CN 111290779 B CN111290779 B CN 111290779B
Authority
CN
China
Prior art keywords
gray
factor
version
determining
page
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
CN202010144296.XA
Other languages
Chinese (zh)
Other versions
CN111290779A (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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010144296.XA priority Critical patent/CN111290779B/en
Publication of CN111290779A publication Critical patent/CN111290779A/en
Application granted granted Critical
Publication of CN111290779B publication Critical patent/CN111290779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a gray scale publishing method, a gray scale publishing device, a storage medium and electronic equipment, wherein the gray scale publishing method comprises the following steps: acquiring a gray factor in a page request, wherein the gray factor is used for representing identification information of a page request initiator; determining a target page requested by the page request, wherein a gray level determining algorithm is stored in the target page; determining the gray version of the target page according to the gray factor and the gray determining algorithm; and rendering the target page based on the page resources corresponding to the gray version. Therefore, the gray level determination algorithm stored in the page can be directly analyzed in the front-end page without being analyzed by a server, and can be suitable for the technical architecture with front-end and back-end separation. Meanwhile, JS scripts and the like do not need to be preset in the client, so that the resource occupation of the client can be effectively reduced, the accuracy and efficiency of gray level release are ensured, the response efficiency and performance of page requests are improved, and the stability of gray level release is ensured.

Description

Gray release method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a gray level publishing method, a gray level publishing device, a storage medium and electronic equipment.
Background
With the approach of computer technology, various applications and systems are updated to better meet the user's needs. In general, an application is upgraded, and a new version of application source code or a program package can be uploaded to a server, then an old version service is stopped, and then the new version is started. However, this release method has two problems, on one hand, the service is temporarily interrupted during the upgrade of the new version, and on the other hand, if the upgrade of the new version fails, the rollback is difficult, which easily causes the service to be unavailable for a longer time.
In the prior art, an application can be upgraded in a gray level release mode, namely, a gray level release mode is that a new release functional characteristic and an old functional characteristic can be presented to a user in a smooth transition mode. Taking front-end application as an example, in the prior art, corresponding information can be extracted from page request contents through a server language by means of the server so as to determine a gray version corresponding to the current request, and thus, a response page returned by the server is rendered. However, the method needs to rely on server program calculation and cannot be applied to a front-end and back-end separated technical architecture. Or determining the corresponding gray version by js judgment script at the client, so as to request the response page corresponding to the gray version from the server. According to the scheme, a resource request and js analysis and execution are added before the actual response page logic loading, all js judgment scripts are required to be downloaded to the client, the page rendering time is increased, the page response time is long, and the performance is poor.
Disclosure of Invention
The purpose of the present disclosure is to provide a stable and accurate gray scale distribution method, device, storage medium and electronic apparatus.
In order to achieve the above object, according to a first aspect of the present disclosure, there is provided a gray scale distribution method including:
acquiring a gray factor in a page request, wherein the gray factor is used for representing identification information of a page request initiator;
determining a target page requested by the page request, wherein a gray level determining algorithm is stored in the target page;
determining the gray version of the target page according to the gray factor and the gray determining algorithm;
and rendering the target page based on the page resources corresponding to the gray version.
Optionally, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm includes:
determining a factor type of the gray factor;
and determining the gray version of the target page according to the gray factors and a gray determining algorithm containing identification information corresponding to the factor types, wherein the identification information in the gray determining algorithm is used for representing conditions corresponding to the gray factors.
Optionally, the factor type is an identification code type; the identification information corresponding to the factor type comprises gray scale identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps:
determining whether the gray factor matches the gray identification;
determining that the gray version is a first version if the gray factor matches the gray identification;
and under the condition that the gray factor is not matched with the gray mark, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the gray scale identifier is a plurality of groups, and the determining whether the gray scale factor matches the gray scale identifier includes:
determining target groups of gray marks to be matched according to a preset sequence;
determining whether the gray factor matches a gray identification in the target packet;
determining that the gray factor matches a gray label in the gray determining algorithm if the gray factor is determined to match a gray label in the target group;
In the case that the gray factor is determined not to match each gray mark in the target group, and a group which is not matched exists, a new target group is determined from the group which is not matched, and the step of determining whether the gray factor is matched with the gray mark in the target group is returned.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type comprises a range identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps:
extracting an identification code from the gray factors, wherein the identification code is a partial sequence in the sequence of the gray factors;
determining that the gray version is a first version under the condition that the identification code belongs to the range characterized by the range identifier;
and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the factor type is a numerical type; the identification information corresponding to the factor type comprises a digital identification;
Correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps:
acquiring the number of each bit of the gray factor;
for each digit, determining a numerical comparison result of the digit and a digit in which the digit is located in the digit identification;
combining the numerical comparison results of each digit according to the height of the bit to obtain a target comparison result of the gray factors;
determining that the gray version is a first version under the condition that the target comparison result meets a result expression;
and under the condition that the target comparison result does not meet the result expression, determining that the gray level version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, if the gray scale factor is multiple, the determining, according to the gray scale factor and the gray scale determining algorithm, the gray scale version of the target page includes:
determining an initial gray version of the target page according to each gray factor;
and processing each initial gray version according to the relation between each gray factor to obtain the gray version of the target page.
Optionally, if the gray scale factor is multiple, the determining, according to the gray scale factor and the gray scale determining algorithm, the gray scale version of the target page includes:
determining a target gray factor from a plurality of the gray factors;
and determining the gray version of the target page according to the target gray factor and the gray determining algorithm.
Optionally, the gray level determination algorithm is stored in the page by:
receiving a gray release configuration instruction, wherein the gray release configuration instruction indicates a gray release strategy and page identification information to be subjected to gray release;
generating the gray level determining algorithm according to the gray level release strategy;
and storing the gray level determining algorithm in a page corresponding to the page identification information.
According to a second aspect of the present disclosure, there is provided a gradation issuing apparatus, the apparatus comprising:
the acquisition module is configured to acquire a gray factor in the page request, wherein the gray factor is used for representing identification information of a page request initiator;
a first determining module configured to determine a target page requested by the page request, the target page having a gray level determining algorithm stored therein;
A second determining module configured to determine a gray version of the target page according to the gray factor and the gray determining algorithm;
and the rendering module is configured to render the target page based on the page resource corresponding to the gray version.
Optionally, the second determining module includes:
a first determination submodule configured to determine a factor type of the gray factor;
and the second determining submodule is configured to determine the gray version of the target page according to the gray factors and a gray determining algorithm containing identification information corresponding to the factor types, wherein the identification information in the gray determining algorithm is used for representing conditions corresponding to the gray factors.
Optionally, the factor type is an identification code type; the identification information corresponding to the factor type comprises gray scale identification;
accordingly, the second determination submodule includes:
a first matching sub-module configured to determine whether the gray factor matches the gray identification;
a third determination submodule configured to determine that the gray-scale version is the first version if the gray-scale factor matches the gray-scale identification; and under the condition that the gray factor is not matched with the gray mark, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the gray scale is identified as a plurality of groups, and the first matching submodule includes:
a fourth determining submodule configured to determine target groups of gray labels to be matched according to a preset order;
a second matching sub-module configured to determine whether the gray factor matches a gray identification in the target packet;
a fifth determination submodule configured to determine that the gray factor matches a gray identity in the gray determination algorithm if it is determined that the gray factor matches a gray identity in the target group; and when the gray factors are not matched with each gray mark in the target group, and a group which is not matched exists, determining a new target group from the group which is not matched, and triggering the second matching submodule to determine whether the gray factors are matched with the gray marks in the target group.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type comprises a range identification;
accordingly, the second determination submodule includes:
an extraction sub-module configured to extract an identification code from the gray factors, wherein the identification code is a partial sequence in the sequence of the gray factors;
A sixth determination submodule configured to determine that the grayscale version is the first version if the identification code belongs to a range characterized by the range identity; and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the factor type is a numerical type; the identification information corresponding to the factor type comprises a digital identification;
accordingly, the second determination submodule includes:
an acquisition sub-module configured to acquire a number for each bit of the gray factor;
a seventh determination submodule configured to determine, for each of the digits, a numerical comparison of the digit with a digit in which the digit is located in the digit identification;
the merging submodule is configured to merge the numerical comparison result of each digit according to the height of the bit to obtain a target comparison result of the gray factors;
an eighth determination submodule configured to determine the grayscale version to be the first version if the target comparison result satisfies a result expression; and under the condition that the target comparison result does not meet the result expression, determining that the gray level version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, if the gray factors are multiple, the second determining module includes:
a ninth determining submodule configured to determine an initial gray-scale version of the target page according to each of the gray-scale factors, respectively;
and the processing sub-module is configured to process each initial gray level version according to the relation between each gray level factor to obtain the gray level version of the target page.
Optionally, if the gray factors are multiple, the second determining module includes:
a tenth determination submodule configured to determine a target gray factor from a plurality of the gray factors;
an eleventh determination submodule configured to determine a gray-scale version of the target page based on the target gray-scale factor and the gray-scale determination algorithm.
Optionally, the gray level determination algorithm is stored in the page based on generating means comprising:
a receiving module configured to receive a gray release configuration instruction, wherein the gray release configuration instruction indicates a gray release policy and page identification information to be subjected to gray release;
a generation module configured to generate the gray level determination algorithm according to the gray level distribution policy;
And the storage module is configured to store the gray level determination algorithm in a page corresponding to the page identification information.
According to a third aspect of the present disclosure there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the methods of the first aspect.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising:
a memory having a computer program stored thereon;
a processor configured to execute the computer program in the memory to implement the steps of any of the methods of the first aspect.
In the technical scheme, the gray factors in the page request are acquired, the target page requested by the page request is determined, the gray version of the target page is determined according to the gray factors and a gray determination algorithm stored in the target page, and the target page is rendered based on the page resources corresponding to the gray version. According to the technical scheme, since the gray level determining algorithm is stored in the page, the gray level determining algorithm can be directly analyzed in the front-end page without a server, so that the gray level determining algorithm is applicable to a technical architecture with front-end and rear-end separated. Meanwhile, JS scripts and the like do not need to be preset in the client, so that the resource occupation of the client can be effectively reduced, the accuracy and the efficiency of gray level release are ensured, the response efficiency and the performance of page requests are improved, and the stability of gray level release is ensured.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
FIG. 1 is a flow chart of a gray scale distribution method provided in accordance with one embodiment of the present disclosure;
FIG. 2 is a flow chart of an exemplary implementation of determining a gray scale version of the target page based on the gray scale factor and a gray scale determination algorithm containing identification information corresponding to the factor type;
FIG. 3 is a block diagram of a gray scale distribution device provided in accordance with one embodiment of the present disclosure;
FIG. 4 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment;
fig. 5 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
Fig. 1 is a flowchart illustrating a gray scale distribution method according to an embodiment of the present disclosure. As shown in fig. 1, the method includes:
in S11, a gray factor in the page request is obtained, where the gray factor is used to characterize identification information of the page request initiator.
The gray factors can be obtained from the initiated page request through grouping and capturing algorithms of regular expressions, such as obtaining the gray factors from query_ STRING, COOKIES, USER _agent in the page request, wherein the gray factors can be the ID of the user corresponding to the page request initiator, the corresponding version number of the page request initiator, and the like.
In S12, a target page requested by the page request is determined, and a gray level determination algorithm is stored in the target page.
Wherein the target page may be determined according to a URL (Uniform Resource Locator ) corresponding to the page request. In the embodiment provided by the present disclosure, a gray level determination algorithm is stored in the target page, and the gray level determination algorithm may be preset in the page so as to make gray level version judgment on the page.
In S13, a gray version of the target page is determined according to the gray factor and the gray determining algorithm.
The gray level version of the target page can comprise a new version and an old version, namely whether the responded page is the new version or the old version can be determined through a gray level factor and a gray level determining algorithm.
In S14, the target page is rendered based on the page resource corresponding to the grayscale version.
Illustratively, the grayscale version includes a new version and an old version, and the page resource corresponding to the grayscale version may include updated page HTML code, CSS address or JS address, etc. for rendering the target page. The manner of rendering the page based on the page resource is in the prior art, and will not be described herein.
As an example, the determined target page is a personal information page, and the new version corresponding to the personal information page is displayed in two columns, namely, a left column and a right column, and the old version corresponding to the personal information page is displayed in two columns, namely, an upper column and a lower column. Therefore, when the gray version is determined to be the new version, the target page can be rendered according to the page resources corresponding to the new version, so that the personal information in the target page responding to the page request is displayed in an upper column and a lower column.
In the technical scheme, the gray factors in the page request are acquired, the target page requested by the page request is determined, the gray version of the target page is determined according to the gray factors and a gray determination algorithm stored in the target page, and the target page is rendered based on the page resources corresponding to the gray version. According to the technical scheme, since the gray level determining algorithm is stored in the page, the gray level determining algorithm can be directly analyzed in the front-end page without a server, so that the gray level determining algorithm is applicable to a technical architecture with front-end and rear-end separated. Meanwhile, JS scripts and the like do not need to be preset in the client, so that the resource occupation of the client can be effectively reduced, the accuracy and the efficiency of gray level release are ensured, the response efficiency and the performance of page requests are improved, and the stability of gray level release is ensured.
Alternatively, the gray level determination algorithm may be stored in the page by:
and receiving a gray release configuration instruction, wherein the gray release configuration instruction indicates a gray release strategy and page identification information to be subjected to gray release. For example, one or more pages may be updated to release a new version when a version update is made. The page identification information may be a URL address of the page for identifying the page for which the new version is released. The gray scale distribution policy may include a gray scale factor and a condition corresponding to the gray scale factor.
As an example, the user may select a corresponding page and a corresponding gray factor from the visual interface of the configuration platform, and set a corresponding condition, e.g., the user selects page a in the visual interface, the gray factor is a region ID, and the condition is that the region ID belongs to the eastern and Jiangsu, and then the user may trigger the gray to issue the configuration instruction through the visual interface.
Generating the gray level determining algorithm according to the gray level release strategy; and storing the gray level determining algorithm in a page corresponding to the page identification information.
In this embodiment, the configuration platform may generate a corresponding gray determination algorithm according to the gray distribution policy. The configuration platform is preset with code generation conversion, so that corresponding code logic, namely the gray level determination algorithm, can be generated according to the received gray level release strategy, the gray level determination algorithm is stored in a page corresponding to page representation information, page resources corresponding to different versions are stored in different version branches, and accordingly when a user requests the page, the responding version can be judged directly based on the gray level determination algorithm in the page.
Through the technical scheme, the gray level determining algorithm can be generated according to the gray level release strategy in the gray level release configuration instruction, and the generated gray level determining algorithm is stored in the corresponding page based on the page identification information to be subjected to gray level release in the gray level release configuration instruction, so that the configuration of the page for carrying out gray level release is realized, and support is provided for realizing gray level release based on the front page.
Optionally, in S13, an exemplary implementation of determining the gray scale version of the target page according to the gray scale factor and the gray scale determination algorithm is as follows, and the step may include:
and determining the factor type of the gray factor, wherein the factor type is used for representing the gray judgment by a gray determination algorithm. Illustratively, the factor type may be an identification code type, such as a zone ID to which the page request originator belongs; may be of a proportional type, such as a sequence of numbers for range determination; may be a numeric type such as a number for making a numeric value determination.
And determining the gray version of the target page according to the gray factors and a gray determining algorithm containing identification information corresponding to the factor types, wherein the identification information in the gray determining algorithm is used for representing conditions corresponding to the gray factors.
The factor type corresponds to the identification information in the gray level determination algorithm, for example, the factor type is an identification code type, and the corresponding identification information can be an identification for representing a region, such as Shandong, jiangsu, and the like. In the gray level determining algorithm, the condition corresponding to the gray level factor can be represented by the identification information, and then whether the gray level factor meets the condition or not is detected, so that the gray level version of the page is determined.
Through the technical scheme, the gray scale version can be determined according to different gray scale determining methods for the gray scale factors with different factor types, so that on one hand, the accuracy and precision of gray scale version determination can be improved, on the other hand, the gray scale determining algorithm and the gray scale factors can be conveniently expanded, and the application range of the gray scale release method is improved.
Optionally, the factor type is an identification code type, that is, a factor for uniquely identifying a certain feature in the page request, for example, an ID of a user corresponding to the page request initiator, a region ID to which the page request initiator belongs, and the like; the identification information corresponding to the factor type includes gray scale identification, such as USER1, USER2, shandong, jiangsu, etc. which are set in advance.
Accordingly, according to the gray scale factor and a gray scale determination algorithm containing identification information corresponding to the factor type, an exemplary implementation manner of determining the gray scale version of the target page is as follows, and the steps may include:
Determining whether the gray factor matches the gray identification.
Determining that the gray version is a first version if the gray factor matches the gray identification;
and under the condition that the gray factor is not matched with the gray mark, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
The region ID will be described in detail below as an example. As an example, it may belong to a page that will respond to a new version of the page request from the eastern mountain, jiangsu, etc., where, in order to facilitate the representation and matching of the gray scale identifiers, the respective region IDs may be encoded, and the expression of the preset gray scale identifier is as follows: 100110|100112 … 200110|200112 …. As 100110 may represent the shandong and 100112 may represent Jiangsu. Illustratively, the first version is a new version and the second version is an old version.
Therefore, in this embodiment, when the region ID of the gray factor in the received page request is 100114, the region ID is matched with the expression of the gray flag, at this time, the region ID is not matched with any gray flag in the gray flag expression, at this time, it can be determined that the gray version is the old version. If the region ID of the gray factor in the received page request is 100112, and the gray version can be determined to be a new version by matching the region ID with the gray mark from the gray mark expression, so that the gray version of the target page is determined.
In the technical scheme, the gray factors are matched with the gray marks in the gray determining method, so that whether the gray factors meet the conditions in the corresponding gray determining algorithm or not can be determined, the gray version is determined according to the matching result, the gray version determining efficiency is improved, and the gray release efficiency is ensured.
In an actual use scene, gray scale marks with different accuracies can be set according to different use requirements. Taking the region ID as an example, the gray marks may be classified according to provincial level or urban level, so that when the gray marks are matched, the gray marks have overlong expression, and the matching efficiency and accuracy are affected. Based on this, the present disclosure also provides the following examples.
Optionally, the gray scale identifier is a plurality of groups, an expression of each group includes a respective gray scale identifier in the group, and another exemplary implementation of determining whether the gray scale factor matches the gray scale identifier is as follows, and the step may include:
the target groups of gray scale identifications to be matched are determined according to a preset sequence, and the preset sequence can be selected from small to large or from large to small according to the group numbers, or can be selected by random numbers.
Determining whether the gray factor matches the gray label in the target packet, wherein the manner of determining whether the gray factor matches the gray label is similar to that described above, and is not described in detail herein.
In this embodiment, the expression of the first packet is: 100110|100112 …; the expression of the second packet is: 200110|200112 …, if the first group is the target group, the gray factor only needs to be matched with the expression in the first group.
In the case that the gray factor is determined to match a gray label in the target group, the gray factor is determined to match a gray label in the gray determination algorithm. For example, if it is determined that the gray factor matches the gray label in the expression of the first group, it may be directly determined that the gray factor matches the gray label in the gray determination algorithm, and the matching process is ended.
In the case that the gray factor is determined not to match each gray mark in the target group, and a group which is not matched exists, a new target group is determined from the group which is not matched, and the step of determining whether the gray factor is matched with the gray mark in the target group is returned.
In this embodiment, by circularly matching the gray scale identifiers of each group to determine whether the gray scale factors are matched with the gray scale identifiers in the gray scale determining algorithm, on one hand, the expression length of the gray scale identifiers during matching can be effectively shortened, so that the risk of matching errors can be reduced, the matching efficiency can be improved, and on the other hand, the hit time of the gray scale factors can be shortened to a certain extent through the group, and the matching efficiency can be further improved.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type comprises a range identification;
accordingly, another exemplary implementation manner of determining the gray scale version of the target page according to the gray scale factor and the gray scale determining algorithm containing the identification information corresponding to the factor type is as follows, and the steps may include:
and extracting an identification code from the gray factors, wherein the identification code is a partial sequence in the sequence of the gray factors.
For example, the gray factor may be a UUID (Universally Unique Identifier, universally unique identification code), wherein the last two bits of the UUID are numbers and the range is [00,99], and thus the last two bits of the UUID are extracted as the identification code, thereby determining the gray version based on the identification code.
Determining that the gray version is a first version under the condition that the identification code belongs to the range characterized by the range identifier;
and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
For example, the range identifier may be set according to an actual usage scenario, which is not limited by the present disclosure. As an example, if the response ratio of the new version page is 30% and the response ratio of the old version page is 70% when the gray level release is performed, the range identifier may be set to 0029, which represents the range [00,29], the first version is the new version, if the identifier extracted from the gray level factor of the page request is 23, the identifier belongs to the range represented by the range identifier, and if the gray level version is determined to be the new version, the new version of the target page may be responded based on the page request. If the identification code extracted from the gray factor of the page request is 50, the identification code does not belong to the range represented by the range identification, and if the gray version is determined to be the old version, the target page of the old version can be responded based on the page request.
As another example, if the demand is 40% for the new version page and 60% for the old version page at the time of gray level release, the scope flag may be set to 0039, which characterizes the scope [00,39]. In this embodiment, the manner of determining the gray version according to the range identifier is the same as that described above, and will not be described here again.
In the technical scheme, the gray version of the page can be determined by the identification code, the complexity of determining the gray version can be effectively simplified, the efficiency of determining the gray version is ensured, and the application range of the gray release method is improved.
Optionally, the factor type is a numerical type, for example, a type of version number corresponding to the page request initiator; the identification information corresponding to the factor type includes a digital identification. Illustratively, the gray scale determination algorithm is implemented based on server-embedded SSI (Server Side Includes, server-side embedded) instructions. Since the SSI instruction cannot perform numerical judgment, in this embodiment, a logical value may be obtained by means of string equality and regular matching, so as to perform numerical judgment based on the logical value.
Accordingly, an exemplary implementation manner of determining the gray scale version of the target page according to the gray scale factor and the gray scale determining algorithm including the identification information corresponding to the factor type is as follows, as shown in fig. 2, and the steps may include:
in S21, a number of each bit of the gray factor is acquired, and the gray factor may be a version number such as 1024, for example, and each bit of the acquired gray factor is 1, 0, 2, and 4 from high to low, respectively.
By way of example, taking a version number of 4 digits as an example, and taking the numbers of 4 th, 3 rd, 2 nd and 1 st digits from left to right (when not specifically described in the following description, the schematic descriptions of all the digits are the same), the following can be obtained:
< -! - # if exp= "$appversion=/? (\d)? (\d)? (\d)? $/- - - -, where, (\d)? (\d)? (\d)? (\d)? To be matched, a regular expression can be matched to the version number 1024 in the gray factor, then can be matched through </i-! - # set var= "appversion digitx" value= "$x" - - - - - -, where a specific X is used to characterize the number of digits in the number, e.g. < -! - # set var= "appversion digit4" value= "$4" - - - > is used to characterize that the 4 th character matched is assigned the 4 th digit, and other digits and the like are not described herein.
In S22, for each digit, a numerical comparison result of the digit with the digit in which the digit is located in the digit identification is determined.
As an example, the number identifier may be 1048, for every 4 digits in the acquired gray factor, where for the 4 th digit "1", the digit "1" in the number identifier is located at the 4 th digit, and then the digit "1" is compared with the value of the 4 th digit (i.e., "1") in the number identifier. For the 2 nd digit "2", the digit "2" in the digital identifier is located in the 2 nd digit, the 2 nd digit (i.e. "4") in the digital identifier is compared with the 2 nd digit in the digital identifier, and the comparison of other digits is similar, and will not be repeated herein.
Illustratively, the 2 nd digit is taken as an example, wherein the 2 nd digit in the digit identifier is 4, and the following is adopted when comparing the 2 nd digit values
<!--#if expr="$appVersionDigit2=4"-->
<!--#set var="appVersionDigit2Result"value="="-->
If the number 2 in the gray factor is 4, the value comparison result of the number 2 is "=";
<!--#elif expr="$appVersionDigit2=2"-->
<!--#set var="appVersionDigit2Result"value="<"-->
the numerical comparison result of the 2 nd digit is "<" if the 2 nd digit in the gray factor is 2;
<!--#elif expr="$appVersionDigit2=6"-->
<!--#set var="appVersionDigit2Result"value=">"-->
if the number 2 of the gray factors is 6, the numerical comparison result of the number 2 is ">";
The numerical comparison result can be determined by the character string matching mode.
In S23, the numerical comparison results of each number are combined according to the bit level to obtain the target comparison result of the gray factor.
For example, in the manner described above, the numerical comparison result of each digit in the gray factor 1024 may be determined, and the numerical comparison results of the gray factor 1024 and the digital identifier 1048 are combined according to the height of the digits, so as to obtain the target comparison result of the gray factor as "= < <".
In S24, in the case where the target comparison result satisfies the result expression, it is determined that the gradation version is the first version.
In S25, in the case that the target comparison result does not satisfy the result expression, determining that the gray-scale version is a second version, where the first version and the second version are different versions of the target page.
The result expression may be "/= (> |$)/", where the result expression is used to determine a gray factor greater than or equal to the digital identification. Illustratively, the first version is a new version and the second version is an old version. As in the example described above, if it is determined that the target comparison result "= = < < <" does not satisfy the result expression, it is determined that the grayscale version is the old version. Thus, the judgment of the magnitude of the numerical value can be realized based on the logic judgment through the steps.
In the technical scheme, each digit of the gray factor is extracted respectively and is logically compared with the digits on the corresponding digit in the digit identification, so that the judgment of the numerical value is realized. Through the technical mode, the numerical value of the digital can be judged, so that the gray version is determined according to the judging result of the numerical value, the diversity of gray version determination is improved, more types of gray factors can be considered when the gray version determination is carried out, and the application range of the gray distribution method is further expanded.
Optionally, if the gray scale factor is plural, in S12, an exemplary implementation of determining the gray scale version of the target page according to the gray scale factor and the gray scale determining algorithm is as follows, and the step may include:
and determining an initial gray version of the target page according to each gray factor, wherein the gray factors are, for example, a region ID (identity) of the page request initiator and a version number corresponding to the page request initiator. At this time, the initial gray version of the page may be determined according to the region ID and the version number, where specific implementation manners of determining the gray version according to the region ID and the version number are described in detail above, and are not described herein.
And processing each initial gray version according to the relation between each gray factor to obtain the gray version of the target page.
For example, the initial gray version determined according to the region ID is a new version, and the initial gray version determined according to the version number is an old version, so that the gray version can be processed according to the relation between gray factors, where the relation between gray factors is preset according to the actual use scene, i.e. when the region ID and the version number are determined to be in accordance with the corresponding identification information, the gray version of the target page is determined to be the new version, and otherwise, the gray version of the target page is determined to be the old version. For example, the region ID to which the page request initiator belongs is shandong, the version number corresponding to the page request initiator is 1050, at this time, it may be determined that the region ID and the version number respectively conform to the corresponding identification information thereof, at this time, the gray version of the target page may be obtained as a new version based on the relationship between the two.
According to the technical scheme, the gray scale version of the target page can be determined according to the plurality of gray scale factors through the relation among the plurality of gray scale factors, so that factors considered in gray scale version determination are increased, higher user use requirements can be met, and meanwhile, the precision and the accuracy of the gray scale release method are guaranteed.
Optionally, if the gray scale factor is multiple, another exemplary implementation of determining the gray scale version of the target page according to the gray scale factor and the gray scale determining algorithm is as follows, and the step may include:
a target gray factor is determined from a plurality of the gray factors, wherein the target gray factor may be one or more. For example, the determination may be performed according to a priority of a preset gray factor, for example, if the priority of the ID of the user is highest, the ID of the user may be directly determined as the target gray factor when the ID of the user is included in the gray factor.
And determining the gray version of the target page according to the target gray factor and the gray determining algorithm. Wherein, the specific embodiment of determining the gray version of the target page according to the target gray factor and the gray determining algorithm has been described above. For example, when the target gray scale factors are plural, the gray scale versions determined by the target gray scale factors may be processed in the manner of the above embodiment, so as to obtain the gray scale version of the page. Therefore, the complexity in determining the gray version according to the plurality of gray factors can be effectively simplified, the determination efficiency of the gray version is improved, and the response time of the page is shortened.
The present disclosure also provides a gray scale publishing device, as shown, the device 10 includes:
an obtaining module 100 configured to obtain a gray factor in a page request, where the gray factor is used to characterize identification information of a page request initiator;
a first determining module 200 configured to determine a target page requested by the page request, the target page having a gray level determining algorithm stored therein;
a second determining module 300 configured to determine a gray version of the target page according to the gray factor and the gray determining algorithm;
and a rendering module 400 configured to render the target page based on the page resources corresponding to the grayscale version.
Optionally, the second determining module includes:
a first determination submodule configured to determine a factor type of the gray factor;
and the second determining submodule is configured to determine the gray version of the target page according to the gray factors and a gray determining algorithm containing identification information corresponding to the factor types, wherein the identification information in the gray determining algorithm is used for representing conditions corresponding to the gray factors.
Optionally, the factor type is an identification code type; the identification information corresponding to the factor type comprises gray scale identification;
accordingly, the second determination submodule includes:
a first matching sub-module configured to determine whether the gray factor matches the gray identification;
a third determination submodule configured to determine that the gray-scale version is the first version if the gray-scale factor matches the gray-scale identification; and under the condition that the gray factor is not matched with the gray mark, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the gray scale is identified as a plurality of groups, and the first matching submodule includes:
a fourth determining submodule configured to determine target groups of gray labels to be matched according to a preset order;
a second matching sub-module configured to determine whether the gray factor matches a gray identification in the target packet;
a fifth determination submodule configured to determine that the gray factor matches a gray identity in the gray determination algorithm if it is determined that the gray factor matches a gray identity in the target group; and when the gray factors are not matched with each gray mark in the target group, and a group which is not matched exists, determining a new target group from the group which is not matched, and triggering the second matching submodule to determine whether the gray factors are matched with the gray marks in the target group.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type comprises a range identification;
accordingly, the second determination submodule includes:
an extraction sub-module configured to extract an identification code from the gray factors, wherein the identification code is a partial sequence in the sequence of the gray factors;
a sixth determination submodule configured to determine that the grayscale version is the first version if the identification code belongs to a range characterized by the range identity; and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the factor type is a numerical type; the identification information corresponding to the factor type comprises a digital identification;
accordingly, the second determination submodule includes:
an acquisition sub-module configured to acquire a number for each bit of the gray factor;
a seventh determination submodule configured to determine, for each of the digits, a numerical comparison of the digit with a digit in which the digit is located in the digit identification;
The merging submodule is configured to merge the numerical comparison result of each digit according to the height of the bit to obtain a target comparison result of the gray factors;
an eighth determination submodule configured to determine the grayscale version to be the first version if the target comparison result satisfies a result expression; and under the condition that the target comparison result does not meet the result expression, determining that the gray level version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, if the gray factors are multiple, the second determining module includes:
a ninth determining submodule configured to determine an initial gray-scale version of the target page according to each of the gray-scale factors, respectively;
and the processing sub-module is configured to process each initial gray level version according to the relation between each gray level factor to obtain the gray level version of the target page.
Optionally, if the gray factors are multiple, the second determining module includes:
a tenth determination submodule configured to determine a target gray factor from a plurality of the gray factors;
An eleventh determination submodule configured to determine a gray-scale version of the target page based on the target gray-scale factor and the gray-scale determination algorithm.
Optionally, the gray level determination algorithm is stored in the page based on generating means comprising:
a receiving module configured to receive a gray release configuration instruction, wherein the gray release configuration instruction indicates a gray release policy and page identification information to be subjected to gray release;
a generation module configured to generate the gray level determination algorithm according to the gray level distribution policy;
and the storage module is configured to store the gray level determination algorithm in a page corresponding to the page identification information.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 4 is a block diagram of an electronic device 700, according to an example embodiment. As shown in fig. 4, the electronic device 700 may include: a processor 701, a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input/output (I/O) interface 704, and a communication component 705.
The processor 701 is configured to control the overall operation of the electronic device 700 to perform all or part of the steps in the gray scale distribution method described above. The memory 702 is used to store various types of data to support operation on the electronic device 700, which may include, for example, instructions for any application or method operating on the electronic device 700, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, and so forth. The Memory 702 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 703 can include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 702 or transmitted through the communication component 705. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 705 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processor (Digital Signal Processor, abbreviated as DSP), digital signal processing device (Digital Signal Processing Device, abbreviated as DSPD), programmable logic device (Programmable Logic Device, abbreviated as PLD), field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA), controller, microcontroller, microprocessor, or other electronic component for performing the gray scale distribution method described above.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the gray scale distribution method described above. For example, the computer readable storage medium may be the memory 702 including program instructions described above, which are executable by the processor 701 of the electronic device 700 to perform the gray scale distribution method described above.
Fig. 5 is a block diagram illustrating an electronic device 1900 according to an example embodiment. For example, electronic device 1900 may be provided as a server. Referring to fig. 5, the electronic device 1900 includes a processor 1922, which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922. The computer program stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, the processor 1922 may be configured to execute the computer program to perform the grayscale distribution method described above.
In addition, the electronic device 1900 may further include a power component 1926 and a communication component 1950, the power component 1926 may be configured to perform power management of the electronic device 1900, and the communication component 1950 may be configured to enable communication of the electronic device 1900, e.g., wired or wireless communication. In addition, the electronic device 1900 may also include an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, and the like.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the gray scale distribution method described above. For example, the computer readable storage medium may be the memory 1932 including program instructions described above that are executable by the processor 1922 of the electronic device 1900 to perform the gray scale distribution method described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described greyscale publishing method when executed by the programmable apparatus.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.

Claims (9)

1. A gray scale distribution method, characterized in that the method comprises: acquiring a gray factor in a page request, wherein the gray factor is used for representing identification information of a page request initiator; determining a target page requested by the page request, wherein a gray level determining algorithm is stored in the target page; determining the gray version of the target page according to the gray factor and the gray determining algorithm; rendering the target page based on the page resources corresponding to the gray version, wherein,
The determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm comprises the following steps: determining a factor type of the gray factor; determining a gray version of the target page according to the gray factors and a gray determining algorithm containing identification information corresponding to the factor types, wherein the identification information in the gray determining algorithm is used for representing conditions corresponding to the gray factors;
the factor type is an identification code type; the identification information corresponding to the factor type comprises gray scale identification; correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps: determining whether the gray factor matches the gray identification; determining that the gray version is a first version if the gray factor matches the gray identification; determining that the gray scale version is a second version under the condition that the gray scale factor is not matched with the gray scale mark, wherein the first version and the second version are different versions of the target page;
the gray scale identification is divided into a plurality of groups, and the determining whether the gray scale factor is matched with the gray scale identification comprises: determining target groups of gray marks to be matched according to a preset sequence; determining whether the gray factor matches a gray identification in the target packet; determining that the gray factor matches a gray label in the gray determining algorithm if the gray factor is determined to match a gray label in the target group; in the case that the gray factor is determined not to match each gray mark in the target group, and a group which is not matched exists, a new target group is determined from the group which is not matched, and the step of determining whether the gray factor is matched with the gray mark in the target group is returned.
2. The method of claim 1, wherein the factor type is a scale type; the identification information corresponding to the factor type comprises a range identification; correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps: extracting an identification code from the gray factors, wherein the identification code is a partial sequence in the sequence of the gray factors; determining that the gray version is a first version under the condition that the identification code belongs to the range characterized by the range identifier; and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the gray version is a second version, wherein the first version and the second version are different versions of the target page.
3. The method of claim 1, wherein the factor type is a numeric type; the identification information corresponding to the factor type comprises a digital identification; correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps: acquiring the number of each bit of the gray factor; for each digit, determining a numerical comparison result of the digit and a digit in which the digit is located in the digit identification; combining the numerical comparison results of each digit according to the height of the bit to obtain a target comparison result of the gray factors; determining that the gray version is a first version under the condition that the target comparison result meets a result expression; and under the condition that the target comparison result does not meet the result expression, determining that the gray level version is a second version, wherein the first version and the second version are different versions of the target page.
4. The method of claim 1, wherein if the gray scale factor is a plurality, the determining the gray scale version of the target page according to the gray scale factor and the gray scale determination algorithm comprises: determining an initial gray version of the target page according to each gray factor; and processing each initial gray version according to the relation between each gray factor to obtain the gray version of the target page.
5. The method of claim 1, wherein if the gray scale factor is a plurality, the determining the gray scale version of the target page according to the gray scale factor and the gray scale determination algorithm comprises: determining a target gray factor from a plurality of the gray factors; and determining the gray version of the target page according to the target gray factor and the gray determining algorithm.
6. The method of claim 1, wherein the gray level determination algorithm is stored in the page by: receiving a gray release configuration instruction, wherein the gray release configuration instruction indicates a gray release strategy and page identification information to be subjected to gray release; generating the gray level determining algorithm according to the gray level release strategy; and storing the gray level determining algorithm in a page corresponding to the page identification information.
7. A gradation issuing apparatus, characterized in that the apparatus comprises: the acquisition module is configured to acquire a gray factor in the page request, wherein the gray factor is used for representing identification information of a page request initiator; a first determining module configured to determine a target page requested by the page request, the target page having a gray level determining algorithm stored therein; a second determining module configured to determine a gray version of the target page according to the gray factor and the gray determining algorithm; a rendering module configured to render the target page based on a page resource corresponding to the grayscale version, wherein,
the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm comprises the following steps: determining a factor type of the gray factor; determining a gray version of the target page according to the gray factors and a gray determining algorithm containing identification information corresponding to the factor types, wherein the identification information in the gray determining algorithm is used for representing conditions corresponding to the gray factors;
the factor type is an identification code type; the identification information corresponding to the factor type comprises gray scale identification; correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determining algorithm containing the identification information corresponding to the factor type comprises the following steps: determining whether the gray factor matches the gray identification; determining that the gray version is a first version if the gray factor matches the gray identification; determining that the gray scale version is a second version under the condition that the gray scale factor is not matched with the gray scale mark, wherein the first version and the second version are different versions of the target page;
The gray scale identification is divided into a plurality of groups, and the determining whether the gray scale factor is matched with the gray scale identification comprises: determining target groups of gray marks to be matched according to a preset sequence; determining whether the gray factor matches a gray identification in the target packet; determining that the gray factor matches a gray label in the gray determining algorithm if the gray factor is determined to match a gray label in the target group; in the case that the gray factor is determined not to match each gray mark in the target group, and a group which is not matched exists, a new target group is determined from the group which is not matched, and the step of determining whether the gray factor is matched with the gray mark in the target group is returned.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-6.
9. An electronic device, comprising: a memory having a computer program stored thereon; a processor configured to execute the computer program in the memory to implement the steps of the method of any one of claims 1-6.
CN202010144296.XA 2020-03-04 2020-03-04 Gray release method and device, storage medium and electronic equipment Active CN111290779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010144296.XA CN111290779B (en) 2020-03-04 2020-03-04 Gray release method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010144296.XA CN111290779B (en) 2020-03-04 2020-03-04 Gray release method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111290779A CN111290779A (en) 2020-06-16
CN111290779B true CN111290779B (en) 2023-07-07

Family

ID=71022521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010144296.XA Active CN111290779B (en) 2020-03-04 2020-03-04 Gray release method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111290779B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778464B (en) * 2020-08-07 2024-06-14 北京沃东天骏信息技术有限公司 Applet gray level issuing method and device
CN112486484A (en) * 2020-11-26 2021-03-12 北京金山云网络技术有限公司 Webpage version generation method and device
CN114697304B (en) * 2020-12-28 2023-12-01 京东科技控股股份有限公司 Gray release method, system, device, equipment and storage medium
CN112835606B (en) * 2021-03-31 2024-01-30 中国工商银行股份有限公司 Gray release method and device, electronic equipment and medium
CN113553080A (en) * 2021-07-02 2021-10-26 深圳云之家网络有限公司 Application upgrading method and device, computer equipment and storage medium
CN114363343B (en) * 2021-12-30 2024-04-30 上海浦东发展银行股份有限公司 Method and device for processing request data based on micro-service architecture and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010117748A2 (en) * 2009-03-31 2010-10-14 Qualcomm Incorporated Apparatus and methods for rendering a page
CN109815405A (en) * 2019-01-31 2019-05-28 北京三快在线科技有限公司 Gray scale shunt method and system
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication
CN110601922A (en) * 2019-09-18 2019-12-20 北京三快在线科技有限公司 Method and device for realizing comparison experiment, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648562B (en) * 2015-10-29 2020-04-21 腾讯科技(深圳)有限公司 Version updating method and device
CN107920112B (en) * 2017-11-01 2022-04-22 重庆金融资产交易所有限责任公司 Configuration file pushing method supporting gray mode, central server and storage medium
CN108470001B (en) * 2018-03-16 2021-02-26 北京腾云天下科技有限公司 Webpage application gray level publishing method, server and system
CN109376322A (en) * 2018-09-07 2019-02-22 平安科技(深圳)有限公司 A kind of grayscale version page access method, apparatus, computer equipment and computer storage medium
CN109683936B (en) * 2018-12-20 2023-03-14 恒生电子股份有限公司 Gray scale distribution method and device, storage medium and electronic equipment
CN109871224A (en) * 2019-02-13 2019-06-11 北京炎黄新星网络科技有限公司 A kind of gray scale dissemination method, system, medium and equipment based on user identifier
CN110399147A (en) * 2019-06-04 2019-11-01 菜鸟智能物流控股有限公司 Version release system and method and electronic equipment
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110493336B (en) * 2019-08-15 2021-11-16 问问智能信息科技有限公司 Method and device for determining target user side in gray scale release process

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010117748A2 (en) * 2009-03-31 2010-10-14 Qualcomm Incorporated Apparatus and methods for rendering a page
CN109815405A (en) * 2019-01-31 2019-05-28 北京三快在线科技有限公司 Gray scale shunt method and system
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication
CN110601922A (en) * 2019-09-18 2019-12-20 北京三快在线科技有限公司 Method and device for realizing comparison experiment, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111290779A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN111290779B (en) Gray release method and device, storage medium and electronic equipment
CN110737658B (en) Data fragment storage method, device, terminal and readable storage medium
CN109672580B (en) Full link monitoring method, device, terminal equipment and storage medium
CN109729183B (en) Request processing method, device, equipment and storage medium
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
CN106534268B (en) Data sharing method and device
CN108776587B (en) Data acquisition method and device, computer equipment and storage medium
CN114697304B (en) Gray release method, system, device, equipment and storage medium
CN110334103B (en) Recommendation service updating method, providing device, access device and recommendation system
CN110222046B (en) List data processing method, device, server and storage medium
CN114285906A (en) Message processing method and device, electronic equipment and storage medium
CN110460673B (en) Service address acquisition method, device and equipment
CN108960378B (en) Data downloading method, system, device and storage medium
CN108427691B (en) Network data transmission method and device and computer equipment
CN114637969A (en) Target object authentication method and device
CN112486923A (en) File updating method, device and system
CN113836428A (en) Business pushing method and device, computer equipment and storage medium
CN113064898A (en) Retrieval method and device based on miniature index of contract on chain and electronic equipment
CN110147531B (en) Method, device and storage medium for identifying similar text content
CN107800561B (en) Resource updating method and device
CN112783539B (en) Application updating method, system, terminal equipment and storage medium
JP2014235583A (en) Data migration system and data migration method
CN113821750B (en) Page data processing method and system, electronic equipment and readable storage medium
CN113709154B (en) Browser security processing method and device, computer equipment and storage medium
CN112287373B (en) Data processing method, device, storage medium and network access point equipment

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