CN114697304B - Gray release method, system, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN114697304B
CN114697304B CN202011585155.8A CN202011585155A CN114697304B CN 114697304 B CN114697304 B CN 114697304B CN 202011585155 A CN202011585155 A CN 202011585155A CN 114697304 B CN114697304 B CN 114697304B
Authority
CN
China
Prior art keywords
page
gray
client
server
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011585155.8A
Other languages
Chinese (zh)
Other versions
CN114697304A (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.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding 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 Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202011585155.8A priority Critical patent/CN114697304B/en
Priority to PCT/CN2021/120918 priority patent/WO2022142536A1/en
Publication of CN114697304A publication Critical patent/CN114697304A/en
Application granted granted Critical
Publication of CN114697304B publication Critical patent/CN114697304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The embodiment of the invention discloses a gray level publishing method, a gray level publishing system, a gray level publishing device, gray level publishing equipment and a gray level publishing storage medium. The method comprises the following steps: when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request; matching the gray scale identification information with gray scale configuration information; if the matching is successful, the page configuration list recorded with the offline download address corresponding to the page is sent to the client, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit. According to the embodiment of the invention, the gray identification information is matched with the gray configuration information, and the page configuration list recorded with the offline download address corresponding to the page is sent to the client, so that the problem that gray release needs to cooperate with operators is solved, and the controllability and the gray release efficiency of gray release are improved.

Description

Gray release method, system, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet, in particular to a gray level publishing method, a gray level publishing system, a gray level publishing device, gray level publishing equipment and a gray level publishing storage medium.
Background
The current internet product has large user scale and frequent version update, and the product bears great running risk every time the new version is online. Gray release refers to a release mode for smooth transition between black and white, and the risk of online operation of a new version can be well avoided. Specifically, gray release selects a part of users to use the product characteristic A and another part of users to use the product characteristic B, if the operation of the product characteristic A is not abnormal, the user use range of the product characteristic A is gradually expanded until all users use the product characteristic A, and even if the operation is abnormal, the influence degree of the user can be reduced to the greatest extent.
The prior gray level release is mainly performed by cooperating with an operator, specifically, a page needing gray level release is released to a designated server, the designated server is accessed to a designated operator network, and only a terminal using the operator network can access the page on the designated server.
In the process of realizing the invention, the prior art is found to have at least the following technical problems:
the mode of cooperation with operators relates to subscription cooperation, unknown factors are more, and when configuration information of gray release needs to be changed, the configuration information can be realized through operators, so that the controllability of gray release is poor and the efficiency of gray release is low.
Disclosure of Invention
The embodiment of the invention provides a gray level release method, a system, a device, equipment and a storage medium, which are used for solving the problem that gray level release needs to cooperate with operators and improving the controllability and release efficiency of gray level release.
In a first aspect, an embodiment of the present invention provides a gray scale publishing method, where the method includes:
when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request; the gray identification information comprises a value of a preset gray filtering parameter determined by the client;
matching the gray scale identification information with gray scale configuration information; the gray level configuration information comprises a value range of preset gray level filtering parameters preset for a page of the client;
and if the matching is successful, sending a page configuration list recorded with an offline download address corresponding to the page to a client, so that the client downloads the offline resource file from the first server to a local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
In a second aspect, an embodiment of the present invention further provides a gray scale publishing method, where the method includes:
the method comprises the steps that a page configuration downloading request containing gray identification information is sent to a gateway server, so that the gateway server matches the gray identification information with gray configuration information, and if matching is successful, a page configuration list recorded with an offline downloading address corresponding to the page is sent to a client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client, and the gray configuration information comprises a value range of the preset gray filtering parameter preset for a page of the client;
and downloading the offline resource file from the first server to the local storage unit based on the page configuration list sent by the gateway server, and rendering and displaying the page based on the offline resource file in the local storage unit.
In a third aspect, an embodiment of the present invention further provides a gray scale publishing system, where the system includes: the system comprises a gateway server, a client and a first server;
the gateway server is used for acquiring gray scale identification information in the page configuration downloading request when the page configuration downloading request is received, matching the gray scale identification information with the gray scale configuration information, and if the matching is successful, sending a page configuration list recorded with an offline downloading address corresponding to the page to the client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client, and the gray configuration information comprises a value range of the preset gray filtering parameter preset for a page of the client;
The client is used for sending a page configuration downloading request to the gateway server, downloading an offline resource file from the first server to the local storage unit based on a page configuration list sent by the gateway server, and rendering and displaying a page based on the offline resource file in the local storage unit;
the first server is used for storing the offline resource file of at least one page.
In a fourth aspect, an embodiment of the present invention further provides a gray scale publishing device, where the device includes:
the system comprises a gray identification information acquisition module, a gray identification information processing module and a gray identification information processing module, wherein the gray identification information acquisition module is used for acquiring gray identification information in a page configuration downloading request when receiving the page configuration downloading request sent by a client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client;
the gray scale identification information matching module is used for matching the gray scale identification information with gray scale configuration information; the gray level configuration information comprises a value range of preset gray level filtering parameters preset for a page of the client;
and the page configuration list sending module is used for sending the page configuration list recorded with the offline download address corresponding to the page to the client if the matching is successful, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
In a fifth aspect, an embodiment of the present invention further provides a gray scale publishing device, including:
the system comprises a page configuration downloading request sending module, a gateway server and a client, wherein the page configuration downloading request sending module is used for sending a page configuration downloading request containing gray identification information to the gateway server so that the gateway server can match the gray identification information with the gray configuration information, and if the matching is successful, a page configuration list recorded with an offline downloading address corresponding to the page is sent to the client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client, and the gray configuration information comprises a value range of the preset gray filtering parameter preset for a page of the client;
and the page rendering display module is used for downloading the offline resource file from the first server to the local storage unit based on the page configuration list sent by the gateway server, and rendering and displaying the page based on the offline resource file in the local storage unit.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement any of the grayscale distribution methods described above.
In a seventh aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform any of the grayscale distribution methods referred to above.
The embodiments of the above invention have the following advantages or benefits:
according to the embodiment of the invention, the gray scale identification information in the page configuration downloading request is matched with the gray scale configuration information, and if the matching is successful, the page configuration list recorded with the offline downloading address corresponding to the page is sent to the client, so that the purpose of gray scale release based on the offline resource file of the page is realized, the problem that online gray scale release needs to cooperate with operators is solved, and the controllability of gray scale release and the gray scale release efficiency of the page are improved.
Drawings
Fig. 1 is a flowchart of a gray scale distribution method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a gray level distribution method according to a second embodiment of the present invention.
Fig. 3 is a flowchart of a gray scale distribution method according to a third embodiment of the present invention.
Fig. 4 is a flowchart of a gray scale distribution method according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a gray scale distribution system according to a fifth embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a specific example of a gray scale distribution system according to a fifth embodiment of the present invention.
Fig. 7 is a schematic diagram of a gray scale distribution device according to a sixth embodiment of the present invention.
Fig. 8 is a schematic diagram of a gray scale distribution device according to a seventh embodiment of the present invention.
Fig. 9 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a gray level publishing method according to an embodiment of the present invention, where the method may be applied to a case of gray level publishing a page of a client, and the method may be performed by a gray level publishing device, where the device may be implemented in a software and/or hardware manner, and where the device may be configured in a gateway server. The method specifically comprises the following steps:
S110, when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request.
In this embodiment, the gray scale identification information includes a value of a preset gray scale filtering parameter determined by the client. When detecting a page configuration triggering event, the client determines a value of a preset gray filtering parameter based on the preset gray filtering parameter, and generates gray identification information based on the value of the preset gray filtering parameter.
In one embodiment, optionally, the preset gray-scale filtering parameters include: at least one of a client operating system type, a client operating system version, a client type, a client version, user information, a crowd image, a user city, an operator, and a user device type. The client operating system type may be an IOS system, an Android system, a Windows7 system, a Windows10 system, or the like; the client operating system version may be a version number of a particular operating system; the client type may be used to characterize specific client names, such as client a and client B, which may belong to the electronic shopping type client, or client a and client B may belong to the electronic shopping type client and the map navigation type client, respectively; the client version may be a version number of a particular client; the user information comprises at least one of user name, user gender, user login password, user age and the like; crowd portrayal includes crowd characteristics and crowd information, for example, crowd portrayal includes information of age, sex, average income, occupation, etc. of low-income crowd; the operator may be mobile, corporate or telecommunications; the user equipment type may be used to describe a device type of the installation client, such as a mobile terminal, a notebook computer or a tablet computer, and in particular, the user equipment type may also include a device brand.
For example, the values of the preset gray scale filter parameters in the gray scale identification information include IOS system, IOS14.3 version, jindong APP (application program), 9.3.0 version, zhang san, low income group with age 28 years old, beijing, mobile and apple phone.
It should be noted that, the preset gray-scale filtering parameters are only illustrated by way of example and not limited thereto, and the specific setting and the value range of the preset gray-scale filtering parameters may be set according to specific requirements.
And S120, matching the gray scale identification information with the gray scale configuration information.
In this embodiment, the gray configuration information includes a range of values of preset gray filtering parameters preset for a page of the client. The page of the client side specifically comprises a page for gray level publishing. The preset gray level filtering parameters in the gray level configuration information correspond to the preset gray level filtering parameters in the gray level identification information, if the gray level identification information and the gray level configuration information are successfully matched, the values of the preset gray level filtering parameters in the gray level identification information are identical to the values of one group of preset gray level filtering parameters in the gray level configuration information, and if the gray level identification information and the gray level configuration information are failed to be matched, the values of any group of preset gray level filtering parameters in the gray level identification information and the gray level configuration information are different. Wherein the set of values of the preset gray-scale filtering parameters includes at least one value of the preset gray-scale filtering parameters. For example, assume that the range of values of the user city and the operator in the gray configuration information are respectively: beijing & Shanghai and Mobile & UNICOM, the gray configuration information includes values of four sets of preset gray filtering parameters, namely Beijing and Mobile, beijing and UNICOM, shanghai and Mobile, and Shanghai and UNICOM, respectively. If the user city and the operator in the gray scale identification information are Beijing and mobile respectively, the gray scale identification information is successfully matched with the gray scale configuration information, and if the user city and the operator in the gray scale identification information are Shenzhen and mobile, the gray scale identification information is failed to be matched with the gray scale configuration information.
In one embodiment, optionally, before matching the gray scale identification information with the gray scale configuration information, the method further comprises: acquiring gray configuration information from a data storage server; wherein the gradation configuration information is written in advance in the data storage server by the third server.
In one embodiment, the grayscale configuration information is optionally initial grayscale configuration information received by the third server from the user input. The third server is provided with an offline platform system, which is compiled based on Nodejs sentences, in an exemplary mode. The user may input the initial gray scale configuration information based on an offline platform system built on the third server.
And S130, if the matching is successful, sending a page configuration list recorded with an offline download address corresponding to the page to the client, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
In one embodiment, optionally, the first server is a cloud server. The cloud server is a server which can provide simple, efficient, safe and reliable computing services with elastically scalable processing capacity. In one embodiment, optionally, the cloud server may be a JSS server (Jingdong Store Service). Specifically, the JSS server may provide management functions for file storage, access, backup, and sharing to users.
The offline resource file is obtained by downloading from the first server according to an offline download address corresponding to the page recorded in the page configuration list. The offline download address is used for representing the storage address of the offline resource file corresponding to the page in the first server.
The offline resource file contains information for rendering the page, and includes an HTML (HyperText Markup Language ) file and a rendering resource, for example. The offline resource path referenced by the HTML file is a storage path of the rendering resource in the local storage unit. Exemplary rendering resources include, but are not limited to, at least one of CSS files, JS files, videos, and pictures.
According to the technical scheme, the gray scale identification information in the page configuration downloading request is matched with the gray scale configuration information, if the matching is successful, the page configuration list recorded with the offline downloading address corresponding to the page is sent to the client, the purpose of gray scale release based on the offline resource file of the page is achieved, the problem that online gray scale release needs to cooperate with operators is solved, and therefore the controllability of gray scale release and the gray scale release efficiency of the page are improved.
Example two
Fig. 2 is a flowchart of a gray level distribution method according to a second embodiment of the present invention, and the technical solution of this embodiment is further refinement based on the foregoing embodiment. Optionally, before sending the page configuration list recorded with the offline download address corresponding to the page to the client, the method further includes: acquiring the sent times of the page configuration list; and comparing the sent times with the maximum access times, and if the sent times are smaller than or equal to the maximum allowed access times, triggering and executing the operation of sending the page configuration list recorded with the offline download address corresponding to the page to the client.
Further, the method further comprises: and if the sent times are greater than the maximum allowed access times, sending the uniform resource location URL address corresponding to the page to the client so that the client obtains the hypertext markup language (HTML) file on the second server based on the URL address and renders and displays the HTML file.
The specific implementation steps of the embodiment include:
s210, when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request.
S220, matching the gray level identification information with the gray level configuration information, and if the matching is successful, acquiring the sent times of the page configuration list.
The sent number of times may be used to characterize the number of times the client downloads the offline resource file corresponding to the page from the first server. In one embodiment, optionally, obtaining the number of times the page configuration list has been sent includes: and transmitting the page configuration list recorded with the offline download address corresponding to the page to the client, and adding one operation to the execution times to obtain the transmitted times.
It should be noted that, the step of "obtaining the number of times of transmission of the page configuration list" may also be explained by taking the step of "obtaining the number of times of transmission of the page configuration list" as an example after "matching the gradation identification information with the gradation configuration information" before "matching the gradation identification information with the gradation configuration information".
S230, judging whether the sent times are larger than the maximum access times, if so, executing S240, and if not, executing S250.
Specifically, the maximum access times may be used to characterize the maximum transmission times of the page configuration list recorded with the offline download address corresponding to the page, and may also characterize the maximum download times of the offline resource file corresponding to the page downloaded by the client from the first server.
In one embodiment, optionally, the maximum number of accesses is obtained from a data storage server, wherein the maximum number of accesses is pre-written to the database storage by the third server.
In another embodiment, optionally, the gray scale configuration information includes a maximum number of accesses, and correspondingly, matching the gray scale identification information with the gray scale configuration information includes: the number of times of transmission is added to the gradation identification information, and the gradation identification information is matched with the gradation configuration information. Specifically, if the matching is successful, the sent times are smaller than or equal to the maximum access times, and if the matching is failed, the sent times are larger than the maximum access times.
And S240, sending the URL address corresponding to the page to the client so that the client obtains the HTML file on the second server based on the URL address, and rendering and displaying the page based on the HTML file.
The URL (Uniform Resource Locator ) address is a representation of a location address of a resource accessible on the internet. Illustratively, the URL address is made up of a string of characters, which may be letters, numbers, and special symbols.
The exemplary sending the URL address corresponding to the page to the client includes: and sending the page configuration list recorded with the URL address corresponding to the page to the client.
In one embodiment, the second server is optionally a web server. The website server may be a physical server configured with independent domain name addresses. The web server may be an Apache server, an nginnx server, or an IIS server, for example. Wherein, the resource path referenced by the HTML file in the website server is different from the resource path referenced by the HTML file in the offline resource file. The resource path referenced by the HTML file in the web server is a path related to the domain name address of the web server, and the resource path referenced by the HTML file in the offline resource file is a path related to the storage path of the offline resource file in the local storage unit. Accordingly, the HTML file downloaded from the web server is different from the HTML file in the offline resource file.
S250, sending the page configuration list recorded with the offline download address corresponding to the page to the client, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
According to the technical scheme, the problem of limiting the downloading times of the offline resource file is solved by acquiring the transmitted times of the page configuration list and comparing the transmitted times with the maximum access times, so that the gray test data corresponding to the limited number of pages rendered and displayed based on the offline resource file can be acquired, and quantitative data analysis can be performed on the limited number of gray test data. Further, when the sent times are greater than the maximum allowed access times, the embodiment sends the URL address corresponding to the page to the client, so that the client corresponding to the gray identification information matched with the gray configuration information can render and display the page, and the purpose of on-line gray release of the page is achieved.
Example III
Fig. 3 is a flowchart of a gray level distribution method according to a third embodiment of the present invention, and the technical solution of this embodiment is further refinement based on the foregoing embodiment. Optionally, the gray scale configuration information is updated gray scale configuration information obtained by adjusting target gray scale configuration information corresponding to the gray scale test data in the existing gray scale configuration information based on the gray scale test data of the page by the third server.
The specific implementation steps of the embodiment include:
s310, when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request.
S320, acquiring the gray scale test data of the page based on the gray scale test data of the third server from the data storage server, and adjusting the target gray scale configuration information corresponding to the gray scale test data in the existing gray scale configuration information to obtain updated gray scale configuration information.
The gray test data can be used for describing test data of the page in the rendering display process of the client. Illustratively, the gray scale test data includes, but is not limited to, the number of page display errors, the number of page time-out displays, the number of pages accessed, and feedback information sent by the client, which may be, illustratively, the satisfaction of the page. The specific data content contained in the gradation test data is not limited herein.
Specifically, the existing gray scale information includes initial gray scale configuration information input by a user, second gray scale configuration information corresponding to the first adjustment operation, third gray scale configuration information corresponding to the second adjustment operation, and the like. The target gradation configuration information corresponding to the gradation test data represents gradation configuration information currently used for matching with the gradation identification information. For example, assuming that the target gradation information corresponding to the gradation test data is the third gradation configuration information, the gradation configuration information is updated to the fourth gradation configuration information corresponding to the third adjustment operation.
In one embodiment, optionally, the updated grayscale configuration information includes first updated grayscale configuration information obtained by the third server performing an information modification operation on the target grayscale configuration information according to the grayscale test data of the page, or second updated grayscale configuration information obtained by the third server performing an information addition operation on the target grayscale configuration information according to the grayscale test data of the page.
The information modification operation may be, for example, modifying the value range a of the preset gray-scale filtering parameter in the target gray-scale configuration information to the value range B, where the value range a is specifically disjoint to the value range B. For example, the type of the client operating system in the target gray scale configuration information is an IOS system, and the type of the client operating system in the first updated gray scale configuration information is an Android system.
The information adding operation may be, for example, modifying the value range a of the preset gray-scale filtering parameter in the target gray-scale configuration information to the value range B, where the value range a is specifically included in the value range B. For example, the type of the client operating system in the target gray scale configuration information is an IOS system, and the type of the client operating system in the second updated gray scale configuration information is an IOS system and an Android system.
In one embodiment, optionally, the third server performs an information modification operation on the target gradation configuration information corresponding to the gradation test data satisfying the preset failure criterion. The preset fault criteria may be, for example, that the number of page display errors is greater than a preset number of times threshold and/or that the page access rate is less than a preset access threshold. For example, if the gray test data corresponding to the IOS system meets the preset fault standard, the IOS system is modified to be an Android system. The method has the advantages that the problem that gray test data meeting preset fault standards appear on the client is avoided by executing information change operation on the gray configuration information, and therefore the page display effect of the client meeting gray release conditions is prevented from being influenced.
In one embodiment, optionally, the third server performs an information adding operation on the target gray scale configuration information corresponding to the gray scale test data satisfying the preset verification standard. The preset verification standard may be opposite to the preset fault standard, for example, the preset verification standard may be that the number of page display errors is less than or equal to a preset number of times threshold and/or the page access rate is greater than or equal to a preset access threshold. For example, if the gray test data corresponding to the IOS system meets the preset verification standard, modifying the value range of the client operating system type into the IOS system and the Android system. The method has the advantages that by executing information adding operation on the gray configuration information, when the gray test information meets the preset verification standard, the application range of the client meeting the gray release condition can be widened in time, and therefore the transition efficiency from gray release to full release is improved.
S330, matching the gray scale identification information with the updated gray scale configuration information.
On the basis of the foregoing embodiment, optionally, when updating the grayscale configuration information first updates the grayscale configuration information, the method further includes: reading target gray scale configuration information corresponding to the first updated gray scale configuration information from the data storage server, and matching the gray scale identification information with the target gray scale configuration information; and if the matching is successful, sending the URL address corresponding to the page to the client so that the client obtains the HTML file on the second server based on the URL address and renders and displays the page based on the HTML file.
Specifically, the target gray scale configuration information is gray scale configuration information before the information modification operation is performed, which corresponds to the first updated gray scale configuration information.
The advantage of this arrangement is that, although the problem that the gray test data meeting the preset fault standard appears in the client due to the target gray configuration information is avoided in time by adjusting the target gray configuration information to the first updated gray configuration information, the client meeting the target gray configuration information may still belong to the client needing gray test. According to the embodiment, the target gray scale configuration information and the gray scale identification information are matched, and the URL address is sent to the successfully matched client, so that the purpose of carrying out on-line gray scale test on the client meeting the target gray scale configuration information is achieved, and the integrity of gray scale test data in the gray scale release process is further ensured.
And S340, if the matching is successful, sending a page configuration list recorded with an offline download address corresponding to the page to the client, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
According to the technical scheme, the gray identification information is matched with the updated gray configuration information, and specifically, the updated gray configuration information comprises the first updated gray configuration information and the second updated gray configuration information which execute information changing operation or information adding operation, so that the problem of updating the gray configuration information is solved, the page display effect of a client meeting gray release conditions is improved, and the transition efficiency of a page from gray release to full release is improved.
Example IV
Fig. 4 is a flowchart of a gray level publishing method according to a fourth embodiment of the present invention, where the method may be applied to a case of gray level publishing a page of a client, and the method may be performed by a gray level publishing device, where the device may be implemented in a software and/or hardware manner, and where the device may be configured in a gateway server. The method specifically comprises the following steps:
S410, sending a page configuration downloading request containing gray identification information to a gateway server so that the gateway server can match the gray identification information with the gray configuration information, and if the matching is successful, sending a page configuration list recorded with an offline downloading address corresponding to the page to the client.
In this embodiment, the gray scale identification information includes a value of a preset gray scale filtering parameter determined by the client, and the gray scale configuration information includes a value range of the preset gray scale filtering parameter preset for a page of the client.
In one embodiment, optionally, the preset gray-scale filtering parameters include: at least one of a client operating system type, a client operating system version, a client type, a client version, user information, a crowd image, a user city, an operator, and a user device type. The client operating system type may be an IOS system, an Android system, a Windows7 system, a Windows10 system, or the like; the client operating system version may be a version number of a particular operating system; the client type may be used to characterize specific client names, such as client a and client B, which may belong to the electronic shopping type client, or client a and client B may belong to the electronic shopping type client and the map navigation type client, respectively; the client version may be a version number of a particular client; the user information comprises at least one of user name, user gender, user login password, user age and the like; crowd portrayal includes crowd characteristics and crowd information, for example, crowd portrayal includes information of age, sex, average income, occupation, etc. of low-income crowd; the operator may be mobile, corporate or telecommunications; the user equipment type may be used to describe a device type of the installation client, such as a mobile terminal, a notebook computer or a tablet computer, and in particular, the user equipment type may also include a device brand.
For example, the values of the preset gray scale filter parameters in the gray scale identification information include IOS system, IOS14.3 version, jindong APP (application program), 9.3.0 version, zhang san, low income group with age 28 years old, beijing, mobile and apple phone.
It should be noted that, the preset gray-scale filtering parameters are only illustrated by way of example and not limited thereto, and the specific setting and the value range of the preset gray-scale filtering parameters may be set according to specific requirements.
The page of the client side specifically comprises a page for gray level publishing. The preset gray level filtering parameters in the gray level configuration information correspond to the preset gray level filtering parameters in the gray level identification information, if the gray level identification information and the gray level configuration information are successfully matched, the values of the preset gray level filtering parameters in the gray level identification information are identical to the values of one group of preset gray level filtering parameters in the gray level configuration information, and if the gray level identification information and the gray level configuration information are failed to be matched, the values of any group of preset gray level filtering parameters in the gray level identification information and the gray level configuration information are different. Wherein the set of values of the preset gray-scale filtering parameters includes at least one value of the preset gray-scale filtering parameters. For example, assume that the range of values of the user city and the operator in the gray configuration information are respectively: beijing & Shanghai and Mobile & UNICOM, the gray configuration information includes values of four sets of preset gray filtering parameters, namely Beijing and Mobile, beijing and UNICOM, shanghai and Mobile, and Shanghai and UNICOM, respectively. If the user city and the operator in the gray scale identification information are Beijing and mobile respectively, the gray scale identification information is successfully matched with the gray scale configuration information, and if the user city and the operator in the gray scale identification information are Shenzhen and mobile, the gray scale identification information is failed to be matched with the gray scale configuration information.
The gateway server may be, for example, a Java gateway interface server.
In one embodiment, optionally, the page configuration download request is generated when a page configuration trigger event is detected, where the page configuration trigger event includes at least one of a page display trigger event, a client start event, and a client context switch event.
Specifically, when at least one of a page display trigger event, a client start event, a client switching from a foreground operation to a background event, and a client switching from the background operation to the foreground event is detected, a page configuration download request is generated.
The client determines a value of the preset gray filtering parameter based on the preset gray filtering parameter, and generates gray identification information based on the value of the preset gray filtering parameter.
S420, based on the page configuration list sent by the gateway server, downloading the offline resource file from the first server to the local storage unit, and rendering and displaying the page based on the offline resource file in the local storage unit.
The local storage unit is a storage unit arranged in the client, and specifically, the storage unit has the functions of storing data and reading and writing the data.
The offline resource file is obtained by downloading from the first server according to an offline download address corresponding to the page recorded in the page configuration list. The offline download address is used for representing the storage address of the offline resource file corresponding to the page in the first server.
In one embodiment, optionally, the first server is a cloud server. The cloud server is a server which can provide simple, efficient, safe and reliable computing services with elastically scalable processing capacity. In one embodiment, optionally, the cloud server may be a JSS server (Jingdong Store Service). Specifically, the JSS server may provide management functions for file storage, access, backup, and sharing to users.
The offline resource file contains information for rendering the page, and illustratively, the offline resource file includes an HTML file and a rendering resource. The offline resource path referenced by the HTML file is a storage path of the rendering resource in the local storage unit. Exemplary rendering resources include, but are not limited to, at least one of CSS files, JS files, videos, and pictures.
According to the technical scheme, the page configuration downloading request containing the gray identification information is sent to the gateway server, the page configuration list sent by the gateway server when the gray identification information is successfully matched with the gray configuration information is received, the offline resource file is downloaded to the local storage unit from the first server based on the page configuration list, and the rendering display of the page is carried out based on the offline resource file in the local storage unit, so that the purpose of gray release of the offline resource file based on the page is achieved, the problem that online gray release needs to cooperate with operators is solved, and therefore the controllability of gray release and the gray release efficiency of the page are improved.
Example five
Fig. 5 is a schematic structural diagram of a gray scale distribution system according to a fifth embodiment of the present invention, where the embodiment of the present invention provides services for implementing the gray scale distribution method according to the foregoing embodiment of the present invention, and the gray scale distribution device provided by the present invention may be configured.
The gradation release system includes: gateway server 510, client 520, and first server 530; the gateway server 510 is configured to obtain, when receiving a page configuration download request, gray identification information in the page configuration download request, match the gray identification information with the gray configuration information, and if the matching is successful, send a page configuration list recorded with an offline download address corresponding to the page to the client 520; the gray identification information includes a value of a preset gray filtering parameter determined by the client 520, and the gray configuration information includes a value range of the preset gray filtering parameter preset for a page of the client 520; the client 520 is configured to send a page configuration download request to the gateway server 510, download an offline resource file from the first server 530 to the local storage unit based on the page configuration list sent by the gateway server 510, and render and display a page to be displayed based on the offline resource file in the local storage unit; a first server 530 for storing offline resource files for at least one page.
The gateway server 510 may be, for example, a Java gateway interface server, among others.
Specifically, the page of the client 520 includes a page for gray level distribution. The local storage unit is a storage unit provided in the client 520, and specifically, the storage unit has a function of storing data and reading and writing data.
Specifically, the offline download address is used to characterize the storage address of the offline resource file corresponding to the page in the first server 530. In one embodiment, the first server 530 is optionally a cloud server. The cloud server is a server which can provide simple, efficient, safe and reliable computing services with elastically scalable processing capacity. In one embodiment, optionally, the cloud server may be a JSS server (Jingdong Store Service). Specifically, the JSS server may provide management functions for file storage, access, backup, and sharing to users.
Based on the above embodiment, optionally, the system further includes a third server and a data storage server; the third server is used for writing the acquired gray configuration information into the data storage server; the data storage server is used for storing gray configuration information; accordingly, gateway server 510 is specifically configured to: the gradation configuration information is acquired from the data storage server.
The third server is provided with an offline platform system, which is compiled based on Nodejs sentences, in an exemplary mode.
The data storage server is a server constructed based on a database, wherein the database can be a relational database or a non-relational database, and the relational database comprises an Oracle database, a DB2 database, a Microsoft SQL Server database, a Microsoft Access database or a MySQL database, and the non-relational database comprises a NoSql database, a Cloudant database, a MongoDb database, a redis database or an HBase database. The type of database in the data storage server is not limited herein.
In one embodiment, the data storage server is optionally built based on a MySQL database and a redis database. The third server writes the gray configuration information and the page configuration list into a MySQL database in the data storage server, and the redis database synchronously stores the gray configuration information and the page configuration list in the MySQL database, so that the gateway server 510 reads the gray configuration information and the page configuration list from the redis database. This has the advantage that when a database is used for data reading, writing and processing, the processing efficiency of the database is greatly reduced when the access amount is large. The data in the MySQL database is synchronized to the redis database for synchronous storage, so that the data reading speed of the gateway server can be effectively ensured, and the loading speed of the page is further ensured.
On the basis of the above embodiment, optionally, the third server is specifically configured to: receiving initial gray scale configuration information input by a user, and writing the initial gray scale configuration information into a data storage server; or acquiring the gray test data corresponding to the page, adjusting the target gray configuration information corresponding to the gray test data in the existing gray configuration information based on the gray test data to obtain updated gray configuration information, and writing the updated gray configuration information into the data storage server.
In one embodiment, optionally, the system further comprises: the second server is used for storing an HTML file corresponding to at least one page; gateway server 510 is also configured to: acquiring the transmitted times of a page configuration list; and comparing the sent times with the maximum access times, and if the sent times are larger than the maximum allowed access times, sending the URL address corresponding to the page to the client so that the client obtains the HTML file on the second server based on the URL address and renders and displays the page based on the HTML file.
In one embodiment, the second server is optionally a web server. The website server may be a physical server configured with independent domain name addresses. The web server may be an Apache server, an nginnx server, or an IIS server, for example.
In one embodiment, optionally, the system further includes a login management platform server, configured to generate login success information according to the received user login information sent by the third server, and send the login success information to the platform third server; the user login information is sent when the third server detects that the login state corresponding to the user login information is an unregistered state. The login management platform server can deploy SSA (operation and maintenance audit system), and specifically, the SSA is a new generation operation and maintenance security audit system integrating single sign-on, account management, identity authentication, resource authorization, access control and operation audit.
Fig. 6 is a schematic structural diagram of a specific example of a gray scale distribution system according to a fifth embodiment of the present invention. Specifically, the gray level release system is divided into three layers, namely an application layer, a service layer and a data layer from top to bottom. Wherein SSA represents a login management platform server, nodejs interface service represents a third server, JSS cloud service represents a first server 530, H5 nginnx represents a second server, online APP represents a client 520, java gateway interface represents a gateway server 510, mysql and redis caches represent data storage servers.
Specifically, the background user inputs initial gray configuration information through the node js interface service provided by the third server, and specifically, the gray configuration information includes a value range of preset gray filtering parameters, where in this embodiment, the preset gray filtering parameters include a client operating system type, a client operating system version, a client type, a client version, user information, a crowd image, a user city, an operator, and a user equipment type. Specifically, the node js interface service may publish an offline package (corresponding to an offline resource file) to the JSS cloud service based on gray level publication or full volume publication, and generate a page configuration list. The Nodejs interface service writes the initial grayscale configuration information and the page configuration list into the MySQL database, and the initial grayscale configuration information and the page configuration list are synchronized in the redis cache. The on-line APP sends a page configuration downloading request containing gray identification information to a Java gateway interface, the Java gateway interface matches the gray identification information with the initial gray configuration information read from the redis cache, and if matching is successful, a page configuration list corresponding to the page read from the redis cache is sent to the on-line APP. And the online APP downloads the offline package of the page in the JSS cloud service to a local storage unit based on the offline download address in the page configuration list, and performs rendering display of the page based on the offline package in the local storage unit.
According to the technical scheme, the gray scale identification information in the page configuration downloading request is matched with the gray scale configuration information, if the matching is successful, the page configuration list recorded with the offline downloading address corresponding to the page is sent to the client, the purpose of gray scale release based on the offline resource file of the page is achieved, the problem that online gray scale release needs to cooperate with operators is solved, and therefore the controllability of gray scale release and the gray scale release efficiency of the page are improved.
Example six
Fig. 7 is a schematic diagram of a gray scale distribution device according to a sixth embodiment of the present invention. The embodiment can be suitable for the situation of gray level release of the page of the client, the device can be realized in a software and/or hardware mode, and the device can be configured in a gateway server. The gradation issuing apparatus includes: a gray identification information acquisition module 610, a gray identification information matching module 620, and a page configuration list transmission module 630.
The gray scale identification information obtaining module 610 is configured to obtain gray scale identification information in a page configuration download request when receiving the page configuration download request sent by the client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client;
A gray scale identification information matching module 620, configured to match gray scale identification information with gray scale configuration information; the gray level configuration information comprises a value range of preset gray level filtering parameters preset for a page of the client;
and the page configuration list sending module 630 is configured to send the page configuration list recorded with the offline download address corresponding to the page to the client if the matching is successful, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
According to the technical scheme, the gray scale identification information in the page configuration downloading request is matched with the gray scale configuration information, if the matching is successful, the page configuration list recorded with the offline downloading address corresponding to the page is sent to the client, the purpose of gray scale release based on the offline resource file of the page is achieved, the problem that online gray scale release needs to cooperate with operators is solved, and therefore the controllability of gray scale release and the gray scale release efficiency of the page are improved.
On the basis of the above technical solution, optionally, the apparatus further includes:
The transmitted times acquisition module is used for acquiring the transmitted times of the page configuration list before transmitting the page configuration list recorded with the offline download address corresponding to the page to the client;
the maximum access frequency comparison module is used for comparing the transmitted frequency with the maximum access frequency, and if the transmitted frequency is smaller than or equal to the maximum allowed access frequency, the operation of transmitting the page configuration list recorded with the offline download address corresponding to the page to the client is triggered and executed.
Based on the above technical solution, optionally, the maximum access frequency comparing module is further configured to:
and if the sent times are greater than the maximum allowed access times, sending the URL address of the uniform resource locator corresponding to the page to the client so that the client obtains the HTML file of the hypertext markup language on the second server based on the URL address and renders and displays the page based on the HTML file.
On the basis of the above technical solution, optionally, the apparatus further includes:
the gray scale configuration information acquisition module is used for acquiring gray scale configuration information from the data storage server before the gray scale identification information is matched with the gray scale configuration information; wherein the gradation configuration information is written in advance in the data storage server by the third server.
On the basis of the technical scheme, optionally, the gray scale configuration information is initial gray scale configuration information input by a user and received by the third server, or the third server updates gray scale configuration information obtained after adjusting target gray scale configuration information corresponding to gray scale test data in the existing gray scale configuration information based on gray scale test data of a page.
On the basis of the above technical solution, optionally, the updated gray scale configuration information includes first updated gray scale configuration information obtained by the third server performing an information modification operation on the target gray scale configuration information according to the gray scale test data of the page, or second updated gray scale configuration information obtained by the third server performing an information addition operation on the target gray scale configuration information according to the gray scale test data of the page.
On the basis of the above technical solution, optionally, when updating the gray scale configuration information first updates the gray scale configuration information, the apparatus further includes:
the target gray scale configuration information matching module is used for reading target gray scale configuration information corresponding to the first updated gray scale configuration information from the data storage server and matching the gray scale identification information with the target gray scale configuration information; and if the matching is successful, sending the URL address corresponding to the page to the client so that the client obtains the HTML file on the second server based on the URL address and renders and displays the page based on the HTML file.
On the basis of the above technical solution, optionally, the preset gray filtering parameters include: at least one of a client operating system type, a client operating system version, a client type, a client version, user information, a crowd image, a user city, an operator, and a user device type.
Example seven
Fig. 8 is a schematic diagram of a gray scale distribution device according to a seventh embodiment of the present invention. The embodiment can be suitable for the situation of gray level release of the page of the client, the device can be realized in a software and/or hardware mode, and the device can be configured on the client. The gradation issuing apparatus includes: a page configuration download request sending module 710 and a page rendering display module 720.
The page configuration download request sending module 710 is configured to send a page configuration download request containing gray identification information to the gateway server, so that the gateway server matches the gray identification information with the gray configuration information, and if the matching is successful, send a page configuration list recorded with an offline download address corresponding to the page to the client; the gray level identification information comprises a value of a preset gray level filtering parameter determined by the client, and the gray level configuration information comprises a value range of the preset gray level filtering parameter preset for a page of the client;
The page rendering display module 720 is configured to download the offline resource file from the first server to the local storage unit based on the page configuration list sent by the gateway server, and render and display the page based on the offline resource file in the local storage unit.
According to the technical scheme, the page configuration downloading request containing the gray identification information is sent to the gateway server, the page configuration list sent by the gateway server when the gray identification information is successfully matched with the gray configuration information is received, the offline resource file is downloaded to the local storage unit from the first server based on the page configuration list, and the rendering display of the page is carried out based on the offline resource file in the local storage unit, so that the purpose of gray release of the offline resource file based on the page is achieved, the problem that online gray release needs to cooperate with operators is solved, and therefore the controllability of gray release and the gray release efficiency of the page are improved.
On the basis of the above technical solution, optionally, the apparatus further includes:
the page configuration downloading request generation module is used for generating a page configuration downloading request when a page configuration triggering event is detected, wherein the page configuration triggering event comprises at least one of a page display triggering event, a client starting event and a client foreground and background switching event.
The gray level release device provided by the embodiment of the invention can be used for executing the gray level release method provided by the sixth embodiment of the invention or the seventh embodiment of the invention, and has the corresponding functions and beneficial effects of the execution method.
It should be noted that, in the embodiment of the gray scale distribution device, each unit and module included is only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Example eight
Fig. 9 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention, where the embodiment of the present invention provides services for implementing the gray scale distribution method according to the first to third embodiments of the present invention, and the gray scale distribution device according to the sixth embodiment may be configured, or the embodiment of the present invention provides services for implementing the gray scale distribution method according to the fourth embodiment of the present invention, and the gray scale distribution device according to the seventh embodiment may be configured.
Fig. 9 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 9 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 9, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, commonly referred to as a "hard disk drive"). Although not shown in fig. 9, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown in fig. 9, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the gradation release method provided by the embodiment of the present invention.
Through the electronic equipment, the problem of updating the gray configuration information is solved, the page display effect of the client meeting the gray release conditions is improved, and the transition efficiency of the page from gray release to full release is improved.
Example nine
A ninth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a gray-scale issuing method, the method comprising:
when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request; the gray identification information comprises a value of a preset gray filtering parameter determined by the client;
matching the gray scale identification information with gray scale configuration information; the gray level configuration information comprises a value range of preset gray level filtering parameters preset for a page of the client;
if the matching is successful, the page configuration list recorded with the offline download address corresponding to the page is sent to the client, so that the client downloads the offline resource file from the first server to the local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit.
Or, computer executable instructions, when executed by a computer processor, for performing a page display method, the method comprising:
the method comprises the steps that a page configuration downloading request containing gray identification information is sent to a gateway server, so that the gateway server matches the gray identification information with gray configuration information, and if matching is successful, a page configuration list recorded with an offline downloading address corresponding to a page is sent to a client; the gray level identification information comprises a value of a preset gray level filtering parameter determined by the client, and the gray level configuration information comprises a value range of the preset gray level filtering parameter preset for a page of the client;
and downloading the offline resource file from the first server to the local storage unit based on the page configuration list sent by the gateway server, and rendering and displaying the page based on the offline resource file in the local storage unit.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the above method operations, and may also perform the related operations in the gray scale distribution method provided in any embodiment of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (15)

