CN111290779A - Gray scale distribution method, device, storage medium and electronic equipment - Google Patents

Gray scale distribution method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111290779A
CN111290779A CN202010144296.XA CN202010144296A CN111290779A CN 111290779 A CN111290779 A CN 111290779A CN 202010144296 A CN202010144296 A CN 202010144296A CN 111290779 A CN111290779 A CN 111290779A
Authority
CN
China
Prior art keywords
version
factor
gray scale
determining
gray
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.)
Granted
Application number
CN202010144296.XA
Other languages
Chinese (zh)
Other versions
CN111290779B (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 present disclosure relates to a gray scale publishing method, apparatus, storage medium, and electronic device, the method comprising: acquiring a gray scale factor in a page request, wherein the gray scale 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 determination algorithm is stored in the target page; determining a gray level version of the target page according to the gray level factor and the gray level determination algorithm; rendering the target page based on the page resources corresponding to the grayscale version. Therefore, the gray level determination algorithm is stored in the page, can be directly analyzed in the front-end page without a server, and can be applied to a technical framework with front and back ends separated. Meanwhile, the resource occupation of the client can be effectively reduced without presetting a JS script and the like in the client, the accuracy and efficiency of gray scale release are ensured, the response efficiency and performance of a page request are improved, and the stability of gray scale release is ensured.

Description

Gray scale distribution method, device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for issuing a grayscale, a storage medium, and an electronic device.
Background
With the approach of computer technology, various applications and systems are updated to make them more consistent with the user's needs. In general, when an application is upgraded, a new version of an application source code or a new version of an application package can be uploaded to a server, and then, an old version of the application is stopped and the new version of the application package is restarted. However, the release mode has two problems, on one hand, in the process of upgrading the new version, the service is temporarily interrupted, and on the other hand, if the new version fails to be upgraded, the rollback difficulty is high, and the service which is long in time is easily unavailable.
In the prior art, an application can be upgraded by adopting a gray release mode, namely, a mode that a certain newly released functional characteristic and an old functional characteristic can be presented to a user in a smooth transition mode. Taking a front-end application as an example, in the prior art, a server may extract corresponding information from the content of a page request through a server language to determine a grayscale version corresponding to the current request, so as to render a response page returned by the server. However, the method depends on server program calculation, and cannot be applied to a technical architecture with front and back ends separated. Or the client determines the corresponding gray scale version through the js judgment script, so as to request the server for the response page corresponding to the gray scale version. According to the scheme, resource requests and js analysis and execution need to be added once before the page logic loading is really responded, all js judgment scripts need to be downloaded to the client, the page rendering time is prolonged, the page response time is long, and the performance is poor.
Disclosure of Invention
An object of the present disclosure is to provide a stable and accurate gradation issuance method, apparatus, storage medium, and electronic device.
In order to achieve the above object, according to a first aspect of the present disclosure, there is provided a gradation issuance method including:
acquiring a gray scale factor in a page request, wherein the gray scale 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 determination algorithm is stored in the target page;
determining a gray level version of the target page according to the gray level factor and the gray level determination algorithm;
rendering the target page based on the page resources corresponding to the grayscale version.
Optionally, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm includes:
determining a factor type of the gamma factor;
and determining the gray level version of the target page according to the gray level factor and a gray level determination algorithm containing identification information corresponding to the factor type, wherein the identification information in the gray level determination algorithm is used for representing the condition corresponding to the gray level factor.
Optionally, the factor type is an identifier type; the identification information corresponding to the factor type includes a grayscale identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type includes:
determining whether the grayscale factor matches the grayscale signature;
under the condition that the gray scale factor is matched with the gray scale identifier, determining that the gray scale version is a first version;
and under the condition that the gray scale factor is not matched with the gray scale identification, determining that the gray scale 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 a target group of gray marks to be matched according to a preset sequence;
determining whether the grayscale factor matches a grayscale identification in the target grouping;
determining that the gray scale factor matches a gray scale identifier in the gray scale determination algorithm if it is determined that the gray scale factor matches a gray scale identifier in the target group;
and under the condition that the gray scale factor is determined not to be matched with each gray scale mark in the target group and a group which is not matched yet exists, determining a new target group from the group which is not matched yet, and returning to the step of determining whether the gray scale factor is matched with the gray scale mark in the target group.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type includes a range identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type includes:
extracting an identification code from the gray scale factor, wherein the identification code is a partial sequence in the sequence of the gray scale factor;
under the condition that the identification code belongs to the range represented by the range identifier, determining the gray-scale version as a first version;
and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the grayscale 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 value type; the identification information corresponding to the factor type includes a numerical identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type includes:
acquiring the number of each bit of the gray scale factor;
for each number, determining the numerical comparison result of the number and the number in the number identification where the number is located;
combining the numerical comparison results of each number according to the height of the digit to obtain the target comparison result of the gray scale factor;
determining the gray version as 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 grayscale version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, if there are a plurality of gray scale factors, the determining the gray scale version of the target page according to the gray scale factors and the gray scale determining algorithm includes:
determining an initial gray level version of the target page according to each gray level factor;
and processing 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 there are a plurality of gray scale factors, the determining the gray scale version of the target page according to the gray scale factors and the gray scale determining algorithm includes:
determining a target gray scale factor from a plurality of the gray scale factors;
and determining the gray scale version of the target page according to the target gray scale factor and the gray scale determination algorithm.
Optionally, the grey level determination algorithm is stored in the page by:
receiving a gray level issuing configuration instruction, wherein the gray level issuing configuration instruction indicates a gray level issuing strategy and page identification information to be subjected to gray level issuing;
generating the gray level determining algorithm according to the gray level issuing strategy;
and storing the gray level determination algorithm in a page corresponding to the page identification information.
According to a second aspect of the present disclosure, there is provided a gradation issuance apparatus, the apparatus including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire a gray-scale factor in a page request, wherein the gray-scale 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 determination module configured to determine a grayscale version of the target page according to the grayscale factor and the grayscale determination algorithm;
a rendering module configured to render the target page based on 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 gradation factor;
a second determining submodule configured to determine a grayscale version of the target page according to the grayscale factor and a grayscale determining algorithm including identification information corresponding to the factor type, where the identification information in the grayscale determining algorithm is used to characterize a condition corresponding to the grayscale factor.
Optionally, the factor type is an identifier type; the identification information corresponding to the factor type includes a grayscale identification;
accordingly, the second determination submodule includes:
a first matching submodule configured to determine whether the grayscale factor matches the grayscale signature;
a third determining sub-module configured to determine the grayscale version to be the first version if the grayscale factor matches the grayscale identification; and under the condition that the gray scale factor is not matched with the gray scale identification, determining that the gray scale version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the grayscale identification is a plurality of groups, and the first matching sub-module includes:
the fourth determining submodule is configured to determine a target group of the gray scale identifiers to be matched according to a preset sequence;
a second matching submodule configured to determine whether the grayscale factor matches a grayscale identification in the target grouping;
a fifth determining sub-module configured to determine that the grayscale factor matches a grayscale signature in the grayscale determining algorithm if it is determined that the grayscale factor matches a grayscale signature in the target grouping; and under the condition that the gray scale factor is determined not to be matched with each gray scale identifier 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 scale factor is matched with the gray scale identifier in the target group.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type includes a range identification;
accordingly, the second determination submodule includes:
an extraction submodule configured to extract an identification code from the grayscale factor, wherein the identification code is a partial sequence of the sequence of grayscale factors;
a sixth determining sub-module configured to determine that the grayscale version is the first version if the identification code belongs to the range represented 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 grayscale 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 value type; the identification information corresponding to the factor type includes a numerical identification;
accordingly, the second determination submodule includes:
an acquisition submodule configured to acquire a number of each bit of the gradation factor;
a seventh determining sub-module configured to determine, for each of the numbers, a numerical comparison result of the number with a number in the number identification where the number is located;
a merging submodule configured to merge the numerical comparison results of each of the numbers according to the height of a bit to obtain a target comparison result of the gray scale factor;
an eighth determining sub-module 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 grayscale version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, if there are a plurality of gray-scale factors, the second determining module includes:
a ninth determining sub-module configured to determine an initial grayscale version of the target page according to each grayscale factor;
and the processing submodule is configured to process each initial gray scale version according to the relation between each gray scale factor to obtain a gray scale version of the target page.
Optionally, if there are a plurality of gray-scale factors, the second determining module includes:
a tenth determining submodule configured to determine a target grayscale factor from the plurality of grayscale factors;
an eleventh determining sub-module configured to determine a grayscale version of the target page according to the target grayscale factor and the grayscale determining algorithm.
Optionally, the grayscale determining algorithm is stored in the page based on a generating means comprising:
the receiving module is configured to receive a gray level issuing configuration instruction, wherein the gray level issuing configuration instruction indicates a gray level issuing strategy and page identification information to be subjected to gray level issuing;
a generation module configured to generate the gray level determination algorithm according to the gray level issuing policy;
a storage module configured to store the grayscale 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 the method of any of the first aspects.
In the technical scheme, the gray scale factor in the page request is obtained, the target page requested by the page request is determined, the gray scale version of the target page is determined according to the gray scale factor and the gray scale determination algorithm stored in the target page, and the target page is rendered based on the page resource corresponding to the gray scale version. Through the technical scheme, the gray level determination algorithm is stored in the page, so that the front-end page can be directly analyzed without a server, and the method and the device can be applied to a technical architecture with front and back ends separated. Meanwhile, JS scripts and the like do not need to be preset in the client, resource occupation of the client can be effectively reduced, response efficiency and performance of a page request are improved while accuracy and efficiency of gray scale publishing are guaranteed, and stability of gray scale publishing is guaranteed.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart of a gray scale publishing method provided in accordance with one embodiment of the present disclosure;
FIG. 2 is a flow diagram of an exemplary implementation of determining a grayscale version of the target page according to the grayscale factor and a grayscale determination algorithm that includes identification information corresponding to the factor type;
fig. 3 is a block diagram of a gray scale issuing apparatus provided according to an embodiment of the present disclosure;
FIG. 4 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart illustrating a gray scale publishing method according to an embodiment of the present disclosure. As shown in fig. 1, the method includes:
in S11, a gray scale factor in the page request is obtained, where the gray scale factor is used to characterize the identification information of the page request initiator.
The gray scale factor may be obtained from the initiated page request through a grouping and capturing algorithm of the regular expression, for example, the gray scale factor may be obtained from QUERY _ strong, cookie, USER _ age in the page request, and the gray scale factor may be an ID of a USER corresponding to the page request initiator, or may be a corresponding version number of the page request initiator.
In S12, a target page requested by the page request is determined, in which a gradation determination algorithm is stored.
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 perform a gray level version determination on the page.
In S13, a grayscale version of the target page is determined according to the grayscale factor and the grayscale determination algorithm.
The grayscale version of the target page may include a new version and an old version, that is, it may be determined whether the page that responds is the new version or the old version by the grayscale factor and the grayscale determination 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 an updated page HTML code, a CSS address or a JS address, and the like, for rendering the target page. The manner of rendering the page based on the page resources is the prior art, and is not described herein again.
As an example, the determined target page is a personal information page, 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-scale version is determined to be the new version, the target page can be rendered according to the page resources corresponding to the new version, and therefore 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 scale factor in the page request is obtained, the target page requested by the page request is determined, the gray scale version of the target page is determined according to the gray scale factor and the gray scale determination algorithm stored in the target page, and the target page is rendered based on the page resource corresponding to the gray scale version. Through the technical scheme, the gray level determination algorithm is stored in the page, so that the front-end page can be directly analyzed without a server, and the method and the device can be applied to a technical architecture with front and back ends separated. Meanwhile, JS scripts and the like do not need to be preset in the client, resource occupation of the client can be effectively reduced, response efficiency and performance of a page request are improved while accuracy and efficiency of gray scale publishing are guaranteed, and stability of gray scale publishing is guaranteed.
Alternatively, the grayscale determination algorithm may be stored in the page by:
receiving a gray level issuing configuration instruction, wherein the gray level issuing configuration instruction indicates a gray level issuing strategy and page identification information to be subjected to gray level issuing. For example, when a version update is made, one or more pages may be updated to release the new version. The page identification information may be a URL address of the page for identifying the page for which the new version release is performed. The gray scale distribution strategy may include a gray scale factor and a condition corresponding to the gray scale factor.
As an example, a user may select a corresponding page and a corresponding grayscale factor from a visual interface of the configuration platform, and set a corresponding condition, for example, if the user selects page a in the visual interface, the grayscale factor is a region ID, and the region ID belongs to Shandong and Jiangsu, the user may trigger the grayscale issue configuration instruction through the visual interface.
Generating the gray level determining algorithm according to the gray level issuing strategy; and storing the gray level determination algorithm in a page corresponding to the page identification information.
In this embodiment, the configuration platform may generate a corresponding grayscale determination algorithm according to the grayscale publication 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 a 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 therefore when a user makes a page request for the page, the version which is responded to 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 issuing strategy in the gray level issuing 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 issuing in the gray level issuing configuration instruction, so that the configuration of the page subjected to gray level issuing is realized, and support is provided for realizing the gray level issuing based on the front-end page.
Alternatively, in S13, according to the gray scale factor and gray scale determination algorithm, an exemplary implementation of determining the gray scale version of the target page is as follows, and this step may include:
and determining a factor type of the gray scale factor, wherein the factor type is used for representing a gray scale judgment through which gray scale determination algorithm. Illustratively, the factor type may be an identification code type, such as a region ID to which the page request originator belongs; may be of the scale type, such as a sequence of numbers used to make the range determination; may be a numerical type such as a number used to make a numerical size determination.
And determining the gray level version of the target page according to the gray level factor and a gray level determination algorithm containing identification information corresponding to the factor type, wherein the identification information in the gray level determination algorithm is used for representing the condition corresponding to the gray level factor.
The factor type corresponds to the identification information in the gray level determination algorithm, for example, if the factor type is an identification code type, the corresponding identification information may be an identification for representing a region, such as a Shandong region, a Jiangsu region, 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 is detected to determine the gray level version of the page.
Through the technical scheme, the gray level versions of the gray level factors with different factor types can be determined according to different gray level determination methods, so that on one hand, the accuracy and precision of the gray level version determination can be improved, on the other hand, the expansion of a gray level determination algorithm and the gray level factors is facilitated, and the application range of the gray level release method is widened.
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 pre-set USER1, USER2, Shandong, Jiangsu, and the like.
Accordingly, according to the gray-level factor and the gray-level determination algorithm containing the identification information corresponding to the factor type, an exemplary implementation manner of determining the gray-level version of the target page is as follows, which may include:
determining whether the grayscale factor matches the grayscale signature.
Under the condition that the gray scale factor is matched with the gray scale identifier, determining that the gray scale version is a first version;
and under the condition that the gray scale factor is not matched with the gray scale identification, determining that the gray scale version is a second version, wherein the first version and the second version are different versions of the target page.
The area ID will be described in detail below as an example. As an example, the method may belong to responding a page request of Shandong, Jiangsu and the like to a new version of page, wherein, in order to represent and match the grayscale markers, each region ID may be represented by encoding, and then the preset grayscale marker expression is as follows: 100110|100112 … 200110|200112 …. For example, 100110 may represent 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 grayscale factor in the received page request is 100114, the region ID is matched with the expression of the grayscale identification, at this time, the region ID is not matched with any grayscale identification in the expression of the grayscale identification, and at this time, the grayscale version may be determined to be the old version. If the region ID of the grayscale factor in the received page request is 100112, which can be matched from the expression of the grayscale identifier, the grayscale version can be determined to be a new version, so as to determine the grayscale version of the target page.
In the technical scheme, the gray scale factor is matched with the gray scale identifier in the gray scale determining method, so that whether the gray scale factor meets the condition of the corresponding gray scale determining algorithm can be determined, the gray scale version is determined according to the matching result, the determining efficiency of the gray scale version is improved, and the releasing efficiency of the gray scale is ensured.
In an actual use scene, the gray scale marks with different accuracies can be set according to different use requirements. Taking the region ID as an example, the region ID may be divided according to provincial level or city level, and many gray scale identifiers may appear at this time, so that when matching the gray scale identifiers, the expression of the gray scale identifiers is too long, which affects the matching efficiency and accuracy. Based on this, the present disclosure also provides the following embodiments.
Optionally, the grayscale marker is a plurality of groups, the expression of each group contains the grayscale markers in the group, and another exemplary implementation manner of determining whether the grayscale factor matches the grayscale marker is as follows, and this step may include:
determining the target grouping of the gray scale identifier to be matched according to a preset sequence, wherein the preset sequence can be selected in sequence from small to large or from large to small according to the grouping number, and can also be selected by a random number.
And determining whether the gray scale factor is matched with the gray scale identifier in the target group, wherein the manner of determining whether the gray scale factor is matched with the gray scale identifier is similar to that described above, and details are not repeated here.
In this embodiment, the expression for the first packet is: 100110|100112 …; the expression of the second grouping is: 200110|200112 …, if the first grouping is the target grouping, the gray scale factor only needs to be matched with the expression in the first grouping.
Determining that the grayscale factor matches a grayscale marker in the grayscale determination algorithm if the grayscale factor matches a grayscale marker in the target grouping. For example, if it is determined that the gray scale factor matches the gray scale identifier in the expression of the first group, it may be directly determined that the gray scale factor matches the gray scale identifier in the gray scale determination algorithm, and the matching process is ended.
And under the condition that the gray scale factor is determined not to be matched with each gray scale mark in the target group and a group which is not matched yet exists, determining a new target group from the group which is not matched yet, and returning to the step of determining whether the gray scale factor is matched with the gray scale mark in the target group.
In this embodiment, cyclic matching is performed on 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 determination algorithm, so that on one hand, the expression length of the gray scale identifiers during matching can be effectively shortened, thereby reducing the risk of matching errors and improving matching efficiency, and on the other hand, the hit time of the gray scale factors can be shortened to a certain extent through the group, and further improving matching efficiency.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type includes a range identification;
accordingly, another exemplary implementation manner of determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type is as follows, and this step may include:
and extracting an identification code from the gray scale factors, wherein the identification code is a partial sequence in the sequence of the gray scale factors.
For example, the grayscale factor may be a UUID (Universally Unique Identifier), where the last two bits of the UUID are numbers and the range value is [00,99], and therefore, the last two bits of the UUID are extracted as the Identifier, so as to determine the grayscale version based on the Identifier.
Under the condition that the identification code belongs to the range represented by the range identifier, determining the gray-scale version as a first version;
and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the grayscale 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 demand is that the response proportion of the new version page is 30% and the response proportion of the old version page is 70% when the gray level is released, the range identifier may be set to 0029, which represents the range [00,29], where the first version is the new version, and if the identification code extracted from the gray level factor of the page request is 23, and the identification code belongs to the range represented by the range identifier, the gray level version is determined to be the new version, and the target page of the new version may be responded based on the page request. If the identification code extracted from the gray scale factor of the page request is 50, and the identification code does not belong to the range represented by the range identification, the gray scale version is determined to be an old version, and 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 scale release, the range flag may be set to 0039, which characterizes the range [00,39 ]. In this embodiment, the manner of determining the grayscale version according to the range identifier is the same as that described above, and is not described herein again.
In the technical scheme, the gray level version of the page can be determined in an identification code mode, the complexity of determining the gray level version can be effectively simplified, the determining efficiency of the gray level version is ensured, and the application range of the gray level issuing method is widened.
Optionally, the factor type is a numerical value type, for example, a type of a version number corresponding to a page request initiator; the identification information corresponding to the factor type includes a numerical identification. Illustratively, the grayscale determination algorithm is implemented based on Server Side embedded (SSI) instructions. The SSI command cannot be numerically determined, and therefore, in this embodiment, a logical value may be obtained by string equality and regular matching, so as to determine the magnitude of the numerical value based on the logical value.
Accordingly, an exemplary implementation manner of determining the grayscale version of the target page according to the grayscale factor and the grayscale determining algorithm containing the identification information corresponding to the factor type is as follows, as shown in fig. 2, and this step may include:
in S21, a number of each bit of the gray scale factor is obtained, for example, the gray scale factor may be a version number such as 1024, and the obtained number of each bit of the gray scale factor is 1, 0,2, 4 from the upper bit to the lower bit.
For example, taking the version number as 4-digit number as an example, and taking the number as 4 th, 3 rd, 2 th and 1 st digits from left to right for explanation (when the following description does not specifically describe, the schematic description of the digits is the same), the following ways can be obtained:
< | A! - # if expr ═ appVersion ═ a (\ d)? (\ d)? (\ d)? (\ d)? $/- - >, where, (\ d)? (\ d)? (\ d)? (\ d)? For the regular expression needing matching, the version number 1024 in the gray factor can be matched through the regular expression, and then the version number can be adjusted through <! The assignment of each digit is made by assigning a number to a specific X, where the specific X is used to characterize the number of digits in the digit, e.g. < | a! - # set var ═ appVersionDigit4, "value ═ 4" - - > is used for representing that the 4 th character matched is assigned as the 4 th digit, and other digits are analogized, and the description is omitted here.
In S22, for each digit, a numerical comparison of the digit to the digit in the digit identification in which the digit is located is determined.
As an example, the number identifier may be 1048, and for each 4-digit number in the acquired gray scale factors, where for the 4-digit number "1", the digit "1" in the number identifier is located at the 4 th digit, and 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", if the digit "2" in the digit id is located at the 2 nd digit, the digit "2" is compared with the value of the 2 nd digit (i.e., "4") in the digit id, and so on, and the description thereof is omitted here.
For example, 2 nd digit is taken as an example for explanation, wherein 2 nd digit in the digit identifier is 4, and the following is adopted when comparing the 2 nd digit value
<!--#if expr="$appVersionDigit2=4"-->
<!--#set var="appVersionDigit2Result"value="="-->
It means that if the 2 nd digit in the grayscale factor is 4, the numerical comparison result of the 2 nd digit is "═ o";
<!--#elif expr="$appVersionDigit2=2"-->
<!--#set var="appVersionDigit2Result"value="<"-->
the result of the numerical comparison of the 2 nd digit is "<" if the 2 nd digit in the gray scale factor is 2;
<!--#elif expr="$appVersionDigit2=6"-->
<!--#set var="appVersionDigit2Result"value=">"-->
it means that if the 2 nd digit in the gray scale factor is 6, the numerical comparison result of the 2 nd digit is ">;
wherein, the numerical comparison result can be determined by the above character string matching manner.
In S23, the numeric comparison results of each digit are combined according to the bit height to obtain the target comparison result of the gray scale factor.
Illustratively, in the manner described above, the numerical comparison result of each digit in the grayscale factor 1024 may be determined, and the numerical comparison results of the grayscale factor 1024 and the digital identifier 1048 are combined according to the height of the digit, so as to obtain the target comparison result of the grayscale factor as "═< <".
In S24, in the case where the target comparison result satisfies the result expression, the gradation version is determined to be the first version.
In S25, in a case where the target comparison result does not satisfy the result expression, the grayscale version is determined to be a second version, where the first and second versions are different versions of the target page.
Wherein, the result expression may be "/═ (> | $)/", and is used for determining the gray scale factor greater than or equal to the digital identifier. Illustratively, the first version is a new version and the second version is an old version. As in the above example, it is determined that the target comparison result "< <" does not satisfy the result expression, the gradation version is determined to be the old version. Therefore, the judgment of the magnitude of the numerical value can be realized based on the logic judgment through the steps.
In the technical scheme, the judgment of the numerical value is realized by respectively extracting each digit of the gray scale factor and logically comparing the digit with the digit on the corresponding digit in the digital identifier. Through the technical mode, the numerical value of the number can be judged, so that the gray level version is determined according to the judgment result of the numerical value, the diversity of gray level version determination is improved, more types of gray level factors can be considered during gray level version determination, and the application range of the gray level release method is further expanded.
Alternatively, if there are a plurality of gray scale factors, in S12, according to the gray scale factor and the gray scale determination algorithm, an exemplary implementation manner of determining the gray scale version of the target page is as follows, and this step may include:
and respectively determining the initial gray level version of the target page according to each gray level factor, wherein the gray level factors are, for example, a region ID to which a page request initiator belongs and a version number corresponding to the page request initiator. At this time, the initial grayscale version of the page may be determined according to the region ID and the version number, where the specific implementation of determining the grayscale version according to the region ID and the version number is described in detail above and is not described herein again.
And processing each initial gray level version according to the relation between each gray level factor to obtain the gray level version of the target page.
Illustratively, the initial grayscale version determined according to the region ID is a new version, and the initial grayscale version determined according to the version number is an old version, so that the grayscale versions can be processed according to the relationship between the grayscale factors, where the relationship between the grayscale factors is preset according to the actual usage scenario, such as the sum of the region ID and the version number, that is, when both the region ID and the version number are determined to meet the corresponding identification information, the grayscale version of the target page is determined to be the new version, otherwise, the grayscale 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 a 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 correspond to the identification information corresponding thereto, and at this time, the grayscale version of the target page may be obtained as a new version based on a sum relationship between the region ID and the version number.
By the technical scheme, the gray scale version of the target page can be determined according to the gray scale factors through the relationship among the gray scale factors, so that factors considered during 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 there are a plurality of gray scale factors, another exemplary implementation manner of determining the gray scale version of the target page according to the gray scale factors and the gray scale determination algorithm is as follows, and the step may include:
a target gray scale factor is determined from a plurality of the gray scale factors, wherein the target gray scale factor may be one or more. For example, the determination may be performed according to a preset priority level of the grayscale factor, for example, if the priority level of the ID of the user is the highest, the ID of the user may be directly determined as the target grayscale factor when the grayscale factor includes the ID of the user.
And determining the gray scale version of the target page according to the target gray scale factor and the gray scale determination algorithm. The specific embodiment of determining the gray scale version of the target page according to the target gray scale factor and the gray scale determination algorithm is described above. For example, when there are a plurality of target gray scale factors, the gray scale versions respectively determined by the target gray scale factors may be processed in the manner described in the above embodiment, so as to obtain the gray scale version of the page. Therefore, the complexity of determining the gray level version according to the multiple gray level factors can be effectively simplified, the determination efficiency of the gray level version is improved, and the response time of the page is conveniently shortened.
The present disclosure also provides a gray scale issuing apparatus, as shown in the figure, the apparatus 10 includes:
an obtaining module 100 configured to obtain a grayscale factor in a page request, where the grayscale factor is used to represent 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 grayscale version of the target page according to the grayscale factor and the grayscale determining algorithm;
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 gradation factor;
a second determining submodule configured to determine a grayscale version of the target page according to the grayscale factor and a grayscale determining algorithm including identification information corresponding to the factor type, where the identification information in the grayscale determining algorithm is used to characterize a condition corresponding to the grayscale factor.
Optionally, the factor type is an identifier type; the identification information corresponding to the factor type includes a grayscale identification;
accordingly, the second determination submodule includes:
a first matching submodule configured to determine whether the grayscale factor matches the grayscale signature;
a third determining sub-module configured to determine the grayscale version to be the first version if the grayscale factor matches the grayscale identification; and under the condition that the gray scale factor is not matched with the gray scale identification, determining that the gray scale version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, the grayscale identification is a plurality of groups, and the first matching sub-module includes:
the fourth determining submodule is configured to determine a target group of the gray scale identifiers to be matched according to a preset sequence;
a second matching submodule configured to determine whether the grayscale factor matches a grayscale identification in the target grouping;
a fifth determining sub-module configured to determine that the grayscale factor matches a grayscale signature in the grayscale determining algorithm if it is determined that the grayscale factor matches a grayscale signature in the target grouping; and under the condition that the gray scale factor is determined not to be matched with each gray scale identifier 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 scale factor is matched with the gray scale identifier in the target group.
Optionally, the factor type is a scale type; the identification information corresponding to the factor type includes a range identification;
accordingly, the second determination submodule includes:
an extraction submodule configured to extract an identification code from the grayscale factor, wherein the identification code is a partial sequence of the sequence of grayscale factors;
a sixth determining sub-module configured to determine that the grayscale version is the first version if the identification code belongs to the range represented 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 grayscale 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 value type; the identification information corresponding to the factor type includes a numerical identification;
accordingly, the second determination submodule includes:
an acquisition submodule configured to acquire a number of each bit of the gradation factor;
a seventh determining sub-module configured to determine, for each of the numbers, a numerical comparison result of the number with a number in the number identification where the number is located;
a merging submodule configured to merge the numerical comparison results of each of the numbers according to the height of a bit to obtain a target comparison result of the gray scale factor;
an eighth determining sub-module 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 grayscale version is a second version, wherein the first version and the second version are different versions of the target page.
Optionally, if there are a plurality of gray-scale factors, the second determining module includes:
a ninth determining sub-module configured to determine an initial grayscale version of the target page according to each grayscale factor;
and the processing submodule is configured to process each initial gray scale version according to the relation between each gray scale factor to obtain a gray scale version of the target page.
Optionally, if there are a plurality of gray-scale factors, the second determining module includes:
a tenth determining submodule configured to determine a target grayscale factor from the plurality of grayscale factors;
an eleventh determining sub-module configured to determine a grayscale version of the target page according to the target grayscale factor and the grayscale determining algorithm.
Optionally, the grayscale determining algorithm is stored in the page based on a generating means comprising:
the receiving module is configured to receive a gray level issuing configuration instruction, wherein the gray level issuing configuration instruction indicates a gray level issuing strategy and page identification information to be subjected to gray level issuing;
a generation module configured to generate the gray level determination algorithm according to the gray level issuing policy;
a storage module configured to store the grayscale determination algorithm in a page corresponding to the page identification information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram illustrating an electronic device 700 according to an example embodiment. As shown in fig. 4, the electronic device 700 may include: a processor 701 and 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, so as to complete all or part of the steps in the gray scale issuing method. The memory 702 is used to store various types of data to support operation at the electronic device 700, such as instructions for any application or method operating on the electronic device 700 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and the like. The Memory 702 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia components 703 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 702 or transmitted through the communication component 705. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 705 may thus include: 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 (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described gray scale publishing method.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described gray scale issuance method. For example, the computer readable storage medium may be the memory 702 described above including program instructions that are executable by the processor 701 of the electronic device 700 to perform the grayscale distribution method described above.
Fig. 5 is a block diagram illustrating an electronic device 1900 according to an example embodiment. For example, the electronic device 1900 may be provided as a server. Referring to fig. 5, an 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 that each correspond to a set of instructions. Further, the processor 1922 may be configured to execute the computer program to perform the gray scale distribution method described above.
Additionally, electronic device 1900 may also 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, e.g., wired or wireless communication, of the electronic device 1900. In addition, the electronic device 1900 may also include input/output (I/O) interfaces 1958. The electronic device 1900 may operate based on an operating system, such as Windows Server, Mac OS XTM, UnixTM, Linux, etc., stored in memory 1932.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described gray scale issuance method. For example, the computer readable storage medium may be the memory 1932 described above that includes program instructions that are executable by the processor 1922 of the electronic device 1900 to perform the grayscale distribution method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described gray scale publishing method when executed by the programmable apparatus.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (12)

1. A gray scale publishing method, comprising:
acquiring a gray scale factor in a page request, wherein the gray scale 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 determination algorithm is stored in the target page;
determining a gray level version of the target page according to the gray level factor and the gray level determination algorithm;
rendering the target page based on the page resources corresponding to the grayscale version.
2. The method of claim 1, wherein determining the grayscale version of the target page according to the grayscale factor and the grayscale determination algorithm comprises:
determining a factor type of the gamma factor;
and determining the gray level version of the target page according to the gray level factor and a gray level determination algorithm containing identification information corresponding to the factor type, wherein the identification information in the gray level determination algorithm is used for representing the condition corresponding to the gray level factor.
3. The method of claim 2, wherein the factor type is an identity type; the identification information corresponding to the factor type includes a grayscale identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type includes:
determining whether the grayscale factor matches the grayscale signature;
under the condition that the gray scale factor is matched with the gray scale identifier, determining that the gray scale version is a first version;
and under the condition that the gray scale factor is not matched with the gray scale identification, determining that the gray scale 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 3, wherein the gray scale marker is in a plurality of groups, and wherein determining whether the gray scale factor matches a gray scale marker comprises:
determining a target group of gray marks to be matched according to a preset sequence;
determining whether the grayscale factor matches a grayscale identification in the target grouping;
determining that the gray scale factor matches a gray scale identifier in the gray scale determination algorithm if it is determined that the gray scale factor matches a gray scale identifier in the target group;
and under the condition that the gray scale factor is determined not to be matched with each gray scale mark in the target group and a group which is not matched yet exists, determining a new target group from the group which is not matched yet, and returning to the step of determining whether the gray scale factor is matched with the gray scale mark in the target group.
5. The method of claim 2, wherein the factor type is a scale type; the identification information corresponding to the factor type includes a range identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type includes:
extracting an identification code from the gray scale factor, wherein the identification code is a partial sequence in the sequence of the gray scale factor;
under the condition that the identification code belongs to the range represented by the range identifier, determining the gray-scale version as a first version;
and under the condition that the identification code does not belong to the range represented by the range identifier, determining that the grayscale version is a second version, wherein the first version and the second version are different versions of the target page.
6. The algorithm of claim 2, wherein the factor type is a numeric type; the identification information corresponding to the factor type includes a numerical identification;
correspondingly, the determining the gray level version of the target page according to the gray level factor and the gray level determination algorithm containing the identification information corresponding to the factor type includes:
acquiring the number of each bit of the gray scale factor;
for each number, determining the numerical comparison result of the number and the number in the number identification where the number is located;
combining the numerical comparison results of each number according to the height of the digit to obtain the target comparison result of the gray scale factor;
determining the gray version as 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 grayscale version is a second version, wherein the first version and the second version are different versions of the target page.
7. The method of claim 1, wherein if there are a plurality of gray scale factors, said determining the gray scale version of the target page according to the gray scale factors and the gray scale determination algorithm comprises:
determining an initial gray level version of the target page according to each gray level factor;
and processing each initial gray level version according to the relation between each gray level factor to obtain the gray level version of the target page.
8. The method of claim 1, wherein if there are a plurality of gray scale factors, said determining the gray scale version of the target page according to the gray scale factors and the gray scale determination algorithm comprises:
determining a target gray scale factor from a plurality of the gray scale factors;
and determining the gray scale version of the target page according to the target gray scale factor and the gray scale determination algorithm.
9. The method of claim 1, wherein the gray level determination algorithm is stored in the page by:
receiving a gray level issuing configuration instruction, wherein the gray level issuing configuration instruction indicates a gray level issuing strategy and page identification information to be subjected to gray level issuing;
generating the gray level determining algorithm according to the gray level issuing strategy;
and storing the gray level determination algorithm in a page corresponding to the page identification information.
10. A gradation issuance apparatus, characterized by comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire a gray-scale factor in a page request, wherein the gray-scale 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 determination module configured to determine a grayscale version of the target page according to the grayscale factor and the grayscale determination algorithm;
a rendering module configured to render the target page based on page resources corresponding to the grayscale version.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
12. 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-9.
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 true CN111290779A (en) 2020-06-16
CN111290779B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835606A (en) * 2021-03-31 2021-05-25 中国工商银行股份有限公司 Gradation issuing method, gradation issuing apparatus, electronic device, gradation issuing medium, and program product
CN113553080A (en) * 2021-07-02 2021-10-26 深圳云之家网络有限公司 Application upgrading method and device, computer equipment and storage medium
CN113778464A (en) * 2020-08-07 2021-12-10 北京沃东天骏信息技术有限公司 Small program gray scale publishing method and device
CN114363343A (en) * 2021-12-30 2022-04-15 上海浦东发展银行股份有限公司 Request data processing method and device based on micro-service architecture and computer equipment
CN114697304A (en) * 2020-12-28 2022-07-01 京东科技控股股份有限公司 Gray scale publishing method, system, device, equipment and storage medium

Citations (13)

* 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
WO2017071425A1 (en) * 2015-10-29 2017-05-04 腾讯科技(深圳)有限公司 Method and device for updating version
CN107920112A (en) * 2017-11-01 2018-04-17 重庆金融资产交易所有限责任公司 Support configuration file method for pushing, central server and the storage medium of grayscale mode
CN108470001A (en) * 2018-03-16 2018-08-31 北京腾云天下科技有限公司 A kind of web application gray scale dissemination 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
CN109683936A (en) * 2018-12-20 2019-04-26 恒生电子股份有限公司 Gray scale dissemination method and device, storage medium and electronic equipment
CN109815405A (en) * 2019-01-31 2019-05-28 北京三快在线科技有限公司 Gray scale shunt method and system
CN109871224A (en) * 2019-02-13 2019-06-11 北京炎黄新星网络科技有限公司 A kind of gray scale dissemination method, system, medium and equipment based on user identifier
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110399147A (en) * 2019-06-04 2019-11-01 菜鸟智能物流控股有限公司 Version release system and method and electronic equipment
CN110493336A (en) * 2019-08-15 2019-11-22 问问智能信息科技有限公司 The method and apparatus at target user end are determined in a kind of gray scale issuing process
CN110601922A (en) * 2019-09-18 2019-12-20 北京三快在线科技有限公司 Method and device for realizing comparison experiment, electronic equipment and storage medium

Patent Citations (13)

* 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
WO2017071425A1 (en) * 2015-10-29 2017-05-04 腾讯科技(深圳)有限公司 Method and device for updating version
CN107920112A (en) * 2017-11-01 2018-04-17 重庆金融资产交易所有限责任公司 Support configuration file method for pushing, central server and the storage medium of grayscale mode
CN108470001A (en) * 2018-03-16 2018-08-31 北京腾云天下科技有限公司 A kind of web application gray scale dissemination 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
CN109683936A (en) * 2018-12-20 2019-04-26 恒生电子股份有限公司 Gray scale dissemination method and device, storage medium and electronic equipment
CN109815405A (en) * 2019-01-31 2019-05-28 北京三快在线科技有限公司 Gray scale shunt method and system
CN109871224A (en) * 2019-02-13 2019-06-11 北京炎黄新星网络科技有限公司 A kind of gray scale dissemination method, system, medium and equipment based on user identifier
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication
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
CN110493336A (en) * 2019-08-15 2019-11-22 问问智能信息科技有限公司 The method and apparatus at target user end are determined in a kind of gray scale issuing process
CN110601922A (en) * 2019-09-18 2019-12-20 北京三快在线科技有限公司 Method and device for realizing comparison experiment, electronic equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778464A (en) * 2020-08-07 2021-12-10 北京沃东天骏信息技术有限公司 Small program gray scale publishing method and device
CN114697304A (en) * 2020-12-28 2022-07-01 京东科技控股股份有限公司 Gray scale publishing method, system, device, equipment and storage medium
WO2022142536A1 (en) * 2020-12-28 2022-07-07 京东科技控股股份有限公司 Grayscale publishing method, system and apparatus, and device and storage medium
CN114697304B (en) * 2020-12-28 2023-12-01 京东科技控股股份有限公司 Gray release method, system, device, equipment and storage medium
CN112835606A (en) * 2021-03-31 2021-05-25 中国工商银行股份有限公司 Gradation issuing method, gradation issuing apparatus, electronic device, gradation issuing medium, and program product
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
CN114363343A (en) * 2021-12-30 2022-04-15 上海浦东发展银行股份有限公司 Request data processing method and device based on micro-service architecture and computer equipment
CN114363343B (en) * 2021-12-30 2024-04-30 上海浦东发展银行股份有限公司 Method and device for processing request data based on micro-service architecture and computer equipment

Also Published As

Publication number Publication date
CN111290779B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN111290779A (en) Gray scale distribution method, device, storage medium and electronic equipment
CN111090628B (en) Data processing method and device, storage medium and electronic equipment
CN108459964B (en) Test case selection method, device, equipment and computer readable storage medium
US7581047B2 (en) Usage of keyboard driver in extensible firmware interface for adding new hot keys at firmware level
CN108776587B (en) Data acquisition method and device, computer equipment and storage medium
CN109284321B (en) Data loading method, device, computing equipment and computer readable storage medium
CN111090582A (en) Error code positioning method and device, storage medium and electronic equipment
CN109542475A (en) Data-updating method, device, storage medium and the server of system multi version
CN111414379A (en) Serial number generation method, device, equipment and computer readable storage medium
CN110830234A (en) User traffic distribution method and device
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
CN110572451A (en) Data processing method, device and storage medium
CN113010224A (en) Front-end micro-service method, device, computer equipment and storage medium
CN110737711A (en) Report exporting method and device, computer equipment and storage medium
CN112860706A (en) Service processing method, 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
CN114780615A (en) Error code management method and device thereof
EP3828739B1 (en) Parallelization of authentication strategies
CN113626512A (en) Data processing method, device, equipment and readable storage medium
CN115344315A (en) Skin switching method and device of applet page and electronic equipment
CN112199923A (en) Identification generation method, system, device and medium based on distributed system
CN113377381B (en) Distribution method and device of small program package, electronic equipment and medium
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN114637969A (en) Target object authentication 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