CN112860273A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN112860273A
CN112860273A CN201911184246.8A CN201911184246A CN112860273A CN 112860273 A CN112860273 A CN 112860273A CN 201911184246 A CN201911184246 A CN 201911184246A CN 112860273 A CN112860273 A CN 112860273A
Authority
CN
China
Prior art keywords
shortcut
installation program
application
terminal
installer
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.)
Pending
Application number
CN201911184246.8A
Other languages
Chinese (zh)
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 CN201911184246.8A priority Critical patent/CN112860273A/en
Publication of CN112860273A publication Critical patent/CN112860273A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The application provides a page display method and a page display device, which relate to the technical field of terminals, and the method comprises the following steps: the installation program generation server receives a shortcut installation program acquisition request sent by the terminal, wherein the shortcut installation program acquisition request is sent by the terminal after responding to an application shortcut creation request, and the shortcut installation program acquisition request at least comprises application parameters of an application needing to create a shortcut; if the installation program generation server fails to inquire the shortcut installation program corresponding to the application parameters in the database according to the application parameters, generating the shortcut installation program according to the application parameters and acquiring a download address of the shortcut installation program; and the installation program generation server sends the download address to the terminal so that the terminal establishes the shortcut of the application on the interface of the terminal after installing the shortcut installation program. And generating a shortcut installation program on line to realize the effect of quickly opening the application.

Description

