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

Applet conversion method and device

A conversion method and small program technology, applied in the field of small program conversion method and device, can solve the problem of high development cost

Active Publication Date: 2020-04-07
SUNING CLOUD COMPUTING CO LTD
View PDF1 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]However, using "forward conversion" to convert and distribute WeChat applets to other applet platforms, although the effect of one set of code and multi-terminal multiplexing can be achieved, but Requires at least one redevelopment under the same framework, which leads to higher development costs

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
  • Applet conversion method and device
  • Applet conversion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] The embodiment of the present invention provides a small program conversion method, which is used to convert the WeChat small program into a target small program of the target platform. figure 1 As shown, the method includes the following steps:

[0053] Step S1, convert multiple code files of the WeChat applet into multiple initial code files supported by the target platform according to the obtained conversion instructions.

[0054] Wherein, the conversion instruction is used to instruct the WeChat applet to be converted into a target applet on the target platform, and the conversion instruction carries the project name and directory path of the WeChat applet, the project name and release directory path of the target applet.

[0055] In practical application, the interface of the applet converter can be provided to the user, so that the user can input the project name and directory path of the WeChat applet, and the project name and release directory path of the targe...

Embodiment 2

[0089] An embodiment of the present invention provides a small program conversion device for converting a WeChat small program into a target small program on a target platform. Refer to figure 2 As shown, the device includes the following:

[0090] The first conversion module 21 is used for converting a plurality of code files of the WeChat applet into a plurality of initial code files supported by the target platform according to the obtained conversion instructions;

[0091] A determining module 22, configured to determine a plurality of functional components corresponding to a plurality of initial code files;

[0092] The identification module 23 is used to identify the component category of each functional component, and the component category includes a general functional component, a functional component to be downgraded and a functional component to be replaced;

[0093] The second conversion module 24 is used to convert a plurality of initial code files ac...

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 invention discloses a applet conversion method and device and belongs to the technical field of computer software, and is used for converting a WeChat applet into a target applet, and the method comprises the steps: converting a plurality of code files of the WeChat applet into a plurality of initial code files supported by a target platform according to an obtained conversion instruction, anddetermining a plurality of functional components corresponding to the plurality of initial code files; identifying a component category of each functional component, wherein the component category comprises a general functional component, a to-be-degraded functional component and a to-be-replaced functional component; converting the plurality of initial code files according to a conversion rule corresponding to the component category of each functional component to obtain a plurality of target code files of the target applet; and outputting the plurality of target code files to generate a target applet. According to the embodiment of the invention, the WeChat applet can be quickly converted and distributed to other applet platforms as standard software engineering, so that the developmentcost can be reduced, and the maximum reuse of the WeChat applet is realized.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a small program conversion method and device. Background technique [0002] A mini program is an application that can be used without downloading and installing. It realizes the dream of the application being "at your fingertips". Users can open the application by scanning or searching, and it also embodies the concept of "go away after use". , users do not need to care about whether to install too many applications. [0003] WeChat mini-programs came into being earlier, and many companies have developed WeChat mini-programs to assist in the operation and promotion of the company's products or businesses. At present, Internet giants such as BAT, ByteDance, and Alipay have launched small program platforms one after another. If enterprises want to operate and promote on different platforms, they need to repeatedly develop small programs for different platforms. In order...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/51
CPCG06F8/51
Inventor 马珂高楠
Owner SUNING CLOUD COMPUTING 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