WO2020119426A1 - Gray scale testing method, server and computer readable storage medium - Google Patents

Gray scale testing method, server and computer readable storage medium Download PDF

Info

Publication number
WO2020119426A1
WO2020119426A1 PCT/CN2019/120379 CN2019120379W WO2020119426A1 WO 2020119426 A1 WO2020119426 A1 WO 2020119426A1 CN 2019120379 W CN2019120379 W CN 2019120379W WO 2020119426 A1 WO2020119426 A1 WO 2020119426A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
mailbox
target
application
invitation
Prior art date
Application number
PCT/CN2019/120379
Other languages
French (fr)
Chinese (zh)
Inventor
陈百门
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020119426A1 publication Critical patent/WO2020119426A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Definitions

  • This application relates to the technical field of software testing, in particular to a grayscale testing method, a server, and a computer-readable storage medium.
  • the official grayscale test solution of iOS TestFlight needs to collect the mailboxes of users who participate in the grayscale test before performing grayscale testing.
  • the iOS backend is given These user mailboxes send invitation links. After sending the invitation link, rely on the user to click the invitation link in their own mailbox, open the link and jump to the system Safari browser, then jump to the Apple app market to download Testflight, after downloading, participate in the experience test by entering Code, participate in App experience testing. It can be seen that the entire grayscale test program process is relatively cumbersome, resulting in low test efficiency.
  • Embodiments of the present application provide a grayscale testing method, a server, and a computer-readable storage medium, which are helpful for improving the efficiency of grayscale testing of applications.
  • an embodiment of the present application provides a grayscale testing method, including:
  • the state of the invitation link is stored in association with the test information of the target application; wherein the state includes an unsent invitation state, a sent invitation state, or an accepted invitation state, and the test information includes the name and version of the target application Any one or more of the number, the address of the target test mailbox and the identification of the test terminal;
  • a target test invitation link is sent to at least one test terminal corresponding to the test information, and the test terminals correspond to the sent target test invitation link in one-to-one correspondence.
  • an embodiment of the present application provides a server.
  • the server includes a unit for performing the method of the first aspect.
  • an embodiment of the present application provides another server, including a processor, a communication interface, and a memory.
  • the processor, the communication interface, and the memory are connected to each other, where the memory is used to store a server that supports the server to execute the above method.
  • a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to perform the method of the first aspect.
  • the server may also include a user interface.
  • an embodiment of the present application provides a computer-readable storage medium that stores a computer program, where the computer program includes program instructions, which when executed by a processor causes The processor executes the method of the first aspect described above.
  • the computer-readable storage medium may be a computer non-volatile storage medium.
  • the embodiments of the present application can improve the gray-scale test efficiency of the application, and can realize that multiple applications share the test mailbox, thereby improving the utilization rate of the test mailbox.
  • FIG. 1 is a schematic flowchart of a grayscale testing method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another grayscale testing method provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another server provided by an embodiment of the present application.
  • the technical solution of the present application can be applied to a server, such as a gray-scale platform, for gray-scale testing of applications.
  • the terminal involved in this application such as a test terminal, may be a mobile phone, a tablet computer, a personal computer, etc., and this application is not limited.
  • the version update of the terminal application requires the release of a new version of the application or the release of a new application.
  • the new version of the application or the new application will generally be tested for grayscale (hereinafter referred to as the grayscale test for the application), that is, after a test phase, the application will be grayscaled by some users (test terminals) After the test, it is officially released to all users.
  • a batch of mailboxes for grayscale testing can be registered in advance, so that when grayscale testing is performed on the application, the test mailbox for testing can be selected from the pre-registered mailboxes
  • the mailbox quickly obtains the test invitation link, and then sends the test invitation link to the test terminal according to the status of the test invitation link and the test information of the application, so as to realize the grayscale test of the application, thereby improving the efficiency of grayscale testing of the application. And can achieve multiple applications to share the test mailbox, improve the test mailbox utilization.
  • FIG. 1 is a schematic flowchart of a grayscale testing method according to an embodiment of the present application. Specifically, the method of this embodiment can be applied to the above-mentioned server such as a gray-scale platform, and the gray-scale platform is taken as an example for description below. As shown in FIG. 1, the grayscale testing method may include the following steps:
  • At least one target test mailbox for gray-scale testing of the target application from at least one test mailbox registered in advance, and upload the address of the at least one target test mailbox to the application publishing platform to enable the application publishing platform Send the target test invitation link corresponding to the grayscale test to the at least one target test mailbox respectively.
  • one or more mailboxes can be pre-registered or selected through other methods, which can be used as the test mailbox during the grayscale test process for subsequent testing, and the one or more mailboxes can be stored on the grayscale platform
  • a mailbox is the information of the test mailbox.
  • the information of the test mailbox may include the email address, name and so on.
  • the one or more test mailboxes may be manually registered in advance, or may be registered in batches using third-party tools, etc., which are not listed here one by one.
  • different test mailboxes can be used for grayscale testing of different applications; or, different test mailboxes can be used for grayscale testing of different types of applications; or, the same test mailbox can also be used for grayscale testing of different applications Test, and can be used for grayscale testing of different applications at the same time.
  • the grayscale platform can manage these test mailboxes and assign test mailboxes for different applications. Thus, it is possible to allocate test mailboxes for different applications in real time and dynamically.
  • the grayscale platform may determine the target mailbox corresponding to the application type of the target application by determining the application type of the target application and from a plurality of preset mailbox collections (mailbox groups) Set, and then select at least one mailbox from the target mailbox set, and use the selected at least one mailbox as the at least one target test mailbox.
  • the mailbox set corresponds to the application type one by one
  • each mailbox set may include one or more test mailboxes, and the test mailbox in each mailbox set is used for the grayscale test of the application type application corresponding to the mailbox set.
  • the at least one test mailbox can be grouped to obtain multiple mailbox collections, and the mailbox collection is associated with the application type, that is, test mailboxes in different groups can be used
  • the grayscale testing of applications of different application types makes it possible to quickly select the target test mailbox from the corresponding mailbox set according to the application type of the application when selecting the target test mailbox for testing the application.
  • the number of test mailboxes of each group that is, the number of test mailboxes of each mailbox set may be the same or different.
  • different types of applications can be evenly allocated test mailboxes, that is, the number of test mailboxes in each mailbox set is the same; for example, according to different application types
  • the number of applications is grouped into mailboxes. The more applications under an application type, the more test mailboxes included in the mailbox set corresponding to the application type. Therefore, the target test mailbox for testing can be quickly selected for the application in combination with the application type, which improves the efficiency of mailbox selection.
  • the grayscale platform may obtain load information of each test mailbox in at least one test mailbox registered in advance, and then select from each test mailbox according to the load information of each test mailbox The at least one target test mailbox.
  • the load information includes the number of processes participating in the grayscale test, the size of the mailbox capacity, and so on. That is to say, when selecting the target test mailbox for testing the application, the grayscale platform can select the target test mailbox according to the load information of the at least one test mailbox.
  • the grayscale platform can select the target test mailbox from each test mailbox according to the order of the number of processes that each test mailbox participates in the grayscale test from low to high, that is, select the test mailbox with fewer processes participating in the grayscale test As the target test mailbox; for another example, the grayscale platform can separately calculate the ratio between the number of processes that each test mailbox participates in the grayscale test and the mailbox capacity of the test mailbox, according to the order of the ratio from low to high, from the The target test mailbox is selected from each test mailbox, that is, the test mailbox with the smaller ratio is selected as the target test mailbox. Therefore, the target test mailbox for testing can be selected for the application in combination with the mailbox load, which realizes the balanced utilization of mailbox resources and avoids the waste of resources caused by the vacancy of some mailboxes.
  • the grayscale platform may randomly select the test mailbox from all the test mailboxes registered in advance as the target test for the current grayscale test application mailbox.
  • the grayscale platform selects the target test mailbox from the pre-registered test mailbox, you can upload the address of the selected target test mailbox to an application publishing platform such as iTunes Connect of the iOS system, and iTunes Connect will send an invitation to experience these test mailboxes Link to obtain a test invitation link for grayscale testing of the target application, that is, a target test invitation link.
  • the target test mailbox (address) may correspond to the target test invitation link one-to-one.
  • the status may include an unsent invitation status, an sent invitation status, an accepted invitation status, and so on.
  • the status of the unsent invitation may refer to the status of not uploading the email address to the application publishing platform or uploading the email address to the application publishing platform but not receiving the target test invitation link sent by the application publishing platform or receiving the application publishing
  • the status of the target test invitation link sent by the platform but not sent to the test terminal; the sent invitation status may refer to the status of receiving the target test invitation link and sent to the test terminal;
  • the accepted invitation status may be that the test terminal has The status of accepting the invitation of the target test invitation link (if the test code included in the target test invitation link is used).
  • the status of the link may be identified by one or more fields, or through text records, or identified in other ways, which is not limited in this application.
  • the grayscale platform can detect whether there is a target test invitation link in these target test mailboxes according to preset rules, such as crawling at preset time intervals, or according to preset crawling Go to the time in the time list, etc. Until the target test invitation link is crawled from these target test mailboxes, the target test invitation link is sent to the corresponding test terminal. Specifically, after crawling out the target test invitation link in all target test mailboxes, each test terminal is individually sent to Send the target test invitation link, or crawl out the target test invitation link in a target test mailbox, and immediately send the target test invitation link to a test terminal, and so on. It can also monitor and record the status of each target test invitation link, that is, mark the status of the target test invitation link of each target test mailbox.
  • preset rules such as crawling at preset time intervals, or according to preset crawling Go to the time in the time list, etc.
  • the target test invitation link is sent to the corresponding test terminal.
  • each test terminal is individually sent to Send the target test invitation
  • the test information may include any one or more of the target application name, version number, target test email address, target test invitation link, and test terminal identification.
  • the test information may include the name, version number, and address of the target test mailbox of the target application. That is, by linking the link state and the information of the target application to be tested, multiple applications can share the test mailbox, thereby improving the utilization rate of the test mailbox.
  • each target test mailbox According to the status of the target test invitation link of each target test mailbox, respectively send a target test invitation link to at least one test terminal corresponding to the test information.
  • the test terminal may correspond to the sent target test invitation link one-to-one. That is, for each target test invitation link, it can be sent to a test terminal.
  • the at least one test terminal corresponding to the test information may refer to a test terminal used for the target application this grayscale test.
  • the at least one test terminal can be selected in advance, and the identification of the at least one test terminal and the test information of the target application (such as the name and version number of the target application) can be bound to mark the at least one test The terminal is used for this test of the target application.
  • the number of the at least one test terminal may be greater than or equal to the number of the at least one target test mailbox (or target test invitation link).
  • the grayscale platform may determine that among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link in the state of unsent invitation, and the The target test invitation link in the unsent invitation state is sent to the first test terminal corresponding to the test information, and the first test terminal has a one-to-one correspondence with the target test invitation link in the unsent invitation state.
  • the target test mailbox can send the target test invitation link to the test terminal.
  • the grayscale platform can also detect whether there is a target test invitation link whose status is in the state of sent invitation exceeds the preset time threshold in all target test invitation links; if there is a target test that exceeds the preset time threshold invitation link, you can send the target test invitation link that exceeds the preset time threshold to the second test terminal corresponding to the test information, the second test terminal and the target test invitation link that exceeds the preset time threshold one by one correspond.
  • the above-mentioned at least one test terminal may include the first terminal and the second test terminal, the number of the first test terminal may be the same as the number of the at least one target test mailbox, so that the at least one target test mailbox is After obtaining the target test link, it can be sent to the first test terminal; if after sending to the first test terminal, it is detected that the user of the first test terminal has not accepted the invitation for a long time (such as 2 days), you can re-submit to the The first test terminal sends the target test invitation link, or sends the target test invitation link to a new test terminal, that is, the second test terminal, to improve the utilization rate and test conversion rate of the invitation link, thereby further improving test efficiency.
  • the grayscale platform may delete all target test invitation links and recorded records of all target test invitation links Status, and delete the test information.
  • the grayscale platform can delete the target test invitation link and its status until the status of all target test invitation links are marked as When accepting the invitation status, delete the test information.
  • the grayscale platform may also delete (remove) the address of the target test mailbox from the application publishing platform.
  • the status of the target test invitation link corresponding to the target test mailbox is "not sent invitation status"; after entering the mailbox, the timing The crawler program will actively log in to the target test mailbox. If a test invitation link is found in a target test mailbox, that is, the target test invitation link, it can be sent to the test terminal and can be marked as "invited sent” status; at the same time, the crawler The program can actively simulate accessing the target test invitation link to see if the user has already participated in the invitation.
  • the status can be updated to "accepted invitation status" .
  • another timed crawler task can remove the address of the "accepted invitation status" mailbox from iTunes Connect and delete the corresponding mailbox Invite the link (email) and its status information, so that a closed-loop process can be formed to achieve the reuse of the mailbox.
  • another scheduled crawler task can delete the invitation link and its status corresponding to the "received invitation status", when all the invitation links of the mailbox are marked as When "invitation accepted", you can remove the mailbox from iTunes Connect.
  • the user of the test terminal can output a prompt message to prompt the user whether to participate in the test experience of the target application.
  • users click to participate they can jump to Testflight to participate in the experience to complete the grayscale test of the target application.
  • the grayscale platform can pre-register the mailbox, so that when grayscale testing is performed on the application, at least one target test mailbox can be selected from the pre-registered mailbox to obtain through the at least one target test mailbox Test the invitation link, and then monitor the status of the test invitation link, and store the status of the test invitation link and the test information of the application in association, so as to send the test invitation link to the test terminal according to the status and test information of the test invitation link, thereby Implementing gray-scale testing of the application improves the gray-scale testing efficiency of the application, and enables multiple applications to share test mailboxes, which improves the utilization rate of the test mailbox.
  • FIG. 2 is a schematic flowchart of another grayscale testing method provided by an embodiment of the present application. Specifically, as shown in FIG. 2, the grayscale testing method may include the following steps:
  • the historical grayscale test information may include any one or more of the time, number of times, and version number of the historical grayscale test.
  • the test frequency of an application of an application type may refer to the average test frequency or the average number of tests of each application under the application type, for example, the total test frequency of each application under the application type and the application The ratio between the number of times;
  • Another example is the preset historical time window such as the ratio between the total number of tests of each application under the application type and the number of each application within the previous 6 months;
  • Another example is the preset history The ratio between the total number of tests of each application under the application type and the historical time window in the time window such as the previous 6 months, etc., are not listed here one by one.
  • the mailbox set corresponding to the first application type includes more test mailboxes (greater than) the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type is higher than the first Test frequency of application of two application types. That is to say, when grouping mailboxes according to the application test frequency of each application type, the higher the test frequency, the more the number of test mailboxes corresponding to the grouped mailbox collection can be, to ensure sufficient test mailboxes and improve the test mailbox Utilization.
  • the mailbox set may correspond to the application type one by one, and the test mailbox in each mailbox set may be used for the grayscale test of the application of the application type corresponding to the mailbox set.
  • the test mailboxes can be grouped according to the frequency of grayscale testing of different types of applications to obtain multiple mailbox collections, and the mailbox collections are associated with the application type, that is, the testing of different mailbox collections
  • the mailbox can be used for grayscale testing of different types of applications. Therefore, when performing the grayscale test on the target application, the grayscale platform can quickly select and use the test mailbox from the corresponding mailbox set according to the type of the target application for testing.
  • a backup mailbox set may also be preset to obtain a backup mailbox set including one or more mailboxes. If the number in the target collection is insufficient, you can also select mailboxes from the backup mailbox collection as the target test mailbox.
  • the status includes an unsent invitation status, an sent invitation status or an accepted invitation status, etc.
  • the test information may include any of the target application name, version number, target test mailbox address, and test terminal identification Item or items.
  • the first test terminal may correspond one-to-one with the target test invitation link in the unsent invitation state.
  • the second test terminal may correspond to the target test invitation link exceeding the preset time threshold in a one-to-one correspondence.
  • steps 205-209 reference may be made to the related description of the embodiment shown in FIG. 1 above, and details are not described here.
  • the purpose of the construction of the gray-scale platform is to allow users to participate in the application (APP) experience test, allowing users to use the experience version of the application to collect whether the new version is defective from the user's usage. Therefore, when selecting the at least one test terminal, optionally, the active users within the preset time range may be determined according to the user's historical experience data of the target application or applications of the same type, such as within the past three months.
  • a user who uses the target application (pre-test version) or uses the same application type of the target application whose daily average duration exceeds a preset duration threshold regards the user as a test user, that is, a terminal corresponding to the user as a test terminal.
  • the terminal corresponding to the active user in the region of use may be selected as the test terminal in combination with the range of the region of use of the target application tested.
  • this version mainly adds financial management functions.
  • the test users you can actively push the experience messages including the target test invitation link to the terminals corresponding to these users, that is, the test terminals. Thereby, it helps to increase the conversion rate of users participating in the application of gray-scale testing, thereby improving the efficiency of gray-scale testing.
  • the first test terminal and the second test terminal may be the above test terminals.
  • the test terminal may output a prompt message to prompt the user whether to participate in the experience of the target application, or when the user is detected to open the target application, output the Prompt message used to prompt the user whether to participate in the experience. If the user clicks to participate to receive the user's instruction to click to participate, he can jump to Testflight to participate in the APP experience. Among them, Testflight is the official APP of Apple's official participation in experience testing. All participating experience users need to go to this APP to download the target application to be tested.
  • the description interface can display the target application including this update Content, the experience button to jump to Testfligh, and whether the user has installed Testflight and other content.
  • the user clicks the experience button again he can directly jump to the system browser Safari to open the target test invitation link.
  • the Safari browser can automatically update whether the user has installed Testflight to perform the jump logic: if the user has installed Testflight, you can Jump to Apple's Testflight APP, at the same time, an interface that needs to enter the experience code code can be popped up.
  • the user can return to the Safari browser interface to copy the experience code and enter it to download the target application for experience.
  • Safari can output a guide message to guide the user to install Testfight.
  • the interface that needs to enter the experience code is popped up.
  • the user can return to the Safari browser interface to copy the experience code and enter it, download the target application for experience .
  • the gray-scale test solution of the present application can reduce the user's cooperation and participation, optimize the user's experience in participating in the gray-scale test, and improve the conversion rate of users' participation in the application of the gray-scale test. It only requires the user to click on the last step to participate, jump to Testflight, enter the experience code, and install the target application of the experience, which can achieve grayscale testing, which greatly improves the user's participation experience.
  • the grayscale platform can pre-register mailboxes, group test mailboxes according to the frequency of grayscale testing of different types of applications to obtain multiple mailbox collections, and associate the mailbox collection with the application type, so that
  • the grayscale platform can quickly select the test mailbox used from the corresponding mailbox collection according to the type of the target application, so as to obtain the test invitation link through the selected test mailbox, and then pass the monitoring test Invite the link status, store the status of the test invitation link and the test information of the application in association, so as to send the test invitation link to the test terminal according to the status and test information of the test invitation link, so as to realize the grayscale test of the application ,
  • FIG. 3 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the server in the embodiment of the present application includes a unit for performing the above-mentioned grayscale testing method.
  • the server 300 in this embodiment may include: a processing unit 301 and a communication unit 302. among them,
  • the processing unit 301 is configured to select at least one target test mailbox for performing grayscale testing on the target application from at least one test mailbox registered in advance;
  • the communication unit 302 is configured to upload the address of the at least one target test mailbox to an application publishing platform, so that the application publishing platform sends target test invitation links corresponding to the grayscale test to the at least one target test mailbox, respectively ;
  • the processing unit 301 is further configured to separately crawl the target test invitation link of each target test mailbox in the at least one target test mailbox, and monitor the status of the target test invitation link of each target test mailbox.
  • the state of the target test invitation link of each target test mailbox and the test information of the target application are stored in association; wherein, the state includes an unsent invitation state, an sent invitation state, or an accepted invitation state, and the test information Including any one or more of the name of the target application, the version number, the address of the target test mailbox, and the identification of the test terminal;
  • the communication unit 302 is further configured to respectively send a target test invitation link to at least one test terminal corresponding to the test information according to the status of the target test invitation link of each target test mailbox, the test terminal and the sent The target test invitation links correspond to each other.
  • the processing unit 301 may be specifically configured to determine an application type of the target application, and determine a target mailbox set corresponding to the application type of the target application from a plurality of mailbox sets, the mailbox set One-to-one correspondence with application types, the test mailbox in each mailbox set is used for gray-scale testing of applications of the application type corresponding to the mailbox set; at least one test mailbox is selected from the target mailbox set, and the selected At least one test mailbox serves as the at least one target test mailbox.
  • the device further includes: a preset unit 303;
  • the preset unit 303 is configured to determine the test frequency of the application of each application type according to the historical grayscale test information of the application of each application type, and the historical grayscale test information includes the time and number of historical grayscale tests and Any one or more of the version numbers; according to the test frequency of the applications of the respective application types, preset preset mailbox sets corresponding to the respective application types to obtain the multiple mailbox sets;
  • the number of test mailboxes included in the mailbox set corresponding to the first application type in the plurality of mailbox sets is greater than the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type Higher than the test frequency of the application of the second application type.
  • the processing unit 301 may be specifically used to obtain load information of each test mailbox in at least one test mailbox registered in advance, and the load information includes the number of processes participating in the grayscale test; participation according to each test mailbox In the order of the number of grayscale tests from low to high, the at least one target test mailbox is selected from the respective test mailboxes.
  • the communication unit 302 may be specifically configured to determine, among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link whose status is in an unsent invitation state, and set the status to unsent
  • the target test invitation link in the invitation state is sent to the first test terminal corresponding to the test information, and the first test terminal corresponds to the target test invitation link in the unsent invitation state;
  • the processing unit 301 may be further configured to detect whether there is a target test invitation link whose state is in the sent invitation state and whose duration exceeds the preset time threshold in all the target test invitation links;
  • the communication unit 302 may be further specifically configured to send the target test invitation link exceeding the preset time threshold to the corresponding to the test information when there is a target test invitation link exceeding the preset time threshold A second test terminal, which corresponds one-to-one with the target test invitation link exceeding the preset time threshold.
  • the processing unit 301 may be further configured to delete all target test invitation links and the test information when the status of all target test invitation links corresponding to the at least one target test mailbox is an accepted invitation state.
  • the processing unit 301 can also be used to delete the address of the target test mailbox from the application publishing platform when the status of all test invitation links corresponding to any target test mailbox is the state of accepted invitation.
  • the server may implement part or all of the steps in the grayscale testing method in the embodiments shown in FIG. 1 to FIG. 2 through the above unit.
  • the embodiments of the present application are device embodiments corresponding to the method embodiments, and the description of the method embodiments is also applicable to the embodiments of the present application.
  • the grayscale platform can pre-register the mailbox, so that when grayscale testing is performed on the application, at least one target test mailbox can be selected from the pre-registered mailbox to obtain through the at least one target test mailbox Test the invitation link, and then monitor the status of the test invitation link, and store the status of the test invitation link and the test information of the application in association, so as to send the test invitation link to the test terminal according to the status and test information of the test invitation link, thereby Implementing gray-scale testing of the application improves the gray-scale testing efficiency of the application, and enables multiple applications to share test mailboxes, which improves the utilization rate of the test mailbox.
  • FIG. 4 is a schematic structural diagram of another server provided by an embodiment of the present application.
  • the server is used to perform the above method.
  • the server 400 in this embodiment may include: one or more processors 401, a memory 402, and a communication interface 403.
  • the server may also include one or more user interfaces 404.
  • the processor 401, the communication interface 403, the user interface 404, and the memory 402 may be connected through the bus 405, or may be connected through other methods.
  • the bus method is used as an example in FIG.
  • the memory 402 may be used to store a computer program, where the computer program includes program instructions, and the processor 401 is used to execute the program instructions stored in the memory 402.
  • the processor 401 may be used to call the program instructions to perform some or all of the steps in FIGS. 1 to 2 described above.
  • the processor 401 may be used to call the program instructions to perform the following steps: select at least one target test mailbox for gray-scale testing of the target application from at least one pre-registered test mailbox, and test the at least one target test mailbox Upload the address of the mailbox to the application publishing platform, so that the application publishing platform sends the target test invitation link corresponding to the grayscale test to the at least one target test mailbox; crawl each of the at least one target test mailbox A target test invitation link of a target test mailbox, and monitor the status of the target test invitation link of each target test mailbox, and compare the status of the target test invitation link of each target test mailbox and the test information of the target application Perform associative storage; wherein the status includes an unsent invitation status, an sent invitation status, or an accepted invitation status, and the test information includes the target application name, version number, target test mailbox address, and test terminal identification Any one or more of; according to the status of the target test invitation link of each target test mailbox, call the communication interface 403 to send the target test invitation link to at least one test terminal corresponding to the
  • the processor 401 may specifically perform the following steps when executing the at least one target test mailbox selected for pre-registering at least one test mailbox for grayscale testing of the target application:
  • the application type of the target application is determined, and a target mailbox set corresponding to the application type of the target application is determined from a plurality of mailbox collections, the mailbox set corresponds one-to-one with the application type, and the test in each mailbox collection
  • the mailbox is used for the grayscale test of the application type corresponding to the mailbox collection;
  • At least one test mailbox is selected from the target mailbox set, and the selected at least one test mailbox is used as the at least one target test mailbox.
  • processor 401 may also perform the following steps:
  • the test frequency of the applications of each application type is determined according to the historical grayscale test information of the applications of each application type, and the historical grayscale test information includes any one or more of the time, the number of times, and the version number of the historical grayscale test item;
  • the number of test mailboxes included in the mailbox set corresponding to the first application type in the plurality of mailbox sets is greater than the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type Higher than the test frequency of the application of the second application type.
  • the processor 401 may specifically perform the following steps when executing the at least one target test mailbox selected for pre-registering at least one test mailbox for grayscale testing of the target application:
  • the at least one target test mailbox is selected from each test mailbox according to the order in which the number of processes of each test mailbox participating in the grayscale test is from low to high.
  • the processor 401 executes the state of the target test invitation link according to each target test mailbox, and calls the communication interface 403 to send the target test invitation link to at least one test terminal corresponding to the test information,
  • the following steps can be performed specifically:
  • the communication interface 403 If there is a target test invitation link exceeding the preset time threshold, call the communication interface 403 to send the target test invitation link exceeding the preset time threshold to the second test terminal corresponding to the test information, the first Two test terminals have a one-to-one correspondence with the target test invitation links that exceed the preset time threshold.
  • processor 401 may also perform the following steps:
  • processor 401 may also perform the following steps:
  • the processor 401 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), application specific integrated circuits (Application Specific Integrated) Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the communication interface 403 may include a receiver and a transmitter for communicating with other devices such as test terminals.
  • the user interface 404 may include an input device and an output device.
  • the input device may include a touch panel, a microphone, and the like
  • the output device may include a display (LCD, etc.), a speaker, and the like.
  • the memory 402 may include a read-only memory and a random access memory, and provide instructions and data to the processor 401. A portion of the memory 402 may also include non-volatile random access memory. For example, the memory 402 may also store the aforementioned correspondence between the function pointer and the function, and so on.
  • the processor 401 and the like described in the embodiments of the present application can execute the implementation described in the method embodiments shown in FIG. 1 to FIG. 2 above, and can also execute each of the methods described in FIG. 3 of the embodiment of the present application. The implementation of the unit is not repeated here.
  • An embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the computer program can be implemented as described in the embodiments corresponding to FIG. 1 to FIG. 2 Part or all of the steps in the grayscale test method may also realize the function of the server of the embodiment shown in FIG. 3 or FIG. 4 of the present application, which will not be repeated here.
  • Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, causes the computer to perform some or all of the steps in the above method.
  • the computer-readable storage medium may be an internal storage unit of the server according to any one of the foregoing embodiments, such as a hard disk or a memory of the server.
  • the computer-readable storage medium may also be an external storage device of the server, such as a plug-in hard disk equipped on the server, a smart memory card (Smart) Media (SMC), and a secure digital (SD) card , Flash card (Flash Card), etc.
  • the term "and/or” is merely an association relationship that describes an associated object, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, and A and B exist at the same time. There are three cases of B alone.
  • the character "/" in this article generally indicates that the related objects before and after are in an "or” relationship.
  • the size of the sequence numbers of the above processes does not mean that the execution order is sequential, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Abstract

