Small program starting method and device, electronic equipment and storage medium

By generating and adding applet controls to the system desktop and launching applets using the jump protocol address, the problem of cumbersome startup methods of applets is solved, efficiency is improved and security of financial scenarios is enhanced.

CN118939327APending Publication Date: 2024-11-12BEIJING PACTERA JINXIN TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410947276.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The starting method of existing technology small and medium-sized programs is complicated, which leads to users who need to go through the search process every time they use it, wasting time and reducing usage efficiency.

Method used

By generating the startup parameter information of the applet, accessing the target configuration page, adding target controls to the system desktop, and starting the applet by jumping to the protocol address, simplifying the user's operation process.

Benefits of technology

It realizes the convenient start of the mini program, reduces user operation steps, improves usage efficiency, and avoids security vulnerabilities by launching the pre-applied mini program in sequence in financial scenarios, improving security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939327A_ABST
    Figure CN118939327A_ABST
Patent Text Reader

Abstract

The invention provides an applet starting method and device, electronic equipment and a storage medium, terminal equipment is provided with an application platform, and each application function provided in the application platform is realized in an applet form; the starting method comprises the following steps: in response to a configuration operation for a target applet in an application platform, generating starting parameter information of the target applet; generating and accessing a target configuration page for the target applet according to the starting parameter information and an original configuration page pre-deployed at the server side; in response to a control adding operation which is triggered in the configuration page and aims at the target applet, generating a target control of the target applet; and storing the target control to a system desktop of the terminal equipment so as to start the target applet through the jump protocol address in response to a starting operation which is triggered in the system desktop and aims at the target control. In this way, the applet can be quickly started without opening an application platform, so that tedious operation is reduced, and time is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method for starting a small program, a starting device, an electronic device and a storage medium. Background Art

[0002] The application architecture in terminal devices is gradually transforming into mini-programs. Currently, when users use mini-programs, they need to open the application platform, search for mini-program applications or find the corresponding mini-program on the menu, and then click the mini-program icon to enter the mini-program and use the corresponding functions.

[0003] However, this usage method is rather cumbersome, especially for frequently used mini-programs, which require such a search process each time they are used, wasting user time and reducing usage efficiency. Summary of the invention

[0004] In view of this, the purpose of this application is to provide a method, a startup device, an electronic device and a storage medium for starting a small program, so as to solve the problem that the small program startup method in the prior art is cumbersome and wastes user time, so as to achieve the purpose of conveniently starting the small program.

[0005] The embodiment of the present application provides a method for starting a mini-program, which is applied to a terminal device, wherein the terminal device is installed with an application platform, and each application function provided in the application platform is implemented in the form of a mini-program; the method for starting a mini-program includes:

[0006] In response to a configuration operation on a target applet in the application platform, generating startup parameter information of the target applet; wherein the startup parameter information includes a jump protocol address of the target applet;

[0007] Generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server; wherein the target configuration page displays configuration guidance information of the target applet;

[0008] In response to a control adding operation for the target applet triggered in the configuration page, generating a target control for the target applet;

[0009] The target control is saved to the system desktop of the terminal device, so as to start the target applet through the jump protocol address in response to a start operation for the target control triggered in the system desktop.

[0010] Further, according to the startup parameter information and the original configuration page pre-deployed by the server, a target configuration page for the target applet is generated and accessed, including:

[0011] Use system functions to call browser applications;

[0012] The browser application splices the startup parameter information into the page URL of the original configuration page pre-deployed by the server, obtains the spliced ​​URL and accesses it;

[0013] When the webpage determines that the access mode is accessed through the application platform, the target configuration page is assembled according to the startup parameter information in the spliced ​​URL and the original configuration page.

[0014] Furthermore, the startup method further includes starting the target applet using the target control in the following manner:

[0015] In response to a start-up operation for a target control triggered in the system desktop, accessing the target configuration page through the concatenated URL;

[0016] When the webpage determines that the access method is access through the target control, redirect the access according to the jump protocol address in the spliced ​​URL, and send a startup notification for the target applet to the application platform;

[0017] The application platform executes an operation of starting the target applet in response to the start notification.

[0018] Furthermore, the application platform executes an operation of starting the target applet in response to the start notification, including:

