Applet page code generation method and device and computer equipment

A technology of page code and applet, applied in the Internet field, can solve problems such as low efficiency and achieve the effect of improving efficiency

Pending Publication Date: 2021-11-19
SHANGHAI BILIBILI TECH CO LTD
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application proposes a small program page code generation method, device and computer equipment, which can solve the problem of low efficiency in the prior art when the same page data is compatible with pages of different channels

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 page code generation method and device and computer equipment
  • Applet page code generation method and device and computer equipment
  • Applet page code generation method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 2It is a schematic flowchart of an embodiment of a method for generating a page code of a mini program in the present application. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 1 as the execution subject.

[0032] Such as figure 2 As shown, the method for generating the applet page code may include steps S200-S206.

[0033] Step S200, acquiring the first source code data of the target page under the first channel and the first component set including each page component.

[0034] Specifically, the computer device 1 can receive a user-triggered display request to display the source code of the target page under the first channel to other channel pages, for example, the channel 2 applet page and the channel n applet page. For example, the computer device 1 may receive a display request triggered by the user's click or to...

Embodiment 2

[0065] Figure 6 Schematically shows a block diagram of a small program page code generation device according to Embodiment 2 of the present application, the small program page code generation device can be divided into one or more program modules, and one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of accomplishing specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0066] Such as Figure 6 As shown, the applet page code generation device 400 may include an acquisition module 410, a query module 420, a comparison module 430 and a compilation module 440, wherein:

[0067] The acquisition module 410 is configured to acquire the first source code data...

Embodiment 3

[0075] Figure 7 A schematic diagram of a hardware architecture of a computer device 1 suitable for implementing a method for generating a mini-program page code according to Embodiment 3 of the present application is schematically shown. In this embodiment, the computer device 1 is a device capable of automatically performing numerical calculation and / or information processing according to preset or stored instructions. For example, it may be a rack server with a gateway function, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers) and the like. Such as Figure 7 As shown, the computer device 1 at least includes but is not limited to: a memory 510 , a processor 520 , and a network interface 530 that can communicate with each other through a system bus. in:

[0076] The memory 510 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash m...

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 an applet page code generation method and device and computer equipment. The method comprises the steps of obtaining first source code data of a target page under a first channel and a first component set comprising each page component; querying a second component set comprising each page component of the target page in a second channel according to a preset channel page component list; comparing the difference between the second component set and the first component set to obtain a differentiated component set; and performing adaptive compiling on the first source code data according to the differentiated component set to obtain source code data of a target page under the second channel. The invention further provides a computer readable storage medium. According to the method and the device, the efficiency of compatibility of the same page data to pages of different channels can be effectively improved.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular to a method, device and computer equipment for generating codes of mini-program pages. Background technique [0002] Mini Programs, or Mini Programs for short, with the English name Mini Program, are applications that can be used without downloading and installing. With the popularization of smart terminals and the development of computer technology, it is now possible to directly access the same data resources, such as page data, through different applications, that is, small programs of different channels, which facilitates users to quickly and efficiently access information based on different applications. Access to hot topics or advantageous resources. [0003] For data service providers, it is also necessary to integrate the same data resource into different channels. Therefore, when data service providers develop data resources, they generally need to devel...

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/38
CPCG06F8/38
Inventor 孙永湧钦斌骅强一洲
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products