CN110928555B - Gray scale release control method and device, computer equipment and storage medium - Google Patents

Gray scale release control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110928555B
CN110928555B CN201911150488.5A CN201911150488A CN110928555B CN 110928555 B CN110928555 B CN 110928555B CN 201911150488 A CN201911150488 A CN 201911150488A CN 110928555 B CN110928555 B CN 110928555B
Authority
CN
China
Prior art keywords
gray
gray scale
version
user terminal
data
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
CN201911150488.5A
Other languages
Chinese (zh)
Other versions
CN110928555A (en
Inventor
陈策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201911150488.5A priority Critical patent/CN110928555B/en
Publication of CN110928555A publication Critical patent/CN110928555A/en
Application granted granted Critical
Publication of CN110928555B publication Critical patent/CN110928555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses a gray scale release control method, a gray scale release control device, computer equipment and a storage medium, which belong to the technical field of computers, and the method comprises the following steps: after the gray scale version of the target application is subjected to gray scale release of the current turn in the current user terminal group, application running state data of the gray scale version in the current user terminal group is obtained; automatically judging whether the gray release process of the gray version meets the termination condition or not according to the application running state data of the gray version in the current user terminal group; and triggering the gray scale release of the gray scale version in the next round in the next user terminal group when the gray scale release process is judged not to meet the termination condition. According to the embodiment of the invention, the gray scale publishing efficiency can be improved and the risk of gray scale publishing can be reduced in the gray scale publishing process.

Description

Gray scale release control method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling gray scale release, a computer device, and a storage medium.
Background
The gray release is a version release mode capable of smoothly transiting between a historical version and a gray test version, can ensure the stability of the whole system, and can find and adjust problems in the initial gray so as to reduce the influence of abnormal gray on a user.
At present, the gray level release mode in the industry is basically that an operation and maintenance engineer manually configures version upgrading of one or more channels, manually collects indexes of gray level release after a certain time and analyzes gray level test indexes, and if the indexes are concentrated and then repaired, the gray level is restored until no obvious problem exists, and then the gray level is fully released. However, the whole process involves too much manpower, and whether the gray scale publishing is successful or not depends on manual initiative too much, so that not only the gray scale publishing efficiency is influenced, but also errors are easy to occur in manual operation, and the risk of gray scale publishing is high.
Disclosure of Invention
The present invention is directed to at least one of the technical problems of the prior art or the related art, and therefore the present invention provides a method, an apparatus, a computer device and a storage medium for controlling gray scale distribution, which can improve the gray scale distribution efficiency and reduce the risk of gray scale distribution.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, a gray scale issuance control method is provided, the method including:
after gray release of a target application gray version in a current user terminal group in a current turn is carried out, application running state data of the gray version in the current user terminal group is obtained;
automatically judging whether the gray release process of the gray version meets an abort condition according to the application running state data of the gray version in the current user terminal group;
and triggering the next turn of gray scale release of the gray scale version in the next user terminal group when the gray scale release process is judged not to meet the termination condition.
Further, before the step of performing the current turn of gray scale release on the gray scale version of the target application in the current user terminal group, the method further includes:
screening out a plurality of gray-scale users from the total number of users of the target application according to at least one item of an identification field and a user label in the unique identification code of the user;
and grouping the gray level users to obtain a plurality of user groups corresponding to a plurality of turns in the gray level issuing process.
Further, the application running state data includes at least one of: the system comprises crash data of the target application on the user terminal, page white screen duration of the target application on the user terminal and performance data of the user terminal when the target application is operated.
Further, the automatically determining whether the grayscale release process of the grayscale version meets an abort condition according to the application running state data of the grayscale version in the current user terminal group includes:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
respectively comparing the statistical value of each type data with the threshold value range corresponding to each type data;
and when the statistic value of each type data does not exceed the corresponding threshold range and the current turn is not the final turn of the gray scale distribution process, judging that the gray scale distribution process does not meet the stopping condition, otherwise, judging that the gray scale distribution process meets the stopping condition.
Further, the automatically determining whether the grayscale release process of the grayscale version meets an abort condition according to the application running state data of the grayscale version in the current user terminal group includes:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
performing weighted calculation on the statistic value of each type data according to the preset weight corresponding to each type data to obtain the risk value of the gray scale version;
and when the risk value of the gray scale version exceeds a preset risk threshold range and the current round is not the final round of the gray scale release process, judging that the gray scale release process does not meet the termination condition, otherwise, judging that the gray scale release process meets the termination condition.
Further, the method further comprises:
and when the gray scale release process is judged to meet the suspension condition, generating an alarm message and sending the alarm message to a preset terminal.
In a second aspect, there is provided a gradation issuance control apparatus comprising:
the release module is used for carrying out gray release of the current turn on the gray version of the target application in the current user terminal group;
the acquisition module is used for acquiring application running state data of the gray scale version in the current user terminal group after the release module performs gray scale release of the gray scale version in the current turn;
the judging module is used for automatically judging whether the gray release process of the gray version meets the termination condition according to the application running state data of the gray version in the current user terminal group;
and the triggering module is used for triggering the releasing module to perform next-round gray releasing on the gray version in a next user terminal group when the gray releasing process is judged not to meet the stopping condition.
Further, the apparatus further comprises a screening module, the screening module specifically configured to:
screening a plurality of gray-scale users from the total number of users of the target application according to at least one of an identification field and a user label in the unique identification code of the user;
and grouping the gray level users to obtain a plurality of user groups corresponding to a plurality of turns in the gray level issuing process.
In a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
after gray release of a target application gray version in a current user terminal group in a current turn is carried out, application running state data of the gray version in the current user terminal group is obtained;
automatically judging whether the gray release process of the gray version meets an abort condition according to the application running state data of the gray version in the current user terminal group;
and when the gray scale release process is judged not to meet the suspension condition, triggering the gray scale release of the gray scale version in the next round in the next user terminal group.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
after gray release of a target application gray version in a current user terminal group in a current turn is carried out, application running state data of the gray version in the current user terminal group is obtained;
automatically judging whether the gray release process of the gray version meets an abort condition according to the application running state data of the gray version in the current user terminal group;
and triggering the next turn of gray scale release of the gray scale version in the next user terminal group when the gray scale release process is judged not to meet the termination condition.
According to the technical scheme provided by the embodiment of the invention, after the gray level version of the target application is subjected to the gray level release of the current turn in the current user terminal group, the application running state data of the gray level version in the current user terminal group is obtained, whether the gray level release process of the gray level version meets the termination condition or not is automatically judged according to the application running state data of the gray level version in the current user terminal group, and when the gray level release process is judged not to meet the termination condition, the next turn of gray level release of the gray level version in the next user terminal group is triggered. By adopting the technical scheme, when the gray scale version is released, the gray scale version applied to the target application can be automatically released in a gray scale mode without depending on manual initiative, so that the gray scale release efficiency can be improved, and the risk of gray scale release is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application environment of a gray scale publishing control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a gray scale publishing control method according to an embodiment of the present invention;
FIG. 3 is a detailed flow chart of step 202 of the method of FIG. 2;
FIG. 4 is another detailed flow chart of step 202 of the method of FIG. 2;
fig. 5 is a structural diagram of a gray scale distribution control apparatus according to an embodiment of the present invention;
fig. 6 is an internal structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
The gray scale release control method provided by the invention can be applied to the application environment shown in fig. 1. Wherein the user terminal 102 communicates with the server 104 via a network. The server 104 first performs the current round of gray scale publishing on the gray scale version of the target application in the current user terminal group, acquires the application running state data of the user terminal 102 of the gray scale version in the current user terminal group, automatically judges whether the gray scale publishing process of the gray scale version meets the suspension condition according to the application running state data of the gray scale version in the current user terminal group, and triggers the next round of gray scale publishing on the gray scale version in the next user terminal group when judging that the gray scale publishing process does not meet the suspension condition. The user terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In an embodiment, a gray scale issue control method is provided, which is described by taking the method as an example applied to the server in fig. 1, and as shown in fig. 2, the method may include:
step 201, after the gray level release of the target application in the current user terminal group is performed in the current turn, the application running state data of the gray level version in the current user terminal group is obtained.
In this embodiment, the gray level release process of the gray level version may be divided into a plurality of different rounds in advance, where the plurality of rounds correspond to a plurality of user terminal groups with different numbers of user terminals, and the larger the number of rounds is, the larger the number of user terminals is.
Here, the current turn may be any turn in the gray scale distribution process, and each user terminal in the user terminal group corresponding to the current turn may be obtained by filtering from the total user terminals of the target application.
Here, the application running state data is used to represent the running state of each user terminal in the current user terminal group after the target application is upgraded to the grayscale version. Wherein, the application running state data includes but is not limited to: crash data of the target application on the user terminal, page white screen duration, and performance data of the user terminal when the target application is operated. It is understood that the application operating state data may also include other types of data, which is not limited in this embodiment of the present invention.
Specifically, a user terminal in a current user terminal group upgrades a target application to a grayscale version, and crash data, page white screen duration, performance data of the user terminal when the user terminal runs the target application, and the like of the target application are acquired from a running log of the target application on the upgraded user terminal through a data acquisition tool.
The collapse data comprises a current active page, a network condition and hardware information when the target application collapses, the page white screen duration is the duration of the target application with a page white screen, and the performance data when the user terminal runs the target application comprises memory occupancy rate, CPU occupancy rate and the like.
Step 202, automatically judging whether the gray release process of the gray version meets the termination condition according to the application running state data of the gray version in the current user terminal group.
Specifically, the breakdown data, the page white screen duration and the performance data of each user terminal in the current user terminal group of the gray scale version during the running of the target application can be respectively counted to obtain the statistical values of various types of data of the current round, the statistical values of various types of data of the previous version of the target application are used as reference values, the statistical values of various types of data of the current round are analyzed, and whether the gray scale release process of the gray scale version meets the stop condition is automatically judged according to the analysis result.
And step 203, when the gray scale distribution process is judged not to meet the termination condition, triggering the gray scale distribution of the gray scale version in the next round in the next user terminal group.
The number of the user terminals of the next user terminal group is larger than that of the user terminals of the current user terminal, and the next user terminal group can be screened out from the total number of the user terminals of the target application.
Specifically, when it is determined that the grayscale release process of the grayscale version does not satisfy the termination condition, pushing upgrade information to each user terminal in the next user terminal group according to the grayscale version, so that each user terminal in the next user terminal group upgrades the target application to the grayscale version.
It should be noted that, when it is determined that the grayscale release process satisfies the termination condition, an alarm message is generated and sent to the preset terminal, and the grayscale release of the grayscale version in the next turn in the next user terminal group is not triggered. Here, the preset terminal may be a terminal of a relevant developer.
It should be noted that after the next round of gray scale distribution is performed on the gray scale version in the next user terminal group, if the next round is the final round, the gray scale distribution process is ended, otherwise, the next round is taken as the current round, and the steps 201 to 203 are executed in a loop until the gray scale distribution of the final round is completed on the gray scale version, and the whole gray scale distribution process is completed.
The gray release control method provided by the embodiment of the invention obtains the application running state data of the gray version in the current user terminal group after the gray release of the target application in the current turn is carried out in the current user terminal group, automatically judges whether the gray release process of the gray version meets the termination condition according to the application running state data of the gray version in the current user terminal group, and triggers the next turn of gray release of the gray version in the next user terminal group when judging that the gray release process does not meet the termination condition, so that the gray release of the gray version of the target application is automatically carried out without depending on manual initiative when the gray version is released, the gray release efficiency of the gray version is improved, and the risk of the gray release is reduced.
In an embodiment, before the gray scale release step of the current turn is performed in the current user terminal group, the method may further include:
and screening out a plurality of gray-scale users from the total number of users of the target application according to at least one item of identification fields and user labels in the unique identification codes of the users, and grouping the gray-scale users to obtain a plurality of user groups corresponding to a plurality of turns in the gray-scale release process.
The user unique identification code can be a unique identification automatically generated when the user registers the target application, for example, when an identification field in the user unique identification code is a preset field, the user is determined as a gray-scale user; user tags may include, but are not limited to: age of the user, user behavior preferences, brand, model of the user terminal, operating system, e.g. when the user is 20-40 years old, the user is determined to be a greyscale user.
After a plurality of gray level users are screened from the total number of users of the target application, the gray level users are grouped according to a preset proportion, wherein the number of the groups can be the same as the number of turns of the gray level publishing process. Exemplarily, assuming that the gray scale publishing process is divided into a first round, a second round and a third round in advance, and the total number of screened gray scale users is 35k, the multiple gray scale users are grouped as follows: the user amount of 5k, the user amount of 10k, and the user amount of 20k correspond to the first round, the second round, and the third round, respectively.
In the embodiment, a plurality of gray level users are screened out from the total number of users of the target application, so that the gray level versions can be put into designated crowds in a targeted mode, the development cost can be reduced, and the risk of gray level release can be reduced.
In an embodiment, as shown in fig. 3, the step 202 of automatically determining whether the grayscale distribution process of the grayscale version satisfies the suspension condition according to the application running state data of the grayscale version in the current user terminal group may include:
step 301, performing statistics on each type of data in the application running state data to obtain a statistical value of each type of data.
Specifically, the collapse data in the application running state data is counted to obtain the collapse times of the target application and the starting times of the target application, and the collapse rate of the target application is calculated; and/or
Counting the page white screen duration in the application running state data to obtain the total page white screen duration of the target application and the page white screen occurrence frequency of the target application, and calculating the page white screen duration mean value of the target application;
and/or counting the performance data of the user terminal in the application running state data to obtain the memory occupancy rate and the CPU occupancy rate.
Step 302, comparing the statistical value of each type of data with the corresponding threshold range of each type of data.
The threshold value range corresponding to each type of data is determined by the statistics value of each type of data in the last version of the target application.
For example, if the memory occupancy rate of the user terminal of the previous version of the target application is 21%, the threshold range corresponding to the memory occupancy rate of the user terminal of the grayscale version may be set to be not more than 21%.
Specifically, the embodiment does not limit the specific comparison process.
Step 303, when the statistical value of each type of data does not exceed the corresponding threshold range and the current round is not the final round of the gray scale distribution process, determining that the gray scale distribution process does not meet the termination condition, otherwise, determining that the gray scale distribution process meets the termination condition.
Specifically, the present embodiment does not limit the specific determination process.
In addition, when the statistical value of any type of data is close to the endpoint value of the threshold range corresponding to the type of data, an alarm message is generated and sent to a preset terminal.
Specifically, the developer of the grayscale version may be prompted through a preset contact manner, for example, a warning message may be sent to the developer through a manner of automatically sending a short message, automatically making a call, automatically sending an email, and the like.
In this embodiment, each type of data in the application running state data is counted, and the obtained statistical value of each type of data is compared with the corresponding threshold range to determine whether the grayscale release process meets the suspension condition, so that the next round of grayscale release can be avoided when the grayscale version is at risk.
In another embodiment, as shown in fig. 4, the step 202 of automatically determining whether the grayscale release process of the grayscale version satisfies the suspension condition according to the application running state data of the grayscale version in the current user terminal group may include:
step 401, performing statistics on each type of data in the application running state data to obtain a statistical value of each type of data.
Specifically, the implementation process of this step may refer to step 301, and is not described herein again.
And 402, performing weighted calculation on the statistic value of each type of data and the preset weight corresponding to each type of data to obtain a risk value of the gray-scale version.
Specifically, a preset weight corresponding to each type of data is determined, and the sum of products of the statistical value of each type of data and the preset weight corresponding to each type of data is determined as a risk value of the grayscale version.
The method for determining the preset weight corresponding to each type of data may be: determining corresponding weight by the server according to the determined influence of each type of data on the running risk of the gray scale version, and setting the corresponding weight for each type of data by related developers; it is to be understood that the weight corresponding to each type of data may also be determined by other methods, which is not limited by the embodiment of the present invention.
It should be noted that, the sum of the preset weights corresponding to each type of data is 1, and when the risk value of the grayscale version is larger, the risk of representing the grayscale version is larger.
In addition, the statistical value of each type of data may also be input into a risk assessment model trained in advance to obtain a risk value of a grayscale version, where the risk assessment model may be obtained by machine learning or deep neural network algorithm training, which is not limited in the embodiments of the present invention.
Step 403, when the risk value of the gray scale version exceeds the preset risk threshold range and the current round is not the final round of the gray scale issuing process, determining that the gray scale issuing process does not meet the suspension condition, otherwise, determining that the gray scale issuing process meets the suspension condition.
Specifically, the present embodiment does not limit the specific determination process.
Specifically, the developer of the grayscale version may be prompted through a preset contact manner, for example, a warning message may be sent to the developer through a manner of automatically sending a short message, automatically making a call, automatically sending an email, and the like.
It should be noted that, when the risk value of the grayscale version is close to the endpoint value of the preset risk threshold range, an alarm message may be generated and sent to the preset terminal to remind the relevant people to pay attention.
In this embodiment, each type of data in the application running state data is counted, and the statistical value of each type of data and the preset weight corresponding to each type of data are weighted to obtain the risk value of the grayscale version, and whether the grayscale release process meets the suspension condition is determined according to whether the risk value of the grayscale version exceeds the corresponding threshold range, so that the next round of grayscale release can be avoided when the grayscale version has a risk.
In another embodiment, the method provided in the embodiment of the present invention may further include:
and when the gray level release process is judged to meet the suspension condition, generating an alarm message and sending the alarm message to a preset terminal.
Specifically, if the grayscale release process meets the termination condition, the warning is performed, which may be to remind the developer of the grayscale version through a preset contact manner, for example, sending a warning notification message to the developer through a manner of automatically sending a short message, automatically making a call, automatically sending an email, and the like.
In the embodiment, when the gray scale release process is judged to meet the suspension condition, the alarm message is generated and sent to the preset terminal, and a relevant developer can be reminded of finding the abnormal problem of the gray scale version in time so as to repair the abnormal problem in time.
In one embodiment, there is provided a gradation issuance control apparatus, as shown in fig. 5, the apparatus including:
the release module 501 is configured to perform a current turn of grayscale release on the grayscale version of the target application in a current user terminal group;
an obtaining module 502, configured to obtain application running state data of the grayscale version in the current user terminal group after the release module performs a current round of grayscale release on the grayscale version;
the judging module 503 is configured to automatically judge whether the grayscale issuing process of the grayscale version meets the termination condition according to the application running state data of the grayscale version in the current user terminal group;
the triggering module 504 is configured to trigger the issuing module 501 to perform next turn of grayscale issuing on the grayscale version in the next user terminal group when it is determined that the grayscale issuing process does not satisfy the termination condition.
Further, the device still includes the screening module, and the screening module is used for specifically:
screening a plurality of gray-scale users from the total number of users of the target application according to at least one of an identification field and a user label in the unique identification code of the user;
and grouping the plurality of gray level users to obtain a plurality of user groups corresponding to a plurality of turns in the gray level issuing process.
Further, the application running state data comprises at least one of: crash data of the target application on the user terminal, page white screen duration of the target application on the user terminal, and performance data of the user terminal when the target application is operated.
Further, the determining module 503 is specifically configured to:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
respectively comparing the statistical value of each type of data with the threshold value range corresponding to each type of data;
and when the statistic value of each type of data does not exceed the corresponding threshold range and the current turn is not the final turn of the gray scale distribution process, judging that the gray scale distribution process does not meet the termination condition, otherwise, judging that the gray scale distribution process meets the termination condition.
Further, the determining module 503 is specifically configured to:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
performing weighted calculation on the statistic value of each type of data and the preset weight corresponding to each type of data to obtain a risk value of the gray-scale version;
and when the risk value of the gray scale version exceeds the preset risk threshold range and the current turn is not the final turn of the gray scale releasing process, judging that the gray scale releasing process does not meet the stopping condition, otherwise, judging that the gray scale releasing process meets the stopping condition.
Further, the apparatus further comprises:
and the warning module 505 is configured to generate a warning message and send the warning message to a preset terminal when it is determined that the gray scale publishing process meets the suspension condition.
The gray scale release control device provided by the embodiment of the invention belongs to the same inventive concept as the gray scale release control method provided by the embodiment of the invention, can execute the gray scale release control method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the gray scale release control method. For details of the technology not described in detail in this embodiment, reference may be made to the gray scale issue control method provided in this embodiment of the present invention, which is not described herein again.
Fig. 6 is an internal structural diagram of a computer device according to an embodiment of the present invention. The computer device may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a resource allocation method.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the invention provides computer equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:
after the gray scale version of the target application is subjected to gray scale release of the current turn in the current user terminal group, application running state data of the gray scale version in the current user terminal group is obtained;
automatically judging whether the gray release process of the gray version meets the suspension condition or not according to the application running state data of the gray version in the current user terminal group;
and triggering the gray scale release of the gray scale version in the next round in the next user terminal group when the gray scale release process is judged not to meet the termination condition.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the following steps:
after the gray scale version of the target application is subjected to gray scale release of the current turn in the current user terminal group, application running state data of the gray scale version in the current user terminal group is obtained;
automatically judging whether the gray release process of the gray version meets the suspension condition or not according to the application running state data of the gray version in the current user terminal group;
and triggering the gray scale release of the gray scale version in the next round in the next user terminal group when the gray scale release process is judged not to meet the termination condition.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.

Claims (9)

1. A gray scale issuance control method, comprising:
after gray release of a target application gray version in a current user terminal group in a current turn is carried out, application running state data of the gray version in the current user terminal group is obtained;
automatically judging whether the gray release process of the gray version meets the suspension condition according to the application running state data of the gray version in the current user terminal group, wherein the method comprises the following steps:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
respectively comparing the statistical value of each type data with the threshold value range corresponding to each type data;
when the statistic value of each type data does not exceed the corresponding threshold value range and the current round is not the final round of the gray scale distribution process, judging that the gray scale distribution process does not meet the stopping condition, otherwise, judging that the gray scale distribution process meets the stopping condition;
and triggering the next turn of gray scale release of the gray scale version in the next user terminal group when the gray scale release process is judged not to meet the termination condition.
2. The method of claim 1, wherein the grayscale version of the target application is prior to the current turn of grayscale publishing step in the current user terminal group, and the method further comprises:
screening out a plurality of gray-scale users from the total number of users of the target application according to at least one item of an identification field and a user label in the unique identification code of the user;
and grouping the gray level users to obtain a plurality of user groups corresponding to a plurality of turns in the gray level release process.
3. The method of claim 1, wherein the application run state data comprises at least one of: the system comprises crash data of the target application on the user terminal, page white screen duration of the target application on the user terminal and performance data of the user terminal when the target application is operated.
4. The method according to any one of claims 1 to 3, wherein the automatically determining whether the grayscale release process of the grayscale version satisfies an abort condition according to the application running state data of the grayscale version in the current user terminal group comprises:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
performing weighted calculation on the statistic value of each type data according to the preset weight corresponding to each type data to obtain the risk value of the gray scale version;
and when the risk value of the gray scale version exceeds a preset risk threshold range and the current round is not the final round of the gray scale release process, judging that the gray scale release process does not meet the termination condition, otherwise, judging that the gray scale release process meets the termination condition.
5. The method of claim 1, further comprising:
and when the gray scale release process is judged to meet the suspension condition, generating an alarm message and sending the alarm message to a preset terminal.
6. A gradation issuance control apparatus, characterized by comprising:
the release module is used for carrying out gray release of the current turn on the gray version of the target application in the current user terminal group;
the acquisition module is used for acquiring application running state data of the gray scale version in the current user terminal group after the release module performs the gray scale release of the current turn on the gray scale version;
the judging module is used for automatically judging whether the gray release process of the gray version meets the termination condition according to the application running state data of the gray version in the current user terminal group;
the judging module is specifically configured to:
counting each type of data in the application running state data to obtain a statistical value of each type of data;
respectively comparing the statistic value of each type of data with the threshold range corresponding to each type of data;
when the statistic value of each type of data does not exceed the corresponding threshold range and the current turn is not the final turn of the gray scale distribution process, judging that the gray scale distribution process does not meet the stopping condition, otherwise, judging that the gray scale distribution process meets the stopping condition;
and the triggering module is used for triggering the releasing module to perform next-round gray releasing on the gray version in a next user terminal group when the gray releasing process is judged not to meet the stopping condition.
7. The apparatus of claim 6, further comprising a screening module, the screening module specifically configured to:
screening out a plurality of gray-scale users from the total number of users of the target application according to at least one item of an identification field and a user label in the unique identification code of the user;
and grouping the gray level users to obtain a plurality of user groups corresponding to a plurality of turns in the gray level release process.
8. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201911150488.5A 2019-11-21 2019-11-21 Gray scale release control method and device, computer equipment and storage medium Active CN110928555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911150488.5A CN110928555B (en) 2019-11-21 2019-11-21 Gray scale release control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911150488.5A CN110928555B (en) 2019-11-21 2019-11-21 Gray scale release control method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110928555A CN110928555A (en) 2020-03-27
CN110928555B true CN110928555B (en) 2023-04-18

Family

ID=69851471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911150488.5A Active CN110928555B (en) 2019-11-21 2019-11-21 Gray scale release control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110928555B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858303B (en) * 2020-06-05 2023-12-01 百度在线网络技术(北京)有限公司 Page control method, device, equipment and medium for applet
CN112052015A (en) * 2020-08-13 2020-12-08 苏州朗动网络科技有限公司 Version release method and device, computer equipment and storage medium
CN112306860A (en) * 2020-09-24 2021-02-02 上海趣蕴网络科技有限公司 Product gray level packet access evaluation method and system
CN112306529A (en) * 2020-11-09 2021-02-02 维沃移动通信有限公司 System upgrading method, device, equipment and storage medium
CN114553855B (en) * 2020-11-25 2024-04-05 北京奇艺世纪科技有限公司 Plug-in gray level issuing method and device, electronic equipment and storage medium
CN112596776A (en) * 2020-12-10 2021-04-02 平安普惠企业管理有限公司 Software publishing method, device, equipment and medium based on remote control
CN112612507A (en) * 2020-12-23 2021-04-06 中国工商银行股份有限公司 Gray scale verification method, device, electronic equipment and storage medium
CN112835617B (en) * 2021-03-02 2024-04-02 北京字节跳动网络技术有限公司 Gray release method, device, server and readable medium
CN113946353B (en) * 2021-09-30 2022-08-09 北京五八信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471657A (en) * 2018-09-07 2019-03-15 平安科技(深圳)有限公司 Gray scale dissemination method, device, computer equipment and computer storage medium
CN109558162A (en) * 2017-09-26 2019-04-02 腾讯科技(深圳)有限公司 Application issued method, apparatus, computer equipment and storage medium
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558162A (en) * 2017-09-26 2019-04-02 腾讯科技(深圳)有限公司 Application issued method, apparatus, computer equipment and storage medium
CN109471657A (en) * 2018-09-07 2019-03-15 平安科技(深圳)有限公司 Gray scale dissemination method, device, computer equipment and computer storage medium
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication

Also Published As

Publication number Publication date
CN110928555A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110928555B (en) Gray scale release control method and device, computer equipment and storage medium
CN107566358B (en) Risk early warning prompting method, device, medium and equipment
CN109636607B (en) Service data processing method and device based on model deployment and computer equipment
CN109857592B (en) Data recovery control method, server and storage medium
CN112306808B (en) Performance monitoring and evaluating method and device, computer equipment and readable storage medium
CN109918279B (en) Electronic device, method for identifying abnormal operation of user based on log data and storage medium
CN107679683B (en) Software development progress early warning method and device
CN108090359B (en) Application program monitoring method and application server
CN112163222A (en) Malicious software detection method and device
CN110928859A (en) Model monitoring method and device, computer equipment and storage medium
CN116915710A (en) Traffic early warning method, device, equipment and readable storage medium
CN117333290B (en) Integrated multi-scale wind control model construction method
CN111404835A (en) Flow control method, device, equipment and storage medium
CN111340365A (en) Enterprise data processing method and device, computer equipment and storage medium
CN110442455A (en) A kind of data processing method and device
CN110598090A (en) Interest tag generation method and device, computer equipment and storage medium
CN101142559B (en) Monitoring computer-controlled processes and systems
CN111831300A (en) APP updating method and device, electronic equipment and computer readable storage medium
CN105162931B (en) The sorting technique and device of a kind of communicating number
WO2022047470A1 (en) A method and system for testing machine learning models
CN110716778A (en) Application compatibility testing method, device and system
CN115856694A (en) Battery life prediction method and device, computer equipment and storage medium
CN113535449B (en) Abnormal event restoration processing method and device, computer equipment and storage medium
US20220376989A1 (en) Management of predictive models of a communication network
CN111815442B (en) Link prediction method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant