CN110688124A - Applet processing method, device, electronic equipment and computer readable storage medium - Google Patents
Applet processing method, device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110688124A CN110688124A CN201910785984.1A CN201910785984A CN110688124A CN 110688124 A CN110688124 A CN 110688124A CN 201910785984 A CN201910785984 A CN 201910785984A CN 110688124 A CN110688124 A CN 110688124A
- Authority
- CN
- China
- Prior art keywords
- applet
- virtual
- service provider
- interface key
- navigation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to an applet processing method, an applet processing device, an electronic device and a computer readable storage medium. The method comprises the following steps: and receiving an interface key of the applet to be dispatched by using the applet distributing inlet, determining the applet to be the virtual applet if the interface key is the interface key used by the virtual applet, dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment to start the virtual applet. The embodiment of the invention uses the same dispatch protocol as the standard applet when dispatching the virtual applet, so that the entry forms of the virtual applet and the standard applet are consistent, the consistency of the whole interaction of the virtual applet and the standard applet is ensured when a user uses the virtual applet and the standard applet, the smooth switching of the entries can be facilitated, the uniform channel distribution of the applet can be realized, and conditions are provided for the possible subsequent conversion into the standard applet.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing an applet, an electronic device, and a computer-readable storage medium.
Background
Under the background that the traffic bonus period of the mobile internet is gradually finished, in order to reduce development cost and improve utilization efficiency of vertical or long tail traffic, small program development technologies are gradually introduced into various large applications (such as WeChat, Paibao, the current head of the day and the like).
In the process of promoting the small program transformation, besides the implementation mode of switching the newly-added service or part of the existing services to the small program, some existing services are not timely or temporarily changed into the implementation mode of the small program due to the reasons of workload or user experience, so that various problems of non-uniform whole interaction, non-uniform flow inlets and the like of the small program are caused, and the formation of uniform ecology of the small program is hindered.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems, the invention provides an applet processing method, an applet processing apparatus, an electronic device and a computer-readable storage medium.
In a first aspect, the present invention provides an applet processing method, including:
receiving an interface key of the applet to be dispatched by using the applet distributing entrance;
if the interface key is used by the virtual applet, determining the applet is the virtual applet;
dispatching the virtual applet to a pre-built virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment to start the virtual applet.
Optionally, the method further comprises:
judging whether the interface key meets a preset interface key coding rule corresponding to the virtual applet or not;
and if the interface key meets a preset interface key coding rule corresponding to the virtual applet, determining the interface key as the interface key used by the virtual applet.
Optionally, the method further comprises:
acquiring a page instance provided by a service provider through the virtual applet engine;
and injecting the page instance into a preset virtual small program container, and decorating the page instance by using the virtual small program container.
Optionally, acquiring, by the applet engine, a page instance provided by a service provider, includes:
registering a proxy object for the service provider in a preset virtual applet engine according to the interface key;
and if the proxy object is triggered by the service provider, acquiring the page instance by using the proxy object.
Optionally, the method further comprises:
sending the decorated page instance to the service provider by using the virtual applet container;
if the virtual applet engine receives navigation demand information returned by the service provider, judging whether the service provider needs to perform custom navigation or not through the virtual applet engine according to the navigation demand information;
and if the service provider does not need self-defined navigation, packaging the navigation station by using the virtual applet engine according to the context of the preset navigation action.
Optionally, the method further comprises:
if the service provider needs to perform customized navigation, obtaining the context of a customized navigation action from the service provider through the virtual applet engine;
and packaging the navigation station according to the self-defined context of the navigation action of the service provider.
Optionally, the virtual applet container or the virtual applet engine and the service provider perform information transfer in a data transparent transfer manner.
Optionally, the method further comprises:
and if the virtual applet exits, cleaning and maintaining the operating environment by using the virtual applet engine.
In a second aspect, the present invention provides an applet processing apparatus, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a sending module, wherein the first acquisition module is used for receiving an interface key of an applet to be dispatched by using an applet distributing inlet;
a first determining module, configured to determine that the applet is the virtual applet if the interface key is an interface key used by the virtual applet;
and the dispatching module is used for dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet and preparing a running environment so as to start the virtual applet.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the interface key meets a preset interface key coding rule corresponding to the virtual applet or not;
and the second determining module is used for determining the interface key as the interface key used by the virtual applet if the interface key meets a preset interface key coding rule corresponding to the virtual applet.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the page instance provided by the service provider through the virtual applet engine;
and the decoration module is used for injecting the page example into a preset virtual small program container and decorating the page example by using the virtual small program container.
Optionally, the second obtaining module includes:
a registration unit, configured to register a proxy object for the service provider in a preset virtual applet engine according to the interface key;
and the acquisition unit is used for acquiring the page instance by using the proxy object if the proxy object is triggered by the service provider.
Optionally, the apparatus further comprises:
the sending module is used for sending the decorated page instance to the service provider by using the virtual applet container;
the judging module is used for judging whether the service provider needs to perform custom navigation or not according to the navigation demand information by the virtual applet engine if the virtual applet engine receives the navigation demand information returned by the service provider;
and the first packaging module is used for packaging the navigation station by using the virtual applet engine according to the context of the preset navigation action if the service provider does not need custom navigation.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain a context of a customized navigation action from the service provider through the applet engine if the service provider needs to customize navigation;
and the second packaging module is used for packaging the navigation station according to the context of the self-defined navigation action of the service provider.
Optionally, the virtual applet container or the virtual applet engine and the service provider perform information transfer in a data transparent transfer manner.
Optionally, the apparatus further comprises:
and the cleaning and maintaining module is used for cleaning and maintaining the operating environment by using the virtual applet engine if the virtual applet exits.
In a third aspect, the present invention provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor configured to implement the applet processing method according to any one of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon a applet processing method program which, when executed by a processor, implements the steps of the applet processing method of any one of the first aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the invention has the following advantages:
in the method provided by the embodiment of the present invention, an applet distributing entry is used to receive an interface key of an applet to be distributed, and if the interface key is an interface key used by a virtual applet, the applet is determined to be the virtual applet, and further the virtual applet can be distributed to a pre-constructed virtual applet engine according to a distribution protocol used by a distribution standard applet, and an operating environment is prepared to start the virtual applet.
The embodiment of the invention distinguishes the virtual small program and the standard small program through the interface key, and dispatches the virtual small program to the pre-constructed virtual small program engine according to the dispatching protocol used by the dispatching standard small program when the small program to be distributed is determined to be the virtual small program.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flow chart of an applet processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another applet processing method according to one embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an applet processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
As shown in fig. 1, an applet processing method provided in an embodiment of the present invention, as shown in fig. 1, may include the following steps:
step S101, receiving an interface key of an applet to be distributed by using an applet distribution inlet;
in this step, after receiving the data segment, the applet distribution entry may parse the data segment including the interface key to obtain the interface key, where the data segment at least includes: an interface key.
In the embodiment of the present invention, the applet is divided into a virtual applet and a standard applet, the virtual applet is an applet that is used to implement a service function that cannot be changed to the applet or cannot be changed to the applet temporarily due to a workload or a user experience, the standard applet is an applet that has implemented a service function switch, and an interface key encoding rule of the standard applet is different from an interface key encoding rule of the virtual applet.
After step S101, the method may further include the steps of:
judging whether the interface key meets a preset interface key coding rule corresponding to the virtual applet or not; and if the interface key meets a preset interface key coding rule corresponding to the virtual applet, determining the interface key as the interface key used by the virtual applet.
Because the interface key coding rule of the standard applet is different from the interface key coding rule of the virtual applet, whether the interface key is the interface key used by the virtual applet can be determined by judging whether the interface key meets the preset interface key coding rule corresponding to the virtual applet.
Step S102, if the interface key is used by the virtual applet, determining the applet is the virtual applet;
step S103, dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment to start the virtual applet.
In an embodiment of the present invention, the virtual applet engine is pre-built according to a parent sub-Controller mechanism (Controller) provided by the operating system.
And the virtual applet engine is used for supporting a business party to register an agent object according to appKey, and the agent object is responsible for processing unified life cycle management, stack switching, menu items, events and the like.
For example, preparing a runtime environment may refer to creating a top-level navigation container or the like, where the navigation container is used to accommodate multiple page instances and support subsequent navigation operations, such as push, pop, and the like.
The method comprises the steps of receiving an interface key of the applet to be dispatched by using an applet distributing inlet, determining the applet to be the virtual applet if the interface key is the interface key used by the virtual applet, dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment to start the virtual applet.
The embodiment of the invention distinguishes the virtual small program and the standard small program through the interface key, and dispatches the virtual small program to the pre-constructed virtual small program engine according to the dispatching protocol used by the dispatching standard small program when the small program to be distributed is determined to be the virtual small program.
In another embodiment of the present invention, as shown in fig. 2, the applet processing method may further include the steps of:
step S201, acquiring a page instance provided by a service provider through the virtual applet engine;
in this step, a proxy object may be registered for the service provider in a preset virtual applet engine according to the interface key, and if the proxy object is triggered by the service provider, the proxy object is used to obtain the page instance.
In the embodiment of the invention, the initial data of the page instance and the applet page can be dynamically acquired through the proxy object in the virtual applet engine, so that the effects of flexibility and decoupling are realized.
Step S202, the page instance is injected into a preset virtual small program container, and the page instance is decorated by the virtual small program container.
In an embodiment of the present invention, the virtual applet container may be pre-created according to a parent sub-controller mechanism, and the virtual applet container may wrap any business side page that meets the specification.
The page instance is decorated, for example, by: decoration navigation, decoration title, decoration button, decoration menu item, decoration various styles and the like.
In another embodiment of the present invention, after the step S202, the following steps may be further included:
step S203, sending the decorated page instance to the service provider by using the virtual applet container.
Therefore, by providing the opportunity of customizing the requirements customized by the service party, the service party can customize the requirements customized by the service party, such as color, distance, file and the like.
And the virtual small program container and the service provider transmit information in a data transparent transmission mode.
Step S204, if the virtual small program engine receives the navigation demand information returned by the service provider, judging whether the service provider needs to define navigation by the virtual small program engine according to the navigation demand information;
in this step, the virtual applet container is returned by the service provider to the virtual applet engine as a wrapped controller (boxedVC).
And judging whether the service provider needs to define navigation by the virtual applet engine according to the navigation demand information, wherein the navigation demand information can be embodied by a callback protocol.
And the virtual applet engine and the service provider transmit information in a data transparent transmission mode.
If the service provider does not need to define navigation by user, step S205 is executed.
Step S205, packaging the navigation station by the virtual small program engine according to the context of the preset navigation action;
if the service provider needs to customize navigation, step S206 is executed.
Step S206, obtaining the self-defined context of the navigation action from the service provider through the virtual applet engine;
and step S207, packaging the navigation station according to the context of the navigation action customized by the service provider.
The context of the customized navigation action is exemplary, and can be an action (displaying, closing, returning and the like), so that the context environment is completely the same as the context environment before the service function is switched into the virtual applet, and the service party can be conveniently adapted.
And step S208, if the virtual small program exits, cleaning and maintaining the running environment by using the virtual small program engine.
In the embodiment of the present invention, the virtual applet engine is used to clean and maintain the operating environment, for example, views and controllers can be cleaned, unnecessary memory objects can be released, and the like.
The embodiment of the invention can quickly and seamlessly bring the original functions into the category of the small program, obviously reduces the cost of the small program of each vertical service, and can ensure that each vertical service is quickly brought into the category of the small program.
In still another embodiment of the present invention, there is also provided an applet processing apparatus, as shown in fig. 3, including:
the first obtaining module 11 is configured to receive an interface key of an applet to be distributed by using an applet distribution entry;
a first determining module 12, configured to determine that the applet is the virtual applet if the interface key is an interface key used by the virtual applet;
and the dispatching module 13 is used for dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment so as to start the virtual applet.
The method comprises the steps of receiving an interface key of the applet to be dispatched by using an applet distributing inlet, determining the applet to be the virtual applet if the interface key is the interface key used by the virtual applet, dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment to start the virtual applet.
The embodiment of the invention distinguishes the virtual small program and the standard small program through the interface key, and dispatches the virtual small program to the pre-constructed virtual small program engine according to the dispatching protocol used by the dispatching standard small program when the small program to be distributed is determined to be the virtual small program.
In yet another embodiment of the present invention, the apparatus further comprises:
the judging module is used for judging whether the interface key meets a preset interface key coding rule corresponding to the virtual applet or not;
and the second determining module is used for determining the interface key as the interface key used by the virtual applet if the interface key meets a preset interface key coding rule corresponding to the virtual applet.
In yet another embodiment of the present invention, the apparatus further comprises:
the second acquisition module is used for acquiring the page instance provided by the service provider through the virtual applet engine;
and the decoration module is used for injecting the page example into a preset virtual small program container and decorating the page example by using the virtual small program container.
In another embodiment of the present invention, the second obtaining module includes:
a registration unit, configured to register a proxy object for the service provider in a preset virtual applet engine according to the interface key;
and the acquisition unit is used for acquiring the page instance by using the proxy object if the proxy object is triggered by the service provider.
In yet another embodiment of the present invention, the apparatus further comprises:
the sending module is used for sending the decorated page instance to the service provider by using the virtual applet container;
the judging module is used for judging whether the service provider needs to perform custom navigation or not according to the navigation demand information by the virtual applet engine if the virtual applet engine receives the navigation demand information returned by the service provider;
and the first packaging module is used for packaging the navigation station by using the virtual applet engine according to the context of the preset navigation action if the service provider does not need custom navigation.
In yet another embodiment of the present invention, the apparatus further comprises:
a third obtaining module, configured to obtain a context of a customized navigation action from the service provider through the applet engine if the service provider needs to customize navigation;
and the second packaging module is used for packaging the navigation station according to the context of the self-defined navigation action of the service provider.
In another embodiment of the present invention, the virtual applet container or the virtual applet engine and the service provider perform information transmission by data transparent transmission.
In yet another embodiment of the present invention, the apparatus further comprises:
and the cleaning and maintaining module is used for cleaning and maintaining the operating environment by using the virtual applet engine if the virtual applet exits.
In another embodiment of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the small program processing method in the embodiment of the method when executing the program stored in the memory.
According to the electronic device provided by the embodiment of the invention, the processor realizes the playing operation of acquiring the video by executing the program stored in the memory, confirms the corresponding frame rate reduction strategy according to the playing operation, and plays the video after adjusting the frame data corresponding to the video data according to the frame rate reduction strategy, so that the playing device can play the video well.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In yet another embodiment of the present invention, there is also provided a computer-readable storage medium having stored thereon an applet processing method program which, when executed by a processor, implements the steps of the applet processing method described in the aforementioned method embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (ssd)), among others.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (18)
1. An applet processing method, comprising:
receiving an interface key of the applet to be dispatched by using the applet distributing entrance;
if the interface key is used by the virtual applet, determining the applet is the virtual applet;
dispatching the virtual applet to a pre-built virtual applet engine according to a dispatching protocol used by a dispatching standard applet, and preparing a running environment to start the virtual applet.
2. The applet processing method according to claim 1, characterized in that the method further comprises:
judging whether the interface key meets a preset interface key coding rule corresponding to the virtual applet or not;
and if the interface key meets a preset interface key coding rule corresponding to the virtual applet, determining the interface key as the interface key used by the virtual applet.
3. The applet processing method according to claim 1, characterized in that the method further comprises:
acquiring a page instance provided by a service provider through the virtual applet engine;
and injecting the page instance into a preset virtual small program container, and decorating the page instance by using the virtual small program container.
4. The applet processing method according to claim 3, characterized in that the obtaining of the instance of the page provided by the service provider by the virtual applet engine comprises:
registering a proxy object for the service provider in a preset virtual applet engine according to the interface key;
and if the proxy object is triggered by the service provider, acquiring the page instance by using the proxy object.
5. The applet processing method according to claim 3, characterized in that the method further comprises:
sending the decorated page instance to the service provider by using the virtual applet container;
if the virtual applet engine receives navigation demand information returned by the service provider, judging whether the service provider needs to perform custom navigation or not through the virtual applet engine according to the navigation demand information;
and if the service provider does not need self-defined navigation, packaging the navigation station by using the virtual applet engine according to the context of the preset navigation action.
6. The applet processing method according to claim 5, characterized in that the method further comprises:
if the service provider needs to perform customized navigation, obtaining the context of a customized navigation action from the service provider through the virtual applet engine;
and packaging the navigation station according to the self-defined context of the navigation action of the service provider.
7. The applet processing method according to claim 5 or 6, characterized in that the virtual applet container or the virtual applet engine communicates with the service provider in a data transparent manner.
8. The applet processing method according to claim 3, characterized in that the method further comprises:
and if the virtual applet exits, cleaning and maintaining the operating environment by using the virtual applet engine.
9. An applet processing apparatus, characterized in that the apparatus comprises:
the system comprises a first acquisition module, a second acquisition module and a sending module, wherein the first acquisition module is used for receiving an interface key of an applet to be dispatched by using an applet distributing inlet;
a first determining module, configured to determine that the applet is the virtual applet if the interface key is an interface key used by the virtual applet;
and the dispatching module is used for dispatching the virtual applet to a pre-constructed virtual applet engine according to a dispatching protocol used by a dispatching standard applet and preparing a running environment so as to start the virtual applet.
10. The applet processing device according to claim 9, characterized in that the device further comprises:
the judging module is used for judging whether the interface key meets a preset interface key coding rule corresponding to the virtual applet or not;
and the second determining module is used for determining the interface key as the interface key used by the virtual applet if the interface key meets a preset interface key coding rule corresponding to the virtual applet.
11. The applet processing device according to claim 9, characterized in that the device further comprises:
the second acquisition module is used for acquiring the page instance provided by the service provider through the virtual applet engine;
and the decoration module is used for injecting the page example into a preset virtual small program container and decorating the page example by using the virtual small program container.
12. The applet processing apparatus according to claim 11, characterized in that the second acquisition module comprises:
a registration unit, configured to register a proxy object for the service provider in a preset virtual applet engine according to the interface key;
and the acquisition unit is used for acquiring the page instance by using the proxy object if the proxy object is triggered by the service provider.
13. The applet processing device according to claim 11, characterized in that the device further comprises:
the sending module is used for sending the decorated page instance to the service provider by using the virtual applet container;
the judging module is used for judging whether the service provider needs to perform custom navigation or not according to the navigation demand information by the virtual applet engine if the virtual applet engine receives the navigation demand information returned by the service provider;
and the first packaging module is used for packaging the navigation station by using the virtual applet engine according to the context of the preset navigation action if the service provider does not need custom navigation.
14. The applet processing device according to claim 13, characterized in that the device further comprises:
a third obtaining module, configured to obtain a context of a customized navigation action from the service provider through the applet engine if the service provider needs to customize navigation;
and the second packaging module is used for packaging the navigation station according to the context of the self-defined navigation action of the service provider.
15. The applet processing device according to claim 13 or 14, wherein the virtual applet container or the virtual applet engine communicates with the service provider in a data transparent manner.
16. The applet processing device according to claim 11, characterized in that the device further comprises:
and the cleaning and maintaining module is used for cleaning and maintaining the operating environment by using the virtual applet engine if the virtual applet exits.
17. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the applet processing method according to any one of claims 1 to 8 when executing the program stored in the memory.
18. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a applet processing method program, which when executed by a processor implements the steps of the applet processing method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910785984.1A CN110688124B (en) | 2019-08-23 | 2019-08-23 | Applet processing method, apparatus, electronic device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910785984.1A CN110688124B (en) | 2019-08-23 | 2019-08-23 | Applet processing method, apparatus, electronic device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110688124A true CN110688124A (en) | 2020-01-14 |
CN110688124B CN110688124B (en) | 2023-03-17 |
Family
ID=69108649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910785984.1A Active CN110688124B (en) | 2019-08-23 | 2019-08-23 | Applet processing method, apparatus, electronic device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110688124B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708990A (en) * | 2020-05-15 | 2020-09-25 | 支付宝(杭州)信息技术有限公司 | Applet starting method, signature method, device, server and medium |
WO2022000869A1 (en) * | 2020-06-28 | 2022-01-06 | 北京百度网讯科技有限公司 | Batch processing method and apparatus for mini programs, and electronic device and readable storage medium |
US12014170B2 (en) | 2020-06-28 | 2024-06-18 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Mini program batch processing method and apparatus, electronic device, and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107483509A (en) * | 2017-10-09 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | A kind of auth method, server and readable storage medium storing program for executing |
US20180139198A1 (en) * | 2016-11-14 | 2018-05-17 | Coupa Software Incorporated | Key based authorization for programmatic clients |
CN108845806A (en) * | 2018-07-03 | 2018-11-20 | 百度在线网络技术(北京)有限公司 | Small routine distribution method, device, server and storage medium |
CN109522726A (en) * | 2018-10-16 | 2019-03-26 | 平安万家医疗投资管理有限责任公司 | Method for authenticating, server and the computer readable storage medium of small routine |
CN109918166A (en) * | 2019-03-12 | 2019-06-21 | 天津字节跳动科技有限公司 | Applet process method, apparatus and electronic equipment |
CN109960541A (en) * | 2019-03-15 | 2019-07-02 | 上海连尚网络科技有限公司 | Start method, equipment and the computer storage medium of small routine |
CN110046000A (en) * | 2019-04-24 | 2019-07-23 | 上海连尚网络科技有限公司 | Small routine operation method and device |
-
2019
- 2019-08-23 CN CN201910785984.1A patent/CN110688124B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180139198A1 (en) * | 2016-11-14 | 2018-05-17 | Coupa Software Incorporated | Key based authorization for programmatic clients |
CN107483509A (en) * | 2017-10-09 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | A kind of auth method, server and readable storage medium storing program for executing |
CN108845806A (en) * | 2018-07-03 | 2018-11-20 | 百度在线网络技术(北京)有限公司 | Small routine distribution method, device, server and storage medium |
CN109522726A (en) * | 2018-10-16 | 2019-03-26 | 平安万家医疗投资管理有限责任公司 | Method for authenticating, server and the computer readable storage medium of small routine |
CN109918166A (en) * | 2019-03-12 | 2019-06-21 | 天津字节跳动科技有限公司 | Applet process method, apparatus and electronic equipment |
CN109960541A (en) * | 2019-03-15 | 2019-07-02 | 上海连尚网络科技有限公司 | Start method, equipment and the computer storage medium of small routine |
CN110046000A (en) * | 2019-04-24 | 2019-07-23 | 上海连尚网络科技有限公司 | Small routine operation method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708990A (en) * | 2020-05-15 | 2020-09-25 | 支付宝(杭州)信息技术有限公司 | Applet starting method, signature method, device, server and medium |
WO2022000869A1 (en) * | 2020-06-28 | 2022-01-06 | 北京百度网讯科技有限公司 | Batch processing method and apparatus for mini programs, and electronic device and readable storage medium |
US12014170B2 (en) | 2020-06-28 | 2024-06-18 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Mini program batch processing method and apparatus, electronic device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110688124B (en) | 2023-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110688124B (en) | Applet processing method, apparatus, electronic device and computer readable storage medium | |
CN109542614B (en) | Resource allocation method, device, terminal and storage medium | |
US8676984B2 (en) | Live directory of cloud tenants to enable inter-tenant interaction via cloud | |
CN106528193B (en) | A kind of application update method and terminal | |
JP2018531436A5 (en) | Method, apparatus and system for managing data flow of processing nodes in autonomous vehicles | |
US20110289172A1 (en) | Managing notification messages | |
US9661064B2 (en) | Systems and methods for deploying legacy software in the cloud | |
US10897500B2 (en) | Synchronizing a device using push notifications | |
CN103038724B (en) | Communication control console with component aggregates | |
JP2015515660A (en) | Multiple media devices accessing cloud computing service storage via a gateway server or service | |
CN107835444A (en) | Information interacting method, device, voice frequency terminal and computer-readable recording medium | |
CN102754387B (en) | The system and method for multimedia conferencing is carried out between the telephone plant allowing UPnP and WAN equipment | |
TW201235072A (en) | Method and apparatus for gaming based on mobile terminal | |
CN111224806A (en) | Resource allocation method and server | |
CN110650203B (en) | Data transmission method, device and system, computer storage medium and electronic equipment | |
CN110808922A (en) | Message processing method and device, storage medium and electronic equipment | |
US11232487B2 (en) | Real-time consumer interaction via media broadcast | |
KR20150070140A (en) | Solution for distributed application life-cycle management | |
CN110928706B (en) | Applet interaction method and device, electronic equipment and storage medium | |
CN106954191B (en) | Broadcast transmission method, apparatus and terminal device | |
CN111614705B (en) | Method and system for service decision distribution among multiple terminal devices | |
CN100414993C (en) | Method for realizing IGRS AV server device | |
CN114726657A (en) | Method and device for interrupt management and data receiving and sending management and intelligent network card | |
CN109656467A (en) | Data transmission system, data interactive method, device and the electronic equipment of cloud network | |
CN107306290A (en) | A kind of session session sharing methods and application server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |