CN112347465B - Method, device, equipment and storage medium for providing installation package authority - Google Patents

Method, device, equipment and storage medium for providing installation package authority Download PDF

Info

Publication number
CN112347465B
CN112347465B CN201910723063.2A CN201910723063A CN112347465B CN 112347465 B CN112347465 B CN 112347465B CN 201910723063 A CN201910723063 A CN 201910723063A CN 112347465 B CN112347465 B CN 112347465B
Authority
CN
China
Prior art keywords
invitation
invitation code
server
link
code link
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
CN201910723063.2A
Other languages
Chinese (zh)
Other versions
CN112347465A (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.)
Tencent Technology Shenzhen 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 CN201910723063.2A priority Critical patent/CN112347465B/en
Publication of CN112347465A publication Critical patent/CN112347465A/en
Application granted granted Critical
Publication of CN112347465B publication Critical patent/CN112347465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Abstract

The application discloses a method, a device, equipment and a storage medium for providing installation package permission, and relates to the field of man-machine interaction. The method comprises the following steps: acquiring an invitation mail sent to a mail collecting account; reading an invitation code link in the invitation mail and storing the invitation code link; receiving an acquisition request sent by a terminal; the stored invitation code link is sent to the terminal according to the acquisition request; wherein the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application. According to the method, the mail is received through the mail collecting account, and then the invitation code link in the mail collecting account is acquired in an automatic mode, so that a user does not need to acquire the invitation code in the mail collecting account, the operation steps of the user are reduced, the man-machine interaction efficiency is improved, the user can carry out the experience of the test version of the application program without waiting for a long time, and the conversion rate of the invitation code is improved.

Description

