Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Web operation method, device and equipment for applet and medium

An operating method and a technology for small programs, applied in the fields of computer and information processing, can solve problems such as increasing the probability of failure in the process of generating Web-based small programs, and achieve the effect of saving development costs

Active Publication Date: 2020-04-14
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The method of the prior art requires the developer to first generate the web-based compilation package of the applet and upload it to the server successfully, so that the web-based applet can be realized, which increases the failure probability of the process of generating a web-based applet

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web operation method, device and equipment for applet and medium
  • Web operation method, device and equipment for applet and medium
  • Web operation method, device and equipment for applet and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] figure 1 It is a flow chart of a web-based running method for a small program provided in Embodiment 1 of this application. This embodiment is applicable to the situation where the small program is deployed on the web and the small program after the web-based deployment is run. This method can It is executed by a web-based running device of a small program, which can be implemented by software and / or hardware, and can generally be integrated in a small program server and used in conjunction with a client browser. Specifically, refer to figure 1 , the method specifically includes the following steps:

[0065] S110. Obtain the applet compilation package of the target applet.

[0066] Specifically, a small program is an application that can be used without downloading and installing. Users can open the application by "scanning" or "searching". It should be noted that the target applet involved in the embodiment of this application can be any applet, for example, it can ...

Embodiment 2

[0109] figure 2 It is a flow chart of a web-based running method of a small program provided by Embodiment 2 of this application. This embodiment refines the above-mentioned embodiment. Specifically, the front-end framework of the small program is run through the small program mirroring client to obtain the Web The page skeleton can also include: when detecting that the front-end framework of the applet calls the framework function provided by the web framework through the applet mirror client, sending a function call request to the web framework; The functional processing results fed back by the optimization framework are provided to the Mini Program front-end framework. refer to figure 2 , the method specifically includes the following steps:

[0110] S210. Obtain the applet compilation package of the target applet.

[0111] S220. Unpack the compiled applet package to obtain business codes and static resources corresponding to the target applet.

[0112] S230. Store th...

Embodiment 3

[0147] Figure 5 It is a schematic structural diagram of a web-based running device for small programs provided in Embodiment 3 of the present application. The device can execute the method for running small programs on the Web in any embodiment of the present application. The device can use software and / or hardware way to achieve, specifically, refer to Figure 5 , the device includes: an applet compilation package acquisition module 510 , a target applet web-based deployment module 520 and a applet compilation package rendering module 530 .

[0148] Wherein, the applet compilation package obtaining module 510 is used to obtain the applet compilation package of the target applet;

[0149] The target applet web deployment module 520 is used to deploy the target applet on the web according to the applet compilation package;

[0150] The applet compilation package rendering module 530 is configured to render the applet compilation package using the web framework according to t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a Web running method, device and equipment for an applet and a medium, and relates to the technical field of information processing. According to the specificimplementation scheme, a applet compiling package of a target applet is obtained; Web deployment is carried out on the target applet according to the applet compiling package; and when a browser access request corresponding to the target applet is detected, the applet compilation package is rendered by using a Web framework according to a Web deployment result of the target applet; and the rendering result is provided for a browser for display. According to the scheme of the embodiment of the invention, the Web deployment of the applet is realized, and the failure probability of the applet Web is greatly reduced on the basis of reducing the operation flow of the applet Web.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, in particular to the field of information processing technology, and specifically to a method, device, device, and medium for running a small program on the Web. Background technique [0002] With the continuous development of computer technology, application "small programs" that can be used without downloading and installing are widely used. The running carrier of the applet is generally other applications, and the web (web page) of the applet is the form of the applet running in the browser environment. With the help of the web, the applet running on the client can be run in the browser Down. [0003] At this stage, after the developer obtains the source code file of the applet, he first performs web-based compilation of the source code file of the applet to obtain a web-based compilation package, and uploads it to the server; When the web-based applet needs to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/41
CPCG06F8/41
Inventor 王说雷志兴
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products