A method, apparatus, device and storage medium for accessing applet links
By generating short links containing unique identifiers and using Hypertext Markup Language (HTML) files for verification, the problem of short validity periods and usage scenario limitations of WeChat Mini Program links has been solved, enabling Mini Programs to be opened both inside and outside WeChat and supporting multi-user access.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
- Filing Date
- 2022-09-20
- Publication Date
- 2026-06-23
AI Technical Summary
The URL Scheme links of WeChat Mini Programs have a short validity period and can only be accessed by one user. They can only be used outside of WeChat, which limits the use scenarios for multiple users and within WeChat.
By generating a short link containing a unique identifier, the server generates a new URL Scheme, and the terminal determines the valid time and environment based on the Hypertext Markup Language file, enabling the mini program to be opened both inside and outside WeChat.
It enables the use of mini-program links both inside and outside WeChat, with no limit on the number of users or the number of times, and supports simultaneous or non-simultaneous access by multiple users.
Smart Images

Figure CN115525360B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of the Internet, and in particular to a method, apparatus, device, and storage medium for accessing mini-program links. Background Technology
[0002] WeChat Mini Programs, a type of Mini Program, are applications that can be used without downloading or installing. Users can open the application by scanning a QR code or searching for it. They are characterized by requiring no installation or uninstallation, being usable and then gone, and taking up almost no phone memory.
[0003] For WeChat Mini Programs of any category, WeChat provides two types of links: URL Schemes and URL Links. These can open any page of the corresponding Mini Program in scenarios such as WeChat Work, SMS, email, and external web pages. However, both types of links provided by WeChat have many limitations. The maximum validity period for each link is only 30 days, each link can only be accessed by one user, and each link can only be used outside the WeChat app. Specifically, WeChat's own URL Scheme links cannot be used within WeChat; they can only be used outside of WeChat. Even when used outside of WeChat, once each independent URL Scheme is accessed by a user, only that user can access and open the corresponding Mini Program again. Other users cannot open the Mini Program again using the same URL Scheme. In short, while WeChat's own links can be sent to any number of users, once one user uses the link, other recipients cannot use it; it is mutually exclusive for multiple users.
[0004] In addition, URL Scheme cannot be used directly on the Android platform; a webpage must be built as an intermediary, which is very inconvenient. Summary of the Invention
[0005] One of the purposes of this application is to provide a method for accessing mini-program links, in order to solve the problems that links provided by mini-program providers such as WeChat are only valid for a maximum of thirty days, can only be accessed by one user, and can only be used outside of the mini-program's associated app.
[0006] A method for accessing a mini-program link includes:
[0007] The terminal receives short link information, which includes a unique identifier. The unique identifier is obtained based on the parameter information required to generate the short link, including the validity period.
[0008] In response to the user's operation command on the short link, the terminal initiates an access request to the server and receives a hypertext markup language file sent by the server, the hypertext markup language file including the parameter information;
[0009] The terminal renders the page based on the Hypertext Markup Language file;
[0010] The terminal performs the operation of opening the mini-program based on the access restrictions of the short link.
[0011] Furthermore, obtaining the unique identifier based on the parameter information required to generate the short chain includes:
[0012] The native URL Scheme link is obtained from the mini-program server using the parameter information.
[0013] Use the tag portion of the native URL Scheme link as a unique identifier.
[0014] Furthermore, the generation of short chains includes:
[0015] The unique identifier obtained from the parameter information is stored in the database along with the mapping relationship between the parameter information and the parameter information.
[0016] Short links containing unique identifiers are generated by assembling string templates in an interpreted scripting language.
[0017] Furthermore, the translated scripting language string template includes a domain name, path, and unique identifier.
[0018] Furthermore, the generation of the Hypertext Markup Language file sent by the server includes:
[0019] The unique identifier in the short link is used to obtain the parameter information of the mapping relationship from the database, and a new URLScheme is generated. All the text information of the new URL Scheme is injected into the preset hypertext markup language file template to generate the hypertext markup language file.
[0020] Furthermore, the terminal renders the page based on the Hypertext Markup Language file, including:
[0021] The browser of the terminal obtains the Hypertext Markup Language file and renders the page, and the rendering content is determined when the Hypertext Markup Language file is generated;
[0022] The terminal's browser triggers rendering based on the user's action of clicking the short link to open a webpage.
[0023] Furthermore, the terminal's operation of opening the mini-program based on the access restrictions of the short link includes:
[0024] The terminal's browser determines the validity period of the short link and the opening environment of the mini-program based on the Hypertext Markup Language file, and opens the mini-program in a corresponding manner according to the determined opening environment, specifically including...
[0025] The browser determines whether the short link is within a valid time. If so, it displays the page; otherwise, it prompts that the link has expired. If it is still within a valid time, the browser continues to determine whether it is being opened in the environment of the mini-program. If it is in the environment of the mini-program, it calls the interface to open the mini-program. If it is not in the environment of the mini-program, it opens the mini-program through a redirect URL scheme.
[0026] Furthermore, the browser determines whether the short link is within the valid time period, specifically including:
[0027] The server obtains the mapping relationship parameter information through the unique identifier, thereby obtaining the valid time and comparing whether the current time is within the valid time.
[0028] Furthermore, the browser continues to determine whether the app is being opened within the same environment as the mini-program, specifically including:
[0029] The browser built into the environment where the mini-program is located is used. The user agent parameters of the browser contain fields unique to the environment where the mini-program is located. The system determines whether the mini-program is being opened in the environment by checking whether the user agent parameters match the unique fields of WeChat in the hypertext markup language. If they match, the mini-program is being opened in the environment where the mini-program is located; otherwise, it is not.
[0030] Furthermore, the environment in which the mini-program is located is the WeChat environment.
[0031] On the other hand, the present invention also provides a device for accessing a mini-program link, comprising:
[0032] The information acquisition module is used to receive short link information, which includes a unique identifier. The unique identifier is obtained based on the parameter information required to generate the short link, including the validity period.
[0033] The processing module is used to respond to the user's operation command on the short link, initiate an access request to the server, and receive a hypertext markup language file sent by the server, wherein the hypertext markup language file includes the parameter information;
[0034] The page rendering module is used to render the page based on the Hypertext Markup Language file;
[0035] The execution module is used to perform the operation of opening the mini-program based on the access restrictions of the short link.
[0036] Thirdly, the present invention also provides an electronic device, the electronic device comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for accessing applet links as described in the first aspect.
[0037] Fourthly, the present invention also provides a computer storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the method for accessing applet links as described in the first aspect.
[0038] As can be seen from the above scheme, the method for accessing mini-program links provided in this application obtains a unique identifier after acquiring various parameters and embeds it into a short link. The server generates a new URL Scheme using the unique identifier to determine the mini-program page, which is simple and convenient. The short link is determined to be a long-term link with a validity period exceeding 30 days.
[0039] For links that open mini-programs, the system determines whether the mini-program is being opened within the WeChat environment. If it is, it calls the interface (specific API) provided by the WeChat toolkit (specific JSDK) to open the mini-program. If it is not within the WeChat environment, it opens the mini-program by redirecting to the URL Scheme generated in the previous step. Thus, compared with existing technologies, this application not only supports opening mini-programs outside of WeChat but also within WeChat, truly giving customers the choice. This allows operators to quickly push mini-programs while also providing convenient access for first-time users.
[0040] In summary, taking WeChat mini programs as an example, the links of this invention can actually be opened and used both inside and outside WeChat. When used within WeChat, there is no limit to the number of people or the number of times they can be used; when used outside WeChat, they are not mutually exclusive when sent to any user, but rather each user can open the link individually or at different times. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0042] Figure 1 A flowchart illustrating the method for accessing the mini-program link in this application;
[0043] Figure 2 This diagram illustrates the difference between the user's request to the server (i.e., the process after the user clicks a link) in this application and the process after the user clicks a link in the prior art. Figure 2 'a' is a flowchart of what happens after a user clicks a link in existing technology. Figure 2 b is a flowchart of the user's request to the server in this application, i.e., the process after the user clicks the link;
[0044] Figure 3 This is a detailed flowchart of the method for accessing the mini-program link in this application. Detailed Implementation
[0045] To make the above-mentioned objectives, features, and advantages of the present invention more apparent and understandable, the technical solution of the present invention will be further clearly and completely described below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0046] To facilitate users' access to information displayed by mini-programs during the operation of internet systems, this application provides a convenient and accurate method to bypass mini-program link restrictions. This implementation uses WeChat mini-programs as an example for illustration and description. It is also applicable to other platforms including Alipay, Douyin, Kuaishou, and Baidu, which support opening mini-programs using URL Schemes, and this implementation does not impose any restrictions on them.
[0047] Reference Figure 1 This invention illustrates a method for accessing mini-program links provided by an embodiment of the present invention, which may specifically include the following steps:
[0048] S1. The first terminal receives the short link information.
[0049] The short chain information includes a unique identifier, which is obtained based on the parameter information required to generate the short chain, including the validity period.
[0050] Specifically, the parameter information required to generate the short link, i.e., the parameter information of the target mini-program, is generally obtained by a second terminal. The user of the second terminal is the second user, who includes technical developers and operations personnel (i.e., non-developers). The operations personnel input this information from the second-user interface on the server side, specifically through a configuration interface provided by the internet system developers for non-developers. The parameter information includes the application identification (appid, a unique identifier assigned to each mini-program by WeChat), page path, page parameters, and validity period of the target WeChat mini-program (i.e., the mini-program to be opened). Operations personnel are those who use the internet system to provide operational services and will use the short link provided by the method of this invention when conducting promotional activities.
[0051] For ease of understanding, examples of the parameter information are provided below:
[0052] Mini Program appid: wx2fd91ed6ca5c850c
[0053] Mini Program page path: pages / index / index
[0054] Mini Program page parameters: XXX=xxx
[0055] Validity period: Permanent
[0056] Only by obtaining these parameters can the corresponding mini-program be opened accurately.
[0057] The "server-side" refers to the software code (computer program) implemented by internet system developers and provided to both the first and second users. It includes software code stored on a network server, which is executed via a computer network to implement the method described in this invention. The second users include operations personnel and technical developers. In the internet system, the "server-side interface" mainly involves two series of interfaces. The first series is the second-user-side interface (operations-side interface) provided to the second users, involving the generation and viewing of short links. The other series is the first-user-side interface (user-side interface) provided to the first users, containing only one interface: the interface that responds when a short link is clicked.
[0058] Based on the parameter information required to generate the short link, and the parameter information input from the server's operation side interface, a unique identifier is obtained.
[0059] When obtaining a unique identifier, the native URLScheme (such as a link weixin: / / xx / xxxxxx / xx=) is first obtained from WeChat by inputting parameter information. TICKET ), and then the tag (ticket) within it TICKET Part of it serves as a unique identifier (token). The mapping relationship between the unique identifier and parameter information is stored in the database. The tag " TICKET "In other embodiments, it may also be" ID "or" ABCD Other tags such as "".
[0060] The unique identifier is a string generated by the server. TICKET "" serves as a unique identifier for the first user to make a request. By carrying the unique identifier in the request, the parameter information of the mapping relationship can be retrieved from the database.
[0061] Generate a short link in a preset format from the unique identifier (e.g., a short link like https: / / xxxxxx.com / mp / ). TICKET The server (operations-side interface) then returns the short link to the operations staff. The operations staff then distributes the short link to the first terminal via WeChat messages, WeChat Work, SMS, email, etc.
[0062] S2. The first terminal initiates a request to the server based on the operation instruction of the first user clicking the short link, and receives the hypertext markup language file sent by the server.
[0063] The first user refers to the person who uses the first terminal.
[0064] Short links are created by shortening long URLs using programmatic calculations or other methods, converting them into concise URL strings. Clicking the short link achieves the same effect as the original URL. In this embodiment, the method for generating short links in a preset format is as follows: After the server-side interface (operation-side interface) completes the mapping of unique identifiers and data into the database, it generates the short link by assembling a string template using an interpreted scripting language. In this embodiment, the interpreted scripting language is specifically JavaScript, which means directly concatenating text according to a pre-agreed standard. The pre-agreed standard in this embodiment is https: / / xxxxxx.com / mp / TICKET The format is such that the content following the last ' / ' is a previously obtained unique identifier. TICKET Fill in the blanks. The first part is the domain name (xxxxxx.com), the second part is the path (mp), and the third part is the unique identifier. TICKET .
[0065] Shortened links will be automatically converted from text to links on the platforms required for operation. In this embodiment, the platforms required for operation include WeChat, WeChat Work, SMS, and email.
[0066] When a user clicks the short link anywhere, a request is sent to the server. Upon clicking, a request carrying a token is sent to the server (user-side interface). The server retrieves the mapping parameters from the database, requests a new, usable URL Scheme from the WeChat server, and assembles it into a structure containing... The HTML file containing the redirect tag is returned to the first user terminal. This is the purpose of storing the mapping relationship between the unique identifier and the parameter information in the database.
[0067] The "any location" refers to the location or platform where the user receives the short link distributed by the operator, so that the user does not need to create an intermediate webpage to redirect.
[0068] The server obtains parameter information through the unique identifier in the short link and generates a new URL Scheme. The new URL Scheme text information is injected into a Hypertext Markup Language (HTML) file and returned to the first terminal. Specifically, an HTML template, i.e. an HTML code file, is prepared in advance, in which a part of the content is reserved. In actual operation, after obtaining the new URL Scheme, the reserved position is replaced and occupied by the injected URL Scheme text information, generating the Hypertext Markup Language file, and then the replaced Hypertext Markup Language file is returned to the first terminal.
[0069] Below is an example of the reserved space in the pre-prepared HTML file code:
[0070] /
[0071] Preparation function
[0072] /
[0073] function docReady() {
[0074] Get UA
[0075] Determine if you are in a WeChat environment
[0076] Determine whether you are currently on a mobile or desktop device.
[0077] if (in a WeChat environment) {
[0078] Show the WeChat in-app navigation button
[0079] Obtain permission to use WeChat webpage open components
[0080] } else if (open on desktop) {
[0081] Display content that guides users to open it on their mobile devices.
[0082] } else {
[0083] Show WeChat external redirect button
[0084] }
[0085] }
[0086] /
[0087] When opening outside of WeChat, the jump function
[0088] /
[0089] function openWeapp(onBeforeJump: Trigger function for operations before jump) {
[0090] if (there are operations that need to be triggered before the jump) {
[0091] Operations required before triggering a jump
[0092] }
[0093] Set the tag to redirect link to / [[${model.jumpUrl}]] / (This is the temporary URL Scheme reserved location)
[0094] }
[0095] The text "(This is the reserved location for the new URL Scheme obtained temporarily)" indicates the reserved location in the pre-prepared HTML file code.
[0096] S3, The first terminal renders the page based on the Hypertext Markup Language file.
[0097] The browser used by the first terminal retrieves the Hypertext Markup Language (HTML) file and renders the page. The rendering content is determined when the server injects the HTML. When the user clicks the short link to open the webpage, the rendering operation is triggered. From the moment the link is clicked, the visualization results are output based on the various resources of the webpage corresponding to the URL Scheme.
[0098] S4. The first terminal performs the operation of opening the applet according to the access restriction conditions of the short link.
[0099] Specifically, it includes:
[0100] After the browser on the first terminal triggers rendering based on the first user's action of clicking the short link to open the webpage, it displays a complete page. The rendered content may present a page that can be redirected, or it may present a page that shows that the link has expired. In specific display, there is a page with a button to choose whether to redirect to the mini program, or a page that displays a prompt that the link has expired. The internal logic only has two types of pages.
[0101] During the rendering process, the browser on the first terminal determines whether the validity period of the short link is within the validity period based on the Hypertext Markup Language file. If it is, the page is displayed; otherwise, the link is prompted that it has expired. The server obtains the parameter information of the mapping relationship through the unique identifier, thereby obtaining the validity period and comparing it with the current time to see if it is within the validity period.
[0102] If the displayed page is within the valid time, the browser continues to determine whether it is being opened within the environment of the mini-program. If it is within the environment of the mini-program (in this embodiment, the mini-program's environment is the WeChat environment), the browser calls the interface (specific API) provided by the WeChat toolkit (specific JSDK) to open the mini-program. If it is not within the WeChat environment, the browser opens the mini-program by redirecting to the previously generated URL Scheme. After the user clicks the short link, during the process of the first user terminal obtaining the hypertext markup language file and rendering the page, the hypertext markup language file contains logic code for judgment, which is used to make the judgment by carrying automatically executed logic.
[0103] Browsers parse HTML files from top to bottom, and the logic code that makes the judgments is placed under a specific code tag in the HTML. When the browser parses the corresponding code tag, it executes the code, which then modifies the current HTML file, thereby changing the page display.
[0104] The operators include the validity period in the parameter information, such as "Validity Period: Permanently Valid" in the example above. This parameter information is stored in the database. To determine if the time is within the validity period, the server retrieves the mapping parameter information using a unique identifier, and then checks whether the current time has exceeded the expiration time specified in the parameter information.
[0105] When a short link is opened in WeChat, the built-in browser is used. This browser's User-Agent (UA) parameter contains fields unique to WeChat. By matching the UA parameter against these WeChat-specific fields in Hypertext Markup Language (HTML), it can be determined whether the link is being opened within the WeChat environment. If a match is found, the link is opened within WeChat; otherwise, it is not. The UA parameter is a special string header that allows the server to identify the first user's operating system and version, CPU type, browser and version, browser engine, browser language, and browser plugins.
[0106] Below is an example of a browser's User Agent (UA) parameter containing fields unique to WeChat:
[0107] var ua = navigator.userAgent.toLowerCase() / / Get the browser's User Agent (UA)
[0108] var isWXWork = ua.match( / wxwork / i) == 'wxwork' / / Determines if the application is in WeChat Work, checking if it uses the WeChat Work-specific field 'wxwork'.
[0109] var isWeixin = !isWXWork&&ua.match( / micromessenger / i)== 'micromessenger' / / Determines if it is not in WeChat Work and contains the micromessenger field, then it is in WeChat.
[0110] Access restrictions for short links can include not only judging the validity period of the short link and the opening environment of the mini-program, but also judging the operating system (Android or ISO), geographical location information, and the information of the first terminal device.
[0111] On the other hand, this embodiment also provides a device for accessing mini-program links, including:
[0112] The information acquisition module is used to receive short link information, which includes a unique identifier. The unique identifier is obtained based on the parameter information required to generate the short link, including the validity period.
[0113] The processing module is used to respond to the user's operation command on the short link, initiate an access request to the server, and receive a hypertext markup language file sent by the server, wherein the hypertext markup language file includes the parameter information;
[0114] The page rendering module is used to render the page based on the Hypertext Markup Language file;
[0115] The execution module is used to perform the operation of opening the mini-program based on the access restrictions of the short link.
[0116] This embodiment also provides an electronic device, the electronic device comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for accessing applet links as described in any of claims 1-10.
[0117] This embodiment also provides a computer storage medium storing a computer program, characterized in that, when executed by a processor, the computer program implements the method for accessing mini-program links as described in any one of claims 1 to 10. This facilitates the generation and retrieval of links on the server side and simplifies the operations of operators and users to the greatest extent possible.
[0118] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A method for accessing a WeChat Mini Program link, characterized in that, include: The terminal receives short link information, which includes a unique identifier. The unique identifier is obtained based on the parameter information required to generate the short link, including the validity period. In response to the user's operation command on the short link, the terminal initiates an access request to the server and receives a hypertext markup language file sent by the server, the hypertext markup language file including the parameter information; The terminal renders the page based on the Hypertext Markup Language file; The terminal executes the operation of opening the mini-program according to the access restrictions of the short link. Specifically, the terminal's browser determines the validity period of the short link and the opening environment of the mini-program based on the hypertext markup language file, and opens the mini-program in a corresponding manner according to the determined opening environment. Specifically, the browser determines whether the short link is within the validity period. If it is, the page is displayed; otherwise, a message indicating that the link has expired is displayed. If it is still within the validity period, the browser continues to determine whether it is being opened in the environment where the mini-program is located. If it is in the environment where the mini-program is located, the interface is called to open the mini-program. If it is not in the environment where the mini-program is located, the mini-program is opened by redirecting to a new URL scheme. The generation of the hypertext markup language file sent by the server includes: The unique identifier in the short link is used to obtain the parameter information of the mapping relationship from the database, and a new URLScheme is generated. All the text information of the new URL Scheme is injected into the preset hypertext markup language file template to generate the hypertext markup language file.
2. The method for accessing a mini-program link according to claim 1, characterized in that, The step of obtaining a unique identifier based on the parameter information required to generate the short chain includes: The native URL Scheme link is obtained from the mini-program server using the parameter information. Use the tag portion of the native URL Scheme link as a unique identifier.
3. The method for accessing a mini-program link according to claim 1, characterized in that, The generation of short chains includes: The unique identifier obtained from the parameter information is stored in the database along with the mapping relationship between the parameter information and the parameter information. Short links containing unique identifiers are generated by assembling string templates in an interpreted scripting language.
4. The method for accessing a mini-program link according to claim 3, characterized in that, The translated scripting language string template includes a domain name, path, and unique identifier.
5. The method for accessing a mini-program link according to claim 1, characterized in that, The terminal renders the page based on the Hypertext Markup Language file, including: The browser of the terminal obtains the Hypertext Markup Language file and renders the page, and the rendering content is determined when the Hypertext Markup Language file is generated; The terminal's browser triggers rendering based on the user's action of clicking the short link to open a webpage.
6. The method for accessing a mini-program link according to claim 1, characterized in that, The browser determines whether the shortened link is within the valid time period, specifically including: The server obtains the mapping relationship parameter information through the unique identifier, thereby obtaining the valid time and comparing whether the current time is within the valid time.
7. The method for accessing a mini-program link according to claim 1, characterized in that, The browser then determines whether the app is being opened within the same environment as the mini-program, specifically including: The browser built into the environment where the mini-program is located is used. The user agent parameters of the browser contain fields unique to the environment where the mini-program is located. The system determines whether the mini-program is being opened in the environment by checking whether the user agent parameters match the unique fields of WeChat in the hypertext markup language. If they match, the mini-program is being opened in the environment where the mini-program is located; otherwise, it is not.
8. The method for accessing a mini-program link according to claim 7, characterized in that, The mini-program is located in the WeChat environment.
9. A device for accessing a mini-program link, characterized in that, include: The information acquisition module is used to receive short link information, which includes a unique identifier. The unique identifier is obtained based on the parameter information required to generate the short link, including the validity period. The processing module is used to respond to the user's operation command on the short link, initiate an access request to the server, and receive a hypertext markup language file sent by the server, wherein the hypertext markup language file includes the parameter information; The page rendering module is used to render the page based on the Hypertext Markup Language file; The execution module is used to perform the operation of opening the mini-program according to the access restrictions of the short link. Specifically, the terminal's browser determines the validity period of the short link and the opening environment of the mini-program based on the hypertext markup language file, and opens the mini-program in a corresponding manner according to the determined opening environment. Specifically, the browser determines whether the short link is within the validity period. If it is, the page is displayed; otherwise, a message indicating that the link has expired is displayed. If it is still within the validity period, the browser continues to determine whether it is being opened in the environment where the mini-program is located. If it is in the environment where the mini-program is located, the interface is called to open the mini-program. If it is not in the environment where the mini-program is located, the mini-program is opened by redirecting to a new URL Scheme. The generation of the hypertext markup language file sent by the server includes: The unique identifier in the short link is used to obtain the parameter information of the mapping relationship from the database, and a new URLScheme is generated. All the text information of the new URL Scheme is injected into the preset hypertext markup language file template to generate the hypertext markup language file.
10. An electronic device, characterized in that, The electronic device includes: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method for accessing a mini-program link as described in any one of claims 1-8.
11. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for accessing applet links as described in any one of claims 1 to 8.