Unlock instant, AI-driven research and patent intelligence for your innovation.

Script packaging method and device, electronic equipment and storage medium

A technique for scripting and loading scripts, which is applied in version control, software engineering design, electrical digital data processing, etc., and can solve problems such as prone to errors and omissions

Pending Publication Date: 2020-08-28
WUBA
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] If the application contains a large number of scripts, using this manual packaging and updating method, errors and omissions are prone to occur no matter in the stage of determining the code repository corresponding to each script or in the stage of packaging the updated code.

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
  • Script packaging method and device, electronic equipment and storage medium
  • Script packaging method and device, electronic equipment and storage medium
  • Script packaging method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0070] figure 1 A flowchart of a script packaging method provided by the embodiment of this application, such as figure 1 As shown, the method includes:

[0071] S1. Receive a packaging instruction, the packaging instruction includes the entry file of the basic script in the application to be updated, the basic script is a script for realizing the basic functions of the application to be updated, and the entry file is the basic script The first file to be acce...

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 provides a script packaging method and device, electronic equipment and a storage medium, and the method comprises the steps: firstly receiving a packaging instruction which comprises anentry file of a basic script in a to-be-updated application program; and detecting whether a lower-layer on-demand loading script exists in the basic script or not by traversing each piece of entry information in the entry file, and if so, sequentially packaging each lower-layer on-demand loading script to obtain an updated unique identifier corresponding to each lower-layer on-demand loading script; then, updating the unique identifier corresponding to each lower-layer on-demand loading script in the basic script to obtain an updated basic script; and finally, packaging the updated basic script to obtain a unique identifier of the updated basic script so as to complete updating of the to-be-updated application.

Description

technical field [0001] The present application relates to the field of application program development, in particular to a script packaging method, device, electronic equipment and storage medium. Background technique [0002] In order to meet the requirements of cross-platform operation and dynamic update of applications, developers can usually develop applications with a cross-platform mobile application development framework (React Native, RN). The applications developed in this way are RN applications. program. Usually, an RN application program has multiple code warehouses, and each code warehouse corresponds to different scripts, and these scripts include basic scripts for realizing the basic functions of the RN application and on-demand loading scripts for realizing different needs of users. [0003] With the ever-changing needs of users and the optimization of various performances of the application, developers need to continuously update the application. In the pr...

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/65G06F8/658G06F8/71
CPCG06F8/65G06F8/658G06F8/71
Inventor 蒋宏伟
Owner WUBA