[0019] The application platform determines, in response to the mini-program ID in the startup notification, that the mini-program to be started is the target mini-program;

[0020] Determine the respective pre-installed mini-programs that the target mini-program depends on according to the preset mini-program association relationship and the running status of the application platform;

[0021] Start each pre-installed app in turn;

[0022] The target mini-program is started according to the operation results of each preceding mini-program.

[0023] Further, starting the target mini-program according to the operation results of each pre-program includes:

[0024] For any pre-installed applet, when the operation result of the pre-installed applet is successful, determine whether the pre-installed applet is the previous pre-installed applet that the target applet depends on in the applet association relationship;

[0025] If yes, start the target applet;

[0026] If not, start the next preceding applet of the preceding applet in the applet association relationship.

[0027] Further, the jump protocol address is an encrypted address; generating and accessing a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server, further comprising:

[0028] The browser application decrypts and verifies the jump protocol address;

[0029] If the verification is successful, the startup parameter information is spliced ​​into the page URL of the original configuration page pre-deployed on the server side to obtain the spliced ​​URL and access it.

[0030] Further, in response to a control adding operation for the target applet triggered in the configuration page, generating a target control of the target applet includes:

[0031] In response to the control adding operation, a target control of the target applet is generated according to the startup parameter information and a progressive network application standard adapted by the operating system of the terminal device; wherein the startup parameter information also includes the ID, name and icon of the target applet.

[0032] The embodiment of the present application further provides a device for starting a mini-program, which is applied to a terminal device, wherein the terminal device is installed with an application platform, and each application function provided in the application platform is implemented in the form of a mini-program; the device for starting a mini-program includes:

[0033] A parameter generation module, configured to generate startup parameter information of the target applet in response to a configuration operation on the target applet in the application platform; wherein the startup parameter information includes a jump protocol address of the target applet;

[0034] A page generation module, used to generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server; wherein the target configuration page displays the configuration guidance information of the target applet;

[0035] A control generation module, configured to generate a target control for the target applet in response to a control adding operation for the target applet triggered in the configuration page;

[0036] A saving module is used to save the target control to the system desktop of the terminal device, so as to start the target applet through the jump protocol address in response to a start operation for the target control triggered in the system desktop.

[0037] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the method for starting the applet as described above are performed.

[0038] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for starting the applet as described above are executed.

[0039] The embodiments of the present application provide a method for starting a mini-program, a starting device, an electronic device and a storage medium. When applied to a terminal device, the terminal device is installed with an application platform, and each application function provided in the application platform is implemented in the form of a mini-program; the starting method includes: in response to a configuration operation for a target mini-program in the application platform, generating starting parameter information of the target mini-program; wherein the starting parameter information includes a jump protocol address of the target mini-program; according to the starting parameter information and an original configuration page pre-deployed on the server side, generating and accessing a target configuration page for the target mini-program; wherein the target configuration page displays configuration guidance information of the target mini-program; in response to a control adding operation for the target mini-program triggered in the configuration page, generating a target control for the target mini-program; saving the target control to the system desktop of the terminal device, so as to start the target mini-program through the jump protocol address in response to a starting operation for the target control triggered in the system desktop.

[0040] In this way, the mini-program control can be added to the system desktop under the guidance of the configuration page; when using it, the user can trigger the mini-program control on the system desktop and quickly start the mini-program by jumping to the protocol address without opening the application platform to search, thereby reducing tedious operations and saving time.

[0041] Among them, by judging the access method, in the configuration stage of the mini-program control, the configuration page can be generated by splicing the URL; in the application stage of the mini-program control, the URL can be redirected to the jump protocol address to start the target mini-program. This spliced ​​URL adaptively plays different roles in different stages to achieve the purpose of convenient operation.

[0042] Furthermore, for application platforms in the financial field, such as mobile banking apps, when launching a mini-program, this application can determine the pre-installed mini-programs that the target mini-program depends on and start them in sequence based on the pre-set mini-program association relationship and the current running status of the application platform. In this way, it can avoid the problem of the mini-program's quick startup method bypassing the pre-installed necessary programs in complex scenarios of financial transactions, resulting in unauthorized access and security vulnerabilities. At the same time, the application platform can also encrypt the jump protocol address in the startup parameter information to avoid being intercepted and tampered by unauthorized users, thereby improving the startup security in financial scenarios.

