An implementation method and device of an applet associated with a third-party platform and a medium

By receiving and storing the characteristic value of the third-party platform's identifier code, the mini-program can be associated with the data table of the third-party platform, which solves the problems of slow loading and resource waste in mini-programs and achieves fast and efficient loading.

CN116578799BActive Publication Date: 2026-05-05ZHUHAI FANTAI GEEK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHUHAI FANTAI GEEK TECH CO LTD
Filing Date
2023-05-09
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

In existing technologies, when a mini-program is associated with a third-party platform, loading the page causes problems such as page lag, slow loading, and wasted resources.

Method used

By receiving requests from developers to obtain third-party platform identifiers, extracting feature values ​​and storing them in a data table, the association between the mini-program and the third-party platform is realized. When users scan, the data table is directly queried and the mini-program is loaded, avoiding page re-loading.

Benefits of technology

It enables fast and efficient loading of mini-programs, solving the problems of webpage lag and resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116578799B_ABST
    Figure CN116578799B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and medium for associating a mini-program with a third-party platform. The method includes: receiving a request from a mini-program developer to associate the mini-program with a specified third-party platform; obtaining a third-party platform identifier code from the specified third-party platform; extracting features from the third-party platform identifier code to determine its feature values; and storing the feature values, the third-party platform identifier code, and the mini-program's identifier code in a data table to determine the association relationship between the mini-program and the specified third-party platform. This achieves the technical effect of fast and efficient loading of the mini-program, thereby solving the technical problems in existing technologies, such as page lag, slow loading, and resource waste caused by the need to load a page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more specifically, to a method, apparatus, and medium for linking a mini-program with a third-party platform. Background Technology

[0002] With the increasing development of mini-programs, how to promote them has become a major issue. Currently, developers connect mini-programs with third-party platforms by loading pages. However, when users scan or access mini-program data, the need to load pages can lead to technical problems such as page lag, slow loading, and resource waste. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a method, apparatus, and medium for linking a mini-program with a third-party platform.

[0004] According to one aspect of the present invention, a method for associating a mini-program with a third-party platform is provided, comprising:

[0005] Receive requests from developers of mini-programs to associate their mini-programs with a designated third-party platform, and obtain the third-party platform identification code from the designated third-party platform;

[0006] Feature extraction is performed on the third-party platform identification code to determine its feature value;

[0007] The feature value, the third-party platform identifier, and the mini-program identifier are stored in a data table to determine the association between the mini-program and the specified third-party platform.

[0008] Optionally, it also includes:

[0009] Return the third-party identification code of the associated mini-program to the developer's terminal.

[0010] Optionally, it also includes:

[0011] In response to a user scanning a third-party identification code associated with a mini-program, feature extraction is performed on the third-party platform identification code used by the user to obtain feature values;

[0012] The system queries the data table based on feature values, and if a relationship is found, it returns the mini-program to the user.

[0013] Optionally, it also includes:

[0014] If no relationship is found, return an error message to the user.

[0015] According to another aspect of the present invention, an apparatus for associating a mini-program with a third-party platform is provided, comprising:

[0016] The receiving module is used to receive requests from developers of mini-programs to associate their mini-programs with a specified third-party platform, and to obtain the third-party platform identification code from the specified third-party platform.

[0017] The first determining module is used to extract features from the third-party platform identification code and determine the feature value of the third-party platform identification code;

[0018] The second determination module is used to store the feature value, the third-party platform identifier code, and the mini-program identifier code into a data table to determine the association between the mini-program and the specified third-party platform.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, the storage medium storing a computer program for performing the methods described in any of the above aspects of the present invention.

[0020] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method described in any of the preceding aspects of the present invention.

[0021] Therefore, by associating the mini-program with a third-party identification code, the present invention allows users to obtain the mini-program by scanning the identification code during the promotion process without having to go through H5 pages or other pages. The mini-program can be loaded simply by querying a data table, achieving the technical effect of fast and efficient loading of the mini-program. This solves the technical problems in the prior art that may cause webpage lag, slow loading, and resource waste due to the need to load a page. Attached Figure Description

[0022] Exemplary embodiments of the present invention can be more fully understood by referring to the following figures:

[0023] Figure 1 This is a flowchart illustrating an exemplary embodiment of the present invention regarding a method for associating a mini-program with a third-party platform.

[0024] Figure 2 This is a schematic diagram illustrating the process of associating and using a mini-program with a third-party platform, provided by an exemplary embodiment of the present invention.

[0025] Figure 3 This is a schematic diagram of the structure of an implementation device for associating a mini-program with a third-party platform, provided in an exemplary embodiment of the present invention;

