CN-116578799-B - Method, device and medium for realizing association of applet and third party platform
Abstract
The invention discloses a method, a device and a medium for realizing association of an applet and a third party platform. The method comprises the steps of receiving a request of a developer for developing the applet for associating the applet with a specified third party platform, obtaining a third party platform identification code from the specified third party platform, extracting characteristics of the third party platform identification code to determine characteristic values of the third party platform identification code, storing the characteristic values, the third party platform identification code and the applet identification code of the applet into a data table, and determining association relation between the applet and the specified third party platform. The technical effect of fast and efficiently loading the applet is realized, and the technical problems of webpage blocking, slow loading, resource waste and the like possibly caused by the need of loading the webpage in the prior art are solved.
Inventors
- YANG TAO
- XU PENG
Assignees
- 深圳凡泰极客科技有限责任公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230509
Claims (4)
- 1. A method for implementing association of an applet with a third party platform, comprising: receiving a request of a developer for developing an applet for associating the applet with a specified third party platform, and acquiring a third party platform identification code from the specified third party platform; Extracting the characteristics of the third-party platform identification code, and determining the characteristic value of the third-party platform identification code; Storing the characteristic value, the third-party platform identification code and the applet identification code of the applet into a data table, and determining the association relationship between the applet and the appointed third-party platform; Returning the third party platform identification code associated with the applet to a developer terminal; responding to the operation of the user for scanning the third-party platform identification code associated with the applet, and extracting the characteristics of the third-party platform identification code used by the user for scanning to obtain a characteristic value; inquiring from the data table according to the characteristic value, and returning the applet to the user under the condition that the association relation is inquired; and returning error information to the user under the condition that the association relation is not queried.
- 2. An apparatus for implementing association of an applet with a third party platform, comprising: the receiving module is used for receiving a request of a developer for developing the applet for associating the applet with a specified third party platform and acquiring a third party platform identification code from the specified third party platform; The first determining module is used for extracting the characteristics of the third-party platform identification code and determining the characteristic value of the third-party platform identification code; The second determining module is used for storing the characteristic value, the third-party platform identification code and the applet identification code of the applet into a data table and determining the association relationship between the applet and the appointed third-party platform; the first return module is used for returning the third party platform identification code associated with the applet to the developer terminal; The acquisition module is used for responding to the operation of the user for scanning the third-party platform identification code related to the applet, extracting the characteristics of the third-party platform identification code used by the user for scanning, and acquiring the characteristic value; the second return module is used for inquiring from the data table according to the characteristic value, and returning the applet to the user under the condition that the association relation is inquired; And the third return module is used for returning error information to the user under the condition that the association relation is not inquired.
- 3. A computer readable storage medium, characterized in that the storage medium stores a computer program for executing the method as claimed in claim 1.
- 4. An electronic device, the electronic device comprising: A processor; A memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method as recited in claim 1.
Description
Method, device and medium for realizing association of applet and third party platform Technical Field The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a medium for implementing association of an applet with a third party platform. Background Along with the development of the applet, how to realize the popularization of the applet becomes a main problem, at present, a developer realizes the association between the applet and a third party platform in a page loading mode, and when a user scans or the applet data, the technical problems of web page blocking, slow loading, resource waste and the like can be caused due to the fact that the page needs to be loaded. Disclosure of Invention Aiming at the defects of the prior art, the invention provides a method, a device and a medium for realizing association of an applet and a third party platform. According to one aspect of the present invention, there is provided a method for implementing association of an applet with a third party platform, comprising: receiving a request of a developer for developing the applet for associating the applet with a specified third party platform, and acquiring a third party platform identification code from the specified third party platform; Extracting the characteristics of the third-party platform identification code, and determining the characteristic value of the third-party platform identification code; and storing the characteristic value, the third-party platform identification code and the applet identification code of the applet into a data table, and determining the association relationship between the applet and the appointed third-party platform. Optionally, the method further comprises: and returning the third party identification code of the associated applet to the developer terminal. Optionally, the method further comprises: Responding to the operation of the user for scanning the third party identification code of the associated applet, and extracting the characteristics of the third party platform identification code used by the user for scanning to obtain a characteristic value; And inquiring from the data table according to the characteristic value, and returning an applet to the user under the condition that the association relation is inquired. Optionally, the method further comprises: And returning error information to the user under the condition that the association relation is not queried. According to another aspect of the present invention, there is provided an implementation apparatus for associating an applet with a third party platform, including: the receiving module is used for receiving a request of a developer for developing the applet for associating the applet with the appointed third party platform and acquiring a third party platform identification code from the appointed third party platform; The first determining module is used for extracting the characteristics of the third-party platform identification code and determining the characteristic value of the third-party platform identification code; And the second determining module is used for storing the characteristic value, the third-party platform identification code and the applet identification code of the applet into the data table and determining the association relationship between the applet and the appointed third-party platform. According to a further aspect of the present invention there is provided a computer readable storage medium storing a computer program for performing the method according to any one of the above aspects of the present invention. According to yet another aspect of the present invention, there is provided an electronic device comprising a processor, a memory for storing instructions executable by the processor, the processor being adapted to read the executable instructions from the memory and execute the instructions to implement the method according to any of the above aspects of the present invention. Therefore, the invention associates the applet with the third party identification code, and in the popularization process, the user does not need to reload the applet through pages such as H5 and the like in the process of scanning the identification code, and can load the applet only through a data table query mode, thereby realizing the technical effect of fast and efficient loading of the applet, and further solving the technical problems of web page blocking, slow loading, resource waste and the like possibly caused by the need of loading the pages in the prior art. Drawings Exemplary embodiments of the present invention may be more completely understood in consideration of the following drawings: FIG. 1 is a flow chart of an implementation method of associating an applet with a third party platform according to an exemplary embodiment of the invention; FIG. 2 is a flow diagram of an applet associated with and used by a third party