[0043] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 One of the flowcharts of a method for starting a mini-program provided in an embodiment of the present application is shown;

[0046] Figure 2 A second flowchart of a method for starting a mini-program provided in an embodiment of the present application is shown;

[0047] Figure 3 A schematic diagram of the structure of a device for starting a small program provided in an embodiment of the present application is shown;

[0048] Figure 4 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0050] Research has found that the application architecture in terminal devices is gradually transforming into mini-programs. Currently, when users use mini-programs, they need to open the application platform, search for mini-program applications or find the corresponding mini-program on the menu, and then click the mini-program icon to enter the mini-program and use the corresponding functions.

[0051] However, this usage method is rather cumbersome, especially for frequently used mini-programs, which require such a search process each time they are used, wasting user time and reducing usage efficiency.

[0052] Based on this, an embodiment of the present application provides a method for starting a mini-program to solve the problem in the prior art that the mini-program starting method is cumbersome and wastes user time, thereby achieving the purpose of conveniently starting the mini-program.

[0053] See also Figure 1 , Figure 1 One of the flow charts of a method for starting a mini-program provided in an embodiment of the present application. The startup method is applied to a terminal device, which is an electronic device with data interaction and processing functions, such as a mobile phone, a tablet computer, and a smart watch. The terminal device is installed with an application platform, and the application platform provides various application functions to users through various application modules; under the mini-program architecture of the embodiment of the present application, the various application functions provided in the application platform are implemented in the form of mini-programs, and the operation of the mini-programs relies on the application platform. In an example, the terminal device is a mobile phone, and the application platform running in the terminal device is a mobile banking APP. The various application modules provided by the mobile banking APP, such as financial management, insurance, etc., run in the form of financial management mini-programs and insurance mini-programs, respectively. Users can call up the financial management mini-program by clicking on the financial management application module in the mobile banking, so as to handle financial management related businesses.

[0054] It should be noted that the startup method can be implemented based on the technical specifications provided by the iOS or Android system. The following takes the iOS system as an example. Figure 1As shown in, the startup method provided in the embodiment of the present application includes:

[0055] S101. In response to a configuration operation on a target applet in the application platform, generating startup parameter information of the target applet.

[0056] Here, the application platform is configured with a variety of mini-programs, and users can select the target mini-program by searching by name or finding it on the menu; then, they can apply configuration operations to the target mini-program in the pop-up menu. Corresponding to the above example, users can trigger the configuration operation in the "More" column of the menu of the insurance mini-program in mobile banking to add the insurance mini-program to the system desktop.

[0057] Correspondingly, the terminal device responds to the configuration operation triggered by the user and generates the startup parameter information required to conveniently start the target applet according to the pre-set settings. Among them, the startup parameter information may include: the ID (appID), name (appName), icon (appIcon) and jump protocol address (Scheme Url) of the target applet. For the jump protocol address, the application platform is pre-configured with an address template. After determining the target applet and obtaining the ID of the target applet, the ID of the target applet can be filled in the preset position in the address template to obtain the jump protocol address. Here, the basic principle of Scheme Url is to pre-register a custom Scheme Url in the application platform, and then generate a URL in a specific format in the application platform, containing the required parameters and operations. When the user clicks on this URL, the operating system will try to open the application associated with the URL and pass the URL to the application for processing. This process is an inter-process communication process.

[0058] S102: Generate and access a target configuration page for the target applet according to the startup parameter information and an original configuration page pre-deployed on the server side.

[0059] It should be noted that an original HTML page (HTML, Hypertext Markup Language) is pre-deployed in the server, and the content under each tag in the original page is defined. Specifically, the header tag of HTML defines the title of the webpage, the icon and title displayed on the system desktop shortcut, and the attributes include: apple-mobile-web-app-capable, apple-mobile-web-app-status-bar-style, apple-mobile-web-app-title, apple-touch-icon-precomposed; the body tag of HTML defines the content of this webpage, which is used to guide users on how to add the target applet to the desktop; the script tag of HTML makes a judgment and executes the corresponding display content according to the access method of the terminal device. After the original HTML page is prepared, it can be deployed to the server for normal access.

[0060] In a possible implementation, step S102 may include:

[0061] S1021. Use system functions to call a browser application; S1022. The browser application splices the startup parameter information into the page URL of the original configuration page pre-deployed on the server side, obtains the spliced ​​URL and accesses it; S1023. When the web page determines that the access method is to access through the application platform, the target configuration page is assembled based on the startup parameter information in the spliced ​​URL and the original configuration page.

[0062] In specific implementation, the application platform in the terminal device can use the openUrl function of the iOS system to call the system browser to open the original page, such as using Safri to open the above-mentioned html page; the appId, appName, appIcon in the startup parameter information, and the Scheme Url used to jump to the app applet are spliced ​​as query parameters into the html url page address (url, uniform resource locator) to obtain the spliced ​​URL. The js code of the web page will determine the access method. When the web page determines that the access method is to access through the application platform, that is, the configuration stage of the applet control, the startup parameter information will be passed to the html original configuration page. After that, the web page will splice the above-mentioned startup parameter information into the html page, specifically, the startup parameter information will be passed into the corresponding tag of the original configuration page to obtain the target configuration page.

[0063] For example, the web page content corresponds to tags such as apple-mobile-web-app-title and apple-touch-icon-precomposed. These tags in HTML are actually the implementation of some technical standards of PWA adapted by iOS / Android system. It is through this technical standard that the function of saving mini-programs to the desktop is realized. The logic of opening the mini-program code in the APP by accessing the custom scheme url is also implemented in the js code in this HTML. Among them, PWA refers to progressive web applications, which is a new type of application standard. It is accessed through a browser, does not need to be installed, can work offline, and provides an experience similar to native applications.

[0064] Afterwards, the opened configuration page displays the configuration guidance information of the target applet; the user can see the web page content, and the configuration guidance information may include the name, icon, control addition steps and other information of the applet; the configuration page guides the user to add the control of the target applet to the desktop through operational interaction with the user.

[0065] In one example, the implementation logic of the code is: when a user adds a target applet on the desktop, a notification is sent, and the attributes of the notification contain the parameter information of the target applet; variable values ​​are assigned according to the parameter information, and the assigned variables are spliced ​​into the URL HTML code deployed on the server as URL query parameters to obtain the spliced ​​URL. openURL is the function of the iOS system to open the URL. The HTML page opened according to the spliced ​​URL has the ability to add desktop icon controls.

[0066] S103: In response to a control adding operation for the target applet triggered in the configuration page, generate a target control for the target applet.

[0067] In this step, the user configures the guide information in the configuration page under the interactive guidance, triggering the control addition operation of adding the target applet to the system desktop, such as the user clicking "Add applet icon to desktop"; after the operating system of the terminal device adapts to the technical specification of the PWA progressive network application standard, it can realize the ability to save the applet to the desktop in accordance with this specification and startup parameter information, that is, it can generate the target control of the target applet.

[0068] Here, the custom scheme URL for opening the mini-program in the application platform is the ability of the iOS system to jump to the APP. Developers need to register in the application platform code in advance to support opening the app and passing parameters. When using it, you can determine which mini-program you want to open through the parameter ID and use the pre-packaged opening method.

[0069] S104: Save the target control to the system desktop of the terminal device, so as to start the target applet through the jump protocol address in response to a start operation for the target control triggered in the system desktop.

[0070] In this step, the terminal device saves the generated target control to the system desktop; the control of the target applet is displayed as an icon on the system desktop. When in use, by selecting this icon on the system desktop, the start operation for the target control can be triggered, and the browser is called to open the aforementioned page again through the splicing address, and redirected to the custom scheme url, so that the application platform automatically opens the corresponding applet.

[0071] For specific implementation, please refer to Figure 2 , Figure 2 This is a second flow chart of a method for starting a mini-program provided in an embodiment of the present application. Figure 2 As shown in , the startup method provided in the embodiment of the present application further includes: starting the target applet using the target control in the following manner:

[0072] S201: In response to a start-up operation for a target control triggered in the system desktop, access the target configuration page through the concatenated URL.

[0073] In this step, the target control of the target applet is displayed as an icon on the system desktop. When in use, by clicking this icon on the system desktop, the start operation for the target control can be triggered, and then the splicing URL generated in the configuration stage is obtained, and the target configuration page is accessed according to the splicing URL.

