CN113282291A - Method, device and equipment for generating small program and storage medium - Google Patents

Method, device and equipment for generating small program and storage medium Download PDF

Info

Publication number
CN113282291A
CN113282291A CN202110646249.XA CN202110646249A CN113282291A CN 113282291 A CN113282291 A CN 113282291A CN 202110646249 A CN202110646249 A CN 202110646249A CN 113282291 A CN113282291 A CN 113282291A
Authority
CN
China
Prior art keywords
page
plug
applet
configuration information
function
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.)
Pending
Application number
CN202110646249.XA
Other languages
Chinese (zh)
Inventor
杨斌
黄克旺
王生龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Doumeng Beijing Technology Co ltd
Original Assignee
Doumeng Beijing Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Doumeng Beijing Technology Co ltd filed Critical Doumeng Beijing Technology Co ltd
Priority to CN202110646249.XA priority Critical patent/CN113282291A/en
Publication of CN113282291A publication Critical patent/CN113282291A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The application provides a method, a device, equipment and a storage medium for generating an applet, and the specific implementation scheme is as follows: determining a small program page template according to the global configuration information; determining the page content of the plug-in function page in the applet page template according to the type of the uploaded plug-in; determining the window expression of the plug-in function page according to the page configuration information; and generating the applet according to the applet page template, the page content of the plug-in function page and the window expression. The problems that the time consumption for generating the small programs is long and the small programs are difficult to maintain due to redundancy of the project main packages, low packaging speed and excessive idle work are solved.

Description

Method, device and equipment for generating small program and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a device, and a storage medium for generating an applet.
Background
Software-as-a-Service (SaaS) is a completely innovative Software application model that began to emerge in the 21 st century as internet technology developed and application Software matured. The small programs can be provided through SaaS service, and service providers provide a set of private domain flow precipitation platforms, with the gradual increase of client types (education institutions, micro-merchants and entity factories). With the increase of different applet main bodies, wherein the comparison of the core uploading atlas and the video function requires a plurality of white lists, various domain names and the like each time, which also causes redundancy of project main packages, slow packaging speed, excessive idle work, long time consumption for generating the applet and difficult maintenance.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for generating an applet, which are used for solving the problems in the related art, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for generating an applet, including:
determining a small program page template according to the global configuration information;
determining page contents of plug-in function pages in the small program page template according to the types of the uploaded plug-ins;
determining the window expression of the plug-in function page according to the page configuration information;
and generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
In one embodiment, determining page contents of a plug-in function page in a applet page template according to an upload plug-in type includes:
and calling the corresponding applet plug-in the applet page template, and determining the page content of the corresponding plug-in function page in the applet page template according to the type of the uploaded plug-in.
In one embodiment, determining a window representation of a plug-in function page based on page configuration information includes:
acquiring page configuration information;
and configuring an entry of the calling applet plug-in according to the page configuration information, and determining the window expression of the plug-in function page.
In one embodiment, the method further comprises: determining page contents of other pages in the applet page template according to the page configuration information
In one embodiment, a program page template includes: an arrangement order of at least one page and at least one page of the applet.
In a second aspect, an embodiment of the present application provides an applet generating apparatus, including:
the template generating module is used for determining a small program page template according to the global configuration information;
the processing module is used for determining the page content of the plug-in function page in the small program page template according to the type of the uploaded plug-in;
the plug-in function page configuration module is used for determining the window expression of the plug-in function page according to the page configuration information;
and the applet generating module is used for generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
In one embodiment, a processing module comprises:
and the plug-in calling unit is used for calling the corresponding applet plug-in the applet template so as to determine the corresponding plug-in function page in the applet template according to the type of the uploaded plug-in.
In one embodiment, a plug-in function page configuration module, comprising:
the acquisition unit is used for acquiring page configuration information;
and the display unit is used for configuring an entry of the calling applet plug-in according to the page configuration information and determining the window expression of the plug-in function page.
In one embodiment, the apparatus further comprises:
and the other page configuration module is used for determining page contents of other pages in the applet page template according to the page configuration information.
In a third aspect, an embodiment of the present application provides an applet generating apparatus, where the apparatus includes: a memory and a processor. Wherein the memory and the processor are in communication with each other via an internal connection path, the memory is configured to store instructions, the processor is configured to execute the memory-stored instructions, and the processor is configured to cause the processor to perform the method of any of the above-described aspects when executing the memory-stored instructions.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the computer program runs on a computer, the method in any one of the above-mentioned aspects is executed.
The advantages or beneficial effects in the above technical solution at least include:
and determining a small program page template according to the global configuration information, and determining the page content of the plug-in function page in the small program page template according to the type of the uploaded plug-in. And determining the window representation of the plug-in function page through the page configuration information, thereby generating the applet according to the applet page template, the page content of the plug-in function page and the window representation, and further avoiding the problems that the generation of the applet is long in time consumption and difficult to maintain due to redundant project main packages, low packaging speed and excessive idle work.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present application will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
FIG. 1 is a flow diagram of a method of generation of an applet, according to one embodiment of the present disclosure;
FIG. 2 is a flow diagram of a method of generation of an applet, according to one embodiment of the present disclosure;
FIG. 3 is a flow diagram of a method of generation of an applet, according to one embodiment of the present disclosure;
FIG. 4 is a schematic block diagram of an apparatus for generating applets according to an embodiment of the present disclosure;
fig. 5 is a schematic block diagram of an applet generation apparatus according to an embodiment of the present disclosure.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present application. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Fig. 1 shows a flowchart of a generation method of an applet according to an embodiment of the present application. As shown in fig. 1, the generation method of the applet may include:
and S11, determining the small program page template according to the global configuration information.
Wherein, the small procedure page template includes: an arrangement order of at least one page and at least one page of the applet. For example, pages reserved in the applet, the order of arrangement of pages on tabbar, etc.
And S12, determining the page content of the plug-in function page in the applet page template according to the type of the uploaded plug-in.
And S13, determining the window expression of the plug-in function page according to the page configuration information.
Where the window representation is represented as page content, i.e. the page content of the applet that the user sees when applying the applet, e.g. navigation bar color, labels and window background color. Illustratively, the windows appear as different presentations of the page UI.
And S14, generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
Note that the Applet may be an Applet, and may be an Applet written in Java programming Language, and the Applet may be included in an HTML (Hyper Text Markup Language) page in substantially the same manner as an image is included in an HTML page. The applet may be specifically an applet that runs on a platform provided by an Application (APP) such as a wechat applet, a QQ applet, and a pay-for-all applet.
It should be noted that the above method may be executed at a client, for example, a client of courier and post, a client of an e-commerce platform, a client of an educational and training institution, a client of a catering platform, a client of a travel institution, a client of a medical and health institution, a client of a transportation service providing institution, a client of a health service providing institution, and the like.
It should be noted that the global configuration information may be input by the user, or may be selected by the user according to a component provided in the component library of the saas server. For example, the component library includes: search bar, scrolling bulletin, menu, shop window, text navigation, etc. Specifically, the global configuration information is used to configure the page composition of the applet and the functional modules on the page, thereby determining the applet page template. For example, the page composition of the applet is configured according to the global configuration information as follows: increasing or reducing pages, types of function modules on the pages, the number of the function modules, the arrangement sequence of the function modules, a default starting home page of the applet, a page path list, the expression of a global default window, the expression of a bottom tab column, network timeout time, whether a debug mode is started, whether a plug-in function page is started, a sub-package pre-download rule, specifying the tab column through a tab bar configuration item, clicking a button, jumping a link, clicking an event, whether to receive a clicking action and the like, thereby determining the page template of the applet.
The page configuration information may be user input. The page configuration information is used to configure the window representation of the current page. For example, a json file may be used to configure the window representation of the current page (which may be a plug-in function page), it being understood that json files may also configure other pages in the applet than plug-in function pages. The content in the app is overwritten with the content in the json file during the page configuration. The file content of a json file is a json object, where json is a data structure.
Illustratively, the page configuration information may configure the content of pictures or characters and the like in each functional module in the applet, whether to click an action, the type of the current page click action, the title color and the background color of the current page navigation bar, whether to start a pull-down refresh, and the like.
In this embodiment, the global configuration information and the page configuration information are two independent configuration information, that is, independent data packets, and the page configuration information of different pages may also be independent data packets, for example, each plug-in function page of the applet corresponds to one data packet, and the page content of the plug-in function page of the applet is determined according to the page configuration information in the data packets. In practical application, a user can respectively configure the global page information and the page configuration information according to the needs of the user, and customization of the applet is realized.
It should be noted that a plug-in is a functional component that can be added to an applet for direct use. A developer can develop a plug-in as an applet for use by other applets. Meanwhile, the applet developer can directly use the plug-in the applet without repeated development, and richer services are provided for users.
In step S11, the global configuration information may be determined according to user types, such as education, tourism, dining, and medical. The corresponding global configuration information can be set by each type of user, and the user can modify the global configuration information according to the needs of the user, for example, increase or decrease pages. Thereby generating a customized applet page template.
In step S12, the plug-in used can be determined by uploading the plug-in type, and the corresponding plug-in is selected to be inserted into the page template. Then, when the user uses the applet, the applet plug-in can be directly called, so that the plug-in function page jumps to the corresponding plug-in for display.
In step S13, the page configuration information may be determined according to user types, such as education, tourism, dining, and medical. Corresponding page configuration information may be set for each type of user. The user can modify the page configuration information according to the self requirement, so that each page in the small program page template is set. Illustratively, since the applet page template is provided with the plug-in function page, a button needs to be provided on the page, and the clicking action of the button can be set according to the user requirement, for example, single click or double click. When the applet is used, a user can call the content of the required plug-in the plug-in function page by clicking a button, so that the plug-in function page displays the plug-in content. And different users can call plug-ins with each other, thereby improving user experience. For example, if the A plug-in is set by the A education institution, the A education institution and the B education institution can share the plug-in, and the B education institution can still call the A plug-in according to the requirement.
In summary, according to the global configuration information, the applet page template is determined, and different plug-ins are determined by uploading plug-in types, so that the plug-in function page displays the contents of the plug-ins. And determining the window representation of the plug-in function page through the page configuration information, thereby generating the applet according to the applet page template, the page content of the plug-in function page and the window representation, and further avoiding the problems of redundant project main packages, low packaging speed and excessive idle work, which causes long time consumption for generating the applet. Meanwhile, only one template can be maintained, the maintenance difficulty is reduced, and the maintenance cost is reduced.
In one implementation, FIG. 2 illustrates a flow diagram of a method for generating an applet, according to an embodiment of the present application. As shown in fig. 2, the generation method of the applet may include:
and S21, determining the small program page template according to the global configuration information.
And S22, calling the corresponding applet plug-in the applet page template, and determining the page content of the corresponding plug-in function page in the applet page template according to the type of the uploaded plug-in.
And S23, determining the window expression of the plug-in function page according to the page configuration information.
And S24, generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
In the present embodiment, S21 and S23-S24 are the same as S11 and S13-S14 in the previous embodiment, and are not repeated herein. S22 is an exemplary manner of S12 in the previous embodiment.
For example, in practical applications, a management system may be provided on each client, and a plug-in option menu needs to be uploaded to the management system in advance, that is, a plug-in that needs to be used is configured. When the plug-in is initialized, the contents of the option menu of the uploaded plug-in can be correspondingly changed according to the contents returned by the plug-in configuration interface. The user may configure the applet page template at the management system, at which point the applet may determine the template to be displayed. For example, a user can click a click button on a plug-in function page to upload a classroom note, call a small program plug-in, open a plug-in option menu for uploading, and the management system transmits a plug-in type field to the small program, specifically, a plug-in code is used, and the small program plug-in jumps to a corresponding plug-in according to the plug-in type field to display the content of the plug-in on the plug-in function page. Therefore, according to the method and the device, the plug-in function page is configured in the small program page template, so that the plug-in function page is oriented to different plug-in pages by uploading plug-in types, and the problems that the time consumption for generating the small program is long and the small program is difficult to maintain due to the fact that the project main package is redundant, the packaging speed is low, and the idle work is too much are solved.
In one implementation, FIG. 3 illustrates a flow diagram of a method for generating an applet according to an embodiment of the present application. As shown in fig. 3, the generation method of the applet may include:
and S31, determining the small program page template according to the global configuration information.
And S32, calling the corresponding applet plug-in the applet page template, and determining the page content of the corresponding plug-in function page in the applet page template according to the type of the uploaded plug-in.
And S33, acquiring page configuration information.
And S34, configuring the entry of the calling applet plug-in according to the page configuration information, and determining the window expression of the plug-in function page.
And S35, generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
In the present embodiment, S31, S32, and S35 are the same as S11, S12, and S14 in the previous embodiment, and are not repeated herein. S33 and S34 are an exemplary manner of S13 in the previous embodiment.
It should be noted that, the plug-in entry on the plug-in function page may be set according to the page configuration information. The function page of the applet displays different function module entries, such as topic entries, address selection entries and the like, according to the configuration options set by the client. And after all the functional modules of the applet are developed, the development side judges the functional modules to be displayed according to the page configuration information returned by the server interface.
For example, when setting up an applet, the educational training institution may set any function module on the class page as a managed function module, and set a managed function button (i.e., a plug-in function page entry) on the function module. When the applet is used, the hosting function button can be clicked in a class page of the management system, the uploading plugin is called, the uploading plugin option menu is opened, the management system transmits the applet plugin type field (such as plugin code), and the applet plugin can jump to the corresponding plugin, so that the plugin function page correspondingly displays the content of the plugin, and a user can complete subsequent operation on the applet conveniently. Therefore, the plug-in entry of the plug-in function page can be set through the page configuration information, and the window expression of the plug-in function page is determined.
In one embodiment, the method further comprises: and determining the page contents of other pages in the applet page template according to the page configuration information. It should be noted that pages in the applet page template other than the plug-in function page are referred to as other pages.
Further, the page content includes: the content of the functional module and the operation type corresponding to the functional module.
Specifically, the content of the functional module and the operation type corresponding to the functional module on the page can be determined through the page configuration information, the content of the functional module includes pictures, video streams, characters and the like, and the operation type corresponding to the functional module includes: clicking, sliding, etc. In practical application, a user can set the area size of the area according to the page configuration information, and the user can also set font information, font size, color, stroke thickness and the like of characters according to the page configuration information. And various options of the release page and the title of the jump page can be changed according to the page configuration information.
In this embodiment, the page configuration information corresponding to different functional modules on the same page may be an independent data packet or the same data packet. For example, the picture area and the text area of the first page of the applet enable the picture area and the text area on the first page to generate corresponding contents according to the page configuration information in the data packet. Therefore, various functional modules can be dynamically configured through the page configuration information, the customization requirements of users are met, and the user experience is improved.
Fig. 4 is a block diagram showing a configuration of an applet generating apparatus according to an embodiment of the present invention. As shown in fig. 4, the apparatus may include:
the template generating module 41 is configured to determine a small program page template according to the global configuration information;
the processing module 42 is configured to determine page content of a plug-in function page in the applet page template according to the type of the uploaded plug-in;
a plug-in function page configuration module 43, configured to determine a window representation of a plug-in function page according to the page configuration information;
and the applet generating module 44 is used for generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
In one embodiment, a processing module comprises:
and the plug-in calling unit is used for calling the corresponding applet plug-in the applet template so as to determine the corresponding plug-in function page in the applet template according to the type of the uploaded plug-in.
In one embodiment, a plug-in function page configuration module, comprising:
the acquisition unit is used for acquiring page configuration information;
and the display unit is used for configuring an entry of the calling applet plug-in according to the page configuration information and determining the window expression of the plug-in function page.
In one embodiment, the apparatus further comprises:
and the other page configuration module is used for determining page contents of other pages in the applet page template according to the page configuration information.
According to the device for generating the small program disclosed by the embodiment of the invention, the small program page template is determined according to the global configuration information, and different plug-ins are determined by uploading plug-in types, so that the plug-in function page displays the contents of the plug-ins. And determining the window representation of the plug-in function page through the page configuration information, thereby generating the applet according to the applet page template, the page content of the plug-in function page and the window representation, and further avoiding the problems of redundant project main packages, low packaging speed and excessive idle work, which causes long time consumption for generating the applet. Meanwhile, only one template can be maintained, the maintenance difficulty is reduced, and the maintenance cost is reduced.
It should be noted that, for functions of each module in each apparatus according to the embodiment of the present invention, reference may be made to corresponding descriptions in the foregoing method, and details are not described herein again.
Fig. 5 shows a block diagram of a generation apparatus of an applet according to an embodiment of the present invention. As shown in fig. 5, the generation device of the applet includes: a memory 510 and a processor 520, the memory 510 having stored therein computer programs that are executable on the processor 520. The processor 520, when executing the computer program, implements the applet generating method in the above-described embodiments. The number of the memory 510 and the processor 520 may be one or more.
The generation device of the applet further includes:
the communication interface 530 is used for communicating with an external device to perform data interactive transmission.
If the memory 510, the processor 520, and the communication interface 530 are implemented independently, the memory 510, the processor 520, and the communication interface 530 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Optionally, in an implementation, if the memory 510, the processor 520, and the communication interface 530 are integrated on a chip, the memory 510, the processor 520, and the communication interface 530 may complete communication with each other through an internal interface.
Embodiments of the present invention provide a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, the computer program implements the method provided in the embodiments of the present application.
The embodiment of the present application further provides a chip, where the chip includes a processor, and is configured to call and execute the instruction stored in the memory from the memory, so that the communication device in which the chip is installed executes the method provided in the embodiment of the present application.
An embodiment of the present application further provides a chip, including: the system comprises an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing the method provided by the embodiment of the application.
It should be understood that the processor may be a Central Processing Unit (CPU), other general purpose processor, 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, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be an advanced reduced instruction set machine (ARM) architecture supported processor.
Further, optionally, the memory may include a read-only memory and a random access memory, and may further include a nonvolatile random access memory. The memory may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may include a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available. For example, Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
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 present application are generated 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 computer-readable storage medium.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process. And the scope of the preferred embodiments of the present application includes other implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the method of the above embodiments may be implemented by hardware that is configured to be instructed to perform the relevant steps by a program, which may be stored in a computer-readable storage medium, and which, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present application, and these should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A method for generating an applet, comprising:
determining a small program page template according to the global configuration information;
determining the page content of the plug-in function page in the applet page template according to the type of the uploaded plug-in;
determining the window expression of the plug-in function page according to the page configuration information;
and generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
2. The method of claim 1, wherein determining page contents of plug-in function pages in the applet page template according to an upload plug-in type comprises:
and calling a corresponding applet plug-in the applet page template, and determining the page content of the corresponding plug-in function page in the applet page template according to the type of the uploaded plug-in.
3. The method of claim 1, wherein determining the window representation of the plug-in function page according to the page configuration information comprises:
acquiring page configuration information;
and configuring an entry of the calling applet plug-in according to the page configuration information, and determining the window expression of the plug-in function page.
4. The method of claim 1, further comprising:
and determining the page contents of other pages in the applet page template according to the page configuration information.
5. The method of claim 1, wherein the program page template comprises: at least one page of the applet and an arrangement order of the at least one page.
6. An applet generating apparatus, comprising:
the template generating module is used for determining a small program page template according to the global configuration information;
the processing module is used for determining the page content of the plug-in function page in the small program page template according to the type of the uploaded plug-in;
the plug-in function page configuration module is used for determining the window expression of the plug-in function page according to the page configuration information;
and the applet generating module is used for generating the applet according to the applet page template, the page content of the plug-in function page and the window expression.
7. The apparatus of claim 6, wherein the processing module comprises:
and the plug-in calling unit is used for calling the corresponding applet plug-in the applet template so as to determine the corresponding plug-in function page in the applet template according to the type of the uploaded plug-in.
8. The apparatus of claim 6, wherein the plug-in function page configuration module comprises:
the acquisition unit is used for acquiring page configuration information;
and the display unit is used for configuring an entry of the calling applet plug-in according to the page configuration information and determining the window expression of the plug-in function page.
9. The apparatus of claim 6, further comprising:
and the other page configuration module is used for determining page contents of other pages in the applet page template according to the page configuration information.
10. An applet generating apparatus, comprising: a processor and a memory, the memory having stored therein instructions that are loaded and executed by the processor to implement the method of any of claims 1 to 5.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202110646249.XA 2021-06-10 2021-06-10 Method, device and equipment for generating small program and storage medium Pending CN113282291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110646249.XA CN113282291A (en) 2021-06-10 2021-06-10 Method, device and equipment for generating small program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110646249.XA CN113282291A (en) 2021-06-10 2021-06-10 Method, device and equipment for generating small program and storage medium