1. A gradation release method, characterized by comprising:
when a page configuration downloading request sent by a client is received, acquiring gray identification information in the page configuration downloading request; the gray identification information comprises a value of a preset gray filtering parameter determined by the client;
Matching the gray scale identification information with gray scale configuration information; the gray level configuration information comprises a value range of preset gray level filtering parameters preset for a page of the client;
if the matching is successful, a page configuration list recorded with an offline download address corresponding to the page is sent to a client, so that the client downloads an offline resource file from a first server to a local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit; the first server is a cloud server;
before the page configuration list recorded with the offline download address corresponding to the page is sent to the client, the method further comprises: acquiring the sent times of the page configuration list;
comparing the sent times with the maximum access times, and if the sent times are smaller than or equal to the maximum allowed access times, triggering and executing the operation of sending the page configuration list recorded with the offline download addresses corresponding to the pages to the client;
and if the sent times are greater than the maximum allowed access times, sending the URL address of the uniform resource locator corresponding to the page to the client so that the client obtains the HTML file of the hypertext markup language on the second server based on the URL address, and rendering and displaying the page based on the HTML file.
2. The method of claim 1, wherein prior to matching the grayscale identification information with grayscale configuration information, the method further comprises:
acquiring the gray scale configuration information from a data storage server; wherein the gradation configuration information is written in advance in the data storage server by a third server.
3. The method according to claim 2, wherein the gray scale configuration information is initial gray scale configuration information input by a user and received by a third server, or the third server updates gray scale configuration information obtained by adjusting target gray scale configuration information corresponding to gray scale test data in existing gray scale configuration information based on gray scale test data of the page.
4. The method of claim 3, wherein the updated grayscale configuration information includes first updated grayscale configuration information obtained by the third server performing an information modification operation on the target grayscale configuration information according to the grayscale test data of the page, or second updated grayscale configuration information obtained by the third server performing an information addition operation on the target grayscale configuration information according to the grayscale test data of the page.
5. The method of claim 4, wherein when the updated grayscale configuration information is the first updated grayscale configuration information, the method further comprises:
reading target gray scale configuration information corresponding to the first updated gray scale configuration information from the data storage server, and matching the gray scale identification information with the target gray scale configuration information;
and if the matching is successful, sending the URL address corresponding to the page to the client so that the client obtains the HTML file on the second server based on the URL address, and rendering and displaying the page based on the HTML file.
6. The method of any one of claims 1-5, wherein the preset gray-scale filtering parameters include: at least one of a client operating system type, a client operating system version, a client type, a client version, user information, a crowd image, a user city, an operator, and a user device type.
7. A gradation release method, characterized by comprising:
the method comprises the steps that a page configuration downloading request containing gray identification information is sent to a gateway server, so that the gateway server matches the gray identification information with gray configuration information, and if matching is successful, a page configuration list recorded with an offline downloading address corresponding to the page is sent to a client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client, and the gray configuration information comprises a value range of the preset gray filtering parameter preset for a page of the client;
Downloading an offline resource file from a first server to a local storage unit based on a page configuration list sent by the gateway server, and rendering and displaying a page based on the offline resource file in the local storage unit; the first server is a cloud server;
before the page configuration list recorded with the offline download address corresponding to the page is sent to the client, the method further comprises: acquiring the sent times of the page configuration list;
comparing the sent times with the maximum access times, and if the sent times are smaller than or equal to the maximum allowed access times, triggering and executing the operation of sending the page configuration list recorded with the offline download addresses corresponding to the pages to the client;
and if the sent times are greater than the maximum allowed access times, sending the URL address of the uniform resource locator corresponding to the page to the client so that the client obtains the HTML file of the hypertext markup language on the second server based on the URL address, and rendering and displaying the page based on the HTML file.
8. The method of claim 7, wherein the method further comprises:
When a page configuration triggering event is detected, generating a page configuration downloading request, wherein the page configuration triggering event comprises at least one of a page display triggering event, a client starting event and a client foreground and background switching event.
9. A gradation release system, comprising: the system comprises a gateway server, a client and a first server;
the gateway server is used for acquiring gray scale identification information in the page configuration downloading request when the page configuration downloading request is received, matching the gray scale identification information with the gray scale configuration information, and if the matching is successful, sending a page configuration list recorded with an offline downloading address corresponding to the page to the client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client, and the gray configuration information comprises a value range of the preset gray filtering parameter preset for a page of the client;
the client is used for sending a page configuration downloading request to the gateway server, downloading an offline resource file from the first server to the local storage unit based on a page configuration list sent by the gateway server, and rendering and displaying a page based on the offline resource file in the local storage unit;
The first server is used for storing offline resource files of at least one page; the first server is a cloud server;
the gateway server is further configured to: before a page configuration list recorded with an offline download address corresponding to the page is sent to a client, acquiring the sent times of the page configuration list;
comparing the sent times with the maximum access times, and if the sent times are smaller than or equal to the maximum allowed access times, triggering and executing the operation of sending the page configuration list recorded with the offline download addresses corresponding to the pages to the client;
and if the sent times are greater than the maximum allowed access times, sending the URL address of the uniform resource locator corresponding to the page to the client so that the client obtains the HTML file of the hypertext markup language on the second server based on the URL address, and rendering and displaying the page based on the HTML file.
10. The system of claim 9, further comprising a third server and a data storage server; the third server is used for writing the acquired gray configuration information into the data storage server; the data storage server is used for storing the gray scale configuration information; accordingly, the gateway server is specifically configured to: and acquiring the gray scale configuration information from the data storage server.
11. The system of claim 10, wherein the third server is configured in particular to: receiving initial gray scale configuration information input by a user, and writing the initial gray scale configuration information into the data storage server; or acquiring gray test data corresponding to the page, adjusting target gray configuration information corresponding to the gray test data in the existing gray configuration information based on the gray test data to obtain updated gray configuration information, and writing the updated gray configuration information into the data storage server.
12. A gradation issuing apparatus characterized by comprising:
the system comprises a gray identification information acquisition module, a gray identification information processing module and a gray identification information processing module, wherein the gray identification information acquisition module is used for acquiring gray identification information in a page configuration downloading request when receiving the page configuration downloading request sent by a client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client;
the gray scale identification information matching module is used for matching the gray scale identification information with gray scale configuration information; the gray level configuration information comprises a value range of preset gray level filtering parameters preset for a page of the client;
The page configuration list sending module is used for sending a page configuration list recorded with an offline download address corresponding to the page to a client if the matching is successful, so that the client downloads an offline resource file from a first server to a local storage unit based on the page configuration list, and renders and displays the page based on the offline resource file in the local storage unit; the first server is a cloud server;
the transmitted times acquisition module is used for acquiring the transmitted times of the page configuration list before transmitting the page configuration list recorded with the offline download address corresponding to the page to the client;
the maximum access frequency comparison module is used for comparing the transmitted frequency with the maximum access frequency, and if the transmitted frequency is smaller than or equal to the maximum allowed access frequency, the operation of transmitting the page configuration list recorded with the offline download address corresponding to the page to the client is triggered and executed;
the maximum access frequency comparison module is further used for:
and if the sent times are greater than the maximum allowed access times, sending the URL address of the uniform resource locator corresponding to the page to the client so that the client obtains the HTML file of the hypertext markup language on the second server based on the URL address and renders and displays the page based on the HTML file.
13. A gradation issuing apparatus characterized by comprising:
the system comprises a page configuration downloading request sending module, a gateway server and a client, wherein the page configuration downloading request sending module is used for sending a page configuration downloading request containing gray identification information to the gateway server so that the gateway server can match the gray identification information with the gray configuration information, and if the matching is successful, a page configuration list recorded with an offline downloading address corresponding to the page is sent to the client; the gray identification information comprises a value of a preset gray filtering parameter determined by the client, and the gray configuration information comprises a value range of the preset gray filtering parameter preset for a page of the client;
the page rendering display module is used for downloading the offline resource file from the first server to the local storage unit based on the page configuration list sent by the gateway server, and rendering and displaying the page based on the offline resource file in the local storage unit; the first server is a cloud server;
the gateway server is further configured to: before a page configuration list recorded with an offline download address corresponding to a page is sent to a client, acquiring the sent times of the page configuration list;
Comparing the transmitted times with the maximum access times, and if the transmitted times are smaller than or equal to the maximum allowed access times, triggering and executing the operation of transmitting the page configuration list recorded with the offline download addresses corresponding to the pages to the client;
and if the sent times are greater than the maximum allowed access times, sending the URL address of the uniform resource locator corresponding to the page to the client so that the client obtains the HTML file of the hypertext markup language on the second server based on the URL address and renders and displays the page based on the HTML file.
14. An electronic device, the electronic device comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the gray scale distribution method of any of claims 1-6 or 7-8.
15. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the gray scale distribution method according to any of claims 1-6 or 7-8.
CN202011585155.8A 2020-12-28 2020-12-28 Gray release method, system, device, equipment and storage medium Active CN114697304B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011585155.8A CN114697304B (en) 2020-12-28 2020-12-28 Gray release method, system, device, equipment and storage medium
PCT/CN2021/120918 WO2022142536A1 (en) 2020-12-28 2021-09-27 Grayscale publishing method, system and apparatus, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011585155.8A CN114697304B (en) 2020-12-28 2020-12-28 Gray release method, system, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114697304A CN114697304A (en) 2022-07-01
CN114697304B true CN114697304B (en) 2023-12-01