[0026] Figure 4 This is the structure of an electronic device provided in an exemplary embodiment of the present invention. Detailed Implementation

[0027] Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments of the present invention. It should be understood that the present invention is not limited to the exemplary embodiments described herein.

[0028] It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps described in these embodiments do not limit the scope of the invention.

[0029] Those skilled in the art will understand that the terms "first," "second," etc., in the embodiments of the present invention are only used to distinguish different steps, devices, or modules, and do not represent any specific technical meaning, nor do they indicate a necessary logical order between them.

[0030] It should also be understood that in the embodiments of the present invention, "multiple" can refer to two or more, and "at least one" can refer to one, two or more.

[0031] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more unless explicitly defined or given contrary instructions in the context.

[0032] Furthermore, the term "and / or" in this invention is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this invention generally indicates that the preceding and following related objects have an "or" relationship.

[0033] It should also be understood that the description of the various embodiments in this invention emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.

[0034] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.

[0035] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.

[0036] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.

[0037] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0038] The embodiments of this invention can be applied to electronic devices such as terminal devices, computer systems, and servers, and can operate together with a wide range of other general-purpose or special-purpose computing system environments or configurations. Well-known examples of terminal devices, computing systems, environments, and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, and servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments including any of the above systems, etc.

[0039] Electronic devices such as terminal devices, computer systems, and servers can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. Typically, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are executed by remote processing devices linked through communication networks. In distributed cloud computing environments, program modules can reside on local or remote computing system storage media, including storage devices.

[0040] Exemplary methods

[0041] Figure 1 This is a flowchart illustrating a method for associating a mini-program with a third-party platform, provided by an exemplary embodiment of the present invention. This embodiment can be applied to electronic devices, such as... Figure 1 As shown, the method 100 for linking a mini-program with a third-party platform includes the following steps:

[0042] Step 101: Receive a request from the developer of the mini-program to associate the mini-program with a designated third-party platform, and obtain the third-party platform identification code from the designated third-party platform.

[0043] The third-party platform identification code can be a QR code, a link, or other unique identifier; there are no restrictions here. A mini-program can be a webpage, video, or other content promoted by the developer.

[0044] refer to Figure 2 As shown, in this invention, the platform receives a request from the developer to associate with a specified third-party platform, and then sends a request third-party platform identifier code to the specified third-party platform.

[0045] Step 102: Extract features from the third-party platform identifier code to determine its feature value.

[0046] Step 103: Store the feature value, the third-party platform identifier code, and the mini-program identifier code in the data table to determine the association between the mini-program and the specified third-party platform.

[0047] Specifically, the feature value, the third-party platform identifier, and the mini-program identifier are associated with the data table to determine the association between the mini-program and the specified third-party platform.

[0048] Optionally, it also includes:

[0049] Return the third-party identification code of the associated mini-program to the developer's terminal.

[0050] Specifically, such as Figure 2 As shown, the identification code after associating the mini-program with the third-party platform is returned to the developer's terminal. The developer can use this third-party identification code for promotion, such as by pasting QR codes on posters.

[0051] Optionally, it also includes:

[0052] In response to a user scanning a third-party identification code associated with a mini-program, feature extraction is performed on the third-party platform identification code used by the user to obtain feature values;

[0053] The system queries the data table based on feature values, and if a relationship is found, it returns the mini-program to the user.

[0054] Specifically, such as Figure 2 As shown, when a user scans through an associated platform, the associated platform determines whether the third-party platform and the mini-program are associated by querying the relationship in the data table, without needing to load it through H5 or other page reposting methods.

[0055] Optionally, it also includes:

[0056] If no relationship is found, return an error message to the user.

[0057] Specifically, if the third-party platform used by the user is not associated with the mini-program, an error message will be returned to the user.

[0058] Therefore, by associating the mini-program with a third-party identification code, the present invention allows users to obtain the mini-program by scanning the identification code during the promotion process without having to go through H5 pages or other pages. The mini-program can be loaded simply by querying a data table, achieving the technical effect of fast and efficient loading of the mini-program. This solves the technical problems in the prior art that may cause webpage lag, slow loading, and resource waste due to the need to load a page.

[0059] Exemplary device

[0060] Figure 3 This is a schematic diagram of the structure of an implementation device for associating a mini-program with a third-party platform, provided in an exemplary embodiment of the present invention. For example... Figure 3 As shown, the device 300 includes:

[0061] The receiving module 310 is used to receive a request from the developer of the mini-program to associate the mini-program with a specified third-party platform, and to obtain the third-party platform identification code from the specified third-party platform.

