CN108574625B - Application test invitation method and device - Google Patents

Application test invitation method and device Download PDF

Info

Publication number
CN108574625B
CN108574625B CN201710147239.5A CN201710147239A CN108574625B CN 108574625 B CN108574625 B CN 108574625B CN 201710147239 A CN201710147239 A CN 201710147239A CN 108574625 B CN108574625 B CN 108574625B
Authority
CN
China
Prior art keywords
test
mailbox
address
link address
invitation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710147239.5A
Other languages
Chinese (zh)
Other versions
CN108574625A (en
Inventor
陈铿
卢正坤
林华尚
唐志雄
蒋科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tencent Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710147239.5A priority Critical patent/CN108574625B/en
Publication of CN108574625A publication Critical patent/CN108574625A/en
Application granted granted Critical
Publication of CN108574625B publication Critical patent/CN108574625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4555Directories for electronic mail or instant messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an application test invitation method and device, wherein the method comprises the following steps: obtaining a plurality of alias mailbox addresses mapped to a target mailbox address; configuring the plurality of alias mailbox addresses as mailbox addresses for receiving test invitation mails; collecting test invitation mails sent to the alias mailbox addresses through the target mailbox address; extracting a test invitation link address included in the test invitation mail; and acquiring a test user identifier, and sending the test invitation link address according to the test user identifier. The scheme provided by the application greatly improves the efficiency of the application test.

Description

Application test invitation method and device
Technical Field
The invention relates to the technical field of computers, in particular to an application test invitation method and device.
Background
With the development of computer technology, various applications are in a great variety, and comprehensive functional tests need to be performed on the applications before the applications are released to the application market after the applications are developed. At present, an invitation mode for application testing is mainly that a developer uploads an application installation package required by testing and a mailbox address of a tester required to be invited to a uniform processing platform, and the tester is invited to test in an email mode.
However, in the conventional test method for the testers invited by the mails, time is consumed for collecting the mailbox addresses of the testers, and the mailbox address collecting effect is poor, so that efficiency is low when the application is tested.
Disclosure of Invention
Therefore, it is necessary to provide an application test invitation method and apparatus for solving the problem of low efficiency in application testability caused by the conventional application test invitation method.
An application test invitation method, the method comprising:
obtaining a plurality of alias mailbox addresses mapped to a target mailbox address;
configuring the plurality of alias mailbox addresses as mailbox addresses for receiving test invitation mails;
collecting test invitation mails sent to the alias mailbox addresses through the target mailbox address;
extracting a test invitation link address included in the test invitation mail;
and acquiring a test user identifier, and sending the test invitation link address according to the test user identifier.
An application test invitation apparatus, the apparatus comprising:
an obtaining module for obtaining a plurality of alias mailbox addresses mapped to a target mailbox address;
the configuration module is used for configuring the alias mailbox addresses into mailbox addresses for receiving test invitation mails;
the collection module is used for collecting the test invitation mails sent to the alias mailbox addresses through the target mailbox address;
the extracting module is used for extracting the test invitation link address included in the test invitation mail;
and the sending module is used for acquiring a test user identifier and sending the test invitation link address according to the test user identifier.
The application test invitation method and the device uniformly collect the test invitation mails sent to the alias mail addresses mapped to the target mail addresses through the target mail addresses, extract the test invitation link addresses from the collected test invitation mails, and send the test invitation link addresses according to the test user identification for sending so as to invite the test users to test. The application test invitation mode avoids the problem of long time consumption when the mailbox address of a tester is collected, and ensures the validity of the mailbox address for receiving the test invitation mail through the alias mailbox address mapped to the target mailbox address, thereby greatly improving the efficiency of the application test.
Drawings
FIG. 1 is a diagram of an application environment in which the test invitation method is applied in one embodiment;
FIG. 2 is a diagram illustrating an internal structure of an electronic device for implementing the application test invitation method in one embodiment;
FIG. 3 is a flow diagram that illustrates a method for applying test invitations, according to one embodiment;
FIG. 4 is a flowchart illustrating the steps of generating an alias mailbox address in one embodiment;
FIG. 5 is an interface diagram that illustrates a test invitation page, in accordance with an embodiment;
FIG. 6 is a flowchart illustrating a method for applying test invitations in another embodiment;
FIG. 7 is a flow diagram that illustrates the application of the test process in one embodiment;
FIG. 8 is a block diagram of an application test invitation apparatus in accordance with an embodiment;
FIG. 9 is a block diagram showing the construction of an application test invitation apparatus in another embodiment;
FIG. 10 is a block diagram showing the construction of an application test invitation apparatus according to still another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
FIG. 1 is a diagram of an application environment in which the test invitation method is applied in one embodiment. Referring to fig. 1, the application test invitation method is applied to an application test invitation system. The application test invitation system comprises a user terminal 110, a test invitation system 120, an auditing system 130 and a mailbox server 140, wherein the user terminal 110 is connected with the test invitation system 120 through a network, the test invitation system 120 is connected with the auditing system 130 and the mailbox server 140 through the network, and the auditing system 130 is connected with the mailbox server 140 through the network. The test invitation system 120 may include a test invitation terminal 121 and a test invitation server 122, among others. The test invitation terminal 121 configures the alias mailbox addresses mapped to the target mailbox address as mailbox addresses for receiving the test invitation mail through the auditing system 130, after the auditing system 130 completes auditing, the auditing system sends the test invitation mail to the alias mailbox addresses, the test invitation server 122 collects the test invitation mail from the mailbox server 140, extracts a test invitation link address included in the test invitation mail, and sends the extracted test invitation link address to the user terminal 110. The test invitation system 120 may also include only the test invitation terminal 121 or only the test invitation server 122.
Fig. 2 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 2, the electronic device includes a processor, a nonvolatile storage medium, an internal memory, and a network interface, which are connected by a system bus. The non-volatile storage medium of the electronic equipment stores an operating system and further comprises an application test invitation device, and the application test invitation device is used for realizing an application test invitation method. The processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. An internal memory in the electronic device provides an environment for the application test invitation apparatus to operate in a non-volatile storage medium, and the internal memory may store computer-readable instructions, which when executed by the processor, may cause the processor to execute an application test invitation method. The network interface is used for carrying out network communication with the user terminal, such as sending a test invitation link address to the user terminal. The electronic device may be the test invitation terminal 121 or the test invitation server 122. The test invitation terminal 121 may be a personal computer or a mobile electronic device, and the mobile electronic device includes at least one of a mobile phone or a tablet computer. The test invitation server 122 may be implemented as a stand-alone server or as a server cluster of multiple physical servers. Those skilled in the art will appreciate that the configuration shown in fig. 2 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 3 is a flow diagram that illustrates a method for applying test invitations, according to an embodiment. The embodiment is mainly illustrated by applying the method to the electronic device in fig. 2. Referring to fig. 3, the application test invitation method specifically includes the following steps:
s302, a plurality of alias mailbox addresses mapped to the target mailbox addresses are obtained.
The target mailbox address refers to a mailbox address for receiving the target mail. The target mailbox address may be a mailbox address dedicated to receiving a particular type of mail. For example, the target mailbox address may be a mailbox address dedicated to receiving account registration mails, or a mailbox address dedicated to receiving account authentication mails, etc. In the present embodiment, the target mailbox address is a mailbox address dedicated to receive the test invitation mail. The target mailbox address may be one or more, and there is more than one alias mailbox address mapped to one target mailbox address.
The plurality of alias mailbox addresses mapped to the target mailbox address refer to mailbox addresses generated according to aliases of mailbox names of the target mailbox addresses and domain names of the target mailbox addresses. The alias mailbox address is a virtual mailbox address. In fact, both the alias mailbox address and the target mailbox address point to the target mailbox address, that is, the mail addressed to the alias mailbox address is actually received by the target mailbox address. Wherein the plurality of alias mailbox addresses may be a preset number of alias mailbox addresses. A preset number such as 1500 or 2000, etc.
For example, if the target mailbox address is "123456 @ xx.com", the mailbox name of the target mailbox address is "123456", and the domain name address is "@ xx.com". Assuming that the aliases of "123456" are "asdf", "asfdfe", and "bhsdew", the plurality of alias mailbox addresses mapped to "123456 @ xx.com" are "asdf @ xx.com", "asfdfe @ xx.com", and "bhsdew @ xx.com".
In one embodiment, the electronic device may set a target mailbox address in advance and generate a plurality of alias mailbox addresses mapped to the target mailbox address. The multiple alias mailbox addresses mapped to the target mailbox addresses may be stored in a file, database, or cache, and retrieved from the file, database, or cache when needed. The electronic equipment can also set a target mailbox address in advance, and after receiving the instruction for acquiring the alias mailbox address, the electronic equipment generates a plurality of alias mailbox addresses mapped to the target mailbox address so as to acquire the generated alias mailbox addresses mapped to the target mailbox address.
In one embodiment, the electronic device may set a plurality of target mailbox addresses in advance, and generate a plurality of alias mailbox addresses mapped to each target mailbox address. The developer can access the target mailbox address list through the electronic equipment and select the target mailbox address for receiving the test invitation mail through the electronic equipment. The electronic equipment can detect a selection instruction triggered by a developer, and acquire and map a plurality of alias mailbox addresses of the selected target mailbox address according to the target mailbox address selected by the selection instruction.
S304, configuring the plurality of alias mailbox addresses as mailbox addresses for receiving the test invitation mails.
The test invitation mail is a mail for inviting the user to perform an application test. Specifically, the developer may submit the acquired alias mailbox addresses to the test invitation mail issuing server through the electronic device, so that the test invitation mail issuing server knows the submitted alias mailbox addresses as mailbox addresses for receiving the test invitation mail, and sends the test invitation mail to the submitted alias mailbox addresses.
In one embodiment, a developer can submit an installation package of an application to be tested and the acquired alias mailbox addresses to an auditing platform in an auditing system through an electronic device. The auditing platform can audit the submitted alias mailbox addresses, and after the alias mailbox addresses are audited, the testing invitation mail corresponding to the application to be tested submitted by the developer is sent to the alias mailbox addresses which are audited through the testing invitation mail issuing server in the auditing system.
S306, collecting the test invitation mails sent to a plurality of alias mailbox addresses through the target mailbox address.
Specifically, when receiving a test invitation mail addressed to a plurality of alias mailbox addresses, a mailbox server corresponding to a target mailbox address and an alias mailbox address extracts the alias mailbox address corresponding to the test invitation mail, searches for the target mailbox address mapped to the alias mailbox address, and stores the test invitation mail to a mail storage area corresponding to the target mailbox address mapped to the alias mailbox address corresponding to the test invitation mail.
The electronic equipment can collect the test invitation mails stored in the mail storage area corresponding to the target mailbox address from the mailbox server corresponding to the target mailbox address so as to collect the test invitation mails sent to a plurality of alias mailbox addresses.
S308, extracting the test invitation link address included in the test invitation mail.
The test invitation link address refers to a link address used for inviting application test. The test invitation link address can identify the specific position of the page file corresponding to the test invitation link address in the network, and the corresponding node in the network can be accessed according to the test invitation link address. The link Address of the test invitation may be a URL (Uniform resource Locator) Address, an IP Address (Internet Protocol Address) and a port, or a domain name. The test invitation link address has a special format, and can be extracted by using the format of the test invitation link address.
In one embodiment, the test invitation mail format conforms to a standard mail format, such as an EML (E-mail electronic mail) format, and the electronic device may directly read the test invitation mail file according to the standard mail format and extract the test invitation link address from the test invitation mail file.
S310, obtaining the test user identification, and sending the test invitation link address according to the test user identification.
Wherein, the test user identification is used for uniquely representing the identification of the test user. The test user identification may be a character string including at least one character of a number, a letter, and a symbol.
In one embodiment, a developer can obtain application use data of a user through an electronic device, find out a keyword capable of representing the user, and generate a user tag corresponding to the user according to the keyword. The user tag is a user representation of the user and is a unique identification of the user. The user portrait is a sketch aiming at the real characteristics of the user and is a comprehensive prototype of the real user.
The electronic equipment can select the user corresponding to the user label with higher relevance with the application to be tested as the test user according to the relevance between the user label corresponding to the user and the application to be tested. The electronic equipment can acquire the test user identification corresponding to the selected test user and sends the test invitation link address to the terminal corresponding to the test user identification.
In one embodiment, the electronic device may specifically send the test invitation link address to the terminal corresponding to the test user identifier by means of an email, a short message, or a social public number.
The application test invitation method uniformly collects the test invitation mails sent to the alias mailbox addresses mapped to the target mailbox address through the target mailbox address, extracts the test invitation link address from the collected test invitation mails, and sends the test invitation link address according to the test user identification for sending so as to invite the test user to carry out the test. The application test invitation mode avoids the problem of long time consumption when the mailbox address of a tester is collected, and ensures the validity of the mailbox address for receiving the test invitation mail through the alias mailbox address mapped to the target mailbox address, thereby greatly improving the efficiency of the application test.
As shown in fig. 4, in an embodiment, before step S302, the application test invitation method further includes a step of generating an alias mailbox address, where the step specifically includes:
s402, acquiring a target mailbox address for collecting the test invitation mail.
Specifically, the electronic device may apply for a mailbox address to the mailbox provider, and use the mailbox address obtained by applying for as a target mailbox address for collecting the test invitation mail.
S404, generating a plurality of mailbox names according to the mailbox naming mode.
The mailbox naming mode refers to a mode for naming a mailbox. For example, the mailbox name may be composed of English letters, 0-9 digits, dots, minus numbers, or underlines.
Specifically, the electronic device may configure a random function for generating a mailbox name according to a mailbox naming mode, randomly generate a plurality of character strings according with the mailbox naming mode by using the random function, and use the generated character strings as the mailbox names.
For example, the electronic device may generate 5 english strings "qwertyuop", "asdfghjklp", "zxcvbnmlkj", "plmnbfew", and "shnderhfed" with 10 characters using a random function, and use the 5 english strings as mailbox names.
S406, generating a plurality of alias mailbox addresses according to the domain name address of the target mailbox address and the plurality of mailbox names.
In one embodiment, the electronic device may combine the generated mailbox name with the domain name address of the target mailbox address to obtain the alias mailbox address. The electronic device may also combine the generated mailbox name with an alias for the domain name address of the target mailbox address to obtain the alias mailbox address.
For example, if the target mailbox address is "123456 @ xx.com", then the domain name address of the target mailbox address is "@ xx.com", and the alias of the domain name address is "@ yy.com". The electronic device generates 5 mailbox names "qwertyuop", "asdfghjklp", "zxvbnmlkj", "plmnbfrfew", and "shnderhfed" using a random function. The electronic equipment can combine the generated 5 mailbox names with "@ xx.com" respectively to obtain 5 individual mailbox addresses "qwertyuop @ xx.com", "asdfghjklp @ xx.com", "zxcvbnmlkj @ xx.com", "plmnbfew @ xx.com" and "shndekfed @ xx.com". The electronic equipment can also combine the generated 5 mailbox names with "@ yy. com" respectively to obtain 5 individual mailbox addresses "qwertyuop @ yy. com", "asdfghjklp @ yy. com", "zxvbnmlkj @ yy. com", "plmnbfew @ yy. com", and "shndekfed @ yy. com".
S408, mapping the plurality of alias mailbox addresses to the target mailbox addresses.
In particular, the electronic device may map the generated plurality of alias mailbox addresses to the target mailbox address such that the plurality of alias mailbox addresses all point to the target mailbox address, that is, mail addressed to the alias mailbox address is actually received by the target mailbox address.
In the embodiment, the target mailbox address for collecting the test invitation mail is selected, and the plurality of alias mailbox addresses mapped to the target mailbox address are generated to be used as the mailbox addresses for receiving the test invitation mail, so that the process of collecting the mailbox addresses of testers is greatly simplified, time consumption is reduced, and the efficiency of application test is improved.
In one embodiment, step S308 specifically includes: extracting character strings in accordance with the link address format of the test invitation from the test invitation mail; and using the extracted character string as a test invitation link address.
Specifically, the electronic device may read the test invitation mail file, traverse the characters included in the test invitation mail file line by line, determine that a character string composed of a plurality of traversed characters is a test invitation link address when detecting that the character string conforms to a test invitation link address format, and extract the character string.
For example, when the electronic device traverses characters included in the test invitation mail file, a character string formed by the traversed characters is "< a href ═ https. ·. > ios. >. >", wherein a > tag defines a hyperlink for linking from one page to another page. href represents a href attribute for indicating the target of the link. The electronic device may extract "https. -. ios" as the test invitation link address.
In the embodiment, the test invitation link address can be conveniently and rapidly extracted from the test invitation mail directly according to the format of the test invitation link address, and then the extracted test invitation link address is sent to the test user, so that the test user is invited to carry out the test.
In one embodiment, before step S310, the application test invitation method further includes: acquiring characters at the position of a preset application identifier in a test invitation link address; and analyzing the acquired characters to obtain the application identification corresponding to the test invitation link address. Step S310 includes acquiring a test user identifier corresponding to the application identifier, and sending a test invitation link address according to the test user identifier.
Wherein the application identifier is used to uniquely identify an application. When the developer configures a plurality of alias mailbox addresses into mailbox addresses for receiving the test invitation mails in the auditing system through the electronic equipment, the developer can also correspondingly submit the application to be tested to the auditing system through the electronic equipment and configure the application identifier of the application. In particular, the application identification may be an application version number.
Specifically, after the audit system finishes auditing the alias mailbox address, the application identifier is added to the position of the application identifier preset in the test invitation link address corresponding to the application identifier corresponding to the alias mailbox address, and the test invitation link address for testing the application corresponding to the application identifier is generated. After the electronic equipment acquires the test invitation link address, extracting characters at the position of a preset application identifier; and analyzing the character to obtain an application identifier corresponding to the link address of the test invitation.
And classifying the electronic equipment according to the application identifications corresponding to the test invitation link addresses, and sending the test invitation link addresses to the terminals corresponding to the test user identifications corresponding to the corresponding application identifications.
For example, assuming that the application to be tested is an application developed based on iOS (apple operating system), the test-invitation link address extracted from the test-invitation mail by the electronic device is a URL address. The electronic equipment can extract the hexadecimal CODE in the URL address, obtain the last eight bits of the CODE, convert the obtained last eight bits of CODE into decimal numbers, and the obtained decimal numbers are the application identifiers.
In the embodiment, the test invitation link addresses are distinguished through the application identifiers, so that test invitation can be simultaneously performed on a plurality of applications, and the efficiency of application test is further improved.
In one embodiment, step S310 includes adding the test invitation link address to the pagefile; the page file comprises a label of the test invitation control, the label is used for triggering and displaying the test invitation control, and the test invitation control is used for triggering and selecting a test invitation link address from the test invitation link addresses and accessing the test invitation link address; and acquiring a test user identifier, and sending the page file according to the test user identifier.
Specifically, the electronic device may add the extracted test invitation link addresses to corresponding areas of the tabs of the test invitation control in the page file. And the electronic equipment sends the page file to the terminal corresponding to the test user identification. The terminal displays a test invitation page corresponding to the page file through an interface, and a user can select one test invitation link address from the test invitation link addresses and access the test invitation link address by triggering a test invitation control displayed in the test invitation page, and obtain a verification code for application test from the accessed page.
In the embodiment, the extracted test invitation link addresses are issued through the unified page file, so that the terminal corresponding to the tester can randomly select and access one test invitation link address, the workload increased by sending the test invitation link addresses to the test user one by one is avoided, and the efficiency of application testing is improved.
For example, FIG. 5 illustrates an interface diagram of a test invitation page in one embodiment. Referring to FIG. 5, the interface includes a test invitation control 510. The user can click the test invitation control 510, so that the terminal selects and accesses one test invitation link address from the test invitation link addresses added to the test invitation control 510, and jumps to an interface corresponding to the test invitation link address.
In one embodiment, step S310 includes obtaining a first test user identifier, and sending a test invitation link address according to the first test user identifier. After step S310, the application test invitation method further includes detecting whether the test invitation link address is valid; and acquiring a second test user identifier, and sending an effective test invitation link address according to the second test user identifier.
The first test user identifier and the second test user identifier are both test user identifiers, but are different test user identifiers. In this embodiment, the first test user identifier refers to a test user identifier corresponding to a first group of test users, and the second test user identifier refers to a test user identifier corresponding to a second group of test users.
Specifically, the electronic device may set a plurality of sets of test user identifications in advance. When the test invitation link address needs to be sent according to the test user identification, one or more groups of test user identifications are selected, and the test invitation link address is sent according to the obtained test user identification. The electronic equipment can detect whether the test invitation link address is effective or not after sending the test invitation link address for a period of time, filter out the test invitation link address which is invalid because the test user uses the test invitation link address to test, and send the residual effective test invitation link address after filtering to the terminal corresponding to the residual test user identification after selection.
In one embodiment, the step of detecting whether the test invitation link address is valid in the application test invitation method specifically includes: after extracting the test invitation link address included in the test invitation mail, recording the initial size of the page file corresponding to the test invitation link address; traversing the test invitation link address; when the current size of the page file corresponding to the traversed test invitation link address is consistent with the corresponding initial size, determining the traversed test invitation link address to be effective; and when the current size of the page file corresponding to the traversed test invitation link address is inconsistent with the corresponding initial size, determining the traversed test invitation link address as invalid.
For example, the test invitation link addresses extracted from the test invitation mail by the electronic device are URL addresses, and each URL address corresponds to an HTML (HyperText Markup Language) file. When the size of the HTML file corresponding to the URL address is 21K, the URL address is in a valid state, that is, the URL address is not used. When the size of the HTML file corresponding to the URL address is 12K, the URL address is in an invalid state, that is, the URL address is used.
In the embodiment, the invalid test invitation link addresses are filtered by detecting the validity of the test invitation link addresses, and the valid and unused test invitation link addresses are recovered so as to be conveniently pushed to the next batch of test users.
In an embodiment, after sending the page file according to the test user identifier for a period of time, the electronic device may also detect whether the test invitation link address is valid, delete the invalid test invitation link address from the page file, and send the page file with the invalid test invitation link address deleted to the terminal corresponding to the second user identifier.
In the embodiment, the effective test invitation link address is recycled, so that the condition that the test invitation link address is wasted due to the fact that the test user ignores the test invitation is avoided, the use of the test invitation link address is maximized, and the effect of application test is improved.
FIG. 6 is a flowchart diagram that illustrates a method for applying test invitations in a particular embodiment. Referring to fig. 6, the application test invitation method specifically includes the following steps:
s602, acquiring a target mailbox address for collecting the test invitation mail.
S604, generating a plurality of mailbox names according to the mailbox naming mode.
S606, generating a plurality of alias mailbox addresses according to the domain name address of the target mailbox address and the plurality of mailbox names.
And S608, mapping the plurality of alias mailbox addresses to the target mailbox addresses.
S610, acquiring a plurality of alias mailbox addresses mapped to the target mailbox addresses.
S612, configuring the plurality of alias mailbox addresses as mailbox addresses for receiving the test invitation mails.
S614, collecting the test invitation mails sent to a plurality of alias mailbox addresses through the target mailbox address.
S616, extracting the character strings in accordance with the link address format of the test invitation from the test invitation mail; and using the extracted character string as a test invitation link address.
S618, recording the initial size of the page file corresponding to the test invitation link address.
S620, acquiring characters at the position of a preset application identifier in the test invitation link address; and analyzing the acquired characters to obtain the application identification corresponding to the test invitation link address.
And S622, acquiring a first test user identifier corresponding to the application identifier, and sending a test invitation link address according to the first test user identifier.
S624, the test invitation link address is traversed.
S626, detecting whether the current size of the page file corresponding to the traversed test invitation link address is consistent with the corresponding initial size; if yes, go to step S628; if not, go to step S630.
S628, the traversed to test invitation link address is determined to be valid.
S630, the traversed test invitation link address is determined to be invalid.
And S632, acquiring a second test user identifier corresponding to the application identifier, and sending an effective test invitation link address according to the second test user identifier.
In this embodiment, the test invitation mails sent to the multiple alias mailbox addresses mapped to the target mailbox address are collected uniformly through the target mailbox address, then the test invitation link address is extracted from the collected test invitation mails, and then the test invitation link address is sent according to the test user identifier so as to invite the test user to perform the test. The application test invitation mode avoids the problem of long time consumption when the mailbox address of a tester is collected, and ensures the validity of the mailbox address for receiving the test invitation mail through the alias mailbox address mapped to the target mailbox address, thereby greatly improving the efficiency of the application test.
FIG. 7 shows a flow diagram of an application testing process in one embodiment. Referring to fig. 7, after acquiring a plurality of alias mailbox addresses mapped to a target mailbox address, the electronic device submits an installation package of an application to be tested and the acquired alias mailbox addresses to an auditing system. And after the auditing system finishes auditing the alias mailbox addresses, sending a test invitation mail to the alias mailbox addresses which are approved. And the electronic equipment collects the test invitation mails sent to the alias mailbox addresses from the mailbox server corresponding to the target mailbox addresses through the target mailbox addresses. The electronic equipment can extract the test invitation link address from the collected test invitation mails and send the extracted test invitation link address to the terminal corresponding to the test user identification. And installing a test application for application test at the terminal corresponding to the test user identification, acquiring a verification code for test through the test invitation link address, inputting the acquired verification code, installing the application to be tested, and performing application test. And the electronic equipment detects whether the test invitation link address is effective or not, if so, the effective test invitation link address is sent to the terminal corresponding to the test user identification, and if not, the application test is ended.
As shown in fig. 8, in an embodiment, an application test invitation apparatus 800 is provided, which specifically includes: an acquisition module 801, a configuration module 802, a collection module 803, an extraction module 804, and a sending module 805.
An obtaining module 801, configured to obtain a plurality of alias mailbox addresses mapped to the target mailbox address.
A configuration module 802 for configuring the plurality of alias mailbox addresses as mailbox addresses for receiving test invitation mails.
And the collecting module 803 is configured to collect the test invitation mails sent to the multiple alias mailbox addresses through the target mailbox address.
An extracting module 804, configured to extract the test invitation link address included in the test invitation mail.
The sending module 805 is configured to obtain a test user identifier, and send a test invitation link address according to the test user identifier.
The application test invitation device uniformly collects test invitation mails sent to a plurality of alias mailbox addresses mapped to the target mailbox addresses through the target mailbox addresses, extracts the test invitation link addresses from the collected test invitation mails, and sends the test invitation link addresses according to the test user identification for sending so as to invite the test users to test. The application test invitation mode avoids the problem of long time consumption when the mailbox address of a tester is collected, and ensures the validity of the mailbox address for receiving the test invitation mail through the alias mailbox address mapped to the target mailbox address, thereby greatly improving the efficiency of the application test.
In one embodiment, the extracting module 804 is further configured to extract a character string conforming to a link address format of the test invitation from the test invitation mail; and using the extracted character string as a test invitation link address.
In the embodiment, the test invitation link address can be conveniently and rapidly extracted from the test invitation mail directly according to the format of the test invitation link address, and then the extracted test invitation link address is sent to the test user, so that the test user is invited to carry out the test.
As shown in fig. 9, in one embodiment, the application test invitation apparatus 800 further includes a mapping module 806.
A mapping module 806, configured to obtain a target mailbox address for collecting the test invitation mail; generating a plurality of mailbox names according to a mailbox naming mode; generating a plurality of corresponding alias mailbox addresses according to the domain name address of the target mailbox address and the plurality of mailbox names; mapping the plurality of alias mailbox addresses to the target mailbox address.
In the embodiment, the target mailbox address for collecting the test invitation mail is selected, and the plurality of alias mailbox addresses mapped to the target mailbox address are generated to be used as the mailbox addresses for receiving the test invitation mail, so that the process of collecting the mailbox addresses of testers is greatly simplified, time consumption is reduced, and the efficiency of application test is improved.
As shown in fig. 10, in one embodiment, the application test invitation apparatus 800 further includes a parsing module 807.
The parsing module 807 is configured to obtain a character at a location where the preset application identifier is located in the test invitation link address; analyzing the acquired characters to obtain an application identifier corresponding to the test invitation link address;
the sending module 805 is further configured to obtain a test user identifier corresponding to the application identifier, and send the test invitation link address according to the test user identifier.
In the embodiment, the test invitation link addresses are distinguished through the application identifiers, so that test invitation can be simultaneously performed on a plurality of applications, and the efficiency of application test is further improved.
In one embodiment, the sending device 805 is further configured to add the test invitation link address to the pagefile; the page file comprises a label of the test invitation control, the label is used for triggering and displaying the test invitation control, and the test invitation control is used for triggering and selecting a test invitation link address from the test invitation link addresses and accessing the test invitation link address; and acquiring a test user identifier, and sending the page file according to the test user identifier.
In the embodiment, the extracted test invitation link addresses are issued through the unified page file, so that the terminal corresponding to the tester can randomly select and access one test invitation link address, the workload increased by sending the test invitation link addresses to the test user one by one is avoided, and the efficiency of application testing is improved.
In one embodiment, the sending module 805 is further configured to obtain a first test user identifier, and send the test invitation link address according to the first test user identifier; detecting whether the test invitation link address is effective or not; and acquiring a second test user identifier, and sending an effective test invitation link address according to the second test user identifier.
In the embodiment, the effective test invitation link address is recycled, so that the condition that the test invitation link address is wasted due to the fact that the test user ignores the test invitation is avoided, the use of the test invitation link address is maximized, and the effect of application test is improved.
In one embodiment, the sending module 805 is further configured to record an initial size of a page file corresponding to the test invitation link address; traversing the test invitation link address; when the current size of the page file corresponding to the traversed test invitation link address is consistent with the corresponding initial size, determining the traversed test invitation link address to be effective; and when the current size of the page file corresponding to the traversed test invitation link address is inconsistent with the corresponding initial size, determining the traversed test invitation link address as invalid.
In the embodiment, the invalid test invitation link addresses are filtered by detecting the validity of the test invitation link addresses, and the valid and unused test invitation link addresses are recovered so as to be conveniently pushed to the next batch of test users.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. An application test invitation method, the method comprising:
obtaining a plurality of alias mailbox addresses mapped to a target mailbox address;
sending the alias mailbox addresses to a test invitation mail sending server so that the test invitation mail sending server sends test invitation mails to the alias mailbox addresses;
collecting test invitation mails sent to the alias mailbox addresses through the target mailbox address;
extracting a test invitation link address included in the test invitation mail; the test invitation link address refers to a link address used for inviting application test;
and acquiring a test user identifier, and sending the test invitation link address to a terminal corresponding to the test user identifier so as to invite the test user identified by the test user identifier to perform application test.
2. The method of claim 1, wherein prior to obtaining the plurality of alias mailbox addresses mapped to target mailbox addresses, the method further comprises:
acquiring a target mailbox address for collecting a test invitation mail;
generating a plurality of mailbox names according to a mailbox naming mode;
generating a plurality of corresponding alias mailbox addresses according to the domain name address of the target mailbox address and the mailbox names;
mapping the plurality of alias mailbox addresses to the target mailbox address.
3. The method according to claim 1, wherein before the obtaining of the test user identifier and the sending of the test invitation link address to the terminal corresponding to the test user identifier so as to invite the test user identified by the test user identifier to perform the application test, the method further comprises:
acquiring characters at the position of a preset application identifier in the test invitation link address;
analyzing the acquired characters to obtain an application identifier corresponding to the test invitation link address;
the acquiring a test user identifier, and sending the test invitation link address to a terminal corresponding to the test user identifier to invite the test user identified by the test user identifier to perform an application test, includes:
and acquiring a test user identifier corresponding to the application identifier, and sending the test invitation link address to a terminal corresponding to the test user identifier so as to invite the test user identified by the test user identifier to perform application test.
4. The method according to claim 1 or 2, wherein the obtaining a test user identifier, and sending the test invitation link address to a terminal corresponding to the test user identifier, so as to invite the test user identified by the test user identifier to perform an application test, includes:
acquiring a first test user identifier, and sending the test invitation link address to a terminal corresponding to the first test user identifier so as to invite the first test user identified by the first test user identifier to perform application test;
the method further comprises the following steps:
detecting whether the test invitation link address is effective or not;
and acquiring a second test user identifier, and sending the effective test invitation link address to a terminal corresponding to the second test user identifier so as to invite the second test user identified by the second test user identifier to perform application test.
5. The method according to claim 4, wherein after extracting the test invitation link address included in the test invitation mail, the method further comprises:
recording the initial size of the page file corresponding to the test invitation link address;
the detecting whether the test invitation link address is valid includes:
traversing the test invitation link address;
when the current size of the page file corresponding to the traversed test invitation link address is consistent with the corresponding initial size, determining the traversed test invitation link address to be effective;
and when the current size of the page file corresponding to the traversed test invitation link address is inconsistent with the corresponding initial size, determining the traversed test invitation link address as invalid.
6. An application test invitation apparatus, the apparatus comprising:
an obtaining module for obtaining a plurality of alias mailbox addresses mapped to a target mailbox address;
the configuration module is used for sending the alias mailbox addresses to a test invitation mail issuing server so that the test invitation mail issuing server sends test invitation mails to the alias mailbox addresses;
the collection module is used for collecting the test invitation mails sent to the alias mailbox addresses through the target mailbox address;
the extracting module is used for extracting the test invitation link address included in the test invitation mail; the test invitation link address refers to a link address used for inviting application test;
and the sending module is used for acquiring a test user identifier, sending the test invitation link address to a terminal corresponding to the test user identifier, and inviting the test user identified by the test user identifier to carry out application test.
7. The apparatus of claim 6, further comprising:
the mapping module is used for acquiring a target mailbox address for collecting the test invitation mail; generating a plurality of mailbox names according to a mailbox naming mode; generating a plurality of corresponding alias mailbox addresses according to the domain name address of the target mailbox address and the mailbox names; mapping the plurality of alias mailbox addresses to the target mailbox address.
8. The apparatus of claim 6, further comprising:
the analysis module is used for acquiring characters at the position of a preset application identifier in the test invitation link address; analyzing the acquired characters to obtain an application identifier corresponding to the test invitation link address;
the sending module is further configured to obtain a test user identifier corresponding to the application identifier, and send the test invitation link address to a terminal corresponding to the test user identifier, so as to invite the test user identified by the test user identifier to perform an application test.
9. The apparatus according to claim 6 or 7, wherein the sending module is further configured to obtain a first test user identifier, send the test invitation link address to a terminal corresponding to the first test user identifier, so as to invite the first test user identified by the first test user identifier to perform an application test; detecting whether the test invitation link address is effective or not; and acquiring a second test user identification, and sending the effective test invitation link address to a terminal corresponding to the second test user identification so as to invite the test user identified by the test user identification to perform a second application test.
10. The apparatus according to claim 9, wherein the sending module is further configured to record an initial size of the pagefile corresponding to the test invitation link address; traversing the test invitation link address; when the current size of the page file corresponding to the traversed test invitation link address is consistent with the corresponding initial size, determining the traversed test invitation link address to be effective; and when the current size of the page file corresponding to the traversed test invitation link address is inconsistent with the corresponding initial size, determining the traversed test invitation link address as invalid.
11. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201710147239.5A 2017-03-13 2017-03-13 Application test invitation method and device Active CN108574625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710147239.5A CN108574625B (en) 2017-03-13 2017-03-13 Application test invitation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710147239.5A CN108574625B (en) 2017-03-13 2017-03-13 Application test invitation method and device

Publications (2)

Publication Number Publication Date
CN108574625A CN108574625A (en) 2018-09-25
CN108574625B true CN108574625B (en) 2020-11-27

Family

ID=63578369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710147239.5A Active CN108574625B (en) 2017-03-13 2017-03-13 Application test invitation method and device

Country Status (1)

Country Link
CN (1) CN108574625B (en)

Families Citing this family (4)

* 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
CN109684227A (en) * 2018-12-28 2019-04-26 北京微播视界科技有限公司 Applied program testing method, device and electronic equipment
CN112347465B (en) * 2019-08-06 2023-09-26 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for providing installation package authority
CN112131057B (en) * 2020-08-14 2022-03-01 上海纽盾科技股份有限公司 AI test method, client and system of network security equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063316A (en) * 2014-06-23 2014-09-24 百度在线网络技术(北京)有限公司 Application testing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138226A1 (en) * 2001-03-26 2002-09-26 Donald Doane Software load tester
CN1794284B (en) * 2005-12-26 2010-09-15 上海洲信信息技术有限公司 Method and system of realizing single account multiuser of electron mail box
CN102054004B (en) * 2009-11-04 2015-05-06 清华大学 Webpage recommendation method and device adopting same
CN103379014B (en) * 2012-04-12 2016-08-03 北京华恒铭圣科技发展有限责任公司 A kind of data communications method between test terminal and testing service device
CN106294133B (en) * 2016-07-29 2018-05-22 腾讯科技(深圳)有限公司 A kind of detection method, relevant apparatus and the system of application program installation kit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063316A (en) * 2014-06-23 2014-09-24 百度在线网络技术(北京)有限公司 Application testing method and device

Also Published As

Publication number Publication date
CN108574625A (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN108574625B (en) Application test invitation method and device
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
CN107046586B (en) A kind of algorithm generation domain name detection method based on natural language feature
CN103685308A (en) Detection method and system of phishing web pages, client and server
CN110099059A (en) A kind of domain name recognition methods, device and storage medium
CN112866023A (en) Network detection method, model training method, device, equipment and storage medium
CN111339151B (en) Online examination method, device, equipment and computer storage medium
CN109376534B (en) Method and apparatus for detecting applications
CN105187632B (en) Method and device for determining mobile phone number
CN112615873B (en) Internet of things equipment safety detection method, equipment, storage medium and device
CN111163072A (en) Method and device for determining characteristic value in machine learning model and electronic equipment
CN112804210A (en) Data association method and device, electronic equipment and computer-readable storage medium
CN111010456B (en) Main domain name acquisition and verification method
CN112333185A (en) Domain name shadow detection method and device based on DNS (Domain name Server) resolution
CN110334019B (en) Test method, test device and readable storage medium
CN108600054B (en) Method and system for judging number of websites based on domain name area files
CN110532193A (en) A kind of method for analyzing performance, calculates equipment and storage medium at device
CN110263082B (en) Data distribution analysis method and device of database, electronic equipment and storage medium
CN111800391B (en) Port scanning attack detection method and device, electronic equipment and storage medium
CN110830314B (en) Method and device for determining abnormal traffic
CN104317872B (en) Key message acquisition methods and device
CN110336777B (en) Communication interface acquisition method and device for android application
CN114765599A (en) Sub-domain name acquisition method and device
CN111639280A (en) Information sharing method and device
CN113065078B (en) Statistical analysis method for simulating user behavior to dial and test multistage domain names of WEB sites

Legal Events

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

Effective date of registration: 20220209

Address after: 510300 No.1, brand District, No.397, Xingang Middle Road, Haizhu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU TENCENT TECHNOLOGY Co.,Ltd.

Address before: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.