CN109144609B - Application downloading method and device, storage medium and terminal - Google Patents

Application downloading method and device, storage medium and terminal Download PDF

Info

Publication number
CN109144609B
CN109144609B CN201811012871.XA CN201811012871A CN109144609B CN 109144609 B CN109144609 B CN 109144609B CN 201811012871 A CN201811012871 A CN 201811012871A CN 109144609 B CN109144609 B CN 109144609B
Authority
CN
China
Prior art keywords
application
downloading
download
plug
instant messaging
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
CN201811012871.XA
Other languages
Chinese (zh)
Other versions
CN109144609A (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 CN201811012871.XA priority Critical patent/CN109144609B/en
Publication of CN109144609A publication Critical patent/CN109144609A/en
Application granted granted Critical
Publication of CN109144609B publication Critical patent/CN109144609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

The invention discloses an application downloading method, an application downloading device, a storage medium and a terminal, and belongs to the technical field of the Internet. The method comprises the following steps: when an application downloading operation is detected in an instant messaging application, calling a downloading plug-in of the instant messaging application so that the downloading plug-in sends identification information of a target application to be downloaded to an application downloading platform, wherein the application downloading platform is used for acquiring a downloading link of the target application when the identification information is determined to be contained in an identification information list; and receiving the download link sent by the application download platform, so that the download plug-in downloads the target application from the application download platform according to the download link. The invention realizes the safe downloading of the application, can prevent the application from being intercepted and replaced or implanted with viruses and the like in the downloading process, and has better effect of the application downloading mode.

Description

Application downloading method and device, storage medium and terminal
Technical Field
The present invention relates to the field of internet technologies, and in particular, to an application downloading method, an application downloading device, a storage medium, and a terminal.
Background
With the continuous development of internet technology, a large amount of applications are emerged in the market, and users can greatly enrich the functions of the terminal and provide convenience for the users by downloading the applications and installing the applications on the terminal.
The terminal scans the graphic identification code for downloading the target application by using the code scanning function of the instant messaging application to acquire the downloading link of the target application, and then the terminal jumps to other applications, such as the application special for downloading the application, to finish the downloading of the target application.
For the above application downloading method, since the terminal needs to jump from the instant messenger to other applications to complete the application downloading, the process is complicated and there are many potential safety hazards, for example, the target application may be intercepted and replaced or a virus may be implanted during the downloading process, so the effect of the application downloading method is not good enough.
Disclosure of Invention
The embodiment of the invention provides an application downloading method, an application downloading device, a storage medium and a terminal, which can solve the problems of poor safety and poor application downloading mode effect in the downloading process in the related technology. The technical scheme is as follows:
in one aspect, an application downloading method is provided, and the method includes:
when an application downloading operation is detected in an instant messaging application, calling a downloading plug-in of the instant messaging application so that the downloading plug-in sends identification information of a target application to be downloaded to an application downloading platform, wherein the application downloading platform is used for acquiring a downloading link of the target application when the identification information is determined to be contained in an identification information list;
and receiving the download link sent by the application download platform, so that the download plug-in downloads the target application from the application download platform according to the download link.
In another aspect, an application downloading apparatus is provided, the apparatus including:
the system comprises a sending module, a downloading module and an application downloading platform, wherein the sending module is used for calling a downloading plug-in of an instant messaging application when an application downloading operation is detected in the instant messaging application so as to enable the downloading plug-in to send identification information of a target application to be downloaded to the application downloading platform, and the application downloading platform is used for obtaining a downloading link of the target application when the identification information is determined to be contained in an identification information list;
and the downloading module is used for receiving the downloading link sent by the application downloading platform so that the downloading plug-in downloads the target application from the application downloading platform according to the downloading link.
In another aspect, a storage medium is provided, where at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the application downloading method described above.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the application downloading method described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the embodiment of the invention is based on the downloading plug-in installed in the instant messaging application, realizes that the application downloading is completed through the downloading plug-in the instant messaging application, and before the application downloading is performed from the application downloading platform, the terminal can also send the identification information of the application to be downloaded to the application downloading platform through the downloading plug-in so as to facilitate the verification of the application downloading platform.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment related to an application downloading method provided by an embodiment of the present invention;
fig. 2 is a flowchart of an application downloading method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface provided by an embodiment of the present invention;
FIG. 4 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 5 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 6 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 7 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 8 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 9 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 10 is a flowchart of an application downloading method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an application downloading device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an application download platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment related to an application downloading method according to an embodiment of the present invention.
Referring to fig. 1, the implementation environment includes a terminal 101 and an application download platform 102. The type of the terminal 101 includes, but is not limited to, a smart phone, a tablet computer, and the like, and fig. 1 schematically illustrates the terminal 101 as a smart phone.
The application download platform 102 may be embodied as a server, which is not particularly limited in the embodiment of the present invention. The terminal 101 and the application download platform 102 may be connected to each other through a wireless network or a mobile communication network, and the application download platform 102 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The application download platform 102 provides a rich and voluminous application for a user to download for an application acquisition platform. The application download platform 102 may be adapted to various types of terminals and various types of operating systems, which is not specifically limited in this embodiment of the present invention. For example, the application download platform 102 is adapted to all terminals installed with an android operating system. In addition, the massive applications provided by the application download platform 102 are usually subjected to strict software testing and virus scanning, so that the application security can be guaranteed, and therefore, the problem that the user mistakenly downloads the emulational application in the application download process can be effectively solved based on the application download platform 102, so that the user can safely and confidently download the application.
In the embodiment of the present invention, the terminal 101 is installed with an instant messaging application, and the download plug-in is installed in the instant messaging application.
The instant messaging application is an application for providing instant messaging service. As is known, an application may generally refer to a computer program installed on a terminal, such as a smartphone, tablet, etc., which is generally capable of performing some specific task or tasks, which runs in a user mode, is capable of interacting with a user, and generally has a visual user interface. In other words, an application broadly refers to a computer program developed by a developer to meet different needs of a user.
The instant messaging application supports single or multiple participation and supports users to send voice, video, pictures, characters and the like. In essence, instant messaging applications provide a platform for information interaction between people. The information interaction platform specifically refers to a network architecture for connecting people by social relations and/or common interests, and users can perform daily communication and process daily matters through instant messaging applications. Wherein, each user can have a network identity recognized by other users on the information interaction platform. In the embodiment of the present invention, the network identity may also be referred to as a user identifier of the user.
On the information interaction platform, different users can establish a social relationship in a mutually confirmed manner, for example, friends are added to each other or concern each other. Each user maintains a friend relationship chain that is specific to itself. When two users establish a social relationship, they become social network contacts of each other. A group of users can form a social group by forming a social relationship with each other in a self-selection mode. Each member in the group is a social network contact of all other members in the group.
In the embodiment of the invention, the downloading plug-in is a plug-in running in the instant messaging application. The plug-in is a program written by an application program interface which follows a certain specification. The application program provides various services which enable the plug-in to use, and the loading mode is provided, so that the plug-in can be loaded into the application program to exchange data with the plug-in. It should be noted that the plug-in must rely on the application program to function itself, and the plug-in cannot operate normally only. In contrast, applications do not need to rely on plug-ins to run, so that plug-ins can be loaded onto applications and dynamically updated without any changes to the application.
In the embodiment of the invention, the downloading plug-in can be loaded into the instant messaging application to realize the completion of application downloading in the instant messaging application, namely the application downloading can be realized based on the instant messaging application. The user can enable or disable the application downloading capability of the downloading plug-in the instant messaging application. When the user starts the application downloading capacity, the downloading plug-in is in a starting state and can download the application from the application downloading platform; when the user disables the application download capability, the download plug-in is in a disabled state and is unable to download the application from the application download platform.
In summary, the terminal 101 can download various applications from the application download platform 102 based on the download plug-in installed in the instant messaging application, and the embodiment of the present invention further supports completing application installation in the instant messaging application, and after the application installation is completed, can perform application management on the downloaded application based on the download plug-in, such as deleting an installation package of the application, updating the application, or starting the application.
It should be noted that the application downloaded through the download plug-in of the instant messaging application refers to a third party application. The third-party application may generally refer to other applications besides the instant messaging application in the embodiment of the present invention, for example, the third-party application may be an entertainment-type application such as a game application or a news application, which is not particularly limited in the embodiment of the present invention. In another expression, in the embodiment of the present invention, the terminal may download other applications other than the terminal itself through a download plug-in of the instant messaging application, that is, all the applications mentioned herein refer to third party applications.
The application downloading method provided by the embodiment of the invention is described in detail through the detailed implementation manner.
Fig. 2 is a flowchart of an application downloading method according to an embodiment of the present invention. The execution subject of the method is a terminal, which may be the terminal 101 shown in fig. 1. Referring to fig. 2, a method flow provided by the embodiment of the present invention includes:
201. when the terminal detects an application downloading operation in the instant messaging application, calling a downloading plug-in of the instant messaging application so that the downloading plug-in sends identification information of a target application to be downloaded to an application downloading platform, wherein the application downloading platform is used for acquiring a downloading link of the target application when the identification information is determined to be contained in an identification information list.
In the embodiment of the invention, after the user executes the application downloading action in the instant messaging application, the terminal calls the downloading plug-in with the application downloading function in the instant messaging application to finish the application downloading. Wherein, the implementation of this step includes but is not limited to the following two steps:
201a, when detecting the trigger operation of the user to the download option of any third party application on the application browsing page in the instant messaging application, judging whether the download plug-in is in the enabled state.
The embodiment of the invention supports the user to switch to the application browsing page shown in figure 3 for application downloading in any scene of the instant messaging application. For example, the application browsing page may include a plurality of information entries, one information entry shows one third-party application, and the information displayed in the information entry includes, but is not limited to, an application icon of the third-party application and an application profile of the third-party application, which is not specifically limited in this embodiment of the present invention.
It should be noted that a download option is also displayed in an information entry, the download option may be in the form of an "enter" option shown in fig. 3, and when the user triggers a download option, for example, clicks on a download option, the terminal enters the download process.
In addition, as shown in fig. 3, user download information of the corresponding application may be displayed in each of the information items. The user downloading information may include the number of friends who have downloaded the application in the friend relationship chain of the user and the user identifiers of the friends, so that the user can know the downloading condition of the application by the friends. The user downloading information may be, for example, a user identifier of a friend + N friends have already downloaded, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the invention, when the downloading plug-in is in the starting state, the downloading plug-in has the application downloading capability, so that the terminal judges whether the downloading plug-in is in the starting state or not firstly after detecting the downloading operation triggered by the user to one application. Exemplarily, the terminal may set a status flag for the downloading plug-in, and then determine the status of the downloading plug-in by judging the value of the flag; for example, the enable state is set to 1, the disable state is set to 0, and the exit state is set to 2, which is not specifically limited in the embodiment of the present invention. If the value of the current identification position is set to 1, the terminal determines that the downloading plug-in is in the starting state currently; if the value of the current identification bit is set to 0, the terminal determines that the downloading plug-in is in a forbidden state.
The exit state is different from the disabled state, the disabled state refers to that the download plug-in does not have the application download capability, and the exit state refers to that the download plug-in still has the application download capability at present, but after the download task is established, that is, the application download flow is started, the terminal does not continue to stay on the current page, but jumps to other pages, for example, jumps to a chat page.
And 201b, when the downloading plug-in is in the starting state, calling the downloading plug-in so as to enable the downloading plug-in to send the identification information of the target application to the application downloading platform.
The target application refers to a third-party application which the user wants to download, namely an application corresponding to a downloading behavior triggered by the user. The identification information of the target application may refer to an ID (Identity) code of the target application in the embodiment of the present invention. This ID code may be preset by a developer, and each application in the application library on the application download platform side corresponds to one ID code. The ID code may be a combination of numbers, or a mixture of numbers and letters, and this is not particularly limited in the embodiment of the present invention.
In the embodiment of the invention, each application in the application library on the application downloading platform side corresponds to one ID code, and the ID codes of the applications form an identification information list, so that the application downloading platform can compare the received ID codes with the ID codes of the applications in the application library after receiving the ID codes sent by the terminal; if the comparison is successful, that is, the received ID code is consistent with the ID code of an application in the application library, it is determined that the identification information passes the verification, and at this time, the application download platform may return a verification passing prompt message to the terminal in addition to returning the download link of the target application to the terminal, so as to prompt the user that the verification passes, which is not specifically limited in the embodiment of the present invention. This step enables the identity of the target application to be confirmed based on the ID code to ensure that the application that the user currently wants to download is not replaced or maliciously implanted.
If the comparison fails, the application download platform determines that the source of the application which the user wants to download is unknown, replaced or implanted with viruses and the like, so that a large potential safety hazard exists, the terminal does not download the application, and the processing flow is ended. At this time, the application download platform may feed back a verification failure prompt message to the terminal, and the terminal may further prompt the user after receiving the verification failure prompt message, where the prompt message may be, for example, "the application information is wrong and cannot be downloaded", and this is not specifically limited in the embodiment of the present invention.
202. And the terminal receives the download link sent by the application download platform, so that the download plug-in downloads the target application from the application download platform according to the download link.
The download plug-in may complete the download of the target application from the application download platform by calling the download service interface.
The download service interface may be an mmkernel service class (id loaderappservice class), which is not specifically limited in this embodiment of the present invention. When called, the download service interface establishes a download task as shown in fig. 3 to download the application.
In addition, in order to ensure the downloading security, the embodiment of the invention uses the encryption transmission channel to perform data transmission in the downloading process of the application. Illustratively, the encrypted transmission channel may be an HTTPS (Hyper Text transfer protocol over Secure Socket Layer), which is also not specifically limited in the embodiment of the present invention.
The HTTPS adds an SSL (Secure Sockets Layer) Protocol based on HTTP (Hyper Text Transfer Protocol) for securely transmitting data. The HTTPS realizes communication encryption between the terminal and the application downloading platform so as to prevent data from being leaked or tampered in the application downloading process.
It should be noted that, in this step, the target application is downloaded from the application platform, which refers to downloading the installation package of the target application from the application download platform.
In the embodiment of the invention, in order to further ensure the downloading safety, the terminal checks the installation package of the target application after the installation package of the target application is downloaded. The verification method includes, but is not limited to, MD5(Message Digest Algorithm MD5, fifth version of Message Digest Algorithm) verification, which is not specifically limited in this embodiment of the present invention.
MD5 is a hash function widely used in the field of computer security to provide integrity protection for files, and it is the basic principle of hash algorithm to operate files into another fixed length value. MD5 has the advantages of compressibility, easy calculation, modification resistance, strong impact resistance and the like. The process that the terminal checks the installation package based on the MD5 checking mode is as follows: when the application downloading platform sends the installation of the target application to the terminal, a check code is additionally sent, the terminal performs MD5 operation on the installation package after receiving the installation package and the check code, if the obtained operation result is consistent with the received check code, the fact that the received installation package is not abnormal is proved, and the installation package passes the check.
If the installation package of the target application passes the verification, the downloading task is completed, and the next step can enter the installation flow shown in fig. 3. If the installation and verification of the target application fail, the embodiment of the invention supports obtaining the standby downloading link to download the target application again. In another expression, when the verification of the target application fails, the download plug-in obtains a standby download link of the target application, and re-downloads the target application from the application download platform through the encrypted transmission channel based on the standby download link.
In addition, as shown in fig. 3, in the installation process of the target application, an installation package deletion prompt option may also be displayed on the installation interface; when the trigger operation of the prompt option for deleting the installation package is detected, the terminal deletes the installation package of the target application through the downloading plug-in after the target application is installed, so that the occupation of the installation package on the memory space of the terminal is reduced, and the accumulation of the installation package is avoided.
The embodiment of the invention realizes that the application downloading is finished in the instant messaging application based on the downloading plug-in installed in the instant messaging application, and in the downloading process of the application, the encrypted data transmission is finished by using the encrypted transmission channel in the downloading process through comparing the identification information of the application, and the downloaded application is verified, so that the safe downloading of the application is realized, the application can be prevented from being intercepted and replaced or implanted with viruses and the like in the downloading process, and the effect of the application downloading mode is better.
In another embodiment, during the process of calling the download plug-in to download the application, the terminal may call a message notification template through the download plug-in to complete message notification and operation guidance, which is described in detail as follows:
in the first mode, in the downloading process of the target application, the instant messaging application inserts and displays the downloading progress notification on the message notification page of the instant messaging application according to the generation time sequence.
Wherein the notification mechanism of this step may be performed when the download plug-in is in the exited state. The message notification page may be a chat list page of an instant messaging application, which is not specifically limited in the embodiment of the present invention. The message notification page displays the notification messages in the order of the generation time of the messages, and notification messages generated later are arranged at the front position of the message notification page.
In addition, when the terminal detects the triggering operation of the user on the downloading progress notification, a downloading progress page is displayed in the instant messaging application, and a viewing option is displayed on the downloading progress page; when the terminal detects the triggering operation of the viewing option, the current downloading progress of the target application is displayed on the downloading progress page. For example, as shown in the left diagram of fig. 4, the download plug-in invokes a message notification template to display the download progress notification in the chat list page, and when the user clicks on the message, as shown in the right diagram of fig. 4, the download progress page is displayed, and when the user clicks on the viewing option on the download progress page, the current download progress of the target application is displayed on the page.
In addition, when the current downloading progress of the target application is displayed on the downloading progress page, the current downloading proportion and the downloading progress mark of the target application can be displayed. The download ratio may be, for example, 350MB/900MB shown in fig. 3, which is not specifically limited by the embodiment of the present invention. For the download progress indicator, as shown in fig. 3, the download progress indicator may be a ring indicator, and the ring indicator may dynamically change in real time as the download proportion of the target application increases, for example, a thickened mark around the circumference may appear on the ring indicator, and the thickened mark may gradually and dynamically cover the entire ring as the download progress increases. In another expression, the instant messaging application dynamically updates the download progress identifier according to the current download proportion of the target application until the target application finishes downloading.
In addition, after the target application is downloaded, the viewing option displayed on the download progress page in fig. 4 can be immediately updated to the installation option of the target application, that is, the viewing option is dynamically changed into the installation option, so that the user can be further facilitated to directly trigger the installation operation.
After the target application is downloaded, inserting and displaying a download completion notification on a message notification page of the instant messaging application according to the generation time sequence; when the trigger operation of the user on the download completion notification is detected, displaying a download completion page in the instant messaging application, wherein the download completion page is displayed with installation options; and when the triggering operation of the user on the installation option is detected, displaying an installation interface of the target application in the instant messaging application.
Wherein the notification mechanism of this step may be performed when the download plug-in is in the exited state.
For example, as shown in the left diagram of fig. 4, the download plug-in invokes a message notification template to display the download completion notification in a chat list page, and after the user clicks the message, as shown in the middle diagram of fig. 4, the download completion page is displayed, and an installation option of "immediate installation" is also provided on the page, and after the terminal detects the click operation of the user on the installation option, the terminal displays an installation interface shown in fig. 3 in the instant messaging application to guide the user to perform application installation.
It should be noted that, for enabling and disabling the downloading plug-in, the setting may be performed on the plug-in management page through the processes shown in fig. 5 and fig. 6, which is not specifically limited in this embodiment of the present invention. For example, when the plug-in is in the disabled state, an enabling option is displayed on the plug-in management page, and when a user triggers the enabling option, the downloaded plug-in is enabled in the instant messaging application; accordingly, when the plug-in is in the enabled state, a disabling option is displayed on the plug-in management page, and when the disabling option is triggered by the user, the downloading plug-in is disabled in the instant messaging application. In addition, for the case that the download plug-in is disabled and the download behavior is triggered in the state that the download plug-in is not enabled, the message notification template may prompt the user through a message floating layer as shown in fig. 5 and 6.
In another embodiment, in order to enable a user to download securely, the embodiment of the present invention supports reaching the application detail page through the download plug-in the instant messaging application, so as to facilitate the user to confirm whether the currently downloaded application is the target application, and reduce the risk that the user is obscured by the surface information and cannot perceive that the downloaded application is replaced in the downloading process.
As shown in fig. 7, the terminal displays an application management page in the instant messaging application by downloading a plug-in, where an application icon of the application currently being downloaded and the current downloading progress of the applications are displayed on the application management page; and when the terminal detects the triggering operation of the user on the application icon of any application, the application detail page of the application is displayed in the instant messaging application through the downloading plug-in.
For example, referring to fig. 7, in the downloading process of the application, when the triggering operation of the user on the application icon of any application currently being downloaded is detected, the terminal displays an application detail page of the application in the downloading plug-in of the instant messaging application, in the application detail page, the user can browse the detailed description of the application, and based on the detailed description, the user can quickly judge whether the application is the target application which the user wants to download. Wherein, the user download information of the application can also be displayed in the application detail page. The user download information may include the number of friends that have downloaded the application in the friend relationship chain of the user and the user identifiers of the friends, so that the user can know the download condition of the friends to the application.
In another embodiment, in order to keep the minimum resource occupation and facilitate the management of updating or deleting the installation package and the like of the historical download application by the user, the download plug-in further has the following functions:
referring to the left diagram of fig. 8, the terminal displays another form of application management page in the instant messaging application by downloading a plug-in, where an application icon of an application currently being downloaded and application icons of historically downloaded applications are displayed in the application management page; when the terminal detects that any one historical downloading application has an updated version, an updating option is displayed in an information item where the historical downloading application is located; and when the trigger operation of the user on the update option is detected, the terminal can acquire the download link of the historical download application, so that the download plug-in carries out version update on the historical download application. The process of updating the version of the application can be implemented with reference to the above steps 201 to 203.
In addition, the embodiment of the invention also supports the user to call the multi-task management function through target operation. For example, the user may invoke the multitask management function by long-pressing the application management page. In this mode, for example, a checkbox, a full-selection box, and the like corresponding to each history downloaded application are displayed in the application management page, and a portion except for the application icon may be displayed in a grayed state, which is not specifically limited in the embodiment of the present invention.
Illustratively, when the terminal detects the selection operation of a checking frame body of any one historical download application, a deletion option is displayed; and when the triggering operation of the user on the deletion option is further detected, the terminal deletes the hooked installation package of the historical download application through the download plug-in the instant messaging application.
Referring to the middle diagram of fig. 8, when the terminal detects a deletion operation of any one history downloading application by the user, it is supported to delete an information entry where the history downloading application is located and a local file of the history downloading application. Wherein, the local file refers to the installation package of the history downloading application. In addition, as shown in the right diagram in fig. 8, a deletion prompt message may also be displayed to prompt the user after detecting the deletion behavior of the user, which is not specifically limited in the embodiment of the present invention.
In addition, the embodiment of the invention also supports the updating of a plurality of historical download applications through a multitask management function, namely, the updating of a plurality of historical download applications can be completed through one-time updating triggering operation, and the implementation process of the updating is similar to the deleting process.
Referring to the left diagram of fig. 8, the embodiment of the present invention further sets a start option for each history downloading application, and displays the start option; when the triggering operation of the user on the starting option of any one historical downloading application is detected, the terminal can directly start the historical downloading application from the application management page.
In another embodiment, the download plug-in provided by the embodiment of the invention also supports assisting the user to find the application desired to be downloaded by searching for matching. Referring to fig. 9, the terminal displays an application search box in the instant messaging application through the download plug-in, and the user can input text information in the search box; after the terminal acquires the text information input by the user, the text information is sent to the application downloading platform through the downloading plug-in unit, and then the application downloading platform searches for at least one application matched with the text information; next, the application downloading platform returns a search result to the terminal, wherein the search result comprises the at least one application; and after receiving the search result returned by the application downloading platform, the terminal can display the at least one application in the instant messaging application. It should be noted that, displaying at least one application refers to displaying an application icon, an application profile, and the like of at least one application, and this is not particularly limited in the embodiment of the present invention. The application profile includes, but is not limited to, installation package size, application type, etc.
In summary, the application downloading method provided by the embodiment of the present invention has at least the following beneficial effects:
the embodiment of the invention realizes that the application downloading is completed in the instant messaging application based on the downloading plug-in installed in the instant messaging application, and in the downloading process of the application, the encrypted data transmission is completed by using the encrypted transmission channel in the downloading process through comparing the identification information of the application, and the downloaded application is verified, thereby not only realizing the safe downloading of the application and preventing the application from being intercepted and replaced or implanted with viruses and the like in the downloading process, but also independently completing the application downloading without the help of other application instant messaging applications, so the application downloading process is simpler and more convenient, and the effect of the application downloading mode is better.
In addition, in the application downloading process and when the application downloading is completed, the downloading plug-in can also carry out message notification and operation guidance on the user by calling the message notification template, and the application downloading mode is more intelligent and has better effect.
In addition, the embodiment of the invention also supports the user to browse the application detail page through downloading the plug-in the application downloading process, so that the user can conveniently confirm whether the currently downloaded application is the application really wanted to be downloaded, the probability of downloading the application with potential safety hazard can be greatly reduced, and the effect is better.
In addition, after downloading the application, the embodiment of the invention can also perform management such as deleting an installation package, updating an application version, starting the application and the like on the downloaded application based on the downloading plug-in, enriches the management mode of the application, can reasonably utilize the memory resource of the terminal, and has better intelligence.
In addition, the embodiment of the invention also supports the user to search the application in the downloading plug-in so as to facilitate the user to find the application expected to be downloaded, and is more intelligent.
In another embodiment, an overall downloading flow of the application downloading method provided in the embodiment of the present invention is described below.
Referring to fig. 10, the process includes the following steps:
1001. the terminal detects a downloading behavior triggered by the user in the instant messaging application.
1002. The terminal judges whether the downloading behavior is an application downloading behavior; if yes, the following step 1003 is executed; if not, the process flow ends so far.
1003. The terminal judges whether the instant messaging application starts downloading the plug-in currently; if so, the following step 1004 is executed; if not, then 1005 is performed.
1004. If the current download plug-in is enabled, the download plug-in is invoked and the following step 1006 is performed.
1005. And if the current downloading plug-in is in the non-enabled state, the terminal guides the user to enable the downloading plug-in.
1006. And calling the downloading plug-in to send the identification information of the target application to the background.
The target application refers to an application selected by a user in the embodiment of the invention. Background refers to the application download platform described above.
1007. The background judges whether the identification information sent by the terminal through the downloading plug-in is contained in an identification information list or not; if so, the following step 1008 is performed; if not, the following step 1009 is performed.
1008. And the terminal calls the download service interface of the download plug-in to prepare for downloading the target application from the background.
1009. And the terminal prompts the user that the identification information of the target application is wrong, the downloading cannot be completed, and the processing flow is ended.
1010. The terminal judges whether the current state is in a WIFI (Wireless Fidelity) network connection state; if so, perform step 1010 below; if not, the following step 1012 is performed.
According to the embodiment of the invention, the default terminal downloads the application under the WIFI environment.
1011. And the terminal enters a downloading flow and downloads the target application by using an HTTPS encryption transmission channel.
1012. The terminal prompts a user to reserve a WIFI network for downloading; if the user makes an appointment, executing the following step 1013; if the user does not make a reservation, the above step 1011 is performed.
1013. The terminal waits for entering the WIFI environment, and after entering the WIFI environment, executes the step 1011.
1014. The terminal checks the downloaded target application; if the verification is successful, the following step 1015 is performed; if the check fails, the following step 1016 is performed.
1015. After the downloading is finished, the terminal judges whether the terminal stays in the downloading plug-in currently, if so, the following step 1017 is executed; if not, the following step 1018 is performed.
1016. And if the verification fails, the terminal acquires the standby downloading link and downloads the target application again by using the HTTPS encryption transmission channel.
1017. And the terminal pulls up the application installation interface and enters the installation process of the target application.
1018. And the terminal issues a notification message through the message notification template, and when the notification message is detected to be clicked by the user, the application installation interface is pulled up, and the installation flow of the target application is entered.
In another embodiment, the following describes a process for completing application downloading by downloading a plug-in an instant messaging application, with respect to a product side perspective.
Establishing download tasks
Some of the functions provided by the instant messaging application may involve application downloading, for example, game functions of the instant messaging application may involve application downloading. Taking the game function as an example, after the user starts the game function in the instant messaging application, the instant messaging application may display an application browsing page as shown in fig. 3, where information items of multiple applications are displayed on the application browsing page, and the user may download the application by triggering an application downloading operation on the application browsing page.
In fig. 3, an application may be displayed on one information item, and an application icon and an application profile of the application may be displayed on one information item. Wherein, the 'enter' option is used for being triggered by a user to enter an application downloading process. For example, when the user triggers the "enter" option of application 1, the instant messaging application will establish a download task through the aforementioned download plug-in. In addition, in the application downloading process, the downloading plug-in of the instant messaging application can also call a message notification template to give the current downloading progress of the application 1.
And displaying user downloading information of the corresponding application in each information item. The user downloading information may include the number of friends who have downloaded the application in the friend relationship chain of the user and the user identifiers of the friends, so that the user can know the downloading condition of the application by the friends.
After the installation package of the application 1 is downloaded, as shown in fig. 3, an installation interface can be displayed in the instant messaging application. In order to avoid accumulation of the installation packages and excessively occupy the memory space of the terminal, a prompt option for judging whether the installation packages are deleted after installation is displayed on the installation interface, and if the user selects to delete the installation packages after installation, the corresponding installation packages can be automatically deleted by the downloading plug-in unit after the application installation is completed by triggering the installation options.
In summary, after the user triggers the application downloading behavior in the instant messaging application, the terminal automatically triggers the establishment of the downloading task through the downloading plug-in installed in the instant messaging application.
Message notification mechanism
In the embodiment of the invention, the downloading plug-in also informs the user of the current downloading progress and gives operation guidance by calling the message notification template. For example, after the user triggers the downloading task of the application in the instant messaging application, the user exits the plug-in, and when the application is downloaded, the message notification template performs notification message pushing on a message notification page of the instant messaging application to guide the user to complete application installation. The notification messages displayed on the message notification page are arranged according to the generation time sequence, for example, the latest notification message is displayed at the most front position.
As shown in fig. 4, a notification message may be displayed in a chat list page of the instant messaging application; and if the user clicks the notification message, the instant messaging application displays a download completion page through the download plug-in, the download completion page specifically displays the notification message and the installation option which can be installed after the application is downloaded, and if the user clicks the installation option, the instant messaging application further displays an installation interface of the application through the download plug-in so that the user can install the application.
Or, in the application downloading process, the instant messaging application can also display other forms of notification messages in the chat list page of the instant messaging application; if the user clicks the notification message, the instant messaging application displays a download progress page through the download plug-in, the download completion page displays the notification message about the download progress of the application and a viewing option, and if the user clicks the viewing option, the instant messaging application further displays the current download progress of the application through the download plug-in. For the situation, after the target application is downloaded, the viewing options displayed on the downloading progress page can be directly and dynamically changed into the installation options of the target application, so that a user can conveniently and directly trigger the installation process of the application. In addition, when the current downloading progress of the target application is displayed on the downloading progress page, the current downloading progress can be displayed through the downloading proportion and the downloading progress mark in a numerical form, and the downloading progress mark can be dynamically updated according to the current downloading proportion of the target application.
Enabling or disabling plug-ins
As shown in fig. 5, in the embodiment of the present invention, the downloaded plug-in may be managed through a plug-in management page provided by the instant messaging application. The downloading plug-in can be enabled by default for all members of the user, and the user is supported to enable or disable the downloading plug-in at the discretion of a plug-in management page in the instant messaging application.
In FIG. 5, with the download plug-in the enabled state, the user can disable the download plug-in by triggering a displayed "disable" option; accordingly, the user may also disable the download plug-in by triggering the displayed "enable the function" option while the download plug-in is in the disabled state.
Upon detecting the user's disabling of the download plug-in, the terminal may prompt the user through a message float shown in fig. 5 to determine if the user really wants to disable the download plug-in. The prompt message may be "you have incomplete download tasks, and deactivating the download plug-in cancels all the download tasks", which is not specifically limited in the embodiment of the present invention.
Further, in a state that the download plug-in is not enabled, if the user triggers an "enter" option of any application in the instant messaging application, the terminal may notify the user through the message floating layer shown in fig. 6, and the download can be completed by enabling the download plug-in. The prompt message may be "you have not started downloading the plug-in, and the download can be completed only by starting the function", which is not specifically limited in the embodiment of the present invention.
Application detail browsing
In the downloading process of the application, referring to fig. 7, the downloading plug-in also supports that the user enters an application detail page of the corresponding application by clicking an application icon, so that the user can browse the detailed introduction of the application, thereby ensuring whether the currently downloaded application is the target application that the user wants to download.
The application detail page includes, for example, a mapping of the application, an application profile, a classification of the application, user download information, and a size of an occupied space, which is not specifically limited in this embodiment of the present invention. The user download information may include the number of friends that have downloaded the application in the friend relationship chain of the user and the user identifiers of the friends, so that the user can know the download condition of the friends to the application.
Application management
The application management refers to managing the historical download application of the user through the download plug-in the embodiment of the invention, such as updating the historical download application, starting the historical download application and the like. In addition, the installation package of the application can be deleted after the application installation is finished through the downloading plug-in unit, so that the installation package is prevented from being accumulated locally, and the purpose of saving the memory space is achieved.
For the update application, as shown in fig. 8, the application with the update may be displayed in a recent update list of the application management page, and an update option may be displayed in a corresponding information entry, so that the user may trigger the application update process through the update option.
In addition, in the download history list of the application management page, the user can directly start the installed application through the displayed "start" option.
Further, when the user needs to delete the installation package of the application, the multitask management function can be invoked through long-time pressing, and in the multitask management mode, the user can complete deletion of the installation package of the downloaded historical application by selecting the application and triggering a deletion option, so that the memory space of the terminal is released.
In addition, the deleting process can also be the updating process, namely a deleting option is set for each historical downloaded application, the deleting option is displayed in the information item corresponding to each application, and the user finishes application deleting by clicking the deleting option of the application; similarly, the update process may also be completed in a multitask management mode, for example, the user completes the application update by checking a check frame of the application and clicking a displayed update option, which is not specifically limited in this embodiment of the present invention.
In addition, after the triggering operation of the user on the deletion option is detected, a prompt message can be displayed through the message floating layer to prompt the user whether the user wants to actually delete the installation package of the application. The prompt message may be "confirm to delete the currently selected download task and the local file," which is not specifically limited in the embodiment of the present invention.
Application search
The embodiment of the invention also supports the user to search the application in the downloading plug-in, namely, the instant messaging application shown in fig. 9 displays a searching frame body for the user to search the application through the downloading plug-in. Wherein if the user desires to search for an application by downloading a plug-in, a matching application can be searched through the search box. The matched application may refer to an application including a search keyword, which is not specifically limited in this embodiment of the present invention. Illustratively, for example, the search keyword is a king, and the displayable application matching the search keyword is an application including a king two word in the application name. After the user triggers the application downloading operation in the searched application, the downloading plug-in can complete the corresponding application downloading according to the process.
Fig. 11 is a schematic structural diagram of an application downloading device according to an embodiment of the present invention. Referring to fig. 11, the apparatus includes:
a sending module 1101, configured to, when an application downloading operation is detected in an instant messaging application, call a downloading plug-in of the instant messaging application, so that the downloading plug-in sends identification information of a target application to be downloaded to an application downloading platform, where the application downloading platform is configured to, when it is determined that the identification information is included in an identification information list, obtain a downloading link of the target application;
a downloading module 1102, configured to receive the download link sent by the application download platform, so that the download plug-in downloads the target application from the application download platform according to the download link.
The device provided by the embodiment of the invention is based on the downloading plug-in installed in the instant messaging application, the application downloading is completed through the downloading plug-in the instant messaging application, and before the application downloading is performed from the application downloading platform, the terminal can also send the identification information of the application to be downloaded to the application downloading platform through the downloading plug-in so as to facilitate the verification of the application downloading platform.
In another embodiment, the sending module 1101 is further configured to display an application browsing page in the instant messaging application, where the application browsing page displays a download option of at least one third-party application; when the trigger operation of the downloading option of the target application in the at least one third-party application is detected, judging whether the downloading plug-in is in an enabling state; and when the downloading plug-in is in the starting state, starting the downloading plug-in so as to enable the downloading plug-in to send the identification information of the target application to the application downloading platform.
In another embodiment, the apparatus further comprises:
the first display module is used for displaying user downloading information of the at least one third-party application on the application browsing page; the user downloading information of each third-party application at least comprises the number of friends downloading the application in the friend relationship chain and the user identification of the friends.
In another embodiment, the apparatus further comprises:
the second display module is used for inserting and displaying a downloading progress notice on a message notice page of the instant messaging application according to a generation time sequence in the downloading process of the target application; when the trigger operation of the download progress notification is detected, displaying a download progress page in the instant messaging application, wherein a viewing option is displayed on the download progress page; when the triggering operation of the viewing option is detected, displaying the current downloading progress of the target application on the downloading progress page; and after the target application is downloaded, updating the viewing options displayed on the downloading progress page into installation options of the target application.
In another embodiment, the second display module is further configured to display the current download proportion and the download progress identifier of the target application on the download progress page, and dynamically update the download progress identifier according to the current download proportion of the target application.
In another embodiment, the apparatus further comprises:
the third display module is used for inserting and displaying a download completion notification on a message notification page of the instant messaging application according to the generation time sequence after the target application is downloaded; when the trigger operation of the download completion notification is detected, displaying a download completion page in the instant messaging application, wherein an installation option is displayed on the download completion page; and when the triggering operation of the installation option is detected, displaying an installation interface of the target application in the instant messaging application.
In another embodiment, the apparatus further comprises:
the third display module is further configured to display an installation package deletion prompt option on the installation interface;
and the deleting module is used for deleting the installation package of the target application through the downloading plug-in after the target application is installed when the triggering operation of the installation package deleting prompt option is detected.
In another embodiment, the apparatus further comprises:
the fourth display module is used for displaying an application management page in the instant messaging application through the download plug-in, and an application icon and the current download progress of the target application are displayed on the application management page;
and when the triggering operation of the application icon of the target application is detected, displaying an application detail page of the target application in the instant messaging application through the download plug-in.
In another embodiment, the apparatus further comprises:
the fifth display module is used for displaying an application management page in the instant messaging application through the download plug-in, and an application icon of at least one historical download application is displayed on the application management page; when detecting that any one historical downloading application has an updated version, displaying an updating option for updating the version of the historical downloading application;
the download module is further configured to acquire a download link of the historical download application when the trigger operation on the update option is detected, so that the download plug-in performs version update on the historical download application.
In another embodiment, the apparatus further comprises:
the fifth display module is further configured to display a start option of the at least one historically downloaded application on the application management page;
the starting module is used for starting the historical downloading application when the triggering operation of the starting option of any one historical downloading application is detected.
In another embodiment, the apparatus further comprises:
the fifth display module is further configured to display a check frame corresponding to the at least one historical downloaded application on the application management page when a target operation is detected on the application management page; when the selection operation of a checking frame body of any one historical download application is detected, displaying a deletion option;
and the deleting module is used for deleting the installation package of the historical downloading application through the downloading plug-in when the triggering operation of the deleting option is detected.
In another embodiment, the apparatus further comprises:
a sixth display module, configured to display an application search frame in the instant messaging application through the download plug-in;
the first acquisition module is used for acquiring the character information input in the search frame;
the sending module is further configured to send the text information to the application downloading platform through the downloading plug-in, so that the application downloading platform searches for at least one application matched with the text information;
the receiving module is used for receiving a search result returned by the application downloading platform, wherein the search result comprises an application icon of the at least one application;
the sixth display module is further configured to display an application icon of the at least one application in the instant messaging application through the download plug-in.
In another embodiment, the apparatus further comprises:
and the verification module is used for verifying the target application after the target application is downloaded.
In another embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the standby download link of the target application when the target application fails to be checked;
and the downloading module is also used for re-downloading the target application from the application downloading platform through the encrypted transmission channel based on the standby downloading link.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It should be noted that: in the application downloading device provided in the above embodiment, only the division of the above functional modules is used for illustration when downloading the application, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the application downloading device and the application downloading method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 12 is a block diagram illustrating a terminal 1200 according to an exemplary embodiment of the present invention. The terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio layer iii, motion video Experts compression standard Audio layer 3), an MP4 player (Moving Picture Experts Group Audio layer IV, motion video Experts compression standard Audio layer 4), a notebook computer, or a desktop computer. Terminal 1200 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so forth.
In general, terminal 1200 includes: a processor 1201 and a memory 1202.
The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 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 1202 is used to store at least one instruction for execution by processor 1201 to implement the application download method provided by the method embodiments herein.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203 and at least one peripheral. The processor 1201, memory 1202, and peripheral interface 1203 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, touch display 1205, camera 1206, audio circuitry 1207, pointing component 1208, and power source 1209.
The peripheral interface 1203 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, memory 1202, and peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202 and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices by electromagnetic signals. The radio frequency circuit 1204 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1204 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1204 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1204 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to acquire touch signals on or over the surface of the display screen 1205. The touch signal may be input to the processor 1201 as a control signal for processing. At this point, the display 1205 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1205 may be one, providing the front panel of the terminal 1200; in other embodiments, the display 1205 can be at least two, respectively disposed on different surfaces of the terminal 1200 or in a folded design; in still other embodiments, the display 1205 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 1200. Even further, the display screen 1205 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display panel 1205 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
Camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 1201 for processing or inputting the electric signals into the radio frequency circuit 1204 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided at different locations of terminal 1200. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The positioning component 1208 is used to locate a current geographic location of the terminal 1200 to implement navigation or LBS (location based Service). The positioning component 1208 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 1209 is used to provide power to various components within the terminal 1200. The power source 1209 may be alternating current, direct current, disposable or rechargeable. When the power source 1209 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1200 also includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: acceleration sensor 1211, gyro sensor 1212, pressure sensor 1213, fingerprint sensor 1214, optical sensor 1215, and proximity sensor 1216.
The acceleration sensor 1211 can detect magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 1200. For example, the acceleration sensor 1211 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1201 may control the touch display 1205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect a body direction and a rotation angle of the terminal 1200, and the gyro sensor 1212 may collect a 3D motion of the user on the terminal 1200 in cooperation with the acceleration sensor 1211. The processor 1201 can implement the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1213 may be disposed on a side bezel of terminal 1200 and/or an underlying layer of touch display 1205. When the pressure sensor 1213 is disposed on the side frame of the terminal 1200, the user's holding signal of the terminal 1200 can be detected, and the processor 1201 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at a lower layer of the touch display screen 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1205. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1214 is used for collecting a fingerprint of the user, and the processor 1201 identifies the user according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1214 may be provided on the front, back, or side of the terminal 1200. When a physical button or vendor Logo is provided on the terminal 1200, the fingerprint sensor 1214 may be integrated with the physical button or vendor Logo.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 may control the display brightness of the touch display 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the touch display panel 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display panel 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the camera head 1206 shooting parameters based on the ambient light intensity collected by optical sensor 1215.
A proximity sensor 1216, also known as a distance sensor, is typically disposed on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect a distance between the user and the front surface of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually decreases, the processor 1201 controls the touch display 1205 to switch from the bright screen state to the dark screen state; when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually becomes larger, the processor 1201 controls the touch display 1205 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is not intended to be limiting of terminal 1200 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 13 is a schematic structural diagram of an application download platform 1300 according to an embodiment of the present invention, where the application download platform 1300 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1301 and one or more memories 1302, where the memory 1302 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1301 to implement the application download method provided by each method embodiment. Certainly, the application download platform may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the application download platform may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, is also provided, which includes instructions executable by a processor in a terminal or an application download platform to perform the application download method in the above embodiments. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
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 instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (15)