[0062] The first determining module 320 is used to extract features from the third-party platform identification code and determine the feature value of the third-party platform identification code.

[0063] The second determining module 330 is used to store the feature value, the third-party platform identifier code, and the mini-program identifier code into a data table to determine the association between the mini-program and the specified third-party platform.

[0064] Optionally, the device 300 further includes:

[0065] The first return module is used to return the third-party identification code of the associated mini-program to the developer's terminal.

[0066] Optionally, the device 300 further includes:

[0067] The acquisition module is used to respond to the user's operation of scanning the third-party identification code of the associated mini-program, extract features from the third-party platform identification code used by the user to obtain feature values;

[0068] The second return module is used to query the data table based on feature values, and if a relationship is found, it returns the mini-program to the user.

[0069] Optionally, the device 300 further includes:

[0070] The third return module is used to return an error message to the user if no relationship is found.

[0071] Exemplary electronic devices

[0072] Figure 4This is the structure of an electronic device provided in an exemplary embodiment of the present invention. For example... Figure 4 As shown, the electronic device 40 includes one or more processors 41 and a memory 42.

[0073] The processor 41 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0074] The memory 42 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 41 may execute the program instructions to implement the methods of the software programs of the various embodiments of the present invention described above, and / or other desired functions. In one example, the electronic device may also include an input device 43 and an output device 44, these components being interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0075] In addition, the input device 43 may also include, for example, a keyboard, a mouse, etc.

[0076] The output device 44 can output various information to the outside. The output device 44 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0077] Of course, for the sake of simplicity, Figure 4 Only some of the components of the electronic device relevant to the present invention are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0078] Exemplary computer program products and computer-readable storage media

[0079] In addition to the methods and apparatus described above, embodiments of the present invention may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of the present invention described in the "Exemplary Methods" section above.

[0080] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of the present invention. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0081] Furthermore, embodiments of the present invention may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps of the methods for information mining of historical change records according to various embodiments of the present invention as described in the "Exemplary Methods" section above.

[0082] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0083] The basic principles of the present invention have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in the present invention are merely examples and not limitations, and should not be considered as essential features of each embodiment of the present invention. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the present invention to the necessity of employing the aforementioned specific details.

[0084] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0085] The block diagrams of devices, systems, devices, and systems involved in this invention are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, systems, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0086] The methods and systems of the present invention may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of the present invention are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, the present invention may also be implemented as a program recorded on a recording medium, the program comprising machine-readable instructions for implementing the methods according to the present invention. Thus, the present invention also covers recording media storing programs for performing the methods according to the present invention.

[0087] It should also be noted that in the systems, apparatus, and methods of the present invention, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered equivalents of the present invention. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the invention. Therefore, the invention is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0088] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the invention to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.

Claims

1. A method for linking a mini-program with a third-party platform, characterized in that, include: Receive a request from a developer of a mini-program to associate the mini-program with a designated third-party platform, and obtain the third-party platform identification code from the designated third-party platform; Feature extraction is performed on the third-party platform identifier code to determine the feature value of the third-party platform identifier code; The feature value, the third-party platform identifier, and the mini-program identifier are stored in a data table to determine the association between the mini-program and the designated third-party platform. The third-party platform identifier associated with the mini-program will be returned to the developer's terminal; In response to a user scanning the third-party platform identifier code associated with the mini-program, feature extraction is performed on the third-party platform identifier code used by the user to scan, and feature values ​​are obtained. The system queries the data table based on the feature values, and if a relationship is found, it returns the mini-program to the user. If the relationship is not found, an error message is returned to the user.

2. A device for linking a mini-program with a third-party platform, characterized in that, include: The receiving module is used to receive requests from developers of mini-programs to associate the mini-program with a designated third-party platform, and to obtain the third-party platform identification code from the designated third-party platform. The first determining module is used to extract features from the third-party platform identification code and determine the feature value of the third-party platform identification code. The second determining module is used to store the feature value, the third-party platform identifier code, and the mini-program identifier code of the mini-program into a data table, and determine the association between the mini-program and the designated third-party platform; The first return module is used to return the third-party platform identification code associated with the mini-program to the developer terminal; The acquisition module is used to extract features from the third-party platform identification code used by the user to scan the third-party platform identification code associated with the mini-program in response to the user's operation. The second return module is used to query the data table based on the feature value, and if a relationship is found, return the mini-program to the user. The third return module is used to return an error message to the user if the association is not found.

3. A computer-readable storage medium, characterized in that, The storage medium stores a computer program for performing the method as described in claim 1.

4. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method as described in claim 1.

Citation Information

Patent Citations

  • Method and device for starting applet based on graphic code

    CN113268287A