Page display method and device
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a page display method and device.
Background
With the rapid development of science and technology, mobile terminals such as smart phones and PADs (tablets) have become indispensable devices in daily life of users, and great convenience is brought to work and life of users. For example, a user installs various application programs (simply "applications") on a terminal to acquire various information.
When a user uses an application, a part of functions in the frequently-used application is expected to establish shortcuts in a display interface of the terminal, and then the user clicks the shortcuts in the display interface to quickly start the functions. However, some operating systems prohibit applications from creating shortcut icons, so that the shortcut icons cannot be successfully created in the desktop using the related art, and thus a certain function of the application cannot be quickly opened.
Disclosure of Invention
The embodiment of the application provides a page display method and device, which can display a shortcut of an application or a certain function of the application in a display interface of a user when the user needs to establish the shortcut aiming at the application or the certain function of the application.
In one aspect, an embodiment of the present application provides a page display method, where the method includes:
the method comprises the steps that an installation program generation server receives a shortcut installation program acquisition request sent by a terminal, wherein the shortcut installation program acquisition request is sent by the terminal after responding to an application shortcut creation request, and the shortcut installation program acquisition request at least comprises application parameters of an application needing to create a shortcut;
if the installation program generation server fails to inquire the shortcut installation program corresponding to the application parameters in a database according to the application parameters, generating the shortcut installation program according to the application parameters and acquiring a download address of the shortcut installation program;
and the installation program generation server sends the download address to the terminal so that the terminal establishes the shortcut of the application on an interface of the terminal after installing the shortcut installation program.
In one aspect, an embodiment of the present application provides a page display device, including:
a receiving unit, configured to receive a shortcut installer acquisition request sent by a terminal, where the shortcut installer acquisition request is sent by the terminal in response to an application shortcut creation request, and the shortcut installer acquisition request at least includes application parameters of an application for which a shortcut needs to be created;
the installation program generating unit is used for generating a shortcut installation program according to the application parameters and acquiring a download address of the shortcut installation program if the shortcut installation program corresponding to the application parameters cannot be inquired in a database by the installation program generating server according to the application parameters;
and the sending unit is used for sending the download address to the terminal so as to establish the shortcut of the application on the interface of the terminal after the terminal installs the shortcut installation program.
Optionally, the installation program generating unit is specifically configured to:
determining parameter identification information corresponding to the application parameters according to the application parameters;
and querying shortcut installation programs corresponding to the parameter identification information in a database according to the parameter identification information, wherein each parameter identification information corresponds to one shortcut installation program.
Optionally, the installation program generating unit is specifically configured to:
determining a shortcut installation program generation environment and a shortcut installation program generation template corresponding to the application parameters according to the application parameters;
generating the shortcut installation program according to the shortcut installation program generation environment, the shortcut installation program generation template and the application parameters;
and uploading the shortcut installation program to a Content Delivery Network (CDN), and acquiring a download address aiming at the shortcut installation program and sent by the CDN.
Optionally, the application parameters at least include a uniform resource locator url of the application and an image identifier of the application;
the installation program generation unit is specifically configured to:
replacing url information in the shortcut installation program generation template with url of the application, replacing image identification in the shortcut installation program generation template with image identification of the application, and obtaining the replaced shortcut installation program generation template;
and generating the shortcut installation program according to the shortcut installation program generation environment and the replaced shortcut installation program generation template.
Optionally, the apparatus further comprises:
and the storage unit is used for establishing an association relationship between the application parameters and the shortcut installation program and storing the association relationship and the download address of the shortcut installation program in a database.
Optionally, the installer generation unit is further configured to:
and if the shortcut installation program corresponding to the application parameters is inquired in the database according to the application parameters, the shortcut installation program is sent to the terminal through the sending unit.
Optionally, the application is any functional component in other applications.
In one aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements any of the steps of the page display method when executing the computer program.
In one aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program executable by a computer device, and when the program runs on the computer device, the computer device is caused to execute the steps of any one of the above-mentioned page display methods.
According to the page display method provided by the embodiment of the application, the installation program generation server can inquire whether a shortcut installation program established for the application corresponding to the request exists in the database after receiving the shortcut installation program acquisition request sent by the terminal, if the shortcut installation program does not exist, the shortcut installation program is generated on line and sent to the terminal, and the terminal carries out installation, so that the shortcut of the application can be displayed on the interface of the terminal. Compared with the prior art, the shortcut installation program is generated on line through the installation program generation server, the effect of quickly opening the application is realized in a manner of installing the shortcut application on the terminal, and the limitation that the application is forbidden to create the shortcut icon by the operating system is avoided, so that the problems in the related technology are solved.
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 inventive exercise.
FIG. 1 is a schematic diagram of a scenario in which a shortcut cannot be created in the prior art according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a page display method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a page display method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a page display method according to an embodiment of the present application;
fig. 5 is a schematic view of an application scenario of a page display method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a page display device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
For convenience of understanding, terms referred to in the embodiments of the present application are explained below:
the application comprises the following steps: software which is provided for users to use by virtue of the platform can be divided into android applications, Linux applications or ios applications according to systems of different terminals used by the users.
Shortcut: a method for quickly starting a program and opening a file or a folder.
Installing a program: also called installation software, is a kind of computer software used to assist users in installing other software or drivers.
Packaging: the process of making the developed executable file and necessary documents (such as the use instruction) into a software package by using a packaging tool, wherein the packaging tool is a program tool for converting, compressing, merging and the like codes.
A terminal: the electronic device can be installed with various applications and can carry out network communication, and the electronic device can be mobile or fixed. For example, a mobile phone, a tablet computer, various wearable devices, a vehicle-mounted device, a Personal Digital Assistant (PDA), a point of sale (POS), or other electronic devices capable of implementing the above functions may be used.
A server: a server is one of computers that runs faster, is more heavily loaded, and is more expensive than a regular computer. The server provides computing or application services for other clients (e.g., terminals such as PCs, smart phones, ATMs, etc., and even large equipment such as train systems, etc.) in the network. The server has high-speed CPU computing capability, long-time reliable operation, strong I/O external data throughput capability and better expansibility. In the embodiment of the present application, the installer generation server is also a type of server, and the installer generation server can generate the installer.
Content distribution network: all are called Content Delivery Network, CDN. The CDN is an intelligent virtual network constructed on the basis of the existing network, and by means of edge servers deployed in various places and functional modules of load balancing, content distribution, scheduling and the like of a central platform, a user can obtain required content nearby, network congestion is reduced, and the access response speed and hit rate of the user are improved.
In the embodiment of the present application, for convenience of description, an application or a part of functional components of the application running in the terminal are all described as the application, for example, the application is payment software, and may also be a "payment receiving" or "payment" functional component in the payment software.
In a specific practical process, the inventor of the present application finds that, when a user uses an application in a terminal, the user wants to establish a shortcut in an interface of the terminal, but the user is usually prohibited from operating due to system authority of the terminal. For example, as shown in fig. 1, a user wants to send a "video" in a terminal interface to a desktop shortcut, and the user triggers a "send desktop shortcut" instruction by a setting means, where the setting means may include pressing the "video" for a set time, popping up the "send desktop shortcut" instruction, and triggering the "send desktop shortcut" instruction after clicking the instruction. However, due to the authority of the terminal, a dialog box "you do not have authority to perform this operation" pops up in the interface in fig. 1, so in the prior art, the user cannot generate the shortcut of the application in the above manner.
Based on the defects of the prior art, the inventor of the application designs a page display method, in the application, when a user needs to establish a shortcut of an application, a shortcut installation program acquisition request is sent to an installation program generation server, and if the installation program generation server generates the shortcut installation program of the application before, a download address of the shortcut installation program is sent to a terminal; and if the shortcut installation program of the application is not generated by the installation program generation server before, generating the shortcut installation program on line and sending the download address of the shortcut installation program to the terminal.
After introducing the design concept of the embodiment of the present application, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Compared with the prior art, the shortcut installation program is generated on line through the installation program generation server, the effect of quickly opening the application is realized in a manner of installing the shortcut application on the terminal, and the limitation that the application is forbidden to create the shortcut icon by the operating system is avoided, so that the problems in the related technology are solved.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application.
Fig. 2 is a schematic view of an application scenario of the page display method according to the embodiment of the present application. The application scenario includes a terminal 201, an installer generation server 202, and a CDN203, where the CDN203 is configured by a plurality of CDN nodes 2031. In this embodiment of the application, the terminal 201 is connected to the installation program generation server 202 through a wireless network, meanwhile, the terminal 201 is also connected to the CDN node 2031 through a wireless network, and the installation program generation server 202 and the CDN203 are connected to the installation program generation server 202 through a wireless network, which may be one server or a server cluster or a cloud computing center formed by a plurality of servers.
In the present application, the terminal 201 includes, but is not limited to, an electronic device such as a desktop computer, a mobile phone, a mobile computer, a tablet computer, and the like. The user can install various applications in the terminal 201, interact with the installer generation server 202 and the CDN node 2031 when needing to create a shortcut of an application, and can establish the shortcut of an application in the terminal 201.
Specifically, the terminal 201 responds to the application shortcut creating request, sends a shortcut installer obtaining request to the installer generation server 202, the installer generation server 202 determines whether a corresponding shortcut installer exists, if not, the shortcut installer is generated online and interacts with the CDN203, uploads the shortcut installer to the CDN203, obtains a download address determined by the CDN203, and sends the download address to the terminal 201.
After acquiring the download address, the terminal 201 acquires the shortcut installation program from the CDN node 2031, installs the shortcut installation program, and after the installation is successful, creates a shortcut of the application in the terminal 201.
Of course, the method provided in the embodiment of the present application is not limited to be used in the application scenario shown in fig. 2, and may also be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 2 will be described in the following method embodiments, and will not be described in detail herein.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application.
The following describes the technical solution provided in the embodiment of the present application with reference to the application scenario shown in fig. 3.
Referring to fig. 3, an embodiment of the present application provides a page display method, including the following steps:
step S301, an installation program generation server receives a shortcut installation program acquisition request sent by a terminal, wherein the shortcut installation program acquisition request is sent by the terminal after responding to an application shortcut creation request, and the shortcut installation program acquisition request at least comprises application parameters of an application needing to create a shortcut.
In the application, after receiving a shortcut installer acquisition request sent by a terminal, an installer generation server determines application parameters in the request, namely which application in the terminal needs to generate a shortcut.
In the embodiment of the application, the terminal may send the shortcut installer acquisition request to the installer generation server by setting operation, for example, if the user presses the application needing to establish the shortcut for a set time, the user may be considered to establish the shortcut, and the terminal sends the shortcut installer acquisition request to the installer generation server. Alternatively, the user clicks a setting button, for example, a "create shortcut" button, in the operation directory of the application, and the terminal sends a shortcut installer acquisition request to the installer generation server.
Of course, the above embodiments are only some ways for the terminal to send the shortcut installer acquisition request to the installer generation server, and other ways also include voice triggering, gesture triggering, and the like, which are not limited herein.
In an alternative embodiment, the application parameters may at least characterize the information of the application, i.e. the installer generation server can know from the application parameters which application needs to create the shortcut.
Optionally, in this embodiment of the application, if the application parameter is one, the application parameter may characterize the information of the application, and in another optional embodiment, if the application parameter is multiple, the multiple application parameters may characterize the information of the application.
Specifically, the application parameter may be identification information, and it may be considered that the installer generation server may determine the application information according to the identification information; meanwhile, the application parameter may also include an application version, an application name, an application certificate, and the like, which correspond to application information of one application.
Step S302, if the installation program generation server fails to inquire the shortcut installation program corresponding to the application parameters in the database according to the application parameters, generating the shortcut installation program according to the application parameters and obtaining the download address of the shortcut installation program.
In the embodiment of the application, if the installation program generation server cannot find the shortcut installation program corresponding to the application in the database, the shortcut installation program can be generated online.
In the embodiment of the application, the installer generation server may generate the shortcut installer according to the application parameter. In an optional embodiment, the shortcut installing program obtaining request includes a shortcut generating program, that is, the shortcut generating programs corresponding to different applications are different, the terminal sends the shortcut generating program to the installing program generating server, and the installing program generating server generates the shortcut generating program according to the shortcut generating program and the application parameters.
In another alternative implementation, in order to increase the generation speed of the shortcut generation program, the shortcut generation program corresponding to the application is stored in the installer generation server, and the installer generation server may determine the shortcut generation program corresponding to the generation parameter according to the generation parameter, that is, the shortcut generation program corresponding to the application, and then generate the shortcut generation program according to the application parameter and the shortcut generation program.
That is to say, in the embodiment of the present application, the installer generation server may determine, according to the generation parameter, the shortcut generation program corresponding to the generation parameter, and specifically, the installer generation server determines, according to the application parameter, the parameter identification information corresponding to the application parameter; and the installation program generation server inquires shortcut installation programs corresponding to the parameter identification information in a database according to the parameter identification information, wherein each parameter identification information corresponds to one shortcut installation program.
For example, in the embodiment of the present application, the installer generation server stores the correspondence between the application parameters and the parameter identification information and the generated shortcut installer, which is specifically shown in table 1.
TABLE 1
Figure BDA0002292026470000091
In another optional embodiment, the application parameters include a plurality of pieces of application parameter information, the plurality of pieces of application parameter information correspond to one piece of parameter identification information, and one piece of parameter identification information corresponds to one generated shortcut installer, which is specifically shown in table 2.
TABLE 2
Figure BDA0002292026470000101
In the embodiment of the application, when the installation program generation server fails to query the shortcut installation program corresponding to the parameter identification information in the database according to the parameter identification information, that is, the corresponding shortcut installation program cannot be determined according to the relation table in table 1 or table 2, the shortcut installation program is generated online.
In the embodiment of the present application, in addition to the acquisition shortcut generation program mentioned above, the shortcut generation program may be generated by a shortcut installer generation environment stored in a database and a shortcut installer generation template.
In an optional embodiment, different applications correspond to different shortcut installer generation environments and shortcut installer generation templates; in another alternative embodiment, different application types correspond to different shortcut installer generation environments and shortcut installer generation templates, for example, an instant communication type application corresponds to the same shortcut installer generation environment and shortcut installer generation template, a video type application corresponds to the same shortcut installer generation environment and shortcut installer generation template, but the instant communication type and the shortcut installer generation environment and the shortcut installer generation template corresponding to the video type application are different.
In the embodiment of the application, in order to quickly generate the shortcut installer, the shortcut installer can be generated only by calling the shortcut installer generation environment and replacing the parameters in the shortcut installer generation template.
In the embodiment of the application, because the shortcut installation program required to be generated only points to the application, compared with other installation programs in the prior art, the shortcut installation program has less content in the installation program and high generation speed, and meets the requirement of online real-time generation.
Optionally, in this embodiment of the application, the application parameter includes a uniform resource locator url of the application, that is, the application pointed by the generated shortcut, and the application parameter further includes an image identifier of the application, which is convenient to display on the terminal. And the installation program generation server replaces url information in the shortcut installation program generation template with the url of the application, replaces the image identifier in the shortcut installation program generation template with the image identifier of the application, and generates the shortcut installation program according to the shortcut installation program generation environment and the replaced shortcut installation program generation template.
Optionally, in this embodiment of the present application, when the application is a partial functional component of another application, the url in the application parameter and the image identifier of the application are both saved in an installation file of the other application, that is, in an installation file of the other application in the terminal. For example, in the embodiment of the present application, the other application is takeaway software, the application is a query order function component in the takeaway software, url in application parameters refers to the query order function component, and the image identifier of the application refers to the image identifier of the query order function component, and these parameters are all stored in an installation file of the takeaway software.
In the embodiment of the present application, since the terminal can download the shortcut installer through the CDN, in the embodiment of the present application, the installer generation server uploads the shortcut installer to the CDN, and obtains a download address for the shortcut installer sent by the CDN. That is, after receiving the shortcut installer uploaded by the installer generation server, the CDN stores the shortcut installer, and sends the stored address to the installer generation server as the download address.
Optionally, in this embodiment of the application, after the installer generation server generates the shortcut installer, the content in table 1 or table 2 needs to be updated, in an optional embodiment, the installer generation server establishes an association relationship between the application parameter and the shortcut installer, and stores the association relationship and the download address of the shortcut installer in the database. That is, the download address of the shortcut installer may be included in table 1 and table 2, as shown in table 3.
TABLE 3
Figure BDA0002292026470000121
Optionally, in this embodiment of the application, the CDN may further send the standby download address to the installation program generation server, and the installation program generation server stores the standby download address.
Optionally, in this embodiment of the application, an operating system of the terminal is not limited, for example, when the terminal is a mobile terminal such as a mobile phone and a tablet computer, the operating system may be an Android operating system, or an iOS operating system or another mobile operating system, which is not limited in this embodiment of the application. Illustratively, if the operating system of the terminal is an android operating system, the shortcut installer is in an apk format, and if the operating system of the terminal is an iOS operating system, the shortcut installer is in an ipa format.
Optionally, in this embodiment of the application, the shortcut installer generation environment and the shortcut installer generation template corresponding to the two operating systems are stored in the installer generation server, and information of the operating systems may be in the application parameters.
Step S303, the installation program generation server sends the download address to the terminal, so that the terminal establishes the shortcut of the application on the interface of the terminal after installing the shortcut installation program.
In the embodiment of the application, the installation program generation server sends the download address to the terminal, the terminal can download the shortcut installation program according to the download address and install the shortcut installation program, and after the terminal installs the shortcut installation program, the terminal displays the application in a display interface of the terminal and displays the image identifier of the application. When the user starts a shortcut, the interface that appears is the interface of the application.
Specifically, in the embodiment of the application, after the shortcut installation program is installed on the terminal, the image identifier of the shortcut application is displayed in the display interface of the terminal; when the terminal receives a trigger signal corresponding to the image identifier of the shortcut application, for example, double-clicking the image identifier of the shortcut application to start the running shortcut application; and starting and running the application related to the shortcut application through the shortcut application.
In the embodiment of the application, if the user triggers the application shortcut creating request again after the shortcut installer is removed from the terminal, the terminal sends a shortcut installer obtaining request to the installer generating server, the installer generating server determines that the shortcut installer has been generated according to the application parameters, the download address of the shortcut installer is sent to the terminal, and the terminal downloads and installs the shortcut.
In order to better explain the embodiment of the present application, the page display method provided by the embodiment of the present application is described below in combination with a specific implementation scenario, in the embodiment of the present application, a terminal is an android operating system, an installer generation server is a packaging server and is used for packaging an installation package in an APK format, the terminal is a mobile phone, the page display method is applied to a system formed by the terminal, the packaging server and a CDN, and a specific interaction process is shown in fig. 4.
Step S401, the terminal responds to the request for creating the application shortcut;
step S402, the terminal sends a shortcut installation program acquisition request to the packaging server, wherein the shortcut installation program acquisition request comprises url of the application and image identification of the application;
step S403, the packaging server determines whether a shortcut installation program of the application is generated or not according to the url of the application and the image identifier of the application, if so, the step S404 is executed, and if not, the step S405 is executed;
step S404, the packaging server acquires the download address of the shortcut installation program of the application, and executes step S406;
step S405, the packaging server determines the ID of the application according to the url of the application and the image identifier of the application, acquires a packaging environment and a packaging template corresponding to the ID of the application according to the ID of the application, and executes step S407;
step S406, the packaging server sends the download address to the terminal, and step S408 is executed;
step S407, the packaging server replaces the url in the packaging template with the url of the application, replaces the image identifier in the packaging template with the image identifier of the application, packages the image identifier according to the replaced packaging template in the packaging environment, generates a shortcut installer APK, and executes step S409;
step S408, the terminal acquires a shortcut installation program from the CDN according to the download address, and executes step S410;
step S409, uploading the APK to the CDN by the packaging server, and executing the step S411;
step S410, the CDN sends the APK to the terminal and executes step S412;
step S411, the CDN stores the APK, determines a download address and executes step S413;
step S412, the terminal installs APK;
in step S413, the CDN sends the download address to the packaging server, and executes step S406.
In order to better explain the embodiment of the present application, the page display method provided by the embodiment of the present application is described below with reference to another specific implementation scenario, in the embodiment of the present application, a certain courier applet is displayed in a display interface of a terminal, the courier applet is a functional component in a certain streaming application, and a process of establishing the applet by the terminal is specifically shown in fig. 5.
In fig. 5, a user clicks an "operation" button at the upper right corner of an interface in an applet to display that the operable options are "send to friend", "set", and "add to desktop", and after the user clicks the "add to desktop" option, the terminal sends a shortcut installer acquisition request to the packaging server, where the request includes a url of the applet, that is, a url corresponding to the applet of the user interface; and the image identification of the small program, wherein the image identification is of a vehicle type and implies express delivery.
After receiving the request, the packaging server determines that no shortcut APK is generated for the applet according to the information of the applet, so that the packaging server acquires a packaging environment and a packaging template according to the information of the applet, replaces the url in the packaging template with the url of the applet, and replaces the image identifier in the packaging template with the image identifier of the applet, namely 'a vehicle'.
And the packaging server generates a shortcut APK according to the replaced packaging template in a packaging environment, then uploads the APK to the CDN, the CDN stores the APK and sends the download address to the packaging server.
And after receiving the download address, the packaging server associates and stores the information of the applet with the download address and the APK, and simultaneously sends the download address to the terminal.
And the terminal downloads the APK from the CDN according to the download address, displays a prompt of 'whether installation is carried out' on the terminal, responds to the 'yes' selection of the user and installs the APK.
After the terminal is installed, a vehicle icon is displayed in a main interface of the terminal, and when a user double-clicks the vehicle, an applet display interface is started.
Based on the above embodiments, referring to fig. 6, an embodiment of the invention provides a page display apparatus 600, including:
a receiving unit 601, configured to receive a shortcut installer acquisition request sent by a terminal, where the shortcut installer acquisition request is sent by the terminal in response to an application shortcut creation request, and the shortcut installer acquisition request at least includes application parameters of an application for which a shortcut needs to be created;
an installer generating unit 602, configured to generate a shortcut installer according to the application parameter and obtain a download address of the shortcut installer if the installer generating server fails to query the shortcut installer corresponding to the application parameter in the database according to the application parameter;
a sending unit 603, configured to send the download address to the terminal, so that the terminal establishes the shortcut of the application on an interface of the terminal after installing the shortcut installation program.
Optionally, the installer generating unit 602 is specifically configured to:
determining parameter identification information corresponding to the application parameters according to the application parameters;
and querying shortcut installation programs corresponding to the parameter identification information in a database according to the parameter identification information, wherein each parameter identification information corresponds to one shortcut installation program.
Optionally, the installer generating unit 602 is specifically configured to:
determining a shortcut installation program generation environment and a shortcut installation program generation template corresponding to the application parameters according to the application parameters;
generating the shortcut installation program according to the shortcut installation program generation environment, the shortcut installation program generation template and the application parameters;
and uploading the shortcut installation program to a Content Delivery Network (CDN), and acquiring a download address aiming at the shortcut installation program and sent by the CDN.
Optionally, the application parameters at least include a uniform resource locator url of the application and an image identifier of the application;
the installer generating unit 602 is specifically configured to:
replacing url information in the shortcut installation program generation template with url of the application, replacing image identification in the shortcut installation program generation template with image identification of the application, and obtaining the replaced shortcut installation program generation template;
and generating the shortcut installation program according to the shortcut installation program generation environment and the replaced shortcut installation program generation template.
Optionally, the apparatus 600 further includes:
a storing unit 604, configured to establish an association relationship between the application parameter and the shortcut installer, and store the association relationship and the download address of the shortcut installer in a database.
Optionally, the installer generating unit 602 is further configured to:
and if the shortcut installation program corresponding to the application parameters is inquired in the database according to the application parameters, the shortcut installation program is sent to the terminal through the sending unit.
Optionally, the application is any functional component in other applications.
Based on the same technical concept, the embodiment of the present application provides a computer device, as shown in fig. 7, including at least one processor 701 and a memory 702 connected to the at least one processor, where a specific connection medium between the processor 701 and the memory 702 is not limited in this embodiment, and the processor 701 and the memory 702 are connected through a bus in fig. 7 as an example. The bus may be divided into an address bus, a data bus, a control bus, etc.
In the embodiment of the present application, the memory 702 stores instructions executable by the at least one processor 701, and the at least one processor 701 may execute the steps included in the foregoing page display method by executing the instructions stored in the memory 702.
The processor 701 is a control center of the computer device, and may connect various parts of the terminal device by using various interfaces and lines, and obtain the client address by executing or executing the instructions stored in the memory 702 and calling the data stored in the memory 702. Optionally, the processor 701 may include one or more processing units, and the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly handles an operating system, a user interface, an application program, and the like, and the modem processor mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 701. In some embodiments, processor 701 and memory 702 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 701 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, configured to implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Memory 702, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 702 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 702 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 702 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Based on the same technical concept, embodiments of the present application provide a computer-readable storage medium storing a computer program executable by a computer device, which, when the program is run on the computer device, causes the computer device to perform the steps of a page display method.
The computer-readable storage medium may be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A page display method, characterized in that the method comprises:
the method comprises the steps that an installation program generation server receives a shortcut installation program acquisition request sent by a terminal, wherein the shortcut installation program acquisition request is sent by the terminal after responding to an application shortcut creation request, and the shortcut installation program acquisition request at least comprises application parameters of an application needing to create a shortcut;
if the installation program generation server fails to inquire the shortcut installation program corresponding to the application parameters in a database according to the application parameters, generating the shortcut installation program according to the application parameters and acquiring a download address of the shortcut installation program;
and the installation program generation server sends the download address to the terminal so that the terminal establishes the shortcut of the application on an interface of the terminal after installing the shortcut installation program.
2. The method according to claim 1, wherein the installer generation server fails to query a shortcut installer corresponding to the application parameter in a database according to the application parameter, and the method comprises:
the installation program generation server determines parameter identification information corresponding to the application parameters according to the application parameters;
and the installation program generation server fails to inquire the shortcut installation programs corresponding to the parameter identification information in a database according to the parameter identification information, wherein each parameter identification information corresponds to one shortcut installation program.
3. The method according to claim 1, wherein the installer generation server generates a shortcut installer from the application parameters, comprising:
the installation program generation server determines a shortcut installation program generation environment and a shortcut installation program generation template corresponding to the application parameters according to the application parameters;
the installation program generating server generates the shortcut installation program according to the shortcut installation program generating environment, the shortcut installation program generating template and the application parameters;
the step of obtaining the download address of the shortcut installation program by the installation program generation server comprises the following steps:
and the installation program generation server uploads the shortcut installation program to a Content Delivery Network (CDN), and acquires a download address aiming at the shortcut installation program and sent by the CDN.
4. The method according to claim 3, wherein the application parameters include at least a uniform resource locator url of the application and an image identifier of the application;
the installation program generating server determines the shortcut installation program according to the shortcut installation program generating environment, the shortcut installation program generating template and the application parameter, and comprises the following steps:
replacing url information in the shortcut installation program generation template by the url of the application by the installation program generation server, and replacing an image identifier in the shortcut installation program generation template by the image identifier of the application to obtain the replaced shortcut installation program generation template;
and the installation program generating server generates the shortcut installation program according to the shortcut installation program generating environment and the replaced shortcut installation program generating template.
5. The method according to claim 3, wherein after the installer generation server obtains the download address for the shortcut installer sent by the CDN, the method further includes:
and the installation program generation server establishes an association relationship between the application parameters and the shortcut installation program, and stores the association relationship and the download address of the shortcut installation program in a database.
6. The method according to any one of claims 1 to 5, further comprising:
and if the installation program generation server inquires the shortcut installation program corresponding to the application parameters in the database according to the application parameters, sending the shortcut installation program to the terminal.
7. The method of claim 6, wherein the application is any functional component of other applications.
8. A page display apparatus, comprising:
a receiving unit, configured to receive a shortcut installer acquisition request sent by a terminal, where the shortcut installer acquisition request is sent by the terminal in response to an application shortcut creation request, and the shortcut installer acquisition request at least includes application parameters of an application for which a shortcut needs to be created;
the installation program generating unit is used for generating a shortcut installation program according to the application parameters and acquiring a download address of the shortcut installation program if the shortcut installation program corresponding to the application parameters cannot be inquired in a database according to the application parameters;
and the sending unit is used for sending the download address to the terminal so as to establish the shortcut of the application on the interface of the terminal after the terminal installs the shortcut installation program.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any one of claims 1 to 7 are performed by the processor when the program is executed.
10. A computer-readable storage medium, having stored thereon a computer program executable by a computer device, for causing the computer device to perform the steps of the method of any one of claims 1 to 7, when the program is run on the computer device.
CN201911184246.8A 2019-11-27 2019-11-27 Page display method and device Pending CN112860273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911184246.8A CN112860273A (en) 2019-11-27 2019-11-27 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911184246.8A CN112860273A (en) 2019-11-27 2019-11-27 Page display method and device