Publications (1)

Publication Number Publication Date
CN113282291A true CN113282291A (en) 2021-08-20

Family

ID=77284084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110646249.XA Pending CN113282291A (en) 2021-06-10 2021-06-10 Method, device and equipment for generating small program and storage medium

Country Status (1)

Country Link
CN (1) CN113282291A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961272A (en) * 2021-12-20 2022-01-21 广州半城云信息科技有限公司 Personalized page display method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030079052A1 (en) * 2001-10-24 2003-04-24 Kushnirskiy Igor Davidovich Method and apparatus for a platform independent plug-in
CN1641569A (en) * 2004-01-06 2005-07-20 英业达股份有限公司 Method for realizing Java small-application plug board function
CN101286120A (en) * 2008-05-28 2008-10-15 北京中企开源信息技术有限公司 Website page manufacture method and system
US20190026443A1 (en) * 2017-07-24 2019-01-24 Wix.Com Ltd. Segregated user-uploaded plugins to avoid affecting co-hosted websites
CN110532029A (en) * 2019-09-04 2019-12-03 深圳前海微众银行股份有限公司 Small routine generation method, device, equipment and computer readable storage medium
CN110674441A (en) * 2019-09-02 2020-01-10 中国平安财产保险股份有限公司 Page template configuration control method and device, computer equipment and storage medium
CN110727431A (en) * 2019-09-17 2020-01-24 阿里巴巴集团控股有限公司 Applet generation method and apparatus
CN112114890A (en) * 2019-06-20 2020-12-22 腾讯科技(深圳)有限公司 Method, device and equipment for processing small program and storage medium
CN112286528A (en) * 2020-11-04 2021-01-29 豆盟(北京)科技股份有限公司 Applet generation method, device and equipment and computer storage medium
CN112579048A (en) * 2019-09-30 2021-03-30 腾讯科技(深圳)有限公司 Applet integration method, device, electronic equipment and storage medium
CN112634476A (en) * 2020-11-03 2021-04-09 支付宝(杭州)信息技术有限公司 Parking data management method, server, device, equipment and system
CN112632437A (en) * 2020-11-27 2021-04-09 中国银联股份有限公司 Webpage generating method and device and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030079052A1 (en) * 2001-10-24 2003-04-24 Kushnirskiy Igor Davidovich Method and apparatus for a platform independent plug-in
CN1641569A (en) * 2004-01-06 2005-07-20 英业达股份有限公司 Method for realizing Java small-application plug board function
CN101286120A (en) * 2008-05-28 2008-10-15 北京中企开源信息技术有限公司 Website page manufacture method and system
US20190026443A1 (en) * 2017-07-24 2019-01-24 Wix.Com Ltd. Segregated user-uploaded plugins to avoid affecting co-hosted websites
CN112114890A (en) * 2019-06-20 2020-12-22 腾讯科技(深圳)有限公司 Method, device and equipment for processing small program and storage medium
CN110674441A (en) * 2019-09-02 2020-01-10 中国平安财产保险股份有限公司 Page template configuration control method and device, computer equipment and storage medium
CN110532029A (en) * 2019-09-04 2019-12-03 深圳前海微众银行股份有限公司 Small routine generation method, device, equipment and computer readable storage medium
CN110727431A (en) * 2019-09-17 2020-01-24 阿里巴巴集团控股有限公司 Applet generation method and apparatus
CN112579048A (en) * 2019-09-30 2021-03-30 腾讯科技(深圳)有限公司 Applet integration method, device, electronic equipment and storage medium
CN112634476A (en) * 2020-11-03 2021-04-09 支付宝(杭州)信息技术有限公司 Parking data management method, server, device, equipment and system
CN112286528A (en) * 2020-11-04 2021-01-29 豆盟(北京)科技股份有限公司 Applet generation method, device and equipment and computer storage medium
CN112632437A (en) * 2020-11-27 2021-04-09 中国银联股份有限公司 Webpage generating method and device and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
UPWARD337: "微信小程序 基础1【本页面窗口配置、组件、布 局】", pages 1 - 12, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_44949135/article/details/105087975> *
UPWARD337: "微信小程序 基础1【本页面窗口配置、组件、布局】", pages 1 - 12, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_44949135/article/details/105087975> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961272A (en) * 2021-12-20 2022-01-21 广州半城云信息科技有限公司 Personalized page display method and system
CN113961272B (en) * 2021-12-20 2022-04-01 咚咚来客(广州)信息技术有限公司 Personalized page display method and system