Method, device, equipment and storage medium for providing installation package authority
Technical Field
The embodiment of the application relates to the field of man-machine interaction, in particular to a method, a device, equipment and a storage medium for providing installation package permission.
Background
Each version of the application to be released needs to be subjected to a strict audit, i.e. the formal version of the application will have a test version before release for internal testing to eliminate program BUGs (BUGs) in the application.
In general, a test version of an application program is distributed in an application market in a gray distribution manner. However, the application market provided by third party suppliers, i.e., suppliers of applications other than those of the application programs, does not support gray scale distribution, e.g., apple official application markets do not support gray scale distribution. The application market which does not support gray level release correspondingly provides a test version release platform, the test version release platform provides a test version of the application program for a user and invites the user to participate in internal test and experience of the application program so as to collect experience feedback of the user to the application program. The test version of the application program published on the test version publishing platform uses a signature mechanism provided by a third party provider, and the invitation code provided by the third party provider is required to be downloaded and installed on the corresponding installation package, accordingly, the process of inviting the user to participate in the internal test and experience of the application program can comprise the following five steps:
1) Collecting user mailboxes of users participating in internal tests by staff;
2) The staff introduces the collected user mailbox into a test version release platform;
3) The staff sends invitation mail to the user mailbox through the test version release platform;
4) The user obtains the invitation link of the internal test from the content of the invitation mail;
5) The user clicks the invitation link, a user interface on the terminal jumps to the test version release platform, and the test version application program is downloaded and installed on the test version release platform so as to experience the test version application program.
The flow for inviting the user to participate in the internal test is long, and the user needs to register the user mailbox by himself in the process of collecting the user mailbox by the staff; therefore, the user needs to wait for a longer time in the whole process, and the operation steps of the user are more, so that the conversion rate of the invitation code is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for providing installation package permission, which can solve the problems of low conversion rate of an invitation code caused by long flow of inviting a user to participate in internal test and more operation steps of the user. The technical scheme is as follows:
According to an aspect of the present application, there is provided a method of providing rights to an installation package, the method comprising:
acquiring an invitation mail sent to a collecting mailbox account, wherein the collecting mailbox account is used for replacing a mailbox account of a user mailbox to receive the invitation mail, and the invitation mail comprises an invitation code link;
reading an invitation code link in the invitation mail and storing the invitation code link;
receiving an acquisition request sent by a terminal, wherein the acquisition request is used for requesting permission of downloading and installing an installation package of an application program;
the stored invitation code link is sent to the terminal according to the acquisition request; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
According to another aspect of the present application, there is provided a method for acquiring rights of an installation package, the method comprising:
displaying a webpage of the experience invitation of the application program, wherein the webpage of the experience invitation comprises an acquisition control;
receiving a first trigger operation on the acquisition control;
sending an acquisition request to a server according to a first trigger operation; acquiring rights requesting an installation package for requesting downloading and installing of an application;
receiving an invitation code link sent by a server; the invitation code link is read by the server from an invitation mail under a receiving mailbox account, and the receiving mailbox account is used for replacing a user mailbox to receive the invitation mail; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
According to another aspect of the present application, there is provided an apparatus for providing a right to install a package, the apparatus comprising:
the acquisition module is used for acquiring an invitation mail sent to a receiving mailbox account, wherein the receiving mailbox account is used for replacing a user mailbox to receive the invitation mail, and the invitation mail comprises an invitation code link;
the reading module is used for reading the invitation code link in the invitation mail and storing the invitation code link;
the receiving module is used for receiving an acquisition request sent by the terminal, and acquiring the authority of an installation package for requesting to download and install the application program;
the sending module is used for sending the stored invitation code link to the terminal according to the acquisition request; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
According to another aspect of the present application, there is provided an acquisition apparatus of an installation package right, the apparatus comprising:
the display module is used for displaying a webpage of the experience invitation of the application program, wherein the webpage of the experience invitation comprises an acquisition control;
the first receiving module is used for receiving a first triggering operation on the acquisition control;
the sending module is used for sending an acquisition request to the server according to the first triggering operation; acquiring rights requesting an installation package for requesting downloading and installing of an application;
The second receiving module is used for receiving the invitation code link sent by the server; the invitation code link is read by the server from an invitation mail under a receiving mailbox account, and the receiving mailbox account is used for replacing a user mailbox to receive the invitation mail; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
According to another aspect of the present application, there is provided a terminal including:
a memory;
a processor coupled to the memory;
wherein the processor is configured to load and execute executable instructions to implement the method of obtaining installation package rights as described in any of the above aspects and alternative embodiments thereof.
According to another aspect of the present application, there is provided a server including:
a memory;
a processor coupled to the memory;
wherein the processor is configured to load and execute executable instructions to implement the method of providing installation package rights as described in any of the above aspects and alternative embodiments thereof.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, the at least one program, the code set or the instruction set being loaded and executed by a processor to implement the method for providing installation package authority as described in any one of the above aspects and alternative embodiments thereof, and the method for obtaining installation package authority as described in any one of the above aspects and alternative embodiments thereof.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
acquiring an invitation mail sent to a mail collecting account; reading an invitation code link in the invitation mail and storing the invitation code link; receiving an acquisition request sent by a terminal; the stored invitation code link is sent to the terminal according to the acquisition request; wherein the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
According to the method, the invitation code link in the invitation mail is acquired in an automatic mode, so that a user does not need to automatically acquire the invitation code in the mailbox, the operation steps of the user are reduced, and the man-machine interaction efficiency is improved; and in the method, the collecting mailbox account is also used, the invitation mail is received through the collecting mailbox account, then the invitation code link is acquired in an automatic mode, the user can acquire the invitation code link of the application program without providing a user mailbox, and the operation steps of the user are reduced, so that the man-machine interaction efficiency is improved, the user can carry out the experience of the test version of the application program without waiting for a long time, and the conversion rate of the invitation code is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a computer system provided in an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of a server cluster according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a server cluster according to another exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for providing installation package rights provided by an exemplary embodiment of the present application;
FIG. 5 is a flowchart of a method for providing installation package rights provided in accordance with another exemplary embodiment of the present application;
FIG. 6 is a flowchart of a method for providing installation package rights provided in accordance with another exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of a display interface for an invitation code in accordance with an exemplary embodiment of the application;
FIG. 8 is a schematic diagram of a display interface for an invitation code provided in accordance with another exemplary embodiment of the application;
FIG. 9 is a schematic diagram of an interface for application download provided by an exemplary embodiment of the present application;
FIG. 10 is a flowchart of a method for obtaining installation package rights provided by an exemplary embodiment of the present application;
FIG. 11 is a schematic illustration of an interface for application download provided by another exemplary embodiment of the present application;
FIG. 12 is a schematic illustration of an interface for application download provided by another exemplary embodiment of the present application;
FIG. 13 is a block diagram of an installation package authority providing apparatus provided by an exemplary embodiment of the present application;
FIG. 14 is a block diagram of an installation package rights acquisition apparatus provided in one exemplary embodiment of the present application;
fig. 15 is a block diagram of a terminal according to an exemplary embodiment of the present application;
fig. 16 is a block diagram of a server according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
First, several terms related to the embodiments of the present application are explained:
invitation code: a special pass; in the present application, is used to give download and installation rights to a test version of an application. Illustratively, the release of the application version includes release of a formal version and release of a test version. The formal version of the application refers to the version of the application that all users can download and install; the test version of the application refers to the version of the application that a portion of the user can download and install. The user needs to pass the invitation code to download and install the test version of the application.
Inviting code links: refers to a uniform resource locator (Uniform Resource Locator, URL) corresponding to the invitation code, and the web page corresponding to the URL includes the invitation code.
Fig. 1 is a schematic structural diagram of a computer system according to an exemplary embodiment of the present application, where the computer system includes a terminal 120 and a server cluster 140.
The terminal 120 and the server cluster 140 are connected by a wired or wireless network.
The terminal 120 may be a laptop portable computer, a desktop computer, a cell phone, a tablet computer, an electronic book reader, an electronic game machine, and the like.
The terminal 120 includes a memory and a processor therein; the memory may include one or more computer-readable storage media. The computer storage medium includes at least one of random access Memory (Random Access Memory, RAM), read Only Memory (ROM), and Flash Memory (Flash). The memory has an operating system and application programs installed therein.
The operating system is the underlying software that provides applications with secure access to computer hardware, and may be Android or apple systems (IOS). The operating system supports the downloading and installation of applications.
Optionally, the terminal 120 further comprises a touch screen; the touch screen may be a capacitive screen or a resistive screen. The touch screen is used for realizing interaction between the terminal and the user. In the embodiment of the application, the terminal obtains the operation of downloading and installing the application program triggered by the user through the touch screen.
The server cluster 140 may be any of a plurality of servers, virtual cloud storage, or a cloud computing center. The server cluster 140 supports the reception of invitation mail for an application's experience invitation, the reading, storing and issuing of invitation code links, the pushing of web pages for the experience invitation, and so on.
Optionally, the server cluster 140 includes a mailbox server 142, a task distribution server 144, and a DataBase (DB) server 146, where, as shown in fig. 2, the servers establish a communication connection through a wired or wireless network.
Optionally, mailbox server 142 creates a proxy mailbox account for receiving invitations to experience invitations for applications. Wherein, the storage catalogue in the mailbox server 142 is set according to the account number of the collecting mailbox; when the mailbox account under the mailbox server 142 receives the invitation mail, the invitation mail is stored under a storage target corresponding to the mailbox account.
Illustratively, a mailbox server 142 is built, and postfix and dovecot are required to be installed in the mailbox server 142, wherein postfix is software of an open-source mail transmission agent (Mail Transfer Agent, MTA), and the mailbox server 142 sends and receives mails through the postfix; the dovecot is an open source post office version protocol (Post Office Protocol, POP) and web mail access protocol (Internet Mail Access Protocol, IMAP) software, POP/IMAP being the protocol used when reading mail from the mailbox server, through which mail is read by mailbox server 142. A proxy mailbox account may be created in the set-up mailbox server 142, where the proxy mailbox account is a mailbox account used to replace a user mailbox to receive an invitation mail. Wherein one of the proxy mailbox accounts corresponds to receiving one of the invitation mails, a plurality of proxy mailbox accounts need to be created in the mailbox server 142.
For example, the application cloud server serves as a mailbox server 142, and applies for binding of an external domain name to the mailbox server 142; 10000 proxy mailbox accounts may be created in mailbox server 142 and the program code may be as follows:
groupadd-g 5000vmail// establish a group of mail treatments;
Useradd-g vmail-u 5000-s/sbin/technology in vmail// user who established mail handling.
After the 10000 mailbox accounts are created, a 10000 storage directory is correspondingly generated in the mail server 142, where the name of the storage directory may correspond to the name of the mailbox account.
Alternatively, the task distribution server 144 serves to obtain the invitation-code link from the mailbox server 142 and store the invitation-code link into the DB server 146.
Optionally, the task distribution server 144 is configured to distribute the reading task linked by the invitation code and the update task of the invitation code to at least two mailbox servers 142, as shown in fig. 3, where the task distribution server 144 distributes the multiple reading tasks linked by the invitation code to the mailbox servers 1422, 1424 and 1426; the mailbox server 1422, the mailbox server 1424 and the mailbox server 1426 process the plurality of reading tasks at the same time, and feed back the read invitation code links to the task distribution server 144; the task distribution server 144 stores the resulting invitation-code links into the DB server 146. The acquisition of the invitation code link shown in fig. 3 adopts a distributed multi-thread acquisition mode, and the plurality of mailbox servers 142 simultaneously work to acquire the invitation code link, so that the acquisition efficiency of the invitation code link is improved; in the above working manner of distributed multithreading, after one mailbox server 142 fails, another mailbox server 142 can continue to read the task, so as to ensure stable operation of the acquisition service of the invitation code link.
Optionally, the DB server 146 is used to store an invitation code link for an application's experience invitation; optionally, the DB server 146 is configured to store the corresponding mailbox account number, the invitation code link, and the unique Identification (ID) of the application.
Optionally, the server cluster 140 further includes a storage server 148, where the storage server 148 stores an installation package of the application program; the terminal 120 downloads an installation package of the application from the storage server 148.
It should be further noted that, in some embodiments, each server in the server cluster 140 may implement all the steps performed by the mailbox server 142, the task distribution server 144, the DB server 146, and the storage server 148, so as to implement the method for providing the installation package authority provided by the present application.
Fig. 4 is a flowchart of a method for providing the authority of an installation package according to an exemplary embodiment of the present application, and the method is applied to the server cluster shown in any one of fig. 1 to 3, for example, and includes:
in step 201, the server obtains an invitation mail sent to the account of the collecting mailbox.
The mailbox account is created by, owned by or provided by the provider of the application program and is used for replacing a user mailbox to receive the invitation mail. The invitation mail includes an invitation code link.
Optionally, a mail collecting account is created in the server, and the server obtains the invitation mail sent to the mail collecting account. Optionally, the server periodically obtains the invitation mail sent to the proxy mailbox account.
Optionally, a communication connection is established between the server and the mailbox server, and a mail collecting account is created in the mailbox server; the server obtains the invitation mail under the account of the collecting mailbox from the mailbox server. Optionally, the server periodically obtains the invitation mail under the account of the collecting mailbox from the mailbox server.
Before receiving the invitation mail, the mailbox server is built, a mail collecting account is established in the mailbox server, and the created mail collecting account is imported and submitted to a release platform of an application program test version; when the test version of the application program is released, an invitation mail is sent to the collection mailbox account.
The mailbox server receives the invitation mail sent to the collecting mailbox account and stores the invitation mail into the storage directory corresponding to the collecting mailbox account.
Step 202, the server reads the invitation code link in the invitation mail.
Optionally, the server extracts the invitation code links in the invitation mail by regular expressions.
Optionally, the server further reads the invitation code link in a distributed multithreading manner, and the exemplary steps are as follows:
1) The server generates at least two reading tasks linked by the invitation code;
alternatively, the server may generate at least two read tasks linked by the invitation code of one application, for example, the server generates three read tasks, which are all read tasks linked by the invitation code of application a.
Alternatively, the server may generate at least two read tasks linked by the invitation codes of at least two applications, for example, the server generates three read tasks including a read task of the invitation code of application a and a read task of the invitation code of application B.
2) And the server distributes at least two reading tasks to at least two task queues, and carries out parallel processing on the reading tasks in the at least two task queues to obtain an invitation code link.
Illustratively, the server comprises a first task queue and a second task queue; the server generates a first reading task and a second reading task, distributes the first reading task to a first task queue, distributes the second reading task to a second task queue, and processes the first reading task and the second reading task in the two task queues in parallel; when the server also generates a third reading task, the server distributes the third reading task to the first task queue or the second task queue, the first reading task and the second reading task are processed in parallel, and the third reading task is processed after the first reading task or the second reading task is executed. The reading task is performed to obtain an invitation code link under each of the collecting mailbox accounts.
The first reading task, the second reading task and the third reading task may be reading tasks linked with the invitation codes of the same application program, or may be reading tasks linked with the invitation codes of different application programs.
Optionally, the server reads the invitation code link in the invitation mail from the mailbox server, and the exemplary steps are as follows:
1) The server periodically accesses the mailbox server through a Secure SHell (SSH) protocol and extracts the invitation code links in the invitation mail through regular expressions. Wherein the SSH protocol is a security protocol based on an application layer.
Illustratively, the access period is 10 minutes, the server accesses the mailbox server through the SSH protocol every 10 minutes, and the unread mail is read. Optionally, the test version release platform of the application program corresponds to a mailbox account, and the server reads unread mails corresponding to the mailbox account through the mailbox server.
For example, the mailbox account corresponding to the release platform of the application test version is example@xxx.xxx, the invitation mail with the mail sending mailbox of example@xxx.xxx is read, and the mail with the mail sending mailbox not of example@xxx.xxx is deleted. Note that example@xxx.xxx is merely an example of a mailbox address, and does not refer to a real mailbox address.
Optionally, the mailbox server is built on the cloud server, and the DB server is an intranet server, so that the mailbox server cannot access the DB server, a server is required to read data from the DB server, a task list to which the invitation code link needs to be read is determined, and then the server reads the invitation code link from the invitation mail according to a reading task in the task list.
Optionally, the server acquires the invitation code link from the mailbox server in a distributed multithreading manner, and the steps are as follows:
1) The server generates at least two reading tasks linked by the invitation code;
2) The server distributes at least two reading tasks to at least two mailbox servers, and the at least two mailbox servers read the invitation code links in the invitation mail.
The distributed multithreading working mode is correspondingly provided with at least two mailbox servers, and the servers distribute at least two reading tasks to the at least two mailbox servers.
Illustratively, the server randomly distributes at least two of the above-described reading tasks to at least two mailbox servers; or the server distributes the reading task linked by the invitation codes of different application programs to different mailbox servers. The mailbox server performs the above-described reading task, reads the invitation code link from the invitation mail, and sends deaf the invitation code link to the server.
The server saves 203 the invitation code links.
Optionally, the server saves the invitation code link to the local; alternatively, the server saves the invitation code link to the DB server.
Optionally, the exemplary steps of server link storage of the invitation code are as follows:
1) Analyzing the invitation code link results in a code in the invitation code link.
2) The ID of the application is obtained from the code.
Wherein the code is represented by hexadecimal system; intercepting the last 8 bits of hexadecimal codes; the encoded last 8 bits of hexadecimal are converted into decimal, and the ID of the application program is obtained. The code is a code.
3) And storing the mail box account number and the invitation code link corresponding to the ID of the application program.
It should also be noted that the above exemplary steps may be performed by a server, or may be performed by a mailbox server. Illustratively, as shown in fig. 5, taking an example of a reading task of the invitation code link performed by the mailbox server, a procedure of reading the invitation code link is described as follows:
step 2031, the mailbox server extracts the URL from the invitation mail;
for example, the content of the invitation mail including the invitation code link is as follows:
<a href=3D’https://xxxx.yyyyyy.zzzzz.ccc/v1/invite/0c31f101=6ee243e3a89e7778fdaf97fb2009b4468fb44b40a8a23860ea411024d82e0ecct=3DTenceetTechnologyShanghaiCoLtd&advp=3D10000&platform=3Dios’alt=3D“Start Testing”aria-label=3D“Start Testing”style=3D“background-color:#3=a81fd;-webkit-size-adjust:none;”>
the mailbox server extracts the URL from the invitation mail through the regular expression as follows:
“https://xxxx.yyyyyy.zzzzz.ccc/v1/invite/0c31f1016ee243e3a89e7778fdaf97f=b2009b4468fb44b40a8a23860ea411024d82e0ecct=TenceetTechnologyShang=haiCoLtd&advp=10000&platform=iis”。
It should be noted that the URL is only an example, and does not refer to a real web page address.
Step 2032, the mailbox server extracts the hexadecimal code in the URL;
for example, the hexadecimal code in the URL is as follows:
“0c31f1016ee243e3a89e7778fdaf97fb2009b4468fb44b40a8a23860ea411024=d82e0ec”。
step 2033, intercepting the last 8 bits of hexadecimal code by the mailbox server;
for example, the last 8 bits of the code truncated hexadecimal is "4d82e0ec".
Step 2034, the mailbox server converts the last 8 bits of the hexadecimal code into decimal, and obtains the ID of the application program;
for example, when the last 8 bits of the hexadecimal code are "4d82e0ec" and are converted into the decimal code of "1300422892", the ID of the application program is "1300422892", and the product name of the application program corresponding to the ID is "penguin electronic live broadcast assistant".
In step 2035, the mailbox server feeds back to the server the mailbox account number, URL, and application ID.
After step 2035, the server stores the aforementioned mailbox account number, URL, and application ID in association with the DB server.
Step 204, the server receives the acquisition request sent by the terminal.
Wherein the acquisition request is used for requesting permission to download and install the installation package of the application program. Optionally, the acquisition request includes an ID of an application program, where the ID of the application program is used to acquire an invitation code link of the application program from a server.
And step 205, the server sends the stored invitation code link to the terminal according to the acquisition request.
Wherein the invitation code link is used by the terminal to obtain download and installation rights of an installation package of the application program.
Optionally, n invitation code links corresponding to the ID of the application program are stored in the server or DB server, the server determines a target invitation code link from the n invitation code links according to the ID of the application program, and sends the target invitation code link to the terminal; n is a positive integer greater than 2. Illustratively, the server randomly determines a target invitation code link from the n invitation code links and transmits the target invitation code link to the terminal.
In summary, the method for providing the authority of the installation package provided in this embodiment obtains the invitation mail sent to the account of the collecting mailbox; reading an invitation code link in the invitation mail and storing the invitation code link; receiving an acquisition request sent by a terminal; the stored invitation code link is sent to the terminal according to the acquisition request; wherein the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
According to the method, the invitation code link in the invitation mail is acquired in an automatic mode, so that a user does not need to automatically acquire the invitation code in the mailbox, the operation steps of the user are reduced, and the man-machine interaction efficiency is improved; and in the method, the collecting mailbox account is also used, the invitation mail is received through the collecting mailbox account, then the invitation code link is acquired in an automatic mode, the user can acquire the invitation code link of the application program without providing a user mailbox, and the operation steps of the user are reduced, so that the man-machine interaction efficiency is improved, the user can carry out the experience of the test version of the application program without waiting for a long time, and the conversion rate of the invitation code is further improved.
Secondly, the acquisition of the invitation code link also adopts a distributed multi-thread acquisition mode, so that the acquisition efficiency of the invitation code link can be improved. When a plurality of mailbox servers work simultaneously to acquire the invitation code links, after one mailbox server fails, the other mailbox server continues to read the task, so that the stable operation of the acquisition service of the invitation code links is ensured.
Because the number of the invitation codes of the application program is limited, that is to say, the number of the invitation code links is limited, and after the invitation code links of the application program are requested to be obtained, some terminals cannot verify the invitation codes in the invitation code links, so that the invitation codes are wasted. Illustratively, as in FIG. 6, steps 206 through 210 are added after step 205, as follows:
in step 206, the server monitors the duration after the invitation code link is acquired.
Optionally, after sending the invitation code link to the terminal, the server establishes a monitoring task for the invitation code link, and monitors a time period after the invitation code link is acquired from a sending time of the invitation code link.
In step 207, the server determines whether the duration is equal to or greater than a time threshold.
When the duration is equal to or greater than the time threshold, step 208 is performed; when the duration is less than the time threshold, step 206 is performed.
The time threshold is used to determine whether to verify the authentication status of the invitation code in the invitation code link. Illustratively, the time threshold is 24 hours, and step 208 is performed when the duration is equal to or greater than 24 hours; otherwise, step 206 is performed.
The server checks 208 the authentication status of the invitation code in the invitation code link.
The verification state of the invitation code comprises unverified and verified; wherein the non-verification indicates that the verification code is not used to download and install the installation package for the application, the verification identifying that the verification code has been used to download and install the installation package for the application.
Optionally, the server analyzes the size of the webpage corresponding to the invitation code link; the size of the webpage is used for representing the verification state of the invitation code; when the size of the webpage is in a first threshold range, determining that the verification state of the invitation code is unverified; when the size of the webpage is in the second threshold range, determining that the verification state of the invitation code is verified; wherein the values in the second threshold range are smaller than the values in the first threshold range.
Illustratively, the first threshold range is [20K,22K ], representing equal to or greater than 20 kilobytes (K) and less than or equal to 22K; the second threshold range is [11K,13K ], representing equal to or greater than 11K and less than or equal to 13K. When the page size of the hypertext markup language (Hyper Text Markup Language, HTML) corresponding to the invitation code link is 21K, determining that the verification state of the invitation code is unverified; when the size of the HTML page corresponding to the invitation code link is 12K, determining that the verification state of the invitation code is verified. As in fig. 7, an HTML page when the verification state of the invitation code is unverified is shown, and as in fig. 8, an HTML page when the verification state of the invitation code is verified is shown.
In step 209, when the authentication status of the invitation code is unverified, the server restores the invitation code link.
In step 210, when the verification status of the invitation code is verified, the server deletes the invitation code link.
In summary, in the method for providing the authority of the installation package provided in this embodiment, the verification state of the invitation code in the invitation code link is checked, and the invitation code link with the unverified invitation code is recycled, so that the utilization rate of the invitation code and the conversion rate of the invitation code are improved.
Based on fig. 3, after the server stores the invitation code link, the server further pushes a webpage of the application program for experiencing invitation to the terminal, the webpage of the application program for experiencing invitation includes an acquisition control, and the acquisition control is used by the terminal to send an acquisition request to the server after receiving a first trigger operation on the acquisition control.
Illustratively, the server pushes the web page of the experience invitation of the application to the terminal via a message push. Optionally, the server sends an invitation link to the terminal through a notification message, the invitation link being used to open a web page of the application for which the invitation is experienced.
For example, the server may send the invitation link to the terminal through a notification message of an applet, a message push of a public number, a version update message in the setting of an application, and the like. As shown in fig. 9, the server pushes a webpage of the experience invitation to the terminal through a version update message in the setting of the application program, and reminds that the message is updated in the setting of the application program, as shown in a user interface 11 of the application program in fig. 9, wherein the user interface 11 comprises a setting control 12; clicking the setting control 12 to display a setting interface 13 of the application program, wherein the setting interface 13 comprises a message reminder marked with 'new version experience'; clicking on the control 14 corresponding to "new version experience" displays the web page 15 of the experience invitation of the application, the web page 15 including the get control 16 of the installation package of the application, marked "immediately download".
The test version of the application program carries out the issuing of the invitation code link through the ways of upgrading prompt, public number information, applet information and the like in the application, thereby increasing the flexibility of the allocation of the invitation code link, ensuring that the allocation of the invitation code link is more rapid and effective, and improving the conversion rate of the invitation code.
Fig. 10 is a flowchart of a method for obtaining rights to an installation package according to an exemplary embodiment of the present application, where the method is applied to the computer system shown in fig. 1, and the method includes:
step 301, displaying a webpage of an experience invitation of an application program on a terminal.
The webpage of the experience invitation comprises an acquisition control.
Step 302, the terminal receives a first trigger operation on the acquisition control.
The first triggering operation is used for triggering generation and sending of an acquisition request and triggering skip of a user interface; rights requesting an installation package for requesting the downloading and installation of an application are acquired.
Step 303, the terminal sends an acquisition request to the server according to the first trigger operation; and jumping to a downloading interface of the installation package of the application program according to the first triggering operation.
And the terminal sends the acquisition request to the server according to the first triggering operation, and the webpage of the experience invitation on the terminal jumps to the downloading interface of the installation package.
Step 304, the server receives the acquisition request sent by the terminal.
Optionally, the acquisition request includes an ID of an application program, where the ID of the application program is used to correspondingly acquire an invitation code link of the application program from a server.
And step 305, the server sends the stored invitation code link to the terminal according to the acquisition request.
Step 306, the terminal receives the invitation code link sent by the server.
The server reads the invitation code link from the invitation mail under the receiving mailbox account, wherein the receiving mailbox account is used for replacing a user mailbox to receive the invitation mail; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
And step 307, the terminal displays a download control on a download interface of the installation package according to the invitation code link.
Step 308, the terminal receives a second trigger operation on the download control.
The second triggering operation is used for triggering the downloading of the installation package of the application program.
And step 309, the terminal downloads the installation package of the application program according to the second trigger operation.
Optionally, the terminal downloads an installation package of the application program from the server; alternatively, the terminal downloads the installation package of the application program from a storage server, which is a server in which the user stores the installation package of various application programs.
Illustratively, as shown in fig. 11, the terminal receives a click operation on the acquisition control 16 in the web page 15, and then sends an acquisition request to the server, requesting to acquire an invitation code link of the application program, and jumps from the web page to the download interface 21 of the installation package, where the download interface 21 of the installation package includes a download control 22; the terminal receives a click operation on the download control 22, and downloads the installation package of the application program.
As shown in fig. 12, before the download interface 21 of the installation package is displayed, a download navigation interface 31 may be displayed. The download navigation interface 31 comprises a first installation control 32 of an application market and a second installation control 33 of an application program, when the corresponding application market is not installed in the terminal, the first installation control 32 is clicked to install the application market, and then the download authority of the application program in the application market is authorized to be opened; the above procedure is completed, and the second installation control 33 is clicked to jump to the download interface 21 of the installation package for downloading the installation package of the application program.
In summary, in the method for acquiring the permission of the installation package provided by the embodiment, the terminal acquires the invitation code link from the server so as to download and install the test version of the application program, wherein the invitation code link provided by the server is the invitation code link in the invitation mail acquired by the server in an automatic mode, and the user does not need to acquire the invitation code from the mailbox, so that the operation steps of the user are reduced, and the man-machine interaction efficiency is improved; and the server also uses a collecting mailbox account in the process of obtaining the invitation code link, receives the invitation mail through the collecting mailbox account, and obtains the invitation code link in an automatic mode, so that a user can obtain the invitation code link of the application program without providing a user mailbox, the operation steps of the user are reduced, the man-machine interaction efficiency is improved, the user can carry out the experience of the test version of the application program without waiting for a long time, and the conversion rate of the invitation code is further improved.
Fig. 13 is a block diagram of an apparatus for providing authority of an installation package, which may constitute part or all of a server through software, hardware, or a combination of both, according to an exemplary embodiment of the present application, the apparatus comprising:
the acquiring module 401 is configured to acquire an invitation mail sent to a collecting mailbox account, where the collecting mailbox account is a mailbox account for replacing a user mailbox to receive the invitation mail, and the invitation mail includes an invitation code link;
a reading module 402, configured to read the invitation code link in the invitation mail and store the invitation code link;
a receiving module 403, configured to receive an acquisition request sent by a terminal, where the acquisition request is used to request downloading and installing of a permission of an installation package of an application program;
a sending module 404, configured to send the stored invitation code link to the terminal according to the acquisition request; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
In some embodiments, the reading module 402 is configured to extract the invitation code links in the invitation mail via regular expressions.
In some embodiments, the read module 402 includes:
a first analysis submodule 4021, configured to analyze the invitation code link to obtain a code in the invitation code link;
An acquisition sub-module 4022 for acquiring a unique identification ID of the application program from the code;
the storage submodule 4023 is configured to store the mail box account number and the invitation code link in correspondence with the ID of the application program.
In some embodiments, the encoding is in hexadecimal representation;
an acquisition submodule 4022 for intercepting the last 8 bits of hexadecimal encoding; the encoded last 8 bits of hexadecimal are converted into decimal, and the ID of the application program is obtained.
In some embodiments, the apparatus comprises:
a monitoring module 405, configured to monitor a duration after the invitation code link is acquired;
a checking module 406, configured to check the verification status of the invitation code in the invitation code link when the time length is equal to or greater than the time threshold;
the storage module 407 is configured to restore the invitation code link when the verification status of the invitation code is unverified.
In some embodiments, the verification module 406 includes:
a second analysis submodule 4061, configured to analyze a size of a web page corresponding to the invitation code link; the size of the webpage is used for representing the verification state of the invitation code;
a determining submodule 4062, configured to determine that the verification state of the invitation code is unverified when the size of the web page is within the first threshold range; when the size of the webpage is in the second threshold range, determining that the verification state of the invitation code is verified; wherein the values in the second threshold range are smaller than the values in the first threshold range.
In some embodiments, the read module 402 includes:
a generating submodule 4024 for generating at least two reading tasks linked by the invitation code;
the processing sub-module 4025 is configured to distribute at least two reading tasks to at least two task queues, and perform parallel processing on the reading tasks in the at least two task queues to obtain an invitation code link.
In some embodiments, the sending module 404 is further configured to push, to the terminal, a web page of the experience invitation of the application, where the web page of the experience invitation includes an acquisition control, and the acquisition control is used by the terminal to send, to the server, an acquisition request after receiving a first trigger operation on the acquisition control.
In summary, the device for providing the authority of the installation package provided in this embodiment obtains the invitation mail sent to the account of the collecting mailbox; reading an invitation code link in the invitation mail and storing the invitation code link; receiving an acquisition request sent by a terminal; the stored invitation code link is sent to the terminal according to the acquisition request; wherein the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
The device acquires the invitation code link in the invitation mail in an automatic mode, so that a user does not need to automatically acquire the invitation code in the mailbox, the operation steps of the user are reduced, and the man-machine interaction efficiency is improved; and the device also uses a collecting mailbox account, receives the invitation mail through the collecting mailbox account, acquires the invitation code link in an automatic mode, and can acquire the invitation code link of the application program without providing a user mailbox, thereby reducing the operation steps of the user, improving the man-machine interaction efficiency, enabling the user to carry out the experience of the test version of the application program without waiting for a long time, and further improving the conversion rate of the invitation code.
Fig. 14 is an apparatus for acquiring rights of an installation package according to an exemplary embodiment of the present application, which may form part or all of a terminal through software, hardware, or a combination of both, and includes:
the display module 501 is configured to display a web page of an experience invitation of an application, where the web page of the experience invitation includes an acquisition control;
the first receiving module 502 is configured to receive a first trigger operation on the acquisition control;
a sending module 503, configured to send an acquisition request to a server according to a first trigger operation; acquiring rights requesting an installation package for requesting downloading and installing of an application;
a second receiving module 504, configured to receive an invitation code link sent by the server; the invitation code link is read by the server from an invitation mail under a receiving mailbox account, and the receiving mailbox account is used for replacing a user mailbox to receive the invitation mail; the invitation code link is used by the terminal to obtain download and installation rights for the installation package of the application.
In some embodiments, the apparatus comprises:
a switching module 505, configured to jump to a download interface of an installation package of an application according to a first trigger operation;
The display module 501 is used for displaying a download control on a download interface of the installation package according to the invitation code link;
the first receiving module 502 is configured to receive a second trigger operation on the download control;
and the downloading module 506 is configured to download the installation package of the application program according to the second triggering operation.
In summary, the device for acquiring the permission of the installation package provided in this embodiment acquires the invitation code link from the server so as to download and install the test version of the application program, where the invitation code link provided by the server is the invitation code link in the invitation mail acquired by the server in an automatic manner, and the user does not need to acquire the invitation code from the mailbox, so that the operation steps of the user are reduced, and the man-machine interaction efficiency is improved; and the server also uses a collecting mailbox account in the process of obtaining the invitation code link, receives the invitation mail through the collecting mailbox account, and obtains the invitation code link in an automatic mode, so that a user can obtain the invitation code link of the application program without providing a user mailbox, the operation steps of the user are reduced, the man-machine interaction efficiency is improved, the user can carry out the experience of the test version of the application program without waiting for a long time, and the conversion rate of the invitation code is further improved.
Fig. 15 shows a block diagram of a terminal 600 according to an exemplary embodiment of the present invention. The terminal 600 may be: a smart phone, a tablet computer, a dynamic video expert compression standard audio layer 3 (Moving Picture Experts Group Audio Layer III, MP 3) player, a dynamic video expert compression standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP 4) player, a notebook computer, or a desktop computer. Terminal 600 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 600 includes: a processor 601 and a memory 602.
Processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 601 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 601 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a central processor (Central Processing Unit, CPU); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with an image processor (Graphics Processing Unit, GPU) for use in connection with rendering and rendering of content to be displayed by the display screen. In some embodiments, the processor 601 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 602 is used to store at least one instruction for execution by processor 601 to implement the method of obtaining installation package permissions provided by the method embodiments of the present application.
In some embodiments, the terminal 600 may further optionally include: a peripheral interface 603, and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 603 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 604, a touch display 605, a camera 606, audio circuitry 607, a positioning component 608, and a power supply 609.
Peripheral interface 603 may be used to connect at least one Input/Output (I/O) related peripheral to processor 601 and memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 601, memory 602, and peripheral interface 603 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 604 is configured to receive and transmit Radio Frequency (RF) signals, also known as electromagnetic signals. The radio frequency circuit 604 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 604 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or wireless fidelity (Wireless Fidelity, wiFi) networks. In some embodiments, the radio frequency circuitry 604 may also include circuitry related to near field wireless communications (Near Field Communication, NFC), which is not limited by the present application.
The display screen 605 is used to display a User Interface (UI). The UI may include graphics, text, icons, video, and any combination thereof. When the display 605 is a touch display, the display 605 also has the ability to collect touch signals at or above the surface of the display 605. The touch signal may be input as a control signal to the processor 601 for processing. At this point, the display 605 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 605 may be one, providing a front panel of the terminal 600; in other embodiments, the display 605 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folded design; in still other embodiments, the display 605 may be a flexible display, disposed on a curved surface or a folded surface of the terminal 600. Even more, the display 605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 605 may be made of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The camera assembly 606 is used to capture images or video. Optionally, the camera assembly 606 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 606 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 607 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing, or inputting the electric signals to the radio frequency circuit 604 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 607 may also include a headphone jack.
The location component 608 is used to locate the current geographic location of the terminal 600 to enable navigation or location based services (Location Based Service, LBS). The positioning component 608 may be a positioning component based on the U.S. global positioning system (Global Positioning System, GPS), the chinese beidou system, or the russian galileo system.
A power supply 609 is used to power the various components in the terminal 600. The power source 609 may be alternating current, direct current, disposable battery or rechargeable battery. When the power source 609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 600 further includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: acceleration sensor 611, gyroscope sensor 612, pressure sensor 613, fingerprint sensor 614, optical sensor 615, and proximity sensor 616.
The acceleration sensor 611 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 600. For example, the acceleration sensor 611 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 601 may control the touch display screen 605 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 611. The acceleration sensor 611 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 612 may detect a body direction and a rotation angle of the terminal 600, and the gyro sensor 612 may collect a 3D motion of the user on the terminal 600 in cooperation with the acceleration sensor 611. The processor 601 may implement the following functions based on the data collected by the gyro sensor 612: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 613 may be disposed at a side frame of the terminal 600 and/or at a lower layer of the touch screen 605. When the pressure sensor 613 is disposed at a side frame of the terminal 600, a grip signal of the terminal 600 by a user may be detected, and a left-right hand recognition or a shortcut operation may be performed by the processor 601 according to the grip signal collected by the pressure sensor 613. When the pressure sensor 613 is disposed at the lower layer of the touch display screen 605, the processor 601 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 605. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 614 is used for collecting the fingerprint of the user, and the processor 601 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 614 may be provided on the front, back, or side of the terminal 600. When a physical key or vendor Logo is provided on the terminal 600, the fingerprint sensor 614 may be integrated with the physical key or vendor Logo.
The optical sensor 615 is used to collect ambient light intensity. In one embodiment, processor 601 may control the display brightness of touch display 605 based on the intensity of ambient light collected by optical sensor 615. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 605 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 605 is turned down. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 based on the ambient light intensity collected by the optical sensor 615.
A proximity sensor 616, also referred to as a distance sensor, is typically provided on the front panel of the terminal 600. The proximity sensor 616 is used to collect the distance between the user and the front of the terminal 600. In one embodiment, when the proximity sensor 616 detects a gradual decrease in the distance between the user and the front face of the terminal 600, the processor 601 controls the touch display 605 to switch from the bright screen state to the off screen state; when the proximity sensor 616 detects that the distance between the user and the front surface of the terminal 600 gradually increases, the processor 601 controls the touch display screen 605 to switch from the off-screen state to the on-screen state.
It will be appreciated by those skilled in the art that the structure shown in fig. 15 is not limiting of the terminal 600 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 16 is a schematic diagram of a server according to an embodiment of the present application. The server is used for implementing the method for providing the installation package authority provided in the above embodiment. Specifically, the present application relates to a method for manufacturing a semiconductor device.
The server 700 includes a Central Processing Unit (CPU) 701, a system memory 704 including a Random Access Memory (RAM) 702 and a Read Only Memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The server 700 also includes a basic input/output system (I/O system) 706, for aiding in the transfer of information between the various devices within the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.
The basic input/output system 706 includes a display 708 for displaying information and an input device 709, such as a mouse, keyboard, or the like, for a user to input information. Wherein the display 708 and the input device 709 are coupled to the central processing unit 701 through an input output controller 710 coupled to a system bus 705. The basic input/output system 706 may also include an input/output controller 710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 710 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer readable media provide non-volatile storage for the server 700. That is, the mass storage device 707 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
The computer readable medium may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the one described above. The system memory 704 and mass storage device 707 described above may be collectively referred to as memory.
The server 700 may also operate via a network, such as the internet, connected to a remote computer on the network, in accordance with various embodiments of the present application. I.e. the server 700 may be connected to the network 712 via a network interface unit 711 connected to the system bus 705, or alternatively, the network interface unit 711 may be used to connect to other types of networks or remote computer systems (not shown).
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing related hardware, and the program may be stored in a computer readable storage medium, which may be a computer readable storage medium included in the memory of the above embodiments; or may be a computer-readable storage medium, alone, that is not incorporated into the terminal. The computer readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set, which is loaded and executed by the processor to implement the method for providing the installation package authority as described in any one of fig. 4 to 12.
Alternatively, the computer-readable storage medium may include: read Only Memory (ROM), random access Memory (Random Access Memory, RAM), solid state disk (Solid State Drives, SSD), or optical disk. The random access memory may include resistive random access memory (Resistance Random Access Memory, reRAM) and dynamic random access memory (Dynamic Random Access Memory, DRAM), among others. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.