1. An application download method, the method comprising:
when an application downloading operation is detected in an instant messaging application, calling a downloading plug-in of the instant messaging application so that the downloading plug-in sends identification information of a target application to be downloaded to an application downloading platform, wherein the application downloading platform is used for acquiring a downloading link of the target application when the identification information is determined to be contained in an identification information list;
receiving the download link sent by the application download platform, so that the download plug-in downloads the target application from the application download platform according to the download link;
the downloading plug-in at least comprises an enabling state and a disabling state, the downloading plug-in is switched between the enabling state and the disabling state, the enabling state refers to the downloading plug-in being provided with application downloading capacity, and the disabling state refers to the downloading plug-in not being provided with application downloading capacity.
2. The method of claim 1, wherein when an application download operation is detected in the instant messaging application, invoking a download plug-in of the instant messaging application to enable the download plug-in to send identification information of a target application to be downloaded to an application download platform comprises:
displaying an application browsing page in the instant messaging application, wherein a downloading option of at least one third-party application is displayed on the application browsing page;
when the trigger operation of the downloading option of the target application in the at least one third-party application is detected, judging whether the downloading plug-in is in an enabling state;
and when the downloading plug-in is in the starting state, calling the downloading plug-in so as to enable the downloading plug-in to send the identification information of the target application to the application downloading platform.
3. The method of claim 2, further comprising:
displaying user download information of the at least one third-party application on the application browsing page;
and the user downloading information of each third-party application comprises the number of friends downloading the application in the friend relationship chain and the user identification of the friends.
4. The method of claim 1, further comprising:
in the downloading process of the target application, inserting and displaying a downloading progress notification on a message notification page of the instant messaging application according to a generation time sequence;
when the trigger operation of the download progress notification is detected, displaying a download progress page in the instant messaging application, wherein a viewing option is displayed on the download progress page;
when the triggering operation of the viewing option is detected, displaying the current downloading progress of the target application on the downloading progress page;
and after the target application is downloaded, updating the viewing options displayed on the downloading progress page into installation options of the target application.
5. The method of claim 4, wherein displaying the current download progress of the target application on the download progress page comprises:
and displaying the current downloading proportion and the downloading progress mark of the target application on the downloading progress page, and dynamically updating the downloading progress mark according to the current downloading proportion of the target application.
6. The method of claim 1, further comprising:
after the target application is downloaded, inserting and displaying a download completion notification on a message notification page of the instant messaging application according to a generation time sequence;
when the trigger operation of the download completion notification is detected, displaying a download completion page in the instant messaging application, wherein an installation option is displayed on the download completion page;
and when the triggering operation of the installation option is detected, displaying an installation interface of the target application in the instant messaging application.
7. The method of claim 6, further comprising:
displaying an installation package deletion prompt option on the installation interface;
and when the trigger operation of the installation package deletion prompt option is detected, deleting the installation package of the target application through the download plug-in after the target application is installed.
8. The method of claim 1, further comprising:
displaying an application management page in the instant messaging application through the downloading plug-in, wherein an application icon and a current downloading progress of the target application are displayed on the application management page;
and when the triggering operation of the application icon of the target application is detected, displaying an application detail page of the target application in the instant messaging application through the download plug-in.
9. The method of claim 1, further comprising:
displaying an application management page in the instant messaging application through the download plug-in, wherein at least one application icon of historical download application is displayed on the application management page;
when detecting that any one historical downloading application has an updated version, displaying an updating option for updating the version of the historical downloading application;
and when the trigger operation of the updating option is detected, acquiring a downloading link of the historical downloading application, so that the downloading plug-in carries out version updating on the historical downloading application.
10. The method of claim 9, further comprising:
displaying a start option of the at least one historical download application on the application management page;
and starting the historical downloading application when the triggering operation of the starting option of any one historical downloading application is detected.
11. The method of claim 9, further comprising:
when target operation is detected on the application management page, displaying a check frame corresponding to the at least one historical downloaded application on the application management page;
when the selection operation of a checking frame body of any one historical download application is detected, displaying a deletion option;
and when the trigger operation of the deletion option is detected, deleting the installation package of the historical download application through the download plug-in.
12. The method of claim 1, further comprising:
displaying an application search frame in the instant messaging application through the download plug-in;
acquiring character information input in the search frame;
sending the text information to the application downloading platform through the downloading plug-in so that the application downloading platform searches for at least one application matched with the text information;
receiving a search result returned by the application downloading platform, wherein the search result comprises an application icon of the at least one application;
and displaying an application icon of the at least one application in the instant messaging application through the download plug-in.
13. An application download apparatus, the apparatus comprising:
the system comprises a sending module, a downloading module and an application downloading platform, wherein the sending module is used for calling a downloading plug-in of an instant messaging application when an application downloading operation is detected in the instant messaging application so as to enable the downloading plug-in to send identification information of a target application to be downloaded to the application downloading platform, and the application downloading platform is used for obtaining a downloading link of the target application when the identification information is determined to be contained in an identification information list;
the downloading module is used for receiving the downloading link sent by the application downloading platform so that the downloading plug-in downloads the target application from the application downloading platform according to the downloading link;
the downloading plug-in at least comprises an enabling state and a disabling state, the downloading plug-in is switched between the enabling state and the disabling state, the enabling state refers to the downloading plug-in being provided with application downloading capacity, and the disabling state refers to the downloading plug-in not being provided with application downloading capacity.
14. A storage medium having stored therein at least one instruction which is loaded and executed by a processor to implement the application download method as claimed in any one of claims 1 to 12.
15. A terminal, characterized in that the terminal comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the application download method according to any of the claims 1 to 12.
CN201811012871.XA 2018-08-31 2018-08-31 Application downloading method and device, storage medium and terminal Active CN109144609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811012871.XA CN109144609B (en) 2018-08-31 2018-08-31 Application downloading method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811012871.XA CN109144609B (en) 2018-08-31 2018-08-31 Application downloading method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN109144609A CN109144609A (en) 2019-01-04
CN109144609B true CN109144609B (en) 2020-06-02