[0074] S202: When the webpage determines that the access method is access through the target control, redirect the access according to the jump protocol address in the spliced ​​URL, and send a startup notification for the target applet to the application platform.

[0075] In this step, the js code of the web page will determine the access method. When the web page determines that the access method is to access through the target control, that is, the application stage of the mini-program control, it will call redirect to the custom scheme url for access according to the jump protocol address Scheme Url in the spliced ​​URL, and the terminal device will automatically open the corresponding mini-program. Redirect access refers to redirecting the user from one URL address to another URL address. When the user enters a URL address in the browser, if the server returns a redirect response, the browser will automatically jump to the new URL address.

[0076] After redirecting to the Scheme Url, the operating system of the terminal device will automatically call up the application platform and send a startup notification for the target applet to the application platform to start the target applet.

[0077] In one example, when the code is implemented: the js code is deployed in the server URL HTML, and the purpose of opening the mini program can be achieved by redirecting the URL through the browser.

[0078] In this way, by judging the access method, in the configuration stage of the mini-program control, the configuration page can be generated by splicing the URL; in the application stage of the mini-program control, the URL can be redirected to the jump protocol address to start the target mini-program. This spliced ​​URL adaptively plays different roles in different stages to achieve the purpose of convenient operation.

[0079] S203: The application platform executes an operation of starting the target applet in response to the start notification.

[0080] Among them, the launch notification includes the ID of the target mini program; after receiving the launch notification, the application platform can determine which mini program to start and which mini program page to jump to based on the ID of the target mini program, and then execute the operation of launching the target mini program.

[0081] Furthermore, through research, the embodiments of the present application have found that in application platforms in certain specific fields, there are associations between mini-programs, which makes this method of quickly launching mini-programs have security vulnerabilities. For example, for an application platform in the financial field, such as a mobile banking APP, the launch of a mini-program must rely on the successful operation of the functions of the mini-programs that precede it. As an example, before using the transfer function provided by the transfer mini-program, the user's identity authority needs to be verified. Therefore, if the transfer mini-program is directly launched through the desktop icon, the necessary identity verification mini-program is bypassed, and the problem of exceeding authority occurs, leading to security vulnerabilities.

[0082] To solve this technical problem, step S203 may include:

[0083] The application platform responds to the mini-program ID in the startup notification and determines that the mini-program to be started is the target mini-program; determines the predecessor mini-programs that the target mini-program depends on based on the pre-set mini-program association relationship and the running status of the application platform; starts each predecessor mini-program in sequence; and starts the target mini-program based on the operation results of each predecessor mini-program.

[0084] Here, based on the pre-set mini-program association relationship, all the pre-installed mini-programs that the target mini-program depends on can be determined; then, considering that when the target mini-program is launched through the desktop control, the user may have completed some operations of the pre-installed mini-programs through the application platform. In order to avoid repeated operations and improve processing efficiency, the pre-installed mini-programs that have been successfully operated can be determined in combination with the running status of the application platform, and then all the pre-installed mini-programs that the target mini-program depends on can be compared to determine the mini-programs that have not been successfully operated before the current target mini-program, that is, the pre-installed mini-programs that the current target mini-program depends on. Then, each pre-installed mini-program is started in turn; and according to the operation results of each pre-installed mini-program, the target mini-program is started.

[0085] Here, for any front-end applet, when the operation result of the front-end applet is failure, such as password verification error, the target applet is refused to be started to ensure transaction security in financial scenarios; when the operation result of the front-end applet is success, it is determined whether the front-end applet is the previous front-end applet that the target applet depends on in the applet association relationship; if so, the target applet is started; if not, the next front-end applet of the front-end applet in the applet association relationship is started, and so on, until all the front-end applets that the target applet depends on are successfully operated, and then the target applet can be started.

[0086] Furthermore, the jump protocol address in the embodiment of the present application may be an encrypted address encrypted by a key. When the application platform generates the startup parameter information of the target applet, the jump protocol address may be encrypted by a national secret encryption algorithm. Accordingly, step S102 also includes:

[0087] The browser application decrypts and verifies the jump protocol address; if the verification is successful, the startup parameter information is spliced ​​into the page URL of the original configuration page pre-deployed by the server, and the spliced ​​URL is obtained and accessed.

[0088] Here, the browser application can decrypt and verify the jump protocol address through the agreed key and the corresponding decryption algorithm; if the decryption is successful and the decryption result is verified, it means that the request to generate the target control is initiated by an authorized user, and the startup parameter information is allowed to be spliced ​​into the page URL of the original configuration page pre-deployed on the server side, and the spliced ​​URL is obtained and accessed.

[0089] Correspondingly, for step S201, the browser also needs to concatenate the URL for decryption verification. If the verification passes, access to the target configuration page is allowed through the concatenated URL.

[0090] In this way, the application platform can also encrypt the jump protocol address in the startup parameter information, and the browser will decrypt and verify it to prevent the jump protocol address from being intercepted and tampered with by unauthorized users, thereby improving the startup security in financial scenarios.

[0091] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a small program startup device provided in an embodiment of the present application. Figure 3 As shown in , the starting device 300 includes:

[0092] The parameter generation module 310 is used to generate the startup parameter information of the target applet in response to the configuration operation for the target applet in the application platform; wherein the startup parameter information includes the jump protocol address of the target applet;

[0093] The page generation module 320 is used to generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server; wherein the target configuration page displays the configuration guidance information of the target applet;

[0094] A control generation module 330, configured to generate a target control of the target applet in response to a control adding operation for the target applet triggered in the configuration page;

[0095] The saving module 340 is used to save the target control to the system desktop of the terminal device, so as to start the target applet through the jump protocol address in response to a start operation for the target control triggered in the system desktop.

[0096] Further, when the page generation module 320 is used to generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed on the server side, the page generation module 320 is used to:

[0097] Use system functions to call browser applications;

[0098] The browser application splices the startup parameter information into the page URL of the original configuration page pre-deployed by the server, obtains the spliced ​​URL and accesses it;

[0099] When the webpage determines that the access mode is accessed through the application platform, the target configuration page is assembled according to the startup parameter information in the spliced ​​URL and the original configuration page.

[0100] Furthermore, the startup device 300 further includes: a startup module (not shown in the figure); the startup module is used to start the target applet using the target control in the following manner:

[0101] In response to a start-up operation for a target control triggered in the system desktop, accessing the target configuration page through the concatenated URL;

[0102] When the webpage determines that the access method is access through the target control, redirect the access according to the jump protocol address in the spliced ​​URL, and send a startup notification for the target applet to the application platform;

[0103] The application platform is controlled to execute an operation of starting the target applet in response to the start notification.

[0104] Further, when the startup module is used to control the application platform to execute the operation of starting the target applet in response to the startup notification, the startup module is used to:

[0105] Controlling the application platform to respond to the mini-program ID in the startup notification and determine that the mini-program to be started is the target mini-program;

[0106] Determine the respective pre-installed mini-programs that the target mini-program depends on according to the preset mini-program association relationship and the running status of the application platform;

[0107] Start each pre-installed app in turn;

[0108] The target mini-program is started according to the operation results of each preceding mini-program.

[0109] Furthermore, when the startup module is used to start the target mini-program according to the operation results of each pre-program, the startup module is used to:

[0110] For any pre-installed applet, when the operation result of the pre-installed applet is successful, determine whether the pre-installed applet is the previous pre-installed applet that the target applet depends on in the applet association relationship;

[0111] If yes, start the target applet;

[0112] If not, start the next preceding applet of the preceding applet in the applet association relationship.

[0113] Further, the jump protocol address is an encrypted address; when the page generation module 320 is used to generate and access the target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server, the page generation module 320 is also used to:

[0114] Invoke the browser application to decrypt and verify the jump protocol address;

[0115] If the verification is successful, the startup parameter information is spliced ​​into the page URL of the original configuration page pre-deployed on the server side to obtain the spliced ​​URL and access it.

[0116] Further, when the control generation module 330 is used to generate a target control of the target applet in response to a control adding operation for the target applet triggered in the configuration page, the control generation module 330 is used to:

[0117] In response to the control adding operation, a target control of the target applet is generated according to the startup parameter information and a progressive network application standard adapted by the operating system of the terminal device; wherein the startup parameter information also includes the ID, name and icon of the target applet.

[0118] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .

[0119] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 as well as Figure 2 The steps of the method for starting the mini-program in the method embodiment shown, the specific implementation method can be found in the method embodiment, and will not be repeated here.

[0120] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 as well as Figure 2 The steps of the method for starting the mini-program in the method embodiment shown, the specific implementation method can be found in the method embodiment, and will not be repeated here.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0122] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0125] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0126] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for starting a small program, characterized in that: Applied to a terminal device, the terminal device is installed with an application platform, and each application function provided in the application platform is implemented in the form of a mini-program; the startup method includes: In response to a configuration operation on a target applet in the application platform, generating startup parameter information of the target applet; wherein the startup parameter information includes a jump protocol address of the target applet; Generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server; wherein the target configuration page displays configuration guidance information of the target applet; In response to a control adding operation for the target applet triggered in the configuration page, generating a target control for the target applet; The target control is saved to the system desktop of the terminal device, so as to start the target applet through the jump protocol address in response to a start operation for the target control triggered in the system desktop.

2. The startup method according to claim 1, characterized in that: Generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed on the server, including: Use system functions to call browser applications; The browser application splices the startup parameter information into the page URL of the original configuration page pre-deployed by the server, obtains the spliced ​​URL and accesses it; When the webpage determines that the access mode is accessed through the application platform, the target configuration page is assembled according to the startup parameter information in the spliced ​​URL and the original configuration page.

3. The startup method according to claim 2, characterized in that: The startup method further includes starting the target applet using the target control in the following manner: In response to a start-up operation for a target control triggered in the system desktop, accessing the target configuration page through the concatenated URL; When the webpage determines that the access method is access through the target control, redirect the access according to the jump protocol address in the spliced ​​URL, and send a startup notification for the target applet to the application platform; The application platform executes an operation of starting the target applet in response to the start notification.

4. The startup method according to claim 3, characterized in that: The application platform executes an operation of starting the target applet in response to the start notification, including: The application platform determines, in response to the mini-program ID in the startup notification, that the mini-program to be started is the target mini-program; Determine the respective pre-installed mini-programs that the target mini-program depends on according to the preset mini-program association relationship and the running status of the application platform; Start each pre-installed app in turn; The target mini-program is started according to the operation results of each preceding mini-program.

5. The startup method according to claim 4, characterized in that: According to the operation results of each pre-programmed applet, the target applet is started, including: For any pre-app, when the operation result of the pre-app is successful, determine whether the pre-app is the previous pre-app that the target app depends on in the app association relationship; If yes, start the target applet; If not, start the next preceding applet of the preceding applet in the applet association relationship.

6. The startup method according to claim 2, characterized in that: The jump protocol address is an encrypted address; generating and accessing a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server, and further comprising: The browser application decrypts and verifies the jump protocol address; If the verification is successful, the startup parameter information is spliced ​​into the page URL of the original configuration page pre-deployed on the server side to obtain the spliced ​​URL and access it.

7. The startup method according to claim 2, characterized in that: In response to a control adding operation for the target applet triggered in the configuration page, generating a target control of the target applet, including: In response to the control adding operation, a target control of the target applet is generated according to the startup parameter information and a progressive network application standard adapted by the operating system of the terminal device; wherein the startup parameter information also includes the ID, name and icon of the target applet.

8. A device for starting a small program, characterized in that: Applied to a terminal device, the terminal device is installed with an application platform, and each application function provided in the application platform is implemented in the form of a mini-program; the starting device includes: A parameter generation module, configured to generate startup parameter information of the target applet in response to a configuration operation on the target applet in the application platform; wherein the startup parameter information includes a jump protocol address of the target applet; A page generation module, used to generate and access a target configuration page for the target applet according to the startup parameter information and the original configuration page pre-deployed by the server; wherein the target configuration page displays the configuration guidance information of the target applet; A control generation module, configured to generate a target control for the target applet in response to a control adding operation for the target applet triggered in the configuration page; A saving module is used to save the target control to the system desktop of the terminal device, so as to start the target applet through the jump protocol address in response to a start operation for the target control triggered in the system desktop.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the method for starting the mini-program as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for starting the applet as described in any one of claims 1 to 7 are executed.