Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
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
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
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
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.