Similar Documents

Publication Publication Date Title
EP3026565B1 (en) Automated testing of web-based applications
US7828551B2 (en) Method and system for computer based testing using customizable templates
JP4857349B2 (en) Method, system, and computer program for providing asynchronous portal pages within a portal system
US8365203B2 (en) Method for creating a native application for mobile communications device in real-time
CN106484383A (en) page rendering method, device and equipment
US20090271690A1 (en) Handling cross-domain web service calls
Tonella et al. A 2-layer model for the white-box testing of web applications
CN107451162A (en) Network resource accession equipment, mixing apparatus and method
CN112948035A (en) Method and device for controlling micro front-end page, terminal equipment and storage medium
CN109213952A (en) Page access processing method, device, computer equipment and storage medium
US20100229081A1 (en) Method for Providing a Navigation Element in an Application
CN109460546A (en) List generation method, device and electronic equipment
WO2023025323A1 (en) Information processing method and apparatus, system, and storage medium
CN112395027A (en) Widget interface generation method and device, storage medium and electronic equipment
CN113282291A (en) Method, device and equipment for generating small program and storage medium
CN105005596B (en) page display method and device
CN112286528A (en) Applet generation method, device and equipment and computer storage medium
US20210232755A1 (en) Machine first approach for identifying accessibility, non-compliances, remediation techniques and fixing at run-time
CN113971251A (en) Webpage output method, system and computer readable storage medium
JP2000510983A (en) Method and system for managing a global information entity spanning multiple HTML containers in a multimedia environment
González-Tato et al. Towards a Collection of Gadgets for an iGoogle e-learning platform
CN117057519B (en) Teaching information demonstration method based on convolutional neural network and computer equipment
Haapala Analyzing and Improving the Loading Performance of Large-scale Websites on Mobile Devices
US8539337B2 (en) Internet services and methods thereof
Valavuo Developing and RSS Widget: developing an RSS widget for iDiD digital signage

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