Family

ID=82130442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011585155.8A Active CN114697304B (en) 2020-12-28 2020-12-28 Gray release method, system, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114697304B (en)
WO (1) WO2022142536A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032991B (en) * 2023-10-08 2024-01-26 宁波银行股份有限公司 Gray scale publishing method, device and system
CN117714459A (en) * 2023-12-28 2024-03-15 北京领雁科技股份有限公司 Dynamic gray scale service release system, method, equipment and computer medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404582A (en) * 2015-10-26 2016-03-16 努比亚技术有限公司 Application improvement verification method 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
CN109857403A (en) * 2018-12-05 2019-06-07 腾讯科技(深圳)有限公司 A kind of renewal of the page, page processing method and device
WO2019128205A1 (en) * 2017-12-29 2019-07-04 中兴通讯股份有限公司 Method and device for achieving grayscale publishing, computing node and system
CN111290779A (en) * 2020-03-04 2020-06-16 北京三快在线科技有限公司 Gray scale distribution method, device, storage medium and electronic equipment
CN111913738A (en) * 2020-08-19 2020-11-10 工银科技有限公司 Access request processing method, device, computing equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404582A (en) * 2015-10-26 2016-03-16 努比亚技术有限公司 Application improvement verification method and system
WO2019128205A1 (en) * 2017-12-29 2019-07-04 中兴通讯股份有限公司 Method and device for achieving grayscale publishing, computing node 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
CN109857403A (en) * 2018-12-05 2019-06-07 腾讯科技(深圳)有限公司 A kind of renewal of the page, page processing method and device
CN111290779A (en) * 2020-03-04 2020-06-16 北京三快在线科技有限公司 Gray scale distribution method, device, storage medium and electronic equipment
CN111913738A (en) * 2020-08-19 2020-11-10 工银科技有限公司 Access request processing method, device, computing equipment and medium