Disclosed by embodiments of the present application are a gray scale testing method, a server and a computer readable storage medium, which are applied to the technical field of software testing. The method comprises: selecting from at least one preregistered test mailbox at least one target test mailbox used for performing gray scale testing on a target application; crawling a target test invitation link of each target test mailbox among the at least one target test mailbox; monitoring the status of the target test invitation link of each target test mailbox; associatively storing the status of the target test invitation link of each target test mailbox and test information of the target application; and sending the target test invitation link to at least one test terminal corresponding to the test information according to the status of the target test invitation link of each target test mailbox. Using the present application helps to increase the efficiency of corresponding gray scale testing.

Description

一种灰度测试方法、服务器及计算机可读存储介质Gray scale test method, server and computer readable storage medium
本申请要求于2018年12月13日提交中国专利局、申请号为201811531236.2、申请名称为“一种灰度测试方法、服务器及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted to the China Patent Office on December 13, 2018, with the application number 201811531236.2 and the application name as "a grayscale test method, server and computer-readable storage medium", all of its content Incorporated by reference in this application.
技术领域Technical field
本申请涉及软件测试技术领域,尤其涉及一种灰度测试方法、服务器及计算机可读存储介质。This application relates to the technical field of software testing, in particular to a grayscale testing method, a server, and a computer-readable storage medium.
背景技术Background technique
目前iOS的官方灰度测试方案TestFlight在进行灰度测试时,需要先收集参加灰度测试的用户的邮箱,通过手动将参加灰度测试的用户的邮箱地址添加至iOS后台,以使iOS后台给这些用户邮箱发送邀请链接。在发送邀请链接之后,依赖用户到自己的邮箱里去点击邀请链接,打开链接后跳转到系统Safari浏览器,再跳转到苹果的应用市场下载Testflight,下载完后再通过输入参与体验测试的Code,参与App的体验测试。可见,整个灰度测试方案流程比较繁琐,导致测试效率较低。At present, the official grayscale test solution of iOS TestFlight needs to collect the mailboxes of users who participate in the grayscale test before performing grayscale testing. By manually adding the email addresses of the users who participate in the grayscale test to the iOS backend, the iOS backend is given These user mailboxes send invitation links. After sending the invitation link, rely on the user to click the invitation link in their own mailbox, open the link and jump to the system Safari browser, then jump to the Apple app market to download Testflight, after downloading, participate in the experience test by entering Code, participate in App experience testing. It can be seen that the entire grayscale test program process is relatively cumbersome, resulting in low test efficiency.
发明内容Summary of the invention
本申请实施例提供一种灰度测试方法、服务器及计算机可读存储介质,有助于提升对应用的灰度测试效率。Embodiments of the present application provide a grayscale testing method, a server, and a computer-readable storage medium, which are helpful for improving the efficiency of grayscale testing of applications.
第一方面,本申请实施例提供了一种灰度测试方法,包括:In a first aspect, an embodiment of the present application provides a grayscale testing method, including:
从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱,并将所述至少一个目标测试邮箱的地址上传至应用发布平台,以使所述应用发布平台向所述至少一个目标测试邮箱分别发送所述灰度测试对应的目标测试邀请链接;Selecting at least one target test mailbox for grayscale testing of the target application from the at least one test mailbox registered in advance, and uploading the address of the at least one target test mailbox to the application publishing platform, so that the application publishing platform Sending target test invitation links corresponding to the grayscale test to the at least one target test mailbox respectively;
分别爬取所述至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测所述每一个目标测试邮箱的目标测试邀请链接的状态,将所述每一个目标测试邮箱的目标测试邀请链接的状态和所述目标应用的测试信息进行关联存储;其中,所述状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态,所述测试信息包括所述目标应用的名称、版本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项;Crawl the target test invitation link of each target test mailbox in the at least one target test mailbox separately, and monitor the status of the target test invitation link of each target test mailbox, and test the target test of each target test mailbox The state of the invitation link is stored in association with the test information of the target application; wherein the state includes an unsent invitation state, a sent invitation state, or an accepted invitation state, and the test information includes the name and version of the target application Any one or more of the number, the address of the target test mailbox and the identification of the test terminal;
根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接,所述测试终端与发送的目标测试邀请链接一一对应。According to the status of the target test invitation link of each target test mailbox, a target test invitation link is sent to at least one test terminal corresponding to the test information, and the test terminals correspond to the sent target test invitation link in one-to-one correspondence.
第二方面,本申请实施例提供了一种服务器,该服务器包括用于执行上述第一方面的方法的单元。In a second aspect, an embodiment of the present application provides a server. The server includes a unit for performing the method of the first aspect.
第三方面,本申请实施例提供了另一种服务器,包括处理器、通信接口和 存储器,所述处理器、通信接口和存储器相互连接,其中,所述存储器用于存储支持服务器执行上述方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面的方法。可选的,该服务器还可包括用户接口。In a third aspect, an embodiment of the present application provides another server, including a processor, a communication interface, and a memory. The processor, the communication interface, and the memory are connected to each other, where the memory is used to store a server that supports the server to execute the above method. A computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to perform the method of the first aspect. Optionally, the server may also include a user interface.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。可选的,该计算机可读存储介质可以是计算机非易失性可读存储介质。According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium that stores a computer program, where the computer program includes program instructions, which when executed by a processor causes The processor executes the method of the first aspect described above. Optionally, the computer-readable storage medium may be a computer non-volatile storage medium.
本申请实施例能够提升对应用的灰度测试效率,且能够实现多个应用共享测试邮箱,提升了测试邮箱的利用率。The embodiments of the present application can improve the gray-scale test efficiency of the application, and can realize that multiple applications share the test mailbox, thereby improving the utilization rate of the test mailbox.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图进行介绍。In order to more clearly explain the technical solutions of the embodiments of the present application, the drawings required in the description of the embodiments will be described below.
图1是本申请实施例提供的一种灰度测试方法的流程示意图;FIG. 1 is a schematic flowchart of a grayscale testing method provided by an embodiment of the present application;
图2是本申请实施例提供的另一种灰度测试方法的流程示意图;2 is a schematic flowchart of another grayscale testing method provided by an embodiment of the present application;
图3是本申请实施例提供的一种服务器的结构示意图;3 is a schematic structural diagram of a server provided by an embodiment of the present application;
图4是本申请实施例提供的另一种服务器的结构示意图。4 is a schematic structural diagram of another server provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例的技术方案进行描述。The technical solutions of the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
本申请的技术方案可应用于服务器,如灰度平台中,用于对应用进行灰度测试。本申请涉及的终端如测试终端可以是手机、平板电脑、个人计算机等,本申请不做限定。The technical solution of the present application can be applied to a server, such as a gray-scale platform, for gray-scale testing of applications. The terminal involved in this application, such as a test terminal, may be a mobile phone, a tablet computer, a personal computer, etc., and this application is not limited.
目前经常存在终端应用的版本更新需要发布新版本的应用,或者发布新应用的情况。在正式发布之前,一般会对该新版本的应用或新应用进行灰度测试(以下简称对应用进行灰度测试),即经过一个测试阶段,先经过部分用户(测试终端)对应用进行灰度测试之后,再向所有用户正式发布。在本申请中,可通过预先注册一批用于灰度测试的邮箱,使得在对应用进行灰度测试时,能够通过从该预先注册的邮箱中选取用于测试的测试邮箱,以从该测试邮箱快速获取测试邀请链接,进而根据测试邀请链接的状态和应用的测试信息,向测试终端发送测试邀请链接,以实现对该应用的灰度测试,由此提升了对应用的灰度测试效率,且能够实现多个应用共享测试邮箱,提升了测试邮箱的利用率。以下分别详细说明。At present, there are often cases where the version update of the terminal application requires the release of a new version of the application or the release of a new application. Before the official release, the new version of the application or the new application will generally be tested for grayscale (hereinafter referred to as the grayscale test for the application), that is, after a test phase, the application will be grayscaled by some users (test terminals) After the test, it is officially released to all users. In this application, a batch of mailboxes for grayscale testing can be registered in advance, so that when grayscale testing is performed on the application, the test mailbox for testing can be selected from the pre-registered mailboxes The mailbox quickly obtains the test invitation link, and then sends the test invitation link to the test terminal according to the status of the test invitation link and the test information of the application, so as to realize the grayscale test of the application, thereby improving the efficiency of grayscale testing of the application. And can achieve multiple applications to share the test mailbox, improve the test mailbox utilization. Each is explained in detail below.
请参见图1,图1是本申请实施例提供的一种灰度测试方法的流程示意图。具体的,本实施例的方法可应用于上述的服务器如灰度平台中,下面以灰度平台为例进行说明。如图1所示,该灰度测试方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a grayscale testing method according to an embodiment of the present application. Specifically, the method of this embodiment can be applied to the above-mentioned server such as a gray-scale platform, and the gray-scale platform is taken as an example for description below. As shown in FIG. 1, the grayscale testing method may include the following steps:
101、从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测 试的至少一个目标测试邮箱,并将该至少一个目标测试邮箱的地址上传至应用发布平台,以使该应用发布平台向该至少一个目标测试邮箱分别发送该灰度测试对应的目标测试邀请链接。101. Select at least one target test mailbox for gray-scale testing of the target application from at least one test mailbox registered in advance, and upload the address of the at least one target test mailbox to the application publishing platform to enable the application publishing platform Send the target test invitation link corresponding to the grayscale test to the at least one target test mailbox respectively.
具体的,可预先注册一个或多个邮箱或通过其他方式选取该一个或多个邮箱,作为进行灰度测试过程中的测试邮箱以供后续测试使用,并可在灰度平台存储该一个或多个邮箱即测试邮箱的信息。该测试邮箱的信息可包括邮箱地址、名称等等。可选的,该一个或多个测试邮箱可以是预先通过手工注册的,或者可以是借用第三方工具批量注册的,等等,此处不一一列举。Specifically, one or more mailboxes can be pre-registered or selected through other methods, which can be used as the test mailbox during the grayscale test process for subsequent testing, and the one or more mailboxes can be stored on the grayscale platform A mailbox is the information of the test mailbox. The information of the test mailbox may include the email address, name and so on. Optionally, the one or more test mailboxes may be manually registered in advance, or may be registered in batches using third-party tools, etc., which are not listed here one by one.
可选的,不同的测试邮箱可以用于不同应用的灰度测试;或者,不同的测试邮箱可以用于不同类型的应用的灰度测试;或者,同一测试邮箱也可用于不同的应用的灰度测试,并可同时用于不同的应用的灰度测试。灰度平台可对这些测试邮箱进行管理,为不同应用分配测试邮箱。从而可实现实时、动态的为不同应用分配测试邮箱。Optionally, different test mailboxes can be used for grayscale testing of different applications; or, different test mailboxes can be used for grayscale testing of different types of applications; or, the same test mailbox can also be used for grayscale testing of different applications Test, and can be used for grayscale testing of different applications at the same time. The grayscale platform can manage these test mailboxes and assign test mailboxes for different applications. Thus, it is possible to allocate test mailboxes for different applications in real time and dynamically.
例如,一种可能的实施方式中,灰度平台可通过确定该目标应用的应用类型,并从预置的多个邮箱集合(邮箱分组)中确定出与该目标应用的应用类型对应的目标邮箱集合,进而从该目标邮箱集合中选取至少一个邮箱,并将选取的该至少一个邮箱作为该至少一个目标测试邮箱。其中,该邮箱集合与应用类型一一对应,每一邮箱集合可包括一个或多个测试邮箱,每一邮箱集合中的测试邮箱用于该邮箱集合对应的应用类型的应用的灰度测试。也就是说,在获取得到该至少一个测试邮箱之后,还可对该至少一个测试邮箱进行分组,以得到多个邮箱集合,并将邮箱集合与应用类型进行关联,即不同分组的测试邮箱可以用于不同应用类型的应用的灰度测试,使得在选取对应用进行测试的目标测试邮箱时,能够根据该应用的应用类型来从对应的邮箱集合中快速选择该目标测试邮箱。其中,每个分组的测试邮箱即每个邮箱集合的测试邮箱的数目可以相同,也可以不同。例如,可以根据划分的应用类型的数目和该至少一个测试邮箱的数目为不同类型的应用平均分配测试邮箱,即每个邮箱集合中的测试邮箱的数目相同;又如,可以根据不同应用类型下的应用的数目,进行邮箱分组,一应用类型下的应用的数目越多,该应用类型对应的邮箱集合包括的测试邮箱的数目越多。从而能够结合应用类型来为应用快速选取进行测试的目标测试邮箱,提升了邮箱选取效率。For example, in a possible implementation manner, the grayscale platform may determine the target mailbox corresponding to the application type of the target application by determining the application type of the target application and from a plurality of preset mailbox collections (mailbox groups) Set, and then select at least one mailbox from the target mailbox set, and use the selected at least one mailbox as the at least one target test mailbox. Wherein, the mailbox set corresponds to the application type one by one, each mailbox set may include one or more test mailboxes, and the test mailbox in each mailbox set is used for the grayscale test of the application type application corresponding to the mailbox set. That is to say, after the at least one test mailbox is obtained, the at least one test mailbox can be grouped to obtain multiple mailbox collections, and the mailbox collection is associated with the application type, that is, test mailboxes in different groups can be used The grayscale testing of applications of different application types makes it possible to quickly select the target test mailbox from the corresponding mailbox set according to the application type of the application when selecting the target test mailbox for testing the application. Among them, the number of test mailboxes of each group, that is, the number of test mailboxes of each mailbox set may be the same or different. For example, according to the number of divided application types and the number of the at least one test mailbox, different types of applications can be evenly allocated test mailboxes, that is, the number of test mailboxes in each mailbox set is the same; for example, according to different application types The number of applications is grouped into mailboxes. The more applications under an application type, the more test mailboxes included in the mailbox set corresponding to the application type. Therefore, the target test mailbox for testing can be quickly selected for the application in combination with the application type, which improves the efficiency of mailbox selection.
又如,另一种可能的实施方式中,灰度平台可通过获取预先注册的至少一个测试邮箱中各个测试邮箱的负载信息,进而根据该各个测试邮箱负载信息,从该各个测试邮箱中选取出该至少一个目标测试邮箱。其中,该负载信息包括参与灰度测试的进程数量、邮箱容量大小等等。也就是说,在选取对应用进行测试的目标测试邮箱时,灰度平台能够根据该至少一个测试邮箱的负载信息来选择该目标测试邮箱。例如,灰度平台可按照各个测试邮箱参与灰度测试的进程数量由低到高的顺序,从该各个测试邮箱中选取出目标测试邮箱,即选取参与灰度测试的进程数较少的测试邮箱作为目标测试邮箱;又如,灰度平台可分 别计算每一测试邮箱参与灰度测试的进程数量与该测试邮箱的邮箱容量之间的比值,按照该比例由低到高的顺序,从所述各个测试邮箱中选取出目标测试邮箱,即选取该比值较小的测试邮箱作为目标测试邮箱。从而能够结合邮箱负载来为应用选取进行测试的目标测试邮箱,实现了邮箱资源的均衡化利用,避免部分邮箱空置导致的资源浪费。As another example, in another possible implementation manner, the grayscale platform may obtain load information of each test mailbox in at least one test mailbox registered in advance, and then select from each test mailbox according to the load information of each test mailbox The at least one target test mailbox. Among them, the load information includes the number of processes participating in the grayscale test, the size of the mailbox capacity, and so on. That is to say, when selecting the target test mailbox for testing the application, the grayscale platform can select the target test mailbox according to the load information of the at least one test mailbox. For example, the grayscale platform can select the target test mailbox from each test mailbox according to the order of the number of processes that each test mailbox participates in the grayscale test from low to high, that is, select the test mailbox with fewer processes participating in the grayscale test As the target test mailbox; for another example, the grayscale platform can separately calculate the ratio between the number of processes that each test mailbox participates in the grayscale test and the mailbox capacity of the test mailbox, according to the order of the ratio from low to high, from the The target test mailbox is selected from each test mailbox, that is, the test mailbox with the smaller ratio is selected as the target test mailbox. Therefore, the target test mailbox for testing can be selected for the application in combination with the mailbox load, which realizes the balanced utilization of mailbox resources and avoids the waste of resources caused by the vacancy of some mailboxes.
又如,又一种可能的实施方式中,在选取对应用进行测试的目标测试邮箱时,灰度平台可以从预先注册的所有测试邮箱中随机选择测试邮箱作为当前灰度测试的应用的目标测试邮箱。As another example, in another possible implementation manner, when selecting a target test mailbox for testing the application, the grayscale platform may randomly select the test mailbox from all the test mailboxes registered in advance as the target test for the current grayscale test application mailbox.
灰度平台从预先注册的测试邮箱中选取出目标测试邮箱之后,即可将该选取的目标测试邮箱的地址上传应用发布平台如iOS系统的iTunes Connect,由iTunes Connect向这些测试邮箱发送进行体验邀请链接,以获取得到对该目标应用进行灰度测试的测试邀请链接,即目标测试邀请链接。其中,该目标测试邮箱(的地址)可以与目标测试邀请链接一一对应。After the grayscale platform selects the target test mailbox from the pre-registered test mailbox, you can upload the address of the selected target test mailbox to an application publishing platform such as iTunes Connect of the iOS system, and iTunes Connect will send an invitation to experience these test mailboxes Link to obtain a test invitation link for grayscale testing of the target application, that is, a target test invitation link. Among them, the target test mailbox (address) may correspond to the target test invitation link one-to-one.
102、分别爬取该至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测该每一个目标测试邮箱的目标测试邀请链接的状态。102. Crawl the target test invitation link of each target test mailbox in the at least one target test mailbox, and monitor the status of the target test invitation link of each target test mailbox.
其中,该状态可包括未发送邀请状态、已发送邀请状态或已接受邀请状态等等。该未发送邀请状态可以是指未将邮箱地址上传该应用发布平台的状态或将邮箱地址上传该应用发布平台但未接收到该应用发布平台发送的目标测试邀请链接的状态或接收到该应用发布平台发送的目标测试邀请链接但未发送给测试终端的状态;该已发送邀请状态可以是指接收到该目标测试邀请链接且已发送给测试终端的状态;该已接受邀请状态可以为测试终端已接受目标测试邀请链接的邀请(如使用了该目标测试邀请链接包括的测试码)的状态。可选的,链接的状态可以是用一个或多个字段来标识,或者通过文字记录,或者用其他方式标识,本申请不做限定。The status may include an unsent invitation status, an sent invitation status, an accepted invitation status, and so on. The status of the unsent invitation may refer to the status of not uploading the email address to the application publishing platform or uploading the email address to the application publishing platform but not receiving the target test invitation link sent by the application publishing platform or receiving the application publishing The status of the target test invitation link sent by the platform but not sent to the test terminal; the sent invitation status may refer to the status of receiving the target test invitation link and sent to the test terminal; the accepted invitation status may be that the test terminal has The status of accepting the invitation of the target test invitation link (if the test code included in the target test invitation link is used). Optionally, the status of the link may be identified by one or more fields, or through text records, or identified in other ways, which is not limited in this application.
在将目标测试邮箱的地址上传之后,灰度平台可按照预设的规则检测这些目标测试邮箱中是否存在目标测试邀请链接,比如按照预设的时间间隔去爬取,或者按照预置的爬取时间列表中的时间点去爬取,等等。直到从这些目标测试邮箱中爬取该目标测试邀请链接之后,向对应的测试终端发送该目标测试邀请链接,具体可在爬取出所有目标测试邮箱中的目标测试邀请链接之后再分别向各测试终端发送目标测试邀请链接,或者可爬取出一目标测试邮箱中的目标测试邀请链接,立即向一测试终端发送该目标测试邀请链接,等等。并可监测并记录各目标测试邀请链接的状态,即对各目标测试邮箱的目标测试邀请链接的状态进行标记。After uploading the address of the target test mailbox, the grayscale platform can detect whether there is a target test invitation link in these target test mailboxes according to preset rules, such as crawling at preset time intervals, or according to preset crawling Go to the time in the time list, etc. Until the target test invitation link is crawled from these target test mailboxes, the target test invitation link is sent to the corresponding test terminal. Specifically, after crawling out the target test invitation link in all target test mailboxes, each test terminal is individually sent to Send the target test invitation link, or crawl out the target test invitation link in a target test mailbox, and immediately send the target test invitation link to a test terminal, and so on. It can also monitor and record the status of each target test invitation link, that is, mark the status of the target test invitation link of each target test mailbox.
103、将每一个目标测试邮箱的目标测试邀请链接的状态和该目标应用的测试信息进行关联存储。103. Associate and store the state of the target test invitation link of each target test mailbox and the test information of the target application.
其中,该测试信息可包括该目标应用的名称、版本号、目标测试邮箱的地址、目标测试邀请链接以及测试终端的标识中的任一项或多项。例如,该测试信息可包括该目标应用的名称、版本号和目标测试邮箱的地址。也即,可通过 将链接状态和待测试的目标应用的信息进行绑定,以实现多个应用共享测试邮箱,从而提升测试邮箱的利用率。The test information may include any one or more of the target application name, version number, target test email address, target test invitation link, and test terminal identification. For example, the test information may include the name, version number, and address of the target test mailbox of the target application. That is, by linking the link state and the information of the target application to be tested, multiple applications can share the test mailbox, thereby improving the utilization rate of the test mailbox.
104、根据该每一个目标测试邮箱的目标测试邀请链接的状态,分别向该测试信息对应的至少一个测试终端发送目标测试邀请链接。104. According to the status of the target test invitation link of each target test mailbox, respectively send a target test invitation link to at least one test terminal corresponding to the test information.
其中,该测试终端可以与发送的目标测试邀请链接一一对应。也即,对于每一个目标测试邀请链接,可以发送给一个测试终端。可选的,该测试信息对应的至少一个测试终端可以是指用于该目标应用此次灰度测试的测试终端。该至少一个测试终端可预先选取得到,并可将该至少一个测试终端的标识和该目标应用的测试信息(如该目标应用的名称、版本号等)进行绑定,以便于标记该至少一个测试终端是用于该目标应用此次测试使用。进一步可选的,该至少一个测试终端的数量可以大于或等于该至少一个目标测试邮箱(或目标测试邀请链接)的数量。Wherein, the test terminal may correspond to the sent target test invitation link one-to-one. That is, for each target test invitation link, it can be sent to a test terminal. Optionally, the at least one test terminal corresponding to the test information may refer to a test terminal used for the target application this grayscale test. The at least one test terminal can be selected in advance, and the identification of the at least one test terminal and the test information of the target application (such as the name and version number of the target application) can be bound to mark the at least one test The terminal is used for this test of the target application. Further optionally, the number of the at least one test terminal may be greater than or equal to the number of the at least one target test mailbox (or target test invitation link).
可选的,灰度平台在向测试终端发送目标测试邀请链接时,可确定该至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并将该处于未发送邀请状态的目标测试邀请链接发送给该测试信息对应的第一测试终端,该第一测试终端与处于未发送邀请状态的目标测试邀请链接一一对应。也就是说,目标测试邮箱在获取到目标测试邀请链接之后,即可将该目标测试邀请链接发送给测试终端,当确定某一目标测试邀请链接已经使用,该链接的状态为“已接受邀请状态”。进一步可选的,灰度平台还可检测该所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接;如果存在超过该预设时间阈值的目标测试邀请链接,则可以将该超过该预设时间阈值的目标测试邀请链接发送给该测试信息对应的第二测试终端,该第二测试终端与该超过该预设时间阈值的目标测试邀请链接一一对应。也就是说,上述的至少一个测试终端可包括该第一终端以及该第二测试终端,该第一测试终端的数目可以和该至少一个目标测试邮箱的数目相同,使得该至少一个目标测试邮箱在获取到目标测试链接之后,能够发送给第一测试终端;如果发送给第一测试终端之后,检测到长时间(如2天)该第一测试终端的用户仍未接受邀请,则可重新向该第一测试终端发送该目标测试邀请链接,或者向新的测试终端即第二测试终端发送该目标测试邀请链接,以提升邀请链接的使用率和测试转化率,从而进一步提升测试效率。Optionally, when sending the target test invitation link to the test terminal, the grayscale platform may determine that among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link in the state of unsent invitation, and the The target test invitation link in the unsent invitation state is sent to the first test terminal corresponding to the test information, and the first test terminal has a one-to-one correspondence with the target test invitation link in the unsent invitation state. In other words, after obtaining the target test invitation link, the target test mailbox can send the target test invitation link to the test terminal. When it is determined that a target test invitation link has been used, the status of the link is "invited accepted" ". Further optionally, the grayscale platform can also detect whether there is a target test invitation link whose status is in the state of sent invitation exceeds the preset time threshold in all target test invitation links; if there is a target test that exceeds the preset time threshold Invitation link, you can send the target test invitation link that exceeds the preset time threshold to the second test terminal corresponding to the test information, the second test terminal and the target test invitation link that exceeds the preset time threshold one by one correspond. That is to say, the above-mentioned at least one test terminal may include the first terminal and the second test terminal, the number of the first test terminal may be the same as the number of the at least one target test mailbox, so that the at least one target test mailbox is After obtaining the target test link, it can be sent to the first test terminal; if after sending to the first test terminal, it is detected that the user of the first test terminal has not accepted the invitation for a long time (such as 2 days), you can re-submit to the The first test terminal sends the target test invitation link, or sends the target test invitation link to a new test terminal, that is, the second test terminal, to improve the utilization rate and test conversion rate of the invitation link, thereby further improving test efficiency.
进一步可选的,当该至少一个目标测试邮箱对应的所有目标测试邀请链接的状态均为已接受邀请状态时,灰度平台可删除该所有目标测试邀请链接和记录的该所有目标测试邀请链接的状态,以及删除该测试信息。或者,当任一目标测试邮箱的目标测试邀请链接的状态为已接受邀请状态时,灰度平台可以删除该目标测试邀请链接及其状态,直至所有的目标测试邀请链接的状态均被标记为已接受邀请状态时,删除该测试信息。从而释放内存,以节省存储资源。Further optionally, when the status of all target test invitation links corresponding to the at least one target test mailbox is an accepted invitation status, the grayscale platform may delete all target test invitation links and recorded records of all target test invitation links Status, and delete the test information. Or, when the status of the target test invitation link of any target test mailbox is the status of accepted invitation, the grayscale platform can delete the target test invitation link and its status until the status of all target test invitation links are marked as When accepting the invitation status, delete the test information. Thus freeing up memory to save storage resources.
进一步可选的,当任一目标测试邮箱对应的所有测试邀请链接的状态均为 已接受邀请状态时,灰度平台还可从该应用发布平台删除(移除)该目标测试邮箱的地址。Further optionally, when the status of all test invitation links corresponding to any target test mailbox is the status of accepted invitation, the grayscale platform may also delete (remove) the address of the target test mailbox from the application publishing platform.
举例来说,当邮箱信息如上述的目标测试邮箱的地址录入到系统中,即上传iTunes Connect时,目标测试邮箱对应的目标测试邀请链接的状态为“未发送邀请状态”;录入邮箱后,定时的爬虫程序会主动登录目标测试邮箱,如果发现某个目标测试邮箱里有测试邀请链接即目标测试邀请链接,可以将其发送给测试终端,并可标记为“已发送邀请”状态;同时定时爬虫程序可以去主动模拟访问这个目标测试邀请链接,查看用户是否已经参与了邀请,如果参与了邀请(即使用了该目标测试邀请链接的测试码),则可以将状态更新为“已接受邀请状态”。可选的,对于一个邮箱仅同时用于一个灰度测试的场景下,另外一个定时爬虫任务可以将“已接受邀请状态”的邮箱的地址从iTunes Connect上移除,并可删除该邮箱对应的邀请链接(邮件)及其状态信息,这样就可以形成一个闭环的流程,达到邮箱的重复使用。或者,对于一个邮箱同时用于多个灰度测试的场景下,另外一个定时爬虫任务可以删除该“已接收邀请状态”对应的邀请链接及其状态,当该邮箱的所有邀请链接均被标记为“已接受邀请状态”时,可以将该邮箱从iTunes Connect上移除。For example, when the mailbox information is entered into the system as the address of the target test mailbox mentioned above, that is, when uploading iTunes Connect, the status of the target test invitation link corresponding to the target test mailbox is "not sent invitation status"; after entering the mailbox, the timing The crawler program will actively log in to the target test mailbox. If a test invitation link is found in a target test mailbox, that is, the target test invitation link, it can be sent to the test terminal and can be marked as "invited sent" status; at the same time, the crawler The program can actively simulate accessing the target test invitation link to see if the user has already participated in the invitation. If the user has participated in the invitation (that is, the test code of the target test invitation link is used), the status can be updated to "accepted invitation status" . Optionally, for a scenario where one mailbox is only used for one grayscale test at the same time, another timed crawler task can remove the address of the "accepted invitation status" mailbox from iTunes Connect and delete the corresponding mailbox Invite the link (email) and its status information, so that a closed-loop process can be formed to achieve the reuse of the mailbox. Or, for a scenario where a mailbox is used for multiple grayscale tests at the same time, another scheduled crawler task can delete the invitation link and its status corresponding to the "received invitation status", when all the invitation links of the mailbox are marked as When "invitation accepted", you can remove the mailbox from iTunes Connect.
测试终端的用户接收到推送消息之后,即可输出提示消息,提示用户是否参与该目标应用的测试体验。当用户点击参与,即可跳转到Testflight进行参与体验,以完成对该目标应用的灰度测试。After receiving the push message, the user of the test terminal can output a prompt message to prompt the user whether to participate in the test experience of the target application. When users click to participate, they can jump to Testflight to participate in the experience to complete the grayscale test of the target application.
在本实施例中,灰度平台能够通过预先注册邮箱,使得在对应用进行灰度测试时,能够通过从该预先注册的邮箱中选取至少一个目标测试邮箱,以通过该至少一个目标测试邮箱获取测试邀请链接,进而通过监测测试邀请链接的状态,将测试邀请链接的状态和应用的测试信息进行关联存储,以实现根据该测试邀请链接的状态和测试信息,向测试终端发送测试邀请链接,从而实现对该应用的灰度测试,这就提升了对应用的灰度测试效率,且能够实现多个应用共享测试邮箱,提升了测试邮箱的利用率。In this embodiment, the grayscale platform can pre-register the mailbox, so that when grayscale testing is performed on the application, at least one target test mailbox can be selected from the pre-registered mailbox to obtain through the at least one target test mailbox Test the invitation link, and then monitor the status of the test invitation link, and store the status of the test invitation link and the test information of the application in association, so as to send the test invitation link to the test terminal according to the status and test information of the test invitation link, thereby Implementing gray-scale testing of the application improves the gray-scale testing efficiency of the application, and enables multiple applications to share test mailboxes, which improves the utilization rate of the test mailbox.
请参见图2,图2是本申请实施例提供的另一种灰度测试方法的流程示意图。具体的,如图2所示,该灰度测试方法可以包括以下步骤:Please refer to FIG. 2, which is a schematic flowchart of another grayscale testing method provided by an embodiment of the present application. Specifically, as shown in FIG. 2, the grayscale testing method may include the following steps:
201、根据各应用类型的应用的历史灰度测试信息确定该各应用类型的应用的测试频率。201. Determine the test frequency of the application of each application type according to the historical grayscale test information of the application of each application type.
其中,该历史灰度测试信息可包括历史灰度测试的时间、次数以及版本号中的任一项或多项。The historical grayscale test information may include any one or more of the time, number of times, and version number of the historical grayscale test.
可选的,一应用类型的应用的测试频率可以是指该应用类型下的各应用的平均测试频率或平均测试次数等等,比如为该应用类型下的各应用的总测试次数与该各应用的数目之间比值;又如为预设的历史时间窗如前6个月内该应用类型下的各应用的总测试次数与该各应用的数目之间的比值;又如为预设的历史时间窗内如前6个月内该应用类型下的各应用的总测试次数与该历史时间窗之间的比值,等等,此处不一一列举。Optionally, the test frequency of an application of an application type may refer to the average test frequency or the average number of tests of each application under the application type, for example, the total test frequency of each application under the application type and the application The ratio between the number of times; Another example is the preset historical time window such as the ratio between the total number of tests of each application under the application type and the number of each application within the previous 6 months; Another example is the preset history The ratio between the total number of tests of each application under the application type and the historical time window in the time window such as the previous 6 months, etc., are not listed here one by one.
202、根据该各应用类型的应用的测试频率,分别预置得到该各应用类型对应的邮箱集合,以得到多个邮箱集合。202. According to the test frequency of the application of each application type, preset preset mailbox sets corresponding to each application type to obtain multiple mailbox sets.
其中,第一应用类型对应的邮箱集合包括的测试邮箱的数目多于(大于)第二应用类型对应的邮箱集合包括的测试邮箱的数目,该第一应用类型的应用的测试频率高于该第二应用类型的应用的测试频率。也就是说,在根据各应用类型的应用的测试频率来对邮箱进行分组时,测试频率越高,对应分组的邮箱集合的测试邮箱的数目可以越多,以确保测试邮箱充足,提升测试邮箱的利用率。Wherein, the mailbox set corresponding to the first application type includes more test mailboxes (greater than) the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type is higher than the first Test frequency of application of two application types. That is to say, when grouping mailboxes according to the application test frequency of each application type, the higher the test frequency, the more the number of test mailboxes corresponding to the grouped mailbox collection can be, to ensure sufficient test mailboxes and improve the test mailbox Utilization.
203、确定目标应用的应用类型,并从该多个邮箱集合中确定出与该目标应用的应用类型对应的目标邮箱集合。203. Determine the application type of the target application, and determine the target mailbox set corresponding to the application type of the target application from the plurality of mailbox sets.
其中,该邮箱集合可以与应用类型一一对应,每一邮箱集合中的测试邮箱可用于该邮箱集合对应的应用类型的应用的灰度测试。Wherein, the mailbox set may correspond to the application type one by one, and the test mailbox in each mailbox set may be used for the grayscale test of the application of the application type corresponding to the mailbox set.
204、从该目标邮箱集合中选取至少一个测试邮箱,并将选取的该至少一个测试邮箱作为至少一个目标测试邮箱。204. Select at least one test mailbox from the target mailbox set, and use the selected at least one test mailbox as at least one target test mailbox.
在本实施例中,可根据不同类型的应用进行灰度测试的频率来对测试邮箱进行分组,得到多个邮箱集合,并将邮箱集合与应用类型进行关联,也就是说,不同邮箱集合的测试邮箱可以用于不同类型的应用的灰度测试。使得灰度平台在进行对目标应用的灰度测试时,能够根据该目标应用的类型快速从对应的邮箱集合中选取使用的测试邮箱以进行测试。In this embodiment, the test mailboxes can be grouped according to the frequency of grayscale testing of different types of applications to obtain multiple mailbox collections, and the mailbox collections are associated with the application type, that is, the testing of different mailbox collections The mailbox can be used for grayscale testing of different types of applications. Therefore, when performing the grayscale test on the target application, the grayscale platform can quickly select and use the test mailbox from the corresponding mailbox set according to the type of the target application for testing.
进一步可选的,还可预先设置得到一个备用邮箱集合,该备用邮箱集合包括一个或多个邮箱。如果该目标集合中的数目不足,还可从该备用邮箱集合中选取邮箱作为该目标测试邮箱。Further optionally, a backup mailbox set may also be preset to obtain a backup mailbox set including one or more mailboxes. If the number in the target collection is insufficient, you can also select mailboxes from the backup mailbox collection as the target test mailbox.
205、将该至少一个目标测试邮箱的地址上传至应用发布平台,以使该应用发布平台向该至少一个目标测试邮箱分别发送该灰度测试对应的目标测试邀请链接。205. Upload the address of the at least one target test mailbox to the application publishing platform, so that the application publishing platform sends target test invitation links corresponding to the grayscale test to the at least one target test mailbox, respectively.
206、分别爬取该至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测每一个目标测试邮箱的目标测试邀请链接的状态,将每一个目标测试邮箱的目标测试邀请链接的状态和该目标应用的测试信息进行关联存储。206. Crawl the target test invitation link of each target test mailbox in the at least one target test mailbox, and monitor the status of the target test invitation link of each target test mailbox, and link the target test invitation link of each target test mailbox The state and the test information of the target application are stored in association.
其中,该状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态等等,该测试信息可包括该目标应用的名称、版本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项。通过将应用名称、版本号、测试邮箱地址、邀请链接的标记状态进行绑定,使得同一邮箱同一时段内能够同时用于不同的应用的灰度测试,这就进一步提升了测试邮箱的利用率。Among them, the status includes an unsent invitation status, an sent invitation status or an accepted invitation status, etc., and the test information may include any of the target application name, version number, target test mailbox address, and test terminal identification Item or items. By binding the application name, version number, test email address, and the tag status of the invitation link, the same mailbox can be used for grayscale testing of different applications at the same time, which further improves the utilization rate of the test mailbox.
207、确定该至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并将该处于未发送邀请状态的目标测试邀请链接发送给该测试信息对应的第一测试终端。207. Determine, among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link whose status is in the unsent invitation state, and send the target test invitation link in the unsent invitation state to the corresponding to the test information The first test terminal.
其中,该第一测试终端可以与与处于未发送邀请状态的目标测试邀请链接 一一对应。The first test terminal may correspond one-to-one with the target test invitation link in the unsent invitation state.
208、检测该所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接。208. Detect whether there is a target test invitation link whose state is in the sent invitation state and whose duration exceeds the preset time threshold in all the target test invitation links.
209、如果存在超过该预设时间阈值的目标测试邀请链接,将该超过该预设时间阈值的目标测试邀请链接发送给该测试信息对应的第二测试终端。209. If there is a target test invitation link exceeding the preset time threshold, send the target test invitation link exceeding the preset time threshold to the second test terminal corresponding to the test information.
其中,该第二测试终端可以与该超过该预设时间阈值的目标测试邀请链接一一对应。The second test terminal may correspond to the target test invitation link exceeding the preset time threshold in a one-to-one correspondence.
具体的,该步骤205-209的描述可参照上述图1所示实施例的相关描述,此处不赘述。Specifically, for the description of steps 205-209, reference may be made to the related description of the embodiment shown in FIG. 1 above, and details are not described here.
由于灰度平台的建设目的就是为了让用户参与应用(APP)的体验测试,让用户使用应用的体验版本,以从用户的使用情况来采集新版本是否存在缺陷。由此,在选取该至少一个测试终端时,可选的,可根据用户的对该目标应用或同类型的应用的历史体验数据确定出预设时间范围内的活跃用户,如近三个月内使用该目标应用(测试前的版本)或使用该目标应用的相同应用类型的应用的日均时长超过预设时长阈值的用户,将该用户作为测试用户,即将该用户对应的终端作为测试终端。和/或,可选的,还可结合测试的该目标应用的使用区域范围,选取该使用区域范围(如某一城市)内的活跃用户对应的终端作为测试终端。和/或,可选的,还可以结合该目标应用的测试(体验)版本新增功能的类型来选取对应用户维度标签的用户作为测试用户,比如这期版本主要增加的是理财方面的功能,则可以通过后端用户的画像数据,根据每个用户维度标签,选择出用户维度标签为理财的用户作为测试用户,等等。在选取出测试用户之后,即可向这些用户对应的终端即测试终端主动推送包括上述的目标测试邀请链接的体验消息。从而有助于提升用户参与应用灰度测试的转化率,进而提升灰度测试的效率。可选的,该第一测试终端和第二测试终端即可以为上述的测试终端。The purpose of the construction of the gray-scale platform is to allow users to participate in the application (APP) experience test, allowing users to use the experience version of the application to collect whether the new version is defective from the user's usage. Therefore, when selecting the at least one test terminal, optionally, the active users within the preset time range may be determined according to the user's historical experience data of the target application or applications of the same type, such as within the past three months A user who uses the target application (pre-test version) or uses the same application type of the target application whose daily average duration exceeds a preset duration threshold, regards the user as a test user, that is, a terminal corresponding to the user as a test terminal. And/or, optionally, the terminal corresponding to the active user in the region of use (for example, a city) may be selected as the test terminal in combination with the range of the region of use of the target application tested. And/or, optionally, you can also select the user corresponding to the user dimension label as the test user based on the type of new features added to the test (experience) version of the target application. For example, this version mainly adds financial management functions. Then, through the profile data of the back-end user, according to each user dimension label, the user whose user dimension label is wealth management can be selected as the test user, and so on. After selecting the test users, you can actively push the experience messages including the target test invitation link to the terminals corresponding to these users, that is, the test terminals. Thereby, it helps to increase the conversion rate of users participating in the application of gray-scale testing, thereby improving the efficiency of gray-scale testing. Optionally, the first test terminal and the second test terminal may be the above test terminals.
测试终端接收到目标测试邀请链接或包括该目标测试邀请链接的推送消息之后,测试终端可输出提示消息,以提示用户是否参与该目标应用的体验,或者检测到用户打开该目标应用时,输出该用于提示用户是否参与体验的提示消息。如果用户点击参与即接收到用户点击参与的指令时,则可跳转到Testflight进行参与APP体验。其中,Testflight为是苹果官方参与体验测试的官方APP,所有参与体验用户需要到这个APP里去下载待测试的目标应用。可选的,当用户接收到目标测试邀请链接的信息并点击参与体验之后,可跳转到针对该目标应用的一个参与体验的说明界面,该说明界面里可显示包括该目标应用本次更新的内容、跳转到Testfligh的体验按钮和用户是否已经安装Testflight等内容。当用户再次点击体验按钮时,则可直接跳转到系统浏览器Safari打开该目标测试邀请链接,同时Safari浏览器可自动更新用户是否已经安装Testflight进行跳转逻辑:如果用户已经安装Testflight,则可跳转到苹果的Testflight APP,同时可弹出需要输入体验码code的界面,此时用户可以返 回Safari浏览器界面拷贝体验码并输入,以下载该目标应用进行体验。如果用户没安装Testflight,Safari可输出引导消息以引导用户去安装Testfight,安装后弹出需要输入体验码code的界面,此时用户可以返回Safari浏览器界面拷贝体验码并输入,下载该目标应用进行体验。综上,本申请的灰度测试方案可减少用户的配合参与,优化用户参与灰度测试的体验,提高用户参与应用灰度测试的转化率。仅需要用户最后一步点击参与,跳转到Testflight,输入体验码,进行体验的目标应用的安装,即可实现灰度测试,这就极大的提高了用户的参与体验。After the test terminal receives the target test invitation link or the push message including the target test invitation link, the test terminal may output a prompt message to prompt the user whether to participate in the experience of the target application, or when the user is detected to open the target application, output the Prompt message used to prompt the user whether to participate in the experience. If the user clicks to participate to receive the user's instruction to click to participate, he can jump to Testflight to participate in the APP experience. Among them, Testflight is the official APP of Apple's official participation in experience testing. All participating experience users need to go to this APP to download the target application to be tested. Optionally, after the user receives the information of the target test invitation link and clicks to participate in the experience, he can jump to a description interface for the target application that participates in the experience, the description interface can display the target application including this update Content, the experience button to jump to Testfligh, and whether the user has installed Testflight and other content. When the user clicks the experience button again, he can directly jump to the system browser Safari to open the target test invitation link. At the same time, the Safari browser can automatically update whether the user has installed Testflight to perform the jump logic: if the user has installed Testflight, you can Jump to Apple's Testflight APP, at the same time, an interface that needs to enter the experience code code can be popped up. At this time, the user can return to the Safari browser interface to copy the experience code and enter it to download the target application for experience. If the user does not install Testflight, Safari can output a guide message to guide the user to install Testfight. After the installation, the interface that needs to enter the experience code is popped up. At this time, the user can return to the Safari browser interface to copy the experience code and enter it, download the target application for experience . In summary, the gray-scale test solution of the present application can reduce the user's cooperation and participation, optimize the user's experience in participating in the gray-scale test, and improve the conversion rate of users' participation in the application of the gray-scale test. It only requires the user to click on the last step to participate, jump to Testflight, enter the experience code, and install the target application of the experience, which can achieve grayscale testing, which greatly improves the user's participation experience.
在本实施例中,灰度平台能够通过预先注册邮箱,根据不同类型的应用进行灰度测试的频率来对测试邮箱进行分组以得到多个邮箱集合,并将邮箱集合与应用类型进行关联,使得灰度平台在进行对目标应用的灰度测试时,能够根据该目标应用的类型快速从对应的邮箱集合中选取使用的测试邮箱,以通过该选取的测试邮箱获取测试邀请链接,进而通过监测测试邀请链接的状态,将测试邀请链接的状态和应用的测试信息进行关联存储,以实现根据该测试邀请链接的状态和测试信息,向测试终端发送测试邀请链接,从而实现对该应用的灰度测试,这就提升了对应用的灰度测试效率,且能够实现多个应用共享测试邮箱,提升了测试邮箱的利用率,并且有助于减少用户在整个灰度体验测试中的配合,提高了用户体验度,进而提高了用户参与应用体验测试的转化率。In this embodiment, the grayscale platform can pre-register mailboxes, group test mailboxes according to the frequency of grayscale testing of different types of applications to obtain multiple mailbox collections, and associate the mailbox collection with the application type, so that When performing the grayscale test on the target application, the grayscale platform can quickly select the test mailbox used from the corresponding mailbox collection according to the type of the target application, so as to obtain the test invitation link through the selected test mailbox, and then pass the monitoring test Invite the link status, store the status of the test invitation link and the test information of the application in association, so as to send the test invitation link to the test terminal according to the status and test information of the test invitation link, so as to realize the grayscale test of the application , Which improves the efficiency of grayscale testing of applications, and enables multiple applications to share test mailboxes, improves the utilization of test mailboxes, and helps reduce the user's cooperation in the entire grayscale experience test and improve users Experience, which in turn improves the conversion rate of users participating in the application experience test.
上述方法实施例都是对本申请的灰度测试方法的举例说明,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。The above method embodiments are all examples of the grayscale testing method of the present application, and the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, please refer to the relevant descriptions of other embodiments.
请参见图3,图3是本申请实施例提供的一种服务器的结构示意图。本申请实施例的服务器包括用于执行上述灰度测试方法的单元。具体的,本实施例的服务器300可包括:处理单元301和通信单元302。其中,Please refer to FIG. 3, which is a schematic structural diagram of a server according to an embodiment of the present application. The server in the embodiment of the present application includes a unit for performing the above-mentioned grayscale testing method. Specifically, the server 300 in this embodiment may include: a processing unit 301 and a communication unit 302. among them,
处理单元301,用于从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱;The processing unit 301 is configured to select at least one target test mailbox for performing grayscale testing on the target application from at least one test mailbox registered in advance;
通信单元302,用于将所述至少一个目标测试邮箱的地址上传至应用发布平台,以使所述应用发布平台向所述至少一个目标测试邮箱分别发送所述灰度测试对应的目标测试邀请链接;The communication unit 302 is configured to upload the address of the at least one target test mailbox to an application publishing platform, so that the application publishing platform sends target test invitation links corresponding to the grayscale test to the at least one target test mailbox, respectively ;
所述处理单元301,还用于分别爬取所述至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测所述每一个目标测试邮箱的目标测试邀请链接的状态,将所述每一个目标测试邮箱的目标测试邀请链接的状态和所述目标应用的测试信息进行关联存储;其中,所述状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态,所述测试信息包括所述目标应用的名称、版本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项;The processing unit 301 is further configured to separately crawl the target test invitation link of each target test mailbox in the at least one target test mailbox, and monitor the status of the target test invitation link of each target test mailbox. The state of the target test invitation link of each target test mailbox and the test information of the target application are stored in association; wherein, the state includes an unsent invitation state, an sent invitation state, or an accepted invitation state, and the test information Including any one or more of the name of the target application, the version number, the address of the target test mailbox, and the identification of the test terminal;
所述通信单元302,还用于根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请 链接,所述测试终端与发送的目标测试邀请链接一一对应。The communication unit 302 is further configured to respectively send a target test invitation link to at least one test terminal corresponding to the test information according to the status of the target test invitation link of each target test mailbox, the test terminal and the sent The target test invitation links correspond to each other.
可选的,所述处理单元301,可具体用于确定所述目标应用的应用类型,并从多个邮箱集合中确定出与所述目标应用的应用类型对应的目标邮箱集合,所述邮箱集合与应用类型一一对应,每一邮箱集合中的测试邮箱用于该邮箱集合对应的应用类型的应用进行灰度测试;从所述目标邮箱集合中选取至少一个测试邮箱,并将选取的所述至少一个测试邮箱作为所述至少一个目标测试邮箱。Optionally, the processing unit 301 may be specifically configured to determine an application type of the target application, and determine a target mailbox set corresponding to the application type of the target application from a plurality of mailbox sets, the mailbox set One-to-one correspondence with application types, the test mailbox in each mailbox set is used for gray-scale testing of applications of the application type corresponding to the mailbox set; at least one test mailbox is selected from the target mailbox set, and the selected At least one test mailbox serves as the at least one target test mailbox.
进一步可选的,所述装置还包括:预置单元303;Further optionally, the device further includes: a preset unit 303;
所述预置单元303,用于根据各应用类型的应用的历史灰度测试信息确定所述各应用类型的应用的测试频率,所述历史灰度测试信息包括历史灰度测试的时间、次数以及版本号中的任一项或多项;根据所述各应用类型的应用的测试频率,分别预置得到所述各应用类型对应的邮箱集合,以得到所述多个邮箱集合;The preset unit 303 is configured to determine the test frequency of the application of each application type according to the historical grayscale test information of the application of each application type, and the historical grayscale test information includes the time and number of historical grayscale tests and Any one or more of the version numbers; according to the test frequency of the applications of the respective application types, preset preset mailbox sets corresponding to the respective application types to obtain the multiple mailbox sets;
其中,所述多个邮箱集合中第一应用类型对应的邮箱集合包括的测试邮箱的数目大于第二应用类型对应的邮箱集合包括的测试邮箱的数目,所述第一应用类型的应用的测试频率高于所述第二应用类型的应用的测试频率。The number of test mailboxes included in the mailbox set corresponding to the first application type in the plurality of mailbox sets is greater than the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type Higher than the test frequency of the application of the second application type.
可选的,所述处理单元301,可具体用于获取预先注册的至少一个测试邮箱中各个测试邮箱的负载信息,所述负载信息包括参与灰度测试的进程数量;按照所述各个测试邮箱参与灰度测试的进程数量由低到高的顺序,从所述各个测试邮箱中选取出所述至少一个目标测试邮箱。Optionally, the processing unit 301 may be specifically used to obtain load information of each test mailbox in at least one test mailbox registered in advance, and the load information includes the number of processes participating in the grayscale test; participation according to each test mailbox In the order of the number of grayscale tests from low to high, the at least one target test mailbox is selected from the respective test mailboxes.
可选的,所述通信单元302,可具体用于确定所述至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并将所述处于未发送邀请状态的目标测试邀请链接发送给所述测试信息对应的第一测试终端,所述第一测试终端与所述处于未发送邀请状态的目标测试邀请链接一一对应;Optionally, the communication unit 302 may be specifically configured to determine, among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link whose status is in an unsent invitation state, and set the status to unsent The target test invitation link in the invitation state is sent to the first test terminal corresponding to the test information, and the first test terminal corresponds to the target test invitation link in the unsent invitation state;
所述处理单元301,还可用于检测所述所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接;The processing unit 301 may be further configured to detect whether there is a target test invitation link whose state is in the sent invitation state and whose duration exceeds the preset time threshold in all the target test invitation links;
所述通信单元302,还可具体用于当存在超过所述预设时间阈值的目标测试邀请链接时,将所述超过所述预设时间阈值的目标测试邀请链接发送给所述测试信息对应的第二测试终端,所述第二测试终端与所述超过所述预设时间阈值的目标测试邀请链接一一对应。The communication unit 302 may be further specifically configured to send the target test invitation link exceeding the preset time threshold to the corresponding to the test information when there is a target test invitation link exceeding the preset time threshold A second test terminal, which corresponds one-to-one with the target test invitation link exceeding the preset time threshold.
可选的,处理单元301,还可用于当所述至少一个目标测试邮箱对应的所有目标测试邀请链接的状态均为已接受邀请状态时,删除所述所有目标测试邀请链接和所述测试信息。Optionally, the processing unit 301 may be further configured to delete all target test invitation links and the test information when the status of all target test invitation links corresponding to the at least one target test mailbox is an accepted invitation state.
可选的,处理单元301,还可用于当任一目标测试邮箱对应的所有测试邀请链接的状态均为已接受邀请状态时,从所述应用发布平台删除该目标测试邮箱的地址。Optionally, the processing unit 301 can also be used to delete the address of the target test mailbox from the application publishing platform when the status of all test invitation links corresponding to any target test mailbox is the state of accepted invitation.
具体的,该服务器可通过上述单元实现上述图1至图2所示实施例中的灰度测试方法中的部分或全部步骤。应理解,本申请实施例是对应方法实施例的 装置实施例,对方法实施例的描述,也适用于本申请实施例。Specifically, the server may implement part or all of the steps in the grayscale testing method in the embodiments shown in FIG. 1 to FIG. 2 through the above unit. It should be understood that the embodiments of the present application are device embodiments corresponding to the method embodiments, and the description of the method embodiments is also applicable to the embodiments of the present application.
在本实施例中,灰度平台能够通过预先注册邮箱,使得在对应用进行灰度测试时,能够通过从该预先注册的邮箱中选取至少一个目标测试邮箱,以通过该至少一个目标测试邮箱获取测试邀请链接,进而通过监测测试邀请链接的状态,将测试邀请链接的状态和应用的测试信息进行关联存储,以实现根据该测试邀请链接的状态和测试信息,向测试终端发送测试邀请链接,从而实现对该应用的灰度测试,这就提升了对应用的灰度测试效率,且能够实现多个应用共享测试邮箱,提升了测试邮箱的利用率。In this embodiment, the grayscale platform can pre-register the mailbox, so that when grayscale testing is performed on the application, at least one target test mailbox can be selected from the pre-registered mailbox to obtain through the at least one target test mailbox Test the invitation link, and then monitor the status of the test invitation link, and store the status of the test invitation link and the test information of the application in association, so as to send the test invitation link to the test terminal according to the status and test information of the test invitation link, thereby Implementing gray-scale testing of the application improves the gray-scale testing efficiency of the application, and enables multiple applications to share test mailboxes, which improves the utilization rate of the test mailbox.
请参见图4,图4是本申请实施例提供的另一种服务器的结构示意图。该服务器用于执行上述的方法。如图4所示,本实施例中的服务器400可以包括:一个或多个处理器401、存储器402和通信接口403。可选的,该服务器还可包括一个或多个用户接口404。上述处理器401、通信接口403、用户接口404和存储器402可通过总线405连接,或者可以通过其他方式连接,图4中以总线方式进行示例说明。其中,存储器402可用于存储计算机程序,所述计算机程序包括程序指令,处理器401用于执行存储器402存储的程序指令。其中,处理器401可用于调用所述程序指令执行上述图1至图2中的部分或全部步骤。Please refer to FIG. 4, which is a schematic structural diagram of another server provided by an embodiment of the present application. The server is used to perform the above method. As shown in FIG. 4, the server 400 in this embodiment may include: one or more processors 401, a memory 402, and a communication interface 403. Optionally, the server may also include one or more user interfaces 404. The processor 401, the communication interface 403, the user interface 404, and the memory 402 may be connected through the bus 405, or may be connected through other methods. The bus method is used as an example in FIG. The memory 402 may be used to store a computer program, where the computer program includes program instructions, and the processor 401 is used to execute the program instructions stored in the memory 402. The processor 401 may be used to call the program instructions to perform some or all of the steps in FIGS. 1 to 2 described above.
例如,处理器401可用于调用所述程序指令执行以下步骤:从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱,并将所述至少一个目标测试邮箱的地址上传至应用发布平台,以使所述应用发布平台向所述至少一个目标测试邮箱分别发送所述灰度测试对应的目标测试邀请链接;分别爬取所述至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测所述每一个目标测试邮箱的目标测试邀请链接的状态,将所述每一个目标测试邮箱的目标测试邀请链接的状态和所述目标应用的测试信息进行关联存储;其中,所述状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态,所述测试信息包括所述目标应用的名称、版本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项;根据所述每一个目标测试邮箱的目标测试邀请链接的状态,调用通信接口403分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接,所述测试终端与发送的目标测试邀请链接一一对应。For example, the processor 401 may be used to call the program instructions to perform the following steps: select at least one target test mailbox for gray-scale testing of the target application from at least one pre-registered test mailbox, and test the at least one target test mailbox Upload the address of the mailbox to the application publishing platform, so that the application publishing platform sends the target test invitation link corresponding to the grayscale test to the at least one target test mailbox; crawl each of the at least one target test mailbox A target test invitation link of a target test mailbox, and monitor the status of the target test invitation link of each target test mailbox, and compare the status of the target test invitation link of each target test mailbox and the test information of the target application Perform associative storage; wherein the status includes an unsent invitation status, an sent invitation status, or an accepted invitation status, and the test information includes the target application name, version number, target test mailbox address, and test terminal identification Any one or more of; according to the status of the target test invitation link of each target test mailbox, call the communication interface 403 to send the target test invitation link to at least one test terminal corresponding to the test information, the test There is a one-to-one correspondence between the terminal and the sent target test invitation link.
可选的,处理器401在执行所述从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱时,可具体执行以下步骤:Optionally, the processor 401 may specifically perform the following steps when executing the at least one target test mailbox selected for pre-registering at least one test mailbox for grayscale testing of the target application:
确定所述目标应用的应用类型,并从多个邮箱集合中确定出与所述目标应用的应用类型对应的目标邮箱集合,所述邮箱集合与应用类型一一对应,每一邮箱集合中的测试邮箱用于该邮箱集合对应的应用类型的应用进行灰度测试;The application type of the target application is determined, and a target mailbox set corresponding to the application type of the target application is determined from a plurality of mailbox collections, the mailbox set corresponds one-to-one with the application type, and the test in each mailbox collection The mailbox is used for the grayscale test of the application type corresponding to the mailbox collection;
从所述目标邮箱集合中选取至少一个测试邮箱,并将选取的所述至少一个测试邮箱作为所述至少一个目标测试邮箱。At least one test mailbox is selected from the target mailbox set, and the selected at least one test mailbox is used as the at least one target test mailbox.
可选的,处理器401还可执行以下步骤:Optionally, the processor 401 may also perform the following steps:
根据各应用类型的应用的历史灰度测试信息确定所述各应用类型的应用 的测试频率,所述历史灰度测试信息包括历史灰度测试的时间、次数以及版本号中的任一项或多项;The test frequency of the applications of each application type is determined according to the historical grayscale test information of the applications of each application type, and the historical grayscale test information includes any one or more of the time, the number of times, and the version number of the historical grayscale test item;
根据所述各应用类型的应用的测试频率,分别预置得到所述各应用类型对应的邮箱集合,以得到所述多个邮箱集合;According to the test frequency of the application of each application type, preset preset mailbox sets corresponding to each application type to obtain the multiple mailbox sets;
其中,所述多个邮箱集合中第一应用类型对应的邮箱集合包括的测试邮箱的数目大于第二应用类型对应的邮箱集合包括的测试邮箱的数目,所述第一应用类型的应用的测试频率高于所述第二应用类型的应用的测试频率。The number of test mailboxes included in the mailbox set corresponding to the first application type in the plurality of mailbox sets is greater than the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type Higher than the test frequency of the application of the second application type.
可选的,处理器401在执行所述从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱时,可具体执行以下步骤:Optionally, the processor 401 may specifically perform the following steps when executing the at least one target test mailbox selected for pre-registering at least one test mailbox for grayscale testing of the target application:
获取预先注册的至少一个测试邮箱中各个测试邮箱的负载信息,所述负载信息包括参与灰度测试的进程数量;Obtain the load information of each test mailbox in at least one test mailbox registered in advance, where the load information includes the number of processes participating in the grayscale test;
按照所述各个测试邮箱参与灰度测试的进程数量由低到高的顺序,从所述各个测试邮箱中选取出所述至少一个目标测试邮箱。The at least one target test mailbox is selected from each test mailbox according to the order in which the number of processes of each test mailbox participating in the grayscale test is from low to high.
可选的,处理器401在执行所述根据所述每一个目标测试邮箱的目标测试邀请链接的状态,调用通信接口403分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接时,可具体执行以下步骤:Optionally, when the processor 401 executes the state of the target test invitation link according to each target test mailbox, and calls the communication interface 403 to send the target test invitation link to at least one test terminal corresponding to the test information, The following steps can be performed specifically:
确定所述至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并调用通信接口403将所述处于未发送邀请状态的目标测试邀请链接发送给所述测试信息对应的第一测试终端,所述第一测试终端与所述处于未发送邀请状态的目标测试邀请链接一一对应;Determine that among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link in the state of unsent invitation, and call the communication interface 403 to send the target test invitation link in the state of unsent invitation to all A first test terminal corresponding to the test information, the first test terminal corresponds to the target test invitation link in an unsent invitation state;
检测所述所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接;Detect whether there is a target test invitation link in the state of being in the state of sent invitation in all the target test invitation links;
如果存在超过所述预设时间阈值的目标测试邀请链接,调用通信接口403将所述超过所述预设时间阈值的目标测试邀请链接发送给所述测试信息对应的第二测试终端,所述第二测试终端与所述超过所述预设时间阈值的目标测试邀请链接一一对应。If there is a target test invitation link exceeding the preset time threshold, call the communication interface 403 to send the target test invitation link exceeding the preset time threshold to the second test terminal corresponding to the test information, the first Two test terminals have a one-to-one correspondence with the target test invitation links that exceed the preset time threshold.
可选的,处理器401还可执行以下步骤:Optionally, the processor 401 may also perform the following steps:
当所述至少一个目标测试邮箱对应的所有目标测试邀请链接的状态均为已接受邀请状态时,删除所述所有目标测试邀请链接和所述测试信息。When the status of all target test invitation links corresponding to the at least one target test mailbox is an accepted invitation state, delete all target test invitation links and the test information.
可选的,处理器401还可执行以下步骤:Optionally, the processor 401 may also perform the following steps:
当任一目标测试邮箱对应的所有测试邀请链接的状态均为已接受邀请状态时,从所述应用发布平台删除该目标测试邮箱的地址。When the status of all test invitation links corresponding to any target test mailbox is the status of accepted invitation, the address of the target test mailbox is deleted from the application publishing platform.
其中,所述处理器401可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。Wherein, the processor 401 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), application specific integrated circuits (Application Specific Integrated) Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
通信接口403可包括接收器和发射器,用于与其他设备如测试终端进行通信。The communication interface 403 may include a receiver and a transmitter for communicating with other devices such as test terminals.
用户接口404可包括输入设备和输出设备,输入设备可以包括触控板、麦克风等,输出设备可以包括显示器(LCD等)、扬声器等。The user interface 404 may include an input device and an output device. The input device may include a touch panel, a microphone, and the like, and the output device may include a display (LCD, etc.), a speaker, and the like.
存储器402可以包括只读存储器和随机存取存储器,并向处理器401提供指令和数据。存储器402的一部分还可以包括非易失性随机存取存储器。例如,存储器402还可以存储上述的函数指针和函数的对应关系等等。The memory 402 may include a read-only memory and a random access memory, and provide instructions and data to the processor 401. A portion of the memory 402 may also include non-volatile random access memory. For example, the memory 402 may also store the aforementioned correspondence between the function pointer and the function, and so on.
具体实现中,本申请实施例中所描述的处理器401等可执行上述图1至图2所示的方法实施例中所描述的实现方式,也可执行本申请实施例图3所描述的各单元的实现方式,此处不赘述。In a specific implementation, the processor 401 and the like described in the embodiments of the present application can execute the implementation described in the method embodiments shown in FIG. 1 to FIG. 2 above, and can also execute each of the methods described in FIG. 3 of the embodiment of the present application. The implementation of the unit is not repeated here.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现图1至图2所对应实施例中描述的灰度测试方法中的部分或全部步骤,也可实现本申请图3或图4所示实施例的服务器的功能,此处不赘述。An embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the computer program can be implemented as described in the embodiments corresponding to FIG. 1 to FIG. 2 Part or all of the steps in the grayscale test method may also realize the function of the server of the embodiment shown in FIG. 3 or FIG. 4 of the present application, which will not be repeated here.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方法中的部分或全部步骤。Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, causes the computer to perform some or all of the steps in the above method.
所述计算机可读存储介质可以是前述任一实施例所述的服务器的内部存储单元,例如服务器的硬盘或内存。所述计算机可读存储介质也可以是所述服务器的外部存储设备,例如所述服务器上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The computer-readable storage medium may be an internal storage unit of the server according to any one of the foregoing embodiments, such as a hard disk or a memory of the server. The computer-readable storage medium may also be an external storage device of the server, such as a plug-in hard disk equipped on the server, a smart memory card (Smart) Media (SMC), and a secure digital (SD) card , Flash card (Flash Card), etc.
在本申请中,术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In this application, the term "and/or" is merely an association relationship that describes an associated object, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, and A and B exist at the same time. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the related objects before and after are in an "or" relationship. The size of the sequence numbers of the above processes does not mean that the execution order is sequential, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
以上所述,仅为本申请的部分实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only part of the implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this application Modifications or replacements, these modifications or replacements should be covered within the scope of protection of this application.

Claims (20)

  1. 一种灰度测试方法,其特征在于,包括:A grayscale testing method, which is characterized by including:
    从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱,并将所述至少一个目标测试邮箱的地址上传至应用发布平台,以使所述应用发布平台向所述至少一个目标测试邮箱分别发送所述灰度测试对应的目标测试邀请链接;Selecting at least one target test mailbox for grayscale testing of the target application from the at least one test mailbox registered in advance, and uploading the address of the at least one target test mailbox to the application publishing platform, so that the application publishing platform Sending target test invitation links corresponding to the grayscale test to the at least one target test mailbox respectively;
    分别爬取所述至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测所述每一个目标测试邮箱的目标测试邀请链接的状态,将所述每一个目标测试邮箱的目标测试邀请链接的状态和所述目标应用的测试信息进行关联存储;其中,所述状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态,所述测试信息包括所述目标应用的名称、版本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项;Crawl the target test invitation link of each target test mailbox in the at least one target test mailbox separately, and monitor the status of the target test invitation link of each target test mailbox, and test the target test of each target test mailbox The state of the invitation link is stored in association with the test information of the target application; wherein the state includes an unsent invitation state, a sent invitation state, or an accepted invitation state, and the test information includes the name and version of the target application Any one or more of the number, the address of the target test mailbox and the identification of the test terminal;
    根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接,所述测试终端与发送的目标测试邀请链接一一对应。According to the status of the target test invitation link of each target test mailbox, a target test invitation link is sent to at least one test terminal corresponding to the test information, and the test terminals correspond to the sent target test invitation link in one-to-one correspondence.
  2. 根据权利要求1所述的方法,其特征在于,所述从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱,包括:The method according to claim 1, wherein the selecting at least one target test mailbox for performing a grayscale test on the target application from at least one pre-registered test mailbox includes:
    确定所述目标应用的应用类型,并从多个邮箱集合中确定出与所述目标应用的应用类型对应的目标邮箱集合,所述邮箱集合与应用类型一一对应,每一邮箱集合中的测试邮箱用于该邮箱集合对应的应用类型的应用进行灰度测试;The application type of the target application is determined, and a target mailbox set corresponding to the application type of the target application is determined from a plurality of mailbox collections, the mailbox set corresponds one-to-one with the application type, and the test in each mailbox collection The mailbox is used for the grayscale test of the application type corresponding to the mailbox collection;
    从所述目标邮箱集合中选取至少一个测试邮箱,并将选取的所述至少一个测试邮箱作为所述至少一个目标测试邮箱。At least one test mailbox is selected from the target mailbox set, and the selected at least one test mailbox is used as the at least one target test mailbox.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    根据各应用类型的应用的历史灰度测试信息确定所述各应用类型的应用的测试频率,所述历史灰度测试信息包括历史灰度测试的时间、次数以及版本号中的任一项或多项;The test frequency of the applications of each application type is determined according to the historical grayscale test information of the applications of each application type, and the historical grayscale test information includes any one or more of the time, the number of times, and the version number of the historical grayscale test item;
    根据所述各应用类型的应用的测试频率,分别预置得到所述各应用类型对应的邮箱集合,以得到所述多个邮箱集合;According to the test frequency of the application of each application type, preset preset mailbox sets corresponding to each application type to obtain the multiple mailbox sets;
    其中,所述多个邮箱集合中第一应用类型对应的邮箱集合包括的测试邮箱的数目大于第二应用类型对应的邮箱集合包括的测试邮箱的数目,所述第一应用类型的应用的测试频率高于所述第二应用类型的应用的测试频率。The number of test mailboxes included in the mailbox set corresponding to the first application type in the plurality of mailbox sets is greater than the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type Higher than the test frequency of the application of the second application type.
  4. 根据权利要求1所述的方法,其特征在于,所述从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱,包括:The method according to claim 1, wherein the selecting at least one target test mailbox for performing a grayscale test on the target application from at least one pre-registered test mailbox includes:
    获取预先注册的至少一个测试邮箱中各个测试邮箱的负载信息,所述负载信息包括参与灰度测试的进程数量;Obtain the load information of each test mailbox in at least one test mailbox registered in advance, where the load information includes the number of processes participating in the grayscale test;
    按照所述各个测试邮箱参与灰度测试的进程数量由低到高的顺序,从所述 各个测试邮箱中选取出所述至少一个目标测试邮箱。The at least one target test mailbox is selected from each test mailbox according to the order of the number of processes of the test mailboxes participating in the grayscale test from low to high.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接,包括:The method according to any one of claims 1 to 4, wherein, according to the status of the target test invitation link of each target test mailbox, targets are respectively sent to at least one test terminal corresponding to the test information Test invitation links, including:
    确定所述至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并将所述处于未发送邀请状态的目标测试邀请链接发送给所述测试信息对应的第一测试终端,所述第一测试终端与所述处于未发送邀请状态的目标测试邀请链接一一对应;Determine that among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link with the status of unsent invitation, and send the target test invitation link with the status of unsent invitation to the corresponding test information The first test terminal, the first test terminal corresponds to the target test invitation link in the unsent invitation state;
    检测所述所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接;Detect whether there is a target test invitation link in the state of being in the state of sent invitation in all the target test invitation links;
    如果存在超过所述预设时间阈值的目标测试邀请链接,将所述超过所述预设时间阈值的目标测试邀请链接发送给所述测试信息对应的第二测试终端,所述第二测试终端与所述超过所述预设时间阈值的目标测试邀请链接一一对应。If there is a target test invitation link that exceeds the preset time threshold, send the target test invitation link that exceeds the preset time threshold to the second test terminal corresponding to the test information, and the second test terminal is The target test invitation links exceeding the preset time threshold are in one-to-one correspondence.
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    当所述至少一个目标测试邮箱对应的所有目标测试邀请链接的状态均为已接受邀请状态时,删除所述所有目标测试邀请链接和所述测试信息。When the status of all target test invitation links corresponding to the at least one target test mailbox is an accepted invitation state, delete all target test invitation links and the test information.
  7. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    当任一目标测试邮箱对应的所有测试邀请链接的状态均为已接受邀请状态时,从所述应用发布平台删除该目标测试邮箱的地址。When the status of all test invitation links corresponding to any target test mailbox is the status of accepted invitation, the address of the target test mailbox is deleted from the application publishing platform.
  8. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    根据预设时间范围内使用所述目标应用或使用所述目标应用的相同应用类型的应用的日均时长,选取日均时长超过预设时长阈值的用户终端作为测试终端;和/或,Select a user terminal whose average daily duration exceeds the preset duration threshold as the test terminal according to the average daily duration of the target application or an application using the same application type of the target application within a preset time range; and/or,
    根据所述目标应用的使用区域范围,选取所述使用区域范围内的用户终端作为测试终端;和/或,Selecting user terminals within the range of the use area as test terminals according to the range of the use area of the target application; and/or,
    根据所述目标应用的测试版本新增功能的类型,选取与所述类型对应用户维度标签的用户终端作为测试终端。According to the type of the newly added function of the test version of the target application, the user terminal corresponding to the user dimension label corresponding to the type is selected as the test terminal.
  9. 一种服务器,其特征在于,包括:处理单元和通信单元;A server, characterized by comprising: a processing unit and a communication unit;
    所述处理单元,用于从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱;The processing unit is configured to select at least one target test mailbox for performing grayscale testing on the target application from at least one test mailbox registered in advance;
    所述通信单元,用于将所述至少一个目标测试邮箱的地址上传至应用发布平台,以使所述应用发布平台向所述至少一个目标测试邮箱分别发送所述灰度测试对应的目标测试邀请链接;The communication unit is configured to upload the address of the at least one target test mailbox to an application publishing platform, so that the application publishing platform sends target test invitations corresponding to the grayscale test to the at least one target test mailbox, respectively link;
    所述处理单元,还用于分别爬取所述至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测所述每一个目标测试邮箱的目标测试邀请链接的状态,将所述每一个目标测试邮箱的目标测试邀请链接的状态和所述目标应用的测试信息进行关联存储;其中,所述状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态,所述测试信息包括所述目标应用的名称、版 本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项;The processing unit is further configured to separately crawl the target test invitation link of each target test mailbox in the at least one target test mailbox, and monitor the status of the target test invitation link of each target test mailbox. The state of the target test invitation link of each target test mailbox is stored in association with the test information of the target application; wherein, the state includes an unsent invitation state, a sent invitation state, or an accepted invitation state, and the test information includes Any one or more of the name, version number, address of the target test mailbox and the identification of the test terminal of the target application;
    所述通信单元,还用于根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接,所述测试终端与发送的目标测试邀请链接一一对应。The communication unit is further configured to respectively send a target test invitation link to at least one test terminal corresponding to the test information according to the status of the target test invitation link of each target test mailbox, the test terminal and the sent target The test invitation links correspond to each other.
  10. 根据权利要求9所述的服务器,其特征在于,所述处理单元在从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱时,具体用于:The server according to claim 9, wherein when the processing unit selects at least one target test mailbox for gray-scale testing of the target application from at least one pre-registered test mailbox, it is specifically used to:
    确定所述目标应用的应用类型,并从多个邮箱集合中确定出与所述目标应用的应用类型对应的目标邮箱集合,所述邮箱集合与应用类型一一对应,每一邮箱集合中的测试邮箱用于该邮箱集合对应的应用类型的应用进行灰度测试;The application type of the target application is determined, and a target mailbox set corresponding to the application type of the target application is determined from a plurality of mailbox collections, the mailbox set corresponds one-to-one with the application type, and the test in each mailbox collection The mailbox is used for the grayscale test of the application type corresponding to the mailbox collection;
    从所述目标邮箱集合中选取至少一个测试邮箱,并将选取的所述至少一个测试邮箱作为所述至少一个目标测试邮箱。At least one test mailbox is selected from the target mailbox set, and the selected at least one test mailbox is used as the at least one target test mailbox.
  11. 根据权利要求10所述的服务器,其特征在于,还包括:预置单元;The server according to claim 10, further comprising: a preset unit;
    所述预置单元,用于根据各应用类型的应用的历史灰度测试信息确定所述各应用类型的应用的测试频率,所述历史灰度测试信息包括历史灰度测试的时间、次数以及版本号中的任一项或多项;根据所述各应用类型的应用的测试频率,分别预置得到所述各应用类型对应的邮箱集合,以得到所述多个邮箱集合;The preset unit is used to determine the test frequency of the application of each application type according to the historical grayscale test information of the application of each application type, and the historical grayscale test information includes the time, number and version of the historical grayscale test Any one or more of the numbers; according to the test frequency of the applications of the respective application types, preset preset mailbox sets corresponding to the respective application types to obtain the multiple mailbox sets;
    其中,所述多个邮箱集合中第一应用类型对应的邮箱集合包括的测试邮箱的数目大于第二应用类型对应的邮箱集合包括的测试邮箱的数目,所述第一应用类型的应用的测试频率高于所述第二应用类型的应用的测试频率。The number of test mailboxes included in the mailbox set corresponding to the first application type in the plurality of mailbox sets is greater than the number of test mailboxes included in the mailbox set corresponding to the second application type, and the test frequency of the application of the first application type Higher than the test frequency of the application of the second application type.
  12. 根据权利要求9所述的服务器,其特征在于,所述处理单元在从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱时,具体用于:The server according to claim 9, wherein when the processing unit selects at least one target test mailbox for gray-scale testing of the target application from at least one pre-registered test mailbox, it is specifically used to:
    获取预先注册的至少一个测试邮箱中各个测试邮箱的负载信息,所述负载信息包括参与灰度测试的进程数量;Obtain the load information of each test mailbox in at least one test mailbox registered in advance, where the load information includes the number of processes participating in the grayscale test;
    按照所述各个测试邮箱参与灰度测试的进程数量由低到高的顺序,从所述各个测试邮箱中选取出所述至少一个目标测试邮箱。The at least one target test mailbox is selected from each test mailbox according to the order in which the number of processes of each test mailbox participating in the grayscale test is from low to high.
  13. 根据权利要求9-12任一项所述的服务器,其特征在于,The server according to any one of claims 9-12, characterized in that
    所述通信单元,具体用于确定所述至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并将所述处于未发送邀请状态的目标测试邀请链接发送给所述测试信息对应的第一测试终端,所述第一测试终端与所述处于未发送邀请状态的目标测试邀请链接一一对应;The communication unit is specifically configured to determine, among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link whose state is in the state of unsent invitation, and invite the target test invitation in the state of unsent invitation The link is sent to the first test terminal corresponding to the test information, and the first test terminal has a one-to-one correspondence with the target test invitation link in the unsent invitation state;
    所述处理单元,还用于检测所述所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接;The processing unit is further configured to detect whether there is a target test invitation link whose status is in the sent invitation state and exceeds a preset time threshold in all the target test invitation links;
    所述通信单元,具体用于当存在超过所述预设时间阈值的目标测试邀请链接时,将所述超过所述预设时间阈值的目标测试邀请链接发送给所述测试信息对应的第二测试终端,所述第二测试终端与所述超过所述预设时间阈值的目标 测试邀请链接一一对应。The communication unit is specifically configured to send the target test invitation link exceeding the preset time threshold to the second test corresponding to the test information when there is a target test invitation link exceeding the preset time threshold Terminal, the second test terminal corresponds one-to-one with the target test invitation link exceeding the preset time threshold.
  14. 根据权利要求9-12任一项所述的服务器,其特征在于,The server according to any one of claims 9-12, characterized in that
    所述处理单元,还用于根据预设时间范围内使用所述目标应用或使用所述目标应用的相同应用类型的应用的日均时长,选取日均时长超过预设时长阈值的用户终端作为测试终端;和/或,The processing unit is further configured to select a user terminal whose average daily duration exceeds a preset duration threshold as a test according to the average daily duration of the target application or an application using the same application type of the target application within a preset time range Terminal; and/or,
    所述处理单元,还用于根据所述目标应用的使用区域范围,选取所述使用区域范围内的用户终端作为测试终端;和/或,The processing unit is further configured to select a user terminal within the range of the use area as a test terminal according to the range of the use area of the target application; and/or,
    所述处理单元,还用于根据所述目标应用的测试版本新增功能的类型,选取与所述类型对应用户维度标签的用户终端作为测试终端。The processing unit is further used to select a user terminal corresponding to the user dimension label of the type as the test terminal according to the type of the newly added function of the test version of the target application.
  15. 一种服务器,其特征在于,包括处理器、通信接口和存储器,所述处理器、所述通信接口和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行以下步骤:A server, characterized by comprising a processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer program includes a program Instructions, the processor is configured to call the program instructions and perform the following steps:
    从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱,并将所述至少一个目标测试邮箱的地址上传至应用发布平台,以使所述应用发布平台向所述至少一个目标测试邮箱分别发送所述灰度测试对应的目标测试邀请链接;Selecting at least one target test mailbox for grayscale testing of the target application from the at least one test mailbox registered in advance, and uploading the address of the at least one target test mailbox to the application publishing platform, so that the application publishing platform Sending target test invitation links corresponding to the grayscale test to the at least one target test mailbox respectively;
    分别爬取所述至少一个目标测试邮箱中每一个目标测试邮箱的目标测试邀请链接,并监测所述每一个目标测试邮箱的目标测试邀请链接的状态,将所述每一个目标测试邮箱的目标测试邀请链接的状态和所述目标应用的测试信息进行关联存储;其中,所述状态包括未发送邀请状态、已发送邀请状态或已接受邀请状态,所述测试信息包括所述目标应用的名称、版本号、目标测试邮箱的地址以及测试终端的标识中的任一项或多项;Crawl the target test invitation link of each target test mailbox in the at least one target test mailbox separately, and monitor the status of the target test invitation link of each target test mailbox, and test the target test of each target test mailbox The state of the invitation link is stored in association with the test information of the target application; wherein the state includes an unsent invitation state, a sent invitation state, or an accepted invitation state, and the test information includes the name and version of the target application Any one or more of the number, the address of the target test mailbox and the identification of the test terminal;
    根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接,所述测试终端与发送的目标测试邀请链接一一对应。According to the status of the target test invitation link of each target test mailbox, a target test invitation link is sent to at least one test terminal corresponding to the test information, and the test terminals correspond to the sent target test invitation link in one-to-one correspondence.
  16. 根据权利要求15所述的服务器,其特征在于,所述处理器在执行所述从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱时,具体执行以下步骤:The server according to claim 15, wherein the processor specifically executes when executing the at least one target test mailbox selected for pre-registering at least one test mailbox for gray-scale testing of the target application The following steps:
    确定所述目标应用的应用类型,并从多个邮箱集合中确定出与所述目标应用的应用类型对应的目标邮箱集合,所述邮箱集合与应用类型一一对应,每一邮箱集合中的测试邮箱用于该邮箱集合对应的应用类型的应用进行灰度测试;The application type of the target application is determined, and a target mailbox set corresponding to the application type of the target application is determined from a plurality of mailbox collections, the mailbox set corresponds one-to-one with the application type, and the test in each mailbox collection The mailbox is used for the grayscale test of the application type corresponding to the mailbox collection;
    从所述目标邮箱集合中选取至少一个测试邮箱,并将选取的所述至少一个测试邮箱作为所述至少一个目标测试邮箱。At least one test mailbox is selected from the target mailbox set, and the selected at least one test mailbox is used as the at least one target test mailbox.
  17. 根据权利要求15所述的服务器,其特征在于,所述处理器在执行所述从预先注册的至少一个测试邮箱中选取用于对目标应用进行灰度测试的至少一个目标测试邮箱时,具体执行以下步骤:The server according to claim 15, wherein the processor specifically executes when executing the at least one target test mailbox selected for pre-registering at least one test mailbox for gray-scale testing of the target application The following steps:
    获取预先注册的至少一个测试邮箱中各个测试邮箱的负载信息,所述负载 信息包括参与灰度测试的进程数量;Obtain the load information of each test mailbox in at least one test mailbox registered in advance, where the load information includes the number of processes participating in the grayscale test;
    按照所述各个测试邮箱参与灰度测试的进程数量由低到高的顺序,从所述各个测试邮箱中选取出所述至少一个目标测试邮箱。The at least one target test mailbox is selected from each test mailbox according to the order in which the number of processes of each test mailbox participating in the grayscale test is from low to high.
  18. 根据权利要求15-17任一项所述的服务器,其特征在于,所述处理器在执行所述根据所述每一个目标测试邮箱的目标测试邀请链接的状态,分别向所述测试信息对应的至少一个测试终端发送目标测试邀请链接时,具体执行以下步骤:The server according to any one of claims 15 to 17, wherein the processor executes the state of the target test invitation link according to each target test mailbox, respectively When at least one test terminal sends the target test invitation link, specifically perform the following steps:
    确定所述至少一个目标测试邮箱对应的所有目标测试邀请链接中,状态处于未发送邀请状态的目标测试邀请链接,并将所述处于未发送邀请状态的目标测试邀请链接发送给所述测试信息对应的第一测试终端,所述第一测试终端与所述处于未发送邀请状态的目标测试邀请链接一一对应;Determine that among all the target test invitation links corresponding to the at least one target test mailbox, the target test invitation link with the status of unsent invitation, and send the target test invitation link with the status of unsent invitation to the corresponding test information The first test terminal, the first test terminal corresponds to the target test invitation link in the unsent invitation state;
    检测所述所有目标测试邀请链接中是否存在状态处于已发送邀请状态的时长超过预设时间阈值的目标测试邀请链接;Detect whether there is a target test invitation link in the state of being in the state of sent invitation in all the target test invitation links;
    如果存在超过所述预设时间阈值的目标测试邀请链接,将所述超过所述预设时间阈值的目标测试邀请链接发送给所述测试信息对应的第二测试终端,所述第二测试终端与所述超过所述预设时间阈值的目标测试邀请链接一一对应。If there is a target test invitation link that exceeds the preset time threshold, send the target test invitation link that exceeds the preset time threshold to the second test terminal corresponding to the test information, and the second test terminal is The target test invitation links exceeding the preset time threshold are in one-to-one correspondence.
  19. 根据权利要求15-17任一项所述的服务器,其特征在于,所述处理器还执行以下步骤:The server according to any one of claims 15-17, wherein the processor further performs the following steps:
    根据预设时间范围内使用所述目标应用或使用所述目标应用的相同应用类型的应用的日均时长,选取日均时长超过预设时长阈值的用户终端作为测试终端;和/或,Select a user terminal whose average daily duration exceeds the preset duration threshold as the test terminal according to the average daily duration of the target application or an application using the same application type of the target application within a preset time range; and/or,
    根据所述目标应用的使用区域范围,选取所述使用区域范围内的用户终端作为测试终端;和/或,Selecting user terminals within the range of the use area as test terminals according to the range of the use area of the target application; and/or,
    根据所述目标应用的测试版本新增功能的类型,选取与所述类型对应用户维度标签的用户终端作为测试终端。According to the type of the newly added function of the test version of the target application, the user terminal corresponding to the user dimension label corresponding to the type is selected as the test terminal.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-8任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program includes program instructions, which when executed by a processor cause the processor to execute as rights The method according to any one of claims 1 to 8.
PCT/CN2019/120379 2018-12-13 2019-11-22 Gray scale testing method, server and computer readable storage medium WO2020119426A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2018115312362 2018-12-13
CN201811531236.2A CN109800150B (en) 2018-12-13 2018-12-13 Gray scale testing method, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2020119426A1 true WO2020119426A1 (en) 2020-06-18

Family

ID=66556692

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/120379 WO2020119426A1 (en) 2018-12-13 2019-11-22 Gray scale testing method, server and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109800150B (en)
WO (1) WO2020119426A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010418A (en) * 2021-03-04 2021-06-22 中国工商银行股份有限公司 Progressive gray scale publishing method and device
CN113296911A (en) * 2021-05-24 2021-08-24 北京京东振世信息技术有限公司 Cluster calling method, cluster calling device, electronic equipment and readable storage medium
CN114679400A (en) * 2022-05-30 2022-06-28 云账户技术(天津)有限公司 Mailbox compatibility test method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800150B (en) * 2018-12-13 2022-03-15 深圳壹账通智能科技有限公司 Gray scale testing method, server and computer readable storage medium
CN112347465B (en) * 2019-08-06 2023-09-26 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for providing installation package authority
CN110457223B (en) * 2019-08-13 2023-08-22 中国联合网络通信集团有限公司 Gray test drainage method, device, proxy server and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8538414B1 (en) * 2007-07-17 2013-09-17 Google Inc. Mobile interaction with software test cases
CN107861871A (en) * 2017-11-02 2018-03-30 百度在线网络技术(北京)有限公司 A kind of gray scale dissemination method, device, server and storage medium
CN108197034A (en) * 2018-01-26 2018-06-22 易玩(上海)网络科技有限公司 A kind of application testing method, server and system
CN108574625A (en) * 2017-03-13 2018-09-25 腾讯科技(深圳)有限公司 Using test invitation method and device
CN109800150A (en) * 2018-12-13 2019-05-24 深圳壹账通智能科技有限公司 A kind of gray scale test method, server and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002021413A2 (en) * 2000-09-05 2002-03-14 Zaplet, Inc. Methods and apparatus providing electronic messages that are linked and aggregated
US8646073B2 (en) * 2011-05-18 2014-02-04 Check Point Software Technologies Ltd. Detection of account hijacking in a social network
CN108400902B (en) * 2018-01-15 2021-08-24 创新先进技术有限公司 Method, device and equipment for gray level test

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8538414B1 (en) * 2007-07-17 2013-09-17 Google Inc. Mobile interaction with software test cases
CN108574625A (en) * 2017-03-13 2018-09-25 腾讯科技(深圳)有限公司 Using test invitation method and device
CN107861871A (en) * 2017-11-02 2018-03-30 百度在线网络技术(北京)有限公司 A kind of gray scale dissemination method, device, server and storage medium
CN108197034A (en) * 2018-01-26 2018-06-22 易玩(上海)网络科技有限公司 A kind of application testing method, server and system
CN109800150A (en) * 2018-12-13 2019-05-24 深圳壹账通智能科技有限公司 A kind of gray scale test method, server and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010418A (en) * 2021-03-04 2021-06-22 中国工商银行股份有限公司 Progressive gray scale publishing method and device
CN113010418B (en) * 2021-03-04 2024-03-01 中国工商银行股份有限公司 Progressive gray level publishing method and device
CN113296911A (en) * 2021-05-24 2021-08-24 北京京东振世信息技术有限公司 Cluster calling method, cluster calling device, electronic equipment and readable storage medium
CN113296911B (en) * 2021-05-24 2023-09-22 北京京东振世信息技术有限公司 Cluster calling method, cluster calling device, electronic equipment and readable storage medium
CN114679400A (en) * 2022-05-30 2022-06-28 云账户技术(天津)有限公司 Mailbox compatibility test method and device
CN114679400B (en) * 2022-05-30 2022-08-05 云账户技术(天津)有限公司 Mailbox compatibility test method and device

Also Published As

Publication number Publication date
CN109800150B (en) 2022-03-15
CN109800150A (en) 2019-05-24

Similar Documents

Publication Publication Date Title
WO2020119426A1 (en) Gray scale testing method, server and computer readable storage medium
US10320623B2 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
US11915169B2 (en) Method for determining amount of time spent on a task and estimating amount of time required to complete the task
US11677704B1 (en) Techniques for scam detection and prevention
CN107547759B (en) Quality inspection method and device for customer service staff call
CN109040329B (en) Method for determining contact person label, terminal device and medium
US10922206B2 (en) Systems and methods for determining performance metrics of remote relational databases
CN110225104B (en) Data acquisition method and device and terminal equipment
CN104468667A (en) Message pushing method, device and server
CN111414374B (en) Block chain transaction concurrent processing method, device and equipment
WO2022179034A1 (en) Automatic testing method and apparatus, electronic device, and storage medium
CN113268336A (en) Service acquisition method, device, equipment and readable medium
CN109842621A (en) A kind of method and terminal reducing token storage quantity
CN114817050A (en) Task execution method and device, electronic equipment and computer readable storage medium
CN107688978B (en) Method and device for detecting repeated order information
CN109976828B (en) Method and device for configuring file
CN108632054B (en) Information transmission quantity prediction method and device
CN110995570A (en) Pending approval message reminding method, system, storage medium and computer equipment
CN107979529B (en) Information processing method, information processing apparatus, computer apparatus, and computer-readable storage medium
CN107391361B (en) Automatic POS terminal testing method and device
CN106484601A (en) The Users'Data Analysis method and system of client
US20090282367A1 (en) Method and system for electronic communication management
CN111291127B (en) Data synchronization method, device, server and storage medium
CN110557324B (en) Unread IM message processing method and device
CN107547429A (en) One kind load determines method, apparatus and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19896746

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/09/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19896746

Country of ref document: EP

Kind code of ref document: A1