Publications (1)

Publication Number Publication Date
CN112860273A true CN112860273A (en) 2021-05-28

Family

ID=75985744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911184246.8A Pending CN112860273A (en) 2019-11-27 2019-11-27 Page display method and device

Country Status (1)

Country Link
CN (1) CN112860273A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253441A (en) * 2021-11-30 2022-03-29 青岛海尔科技有限公司 Target function starting method and device, storage medium and electronic device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827353A (en) * 2010-02-04 2010-09-08 重庆索伦互联网信息服务有限公司 3G network technology-based method for generating desktop application on mobile terminal
CN102902531A (en) * 2012-09-11 2013-01-30 Tcl集团股份有限公司 Customization and generation method and device of Android application program
CN103530155A (en) * 2013-10-12 2014-01-22 北京奇虎科技有限公司 Method and device for installing application program
CN103838573A (en) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 Application program generation method and device
CN104077146A (en) * 2014-07-11 2014-10-01 北京金和软件股份有限公司 Personalized customization method and system for application programs of mobile terminal
CN104580480A (en) * 2015-01-15 2015-04-29 上海瀚银信息技术有限公司 Remote automatic deployment system and method for client end
KR101539337B1 (en) * 2014-10-29 2015-07-28 (주)판도라티비 Method for automaticllay generating mobile application based on on-line service platform, and System there-of
CN106612515A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Terminal APN synchronization method, device and system
CN106648752A (en) * 2016-11-24 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Application presetting method and apparatus, and mobile terminal
CN107291409A (en) * 2017-05-10 2017-10-24 北京西会科技有限公司 A kind of online desktop sharing method, system
CN108388623A (en) * 2018-02-12 2018-08-10 平安科技(深圳)有限公司 ER relationships generation method, device, computer equipment and storage medium
CN110018765A (en) * 2019-04-09 2019-07-16 腾讯科技(深圳)有限公司 Page display method, device, terminal and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827353A (en) * 2010-02-04 2010-09-08 重庆索伦互联网信息服务有限公司 3G network technology-based method for generating desktop application on mobile terminal
CN102902531A (en) * 2012-09-11 2013-01-30 Tcl集团股份有限公司 Customization and generation method and device of Android application program
CN103530155A (en) * 2013-10-12 2014-01-22 北京奇虎科技有限公司 Method and device for installing application program
CN103838573A (en) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 Application program generation method and device
CN104077146A (en) * 2014-07-11 2014-10-01 北京金和软件股份有限公司 Personalized customization method and system for application programs of mobile terminal
KR101539337B1 (en) * 2014-10-29 2015-07-28 (주)판도라티비 Method for automaticllay generating mobile application based on on-line service platform, and System there-of
CN104580480A (en) * 2015-01-15 2015-04-29 上海瀚银信息技术有限公司 Remote automatic deployment system and method for client end
CN106612515A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Terminal APN synchronization method, device and system
CN106648752A (en) * 2016-11-24 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Application presetting method and apparatus, and mobile terminal
CN107291409A (en) * 2017-05-10 2017-10-24 北京西会科技有限公司 A kind of online desktop sharing method, system
CN108388623A (en) * 2018-02-12 2018-08-10 平安科技(深圳)有限公司 ER relationships generation method, device, computer equipment and storage medium
CN110018765A (en) * 2019-04-09 2019-07-16 腾讯科技(深圳)有限公司 Page display method, device, terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253441A (en) * 2021-11-30 2022-03-29 青岛海尔科技有限公司 Target function starting method and device, storage medium and electronic device
CN114253441B (en) * 2021-11-30 2023-12-19 青岛海尔科技有限公司 Method and device for enabling target function, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN110019081B (en) Data persistence processing method, device and system and readable storage medium
US10503490B2 (en) Mobile application processing
CN109165050B (en) Program running method and device, computing equipment and storage medium
CN108376079B (en) Automatic application updates
WO2018213311A1 (en) Distributed versioning of applications using cloud-based systems
US20160261693A1 (en) Cloud-based data backup and operation method and system
CN107580011B (en) Data sharing method and desktop cloud server
CN111897564A (en) Application updating method and system
US11882154B2 (en) Template representation of security resources
CN107274222B (en) Advertisement putting method and device
CN108234551B (en) Data processing method and device
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN110968331A (en) Method and device for running application program
CN112860273A (en) Page display method and device
CN106790343B (en) Resource downloading method and server
CN114675982A (en) General method and system for acquiring data of service integration system
WO2023169272A1 (en) Cloud application-based processing method, electronic device, and storage medium
WO2015003570A1 (en) Data downloading method,device and system thereof
CN113821333A (en) Android application program migration method and device
CN111756916A (en) Application processing method and device, electronic equipment and computer storage medium
CN117667115A (en) Application program installation method and electronic device
CN111857736B (en) Cloud computing product generation method, device, equipment and storage medium
CN112039683B (en) Service hosting method, system and storage medium
CN113961377A (en) Cross-application service method and device, electronic equipment and storage medium
JP6412641B2 (en) Communication link transmission method, apparatus and terminal

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