Also Published As

Publication number Publication date
CN114697304A (en) 2022-07-01
WO2022142536A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
CN108289098B (en) Authority management method and device of distributed file system, server and medium
US9632765B1 (en) Customized application package with context specific token
CN112612977A (en) Page display method, system, device, equipment and storage medium
CN114697304B (en) Gray release method, system, device, equipment and storage medium
US10831892B2 (en) Web browser script monitoring
CN113094136A (en) Page display control method and device, storage medium and electronic equipment
CN110825479A (en) Page processing method and device, terminal equipment, server and storage medium
CN109542862B (en) Method, device and system for controlling mounting of file system
CN109995523B (en) Activation code management method and device and activation code generation method and device
CN110493239B (en) Authentication method and device
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
CN109729189B (en) Method and device for configuring domain name
CN111556080A (en) Network node monitoring method, device, medium and electronic equipment
CN109088872B (en) Using method and device of cloud platform with service life, electronic equipment and medium
CN116708034B (en) Method, device, medium and equipment for determining security attribute of domain name
CN113849752A (en) Page caching method and device and storage medium
CN113761412A (en) Application page display method and device, electronic equipment, medium and application system
CN116028917A (en) Authority detection method and device, storage medium and electronic equipment
CN115603982A (en) Vehicle-mounted terminal security authentication method and device, electronic equipment and storage medium
CN108920589B (en) Browsing hijacking identification method, device, server and storage medium
CN116070191A (en) Information processing method and device, storage medium, and program product
CN113449167A (en) Data acquisition abnormity detection method and device, electronic equipment and readable storage medium
CN111786936A (en) Method and device for authentication
CN114745190B (en) Page processing method and device, storage medium and electronic equipment
CN116723051B (en) Domain name information generation method, device and medium

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