Claims (6)

1. A method for providing rights to an installation package, the method comprising:
Acquiring an invitation mail sent to a collecting mailbox account, wherein the collecting mailbox account is used for replacing a user mailbox to receive the invitation mail and comprises an invitation code link;
reading the invitation code link in the invitation mail and storing the invitation code link;
receiving an acquisition request sent by a terminal, wherein the acquisition request is used for requesting permission of downloading and installing an installation package of an application program;
the stored invitation code link is sent to the terminal according to the acquisition request; the invitation code link is used by the terminal to obtain downloading and installing rights of an installation package of the application program;
monitoring the time length after the invitation code link is acquired;
when the duration is greater than a time threshold, checking the verification state of the invitation code in the invitation code link;
analyzing the size of a webpage corresponding to the invitation code link; the size of the webpage is used for representing the verification state of the invitation code;
when the size of the webpage is in a first threshold range, determining that the verification state of the invitation code is unverified;
when the size of the webpage is in a second threshold range, determining that the verification state of the invitation code is verified;
When the verification state of the invitation code is unverified, the invitation code link is saved again;
wherein the values in the second threshold range are smaller than the values in the first threshold range.
2. The method of claim 1, wherein the saving the invitation code link comprises:
analyzing the invitation code link to obtain a code in the invitation code link;
obtaining a unique Identification (ID) of the application program from the code;
and storing the account number of the collecting mailbox and the invitation code link corresponding to the ID of the application program.
3. The method of claim 2, wherein the encoding is in hexadecimal representation;
the obtaining the unique identification ID of the application program from the code includes:
intercepting the last 8 bits of the hexadecimal code;
and converting the encoded last 8 bits of hexadecimal into decimal, and obtaining the ID of the application program.
4. A provision apparatus for mounting package rights, the apparatus comprising:
the acquisition module is used for acquiring an invitation mail sent to a collection mailbox account, wherein the collection mailbox account is a mailbox account for replacing a user mailbox to receive the invitation mail, and the invitation mail comprises an invitation code link;
The reading module is used for reading the invitation code link in the invitation mail and storing the invitation code link;
the receiving module is used for receiving an acquisition request sent by the terminal, wherein the acquisition request is used for requesting permission of downloading and installing an installation package of the application program;
the sending module is used for sending the stored invitation code link to the terminal according to the acquisition request; the invitation code link is used by the terminal to obtain downloading and installing rights of an installation package of the application program;
the monitoring module is used for monitoring the time length after the invitation code link is acquired;
the verification module is used for verifying the verification state of the invitation code in the invitation code link when the duration is greater than a time threshold;
the second analysis submodule is used for analyzing the size of the webpage corresponding to the invitation code link; the size of the webpage is used for representing the verification state of the invitation code;
the determining submodule is used for determining that the verification state of the invitation code is unverified when the size of the webpage is in a first threshold range; the method is also used for determining that the verification state of the invitation code is verified when the size of the webpage is in a second threshold range; wherein the values in the second threshold range are smaller than the values in the first threshold range;
And the storage module is used for saving the invitation code link again when the verification state of the invitation code is unverified.
5. A server, the server comprising:
a memory;
a processor coupled to the memory;
wherein the processor is configured to load and execute executable instructions to implement the method of providing installation package rights as claimed in any one of claims 1 to 3.
6. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes or a set of instructions, the at least one instruction, the at least one program, the set of codes or the set of instructions being loaded and executed by a processor to implement the method of providing installation package rights of any one of claims 1 to 3.
CN201910723063.2A 2019-08-06 2019-08-06 Method, device, equipment and storage medium for providing installation package authority Active CN112347465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910723063.2A CN112347465B (en) 2019-08-06 2019-08-06 Method, device, equipment and storage medium for providing installation package authority

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910723063.2A CN112347465B (en) 2019-08-06 2019-08-06 Method, device, equipment and storage medium for providing installation package authority