Family

ID=64826059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811012871.XA Active CN109144609B (en) 2018-08-31 2018-08-31 Application downloading method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109144609B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021102849A1 (en) * 2019-11-28 2021-06-03 深圳市欢太科技有限公司 Resource acquisition method and apparatus, and electronic device
WO2021127942A1 (en) * 2019-12-23 2021-07-01 深圳市大疆创新科技有限公司 Mobile platform control method, control terminal, mobile platform, and storage medium
CN113778673B (en) * 2021-08-27 2024-02-09 深圳市广和通无线股份有限公司 Data processing method, storage medium and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921892A (en) * 2015-12-28 2017-07-04 腾讯科技(北京)有限公司 Online Video player method and device
CN107370804A (en) * 2017-07-11 2017-11-21 腾讯科技(深圳)有限公司 Software application treating method and apparatus
CN107465646A (en) * 2016-06-02 2017-12-12 腾讯科技(深圳)有限公司 One kind applies method for down loading, system and relevant device
CN108347456A (en) * 2017-01-22 2018-07-31 腾讯科技(北京)有限公司 A kind of application program method for down loading and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921892A (en) * 2015-12-28 2017-07-04 腾讯科技(北京)有限公司 Online Video player method and device
CN107465646A (en) * 2016-06-02 2017-12-12 腾讯科技(深圳)有限公司 One kind applies method for down loading, system and relevant device
CN108347456A (en) * 2017-01-22 2018-07-31 腾讯科技(北京)有限公司 A kind of application program method for down loading and device
CN107370804A (en) * 2017-07-11 2017-11-21 腾讯科技(深圳)有限公司 Software application treating method and apparatus

