Tapping a contactless card to a computing device to provision a virtual number
US-2021201296-A1 · Jul 1, 2021 · US
US11461111B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11461111-B2 |
| Application number | US-202017255045-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jul 14, 2020 |
| Priority date | Jan 9, 2020 |
| Publication date | Oct 4, 2022 |
| Grant date | Oct 4, 2022 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The embodiment of the present disclosure provides a method and an apparatus for running applets, an electronic device and a storage medium. The method includes obtaining uniform resource identifier (URI) information of the applet based on an opening request when the opening request of the applet is received, wherein a format of the URI comprises a protocol name of a target boot protocol and content corresponding to the protocol, and the target boot protocol is a universal boot protocol applied to a plurality of host applications when opening the applet; analyzing the URI information based on grammatical format description rules of the target boot protocol, to obtain a first parameter and a second parameter; obtaining an execution file package of the applet based on the first parameter; and rendering corresponding page resources in the execution file package based on the second parameter. Therefore, the opening of the applet across clients and servers may be unified with the pre-defined target boot protocol, which provides an important prerequisite for the multi-terminal operation of the applet and ensures that the applet has multi-terminal operation capabilities.
Opening claim text (preview).
What is claimed is: 1. A method for running an applet, comprising: obtaining uniform resource identifier (URI) information of the applet based on an opening request when the opening request of the applet is received, wherein a format of the URI comprises a protocol name of a target boot protocol and content corresponding to the protocol, and the target boot protocol is a universal boot protocol applied to a plurality of host applications when opening the applet; analyzing the URI information based on grammatical format description rules of the target boot protocol, to obtain a first parameter and a second parameter; obtaining an execution file package of the applet based on the first parameter; and rendering corresponding page resources in the execution file package based on the second parameter; wherein the first parameter comprises an applet identifier and an applet version number; obtaining the execution file package of the applet based on the first parameter comprises: determining whether an execution file package corresponding to the applet is present in a cache based on the applet identifier in the first parameter; determining whether a version number of the execution file package corresponding to the applet is consistent with the applet version number in the first parameter in case that the execution file package corresponding to the applet is present in the cache; and obtaining the execution file package of the applet from the cache in case that the version number of the execution file package corresponding to the applet in the cache is consistent with the applet version number in the first parameter. 2. The method according to claim 1 wherein the first parameter further comprises a service identifier corresponding to the applet and a port number of the service; the method further comprises: generating a download request for the execution file package of the applet based on the applet identifier, the applet version number, the service identifier corresponding to the applet and the port number of the service in the first parameter, in case that the execution file package corresponding to the applet is not present in the cache and/or the version number of the execution file package corresponding to the applet in the cache is inconsistent with the applet version number in the first parameter; and obtaining the execution file package of the applet from a server corresponding to the service based on the download request. 3. The method according to claim 2 , wherein an appropriate transmission service for the download request is selected based on different business scenes; and wherein the transmission service comprises at least any one of a hypertext transfer protocol (http), a hypertext transfer secure protocol (https) and a full duplex communication protocol (websocket). 4. The method according to claim 1 , wherein the second parameter is configured to represent a parameter of a specific position in a specific page of the applet to be opened; rendering corresponding page resources in the execution file package based on the second parameter, comprises: determining a corresponding page to be displayed based on the parameter of the specific position in the specific page of the applet to be opened, and obtaining a business logic code file corresponding to the page to be displayed from the execution file package of the applet; and performing page rendering based on the corresponding business logic code file, to display the page to be displayed. 5. The method according to claim 4 , wherein performing page rendering based on the corresponding business logic code file, to display the page to be displayed, comprises: obtaining an applet framework code file corresponding to the page to be displayed from an applet front-end framework code packaging file; obtaining a first execution result file corresponding to the business logic code file from a cache, and obtaining a second execution result file corresponding to the applet framework code file; and displaying the page to be displayed based on the first execution result file and the second execution result file. 6. The method according to claim 5 , further comprising: compiling and executing the business logic code file to obtain a third execution result file corresponding to the business logic code file, in case that the first execution result file corresponding to the business logic code file from the cache is not obtained; and storing the third execution result file in the cache. 7. The method according to claim 1 , wherein the second parameter comprises a path of an applet page to be opened, a page parameter of the page to be opened and an anchor point of the page to be opened, wherein the page parameter of the page to be opened refers to a query term parameter used when a search query is requested in the page to be opened, and the anchor point of the page to be opened refers to a specific position in the page to be opened. 8. The method according to claim 1 , wherein obtaining uniform resource identifier (URI) information of the applet based on the opening request, comprises: identifying a fixed identification mark of the target boot protocol from the opening request; obtaining the URI information of the applet from a corresponding position in the opening request based on a position of the fixed identification mark. 9. An electronic device, comprising: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory is configured to store instructions executable by the at least one processor, when the instructions are executed by the at least one processor, the at least one processor is configured to execute a method for running an applet, the method comprising: obtaining uniform resource identifier (URI) information of the applet based on an opening request when the opening request of the applet is received, wherein a format of the URI comprises a protocol name of a target boot protocol and content corresponding to the protocol, and the target boot protocol is a universal boot protocol applied to a plurality of host applications when opening the applet; analyzing the URI information based on grammatical format description rules of the target boot protocol, to obtain a first parameter and a second parameter; obtaining an execution file package of the applet based on the first parameter; and rendering corresponding page resources in the execution file package based on the second parameter; wherein the first parameter comprises an applet identifier and an applet version number obtaining the execution file package of the applet based on the first parameter comprises: determining whether an execution file package corresponding to the applet is present in a cache based on the applet identifier in the first parameter; determining whether a version number of the execution file package corresponding to the applet is consistent with the applet version number in the first parameter in case that the execution file package corresponding to the applet is present in the cache; and obtaining the execution file package of the applet from the cache in case that the version number of the execution file package corresponding to the applet in the cache is consistent with the applet version number in the first parameter. 10. The electronic device according to claim 9 wherein the first parameter further comprises a service identifier corresponding to the applet and a port number of the service; the method further comprises: generating a download request for the execution file package of the applet based on the applet identifier, the applet version number, the service identifier corresponding to the a
Adapting program code to run in a different environment; Porting · CPC title
Remote procedure calls [RPC]; Web services · CPC title
Software deployment · CPC title
Bootstrapping (security arrangements therefor G06F21/57) · CPC title
using information identifiers, e.g. uniform resource locators [URL] · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.