Publications (2)

Publication Number Publication Date
CN112347465A CN112347465A (en) 2021-02-09
CN112347465B true CN112347465B (en) 2023-09-26

Family

ID=74367255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910723063.2A Active CN112347465B (en) 2019-08-06 2019-08-06 Method, device, equipment and storage medium for providing installation package authority

Country Status (1)

Country Link
CN (1) CN112347465B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8023927B1 (en) * 2006-06-29 2011-09-20 Google Inc. Abuse-resistant method of registering user accounts with an online service
CN107861871A (en) * 2017-11-02 2018-03-30 百度在线网络技术(北京)有限公司 A kind of gray scale dissemination method, device, server and storage medium
CN108574625A (en) * 2017-03-13 2018-09-25 腾讯科技(深圳)有限公司 Using test invitation method and device
CN109446084A (en) * 2018-10-26 2019-03-08 广州华多网络科技有限公司 User method and device are invited in TESTFLIGHT test outside a kind of end IOS
CN109800150A (en) * 2018-12-13 2019-05-24 深圳壹账通智能科技有限公司 A kind of gray scale test method, server and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090328158A1 (en) * 2008-06-30 2009-12-31 Nokia Corporation Method, apparatus, and computer program product for providing software application invitation
US8458604B2 (en) * 2009-07-06 2013-06-04 Fairwinds Partners Llc Methods and apparatus for determining website validity

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8023927B1 (en) * 2006-06-29 2011-09-20 Google Inc. Abuse-resistant method of registering user accounts with an online service
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
CN109446084A (en) * 2018-10-26 2019-03-08 广州华多网络科技有限公司 User method and device are invited in TESTFLIGHT test outside a kind of end IOS
CN109800150A (en) * 2018-12-13 2019-05-24 深圳壹账通智能科技有限公司 A kind of gray scale test method, server and computer readable storage medium