Also Published As

Publication number Publication date
CN109144609A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN110636477B (en) Device connection method, device, terminal and storage medium
CN110837378B (en) Calling method and device for software development kit SDK function
CN109144609B (en) Application downloading method and device, storage medium and terminal
CN110851823B (en) Data access method, device, terminal and storage medium
CN110007981B (en) Method and device for starting application program, electronic equipment and medium
CN111159604A (en) Picture resource loading method and device
CN111510482B (en) Method and device for determining failed network request and computer storage medium
CN114064450A (en) Application program testing method and device, electronic equipment and storage medium
CN111191227B (en) Method and device for preventing malicious code from executing
CN108984259B (en) Interface display method and device and terminal
CN109995804B (en) Target resource information display method, information providing method and device
CN111682983B (en) Interface display method and device, terminal and server
CN111258683A (en) Detection method, detection device, computer equipment and storage medium
CN109413190B (en) File acquisition method and device, electronic equipment and storage medium
CN111897465A (en) Popup display method, device, equipment and storage medium
CN109107163B (en) Analog key detection method and device, computer equipment and storage medium
CN110781032A (en) Data transmission method, device, electronic equipment and medium
CN107800720B (en) Hijacking reporting method, device, storage medium and equipment
CN113051015B (en) Page rendering method and device, electronic equipment and storage medium
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN113836426A (en) Information pushing method and device and electronic equipment
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium
CN112732282A (en) Installation package downloading method and device
CN112000576A (en) Code data detection method, device, equipment and storage medium
CN113495770A (en) Method, device, terminal and storage medium for displaying application page

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