Also Published As

Publication number Publication date
CN112347465A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN108306771B (en) Log reporting method, device and system
CN110401715B (en) Resource collection task management method, device, storage medium and system
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN111324259B (en) Group creation method, device and storage medium
WO2018019261A1 (en) Resource transfer method and apparatus
CN112235647B (en) Network data processing method and device, terminal and server
CN111083042B (en) Template message pushing method, device, equipment and storage medium
CN113204298A (en) Method and device for displaying release progress, electronic equipment and storage medium
CN111339181B (en) Block storage method, block storage device, node equipment and storage medium
CN111970298A (en) Application access method and device, storage medium and computer equipment
CN110825465A (en) Log data processing method and device, electronic equipment and storage medium
CN107800720B (en) Hijacking reporting method, device, storage medium and equipment
CN113377647B (en) Page processing method, device, server, terminal and readable storage medium
CN112347465B (en) Method, device, equipment and storage medium for providing installation package authority
CN114816600B (en) Session message display method, device, terminal and storage medium
CN113591090B (en) Program bug reporting method, device, equipment and storage medium
CN111131619B (en) Account switching processing method, device and system
CN110971692B (en) Method and device for opening service and computer storage medium
CN110390065B (en) Webpage acquisition method, device and system
CN113569219A (en) Live broadcast embedded program authorization method, device, equipment and storage medium
CN113051494A (en) Information display method and device, electronic equipment and storage medium
CN113204724A (en) Method and device for creating interactive information, electronic equipment and storage medium
CN114385939A (en) Application display method, application display system, application display device and application display equipment
CN112052419A (en) Picture loading method, device and equipment and readable storage medium
CN111241451A (en) Webpage processing method and device, computer equipment and storage medium

Legal Events

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