CN116127219A - Method and device for displaying pages in applet and computer equipment - Google Patents
Method and device for displaying pages in applet and computer equipment Download PDFInfo
- Publication number
- CN116127219A CN116127219A CN202211711231.4A CN202211711231A CN116127219A CN 116127219 A CN116127219 A CN 116127219A CN 202211711231 A CN202211711231 A CN 202211711231A CN 116127219 A CN116127219 A CN 116127219A
- Authority
- CN
- China
- Prior art keywords
- page
- applet
- target page
- target
- native
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,特别是涉及一种小程序中页面的展示方法、装置、计算机设备、存储介质和计算机程序产品。The present application relates to the field of computer technology, in particular to a method, device, computer equipment, storage medium and computer program product for displaying pages in a small program.
背景技术Background technique
随着计算机技术的发展,出现了小程序,它是一种不需要下载安装即可使用的应用,用户只需在主应用中扫一扫或搜一下就可以打开小程序,大大便利了人们的生产生活。然而,相关技术中,小程序的某些特定功能页面需要快速更新,更有时特定功能页面的需求量较大,现有的更新发布流程时间较长,难以满足实际需求。With the development of computer technology, small programs appear, which are applications that can be used without downloading and installing. Users only need to scan or search in the main application to open the small program, which greatly facilitates people's life. Production and living. However, in related technologies, some specific function pages of the applet need to be updated quickly, and sometimes the demand for specific function pages is large, and the existing update release process takes a long time, which is difficult to meet the actual needs.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种小程序中页面的展示方法、装置、计算机设备、存储介质和计算机程序产品。Based on this, it is necessary to provide a method, device, computer equipment, storage medium and computer program product for displaying pages in an applet to address the above technical problems.
第一方面,本申请提供了一种小程序中页面的展示方法,所述方法应用于客户端,包括:In the first aspect, the present application provides a method for displaying pages in a small program, and the method is applied to the client, including:
响应于小程序中目标页面入口的触发指令,利用所述小程序内嵌的浏览器从服务器加载所述目标页面对应的页面描述文件;其中,所述目标页面被设置为预设任务对应的页面;In response to the trigger instruction of the target page entry in the applet, the browser embedded in the applet is used to load the page description file corresponding to the target page from the server; wherein, the target page is set as the page corresponding to the preset task ;
利用所述浏览器解析所述页面描述文件,并展示对应的所述目标页面。Utilize the browser to parse the page description file, and display the corresponding target page.
在一种可能的实现方式中,利用所述小程序内嵌的浏览器从服务器加载所述目标页面对应的页面描述文件,包括:In a possible implementation manner, the browser embedded in the applet is used to load the page description file corresponding to the target page from the server, including:
利用所述小程序内嵌的浏览器加载所述预设任务对应的通用网络页面;Using the browser embedded in the applet to load the general web page corresponding to the preset task;
在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件。In the general web page, the page description file corresponding to the target page is loaded from the server.
在一种可能的实现方式中,在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件,包括:In a possible implementation manner, in the general web page, loading the page description file corresponding to the target page from the server includes:
在所述通用网络页面中,从内容分发网路服务器加载所述目标页面对应的页面描述文件。In the general network page, the page description file corresponding to the target page is loaded from the content distribution network server.
在一种可能的实现方式中,所述页面描述文件的获得方式包括:In a possible implementation manner, the method for obtaining the page description file includes:
基于预设的页面程序语言描述协议,生成页面描述文件模板;Based on the preset page program language description protocol, generate a page description file template;
接收对所述页面模板的设置操作,生成所述目标页面对应的页面描述文件。A setting operation of the page template is received, and a page description file corresponding to the target page is generated.
在一种可能的实现方式中,在所述展示对应的所述目标页面,之后还包括:In a possible implementation manner, after the displaying the corresponding target page, it further includes:
在所述目标页面中响应于与所述小程序的原生页面的交互操作,生成交互信息;其中,所述交互信息包括交互内容,以及所述目标页面的标识信息与所述原生页面的标识信息的关联关系;Generate interaction information on the target page in response to an interactive operation with the native page of the applet; wherein the interaction information includes interactive content, and identification information of the target page and identification information of the native page relationship;
将所述交互信息发送至小程序服务器,以指示所述小程序服务器根据所述关联关系,将所述交互内容发送至所述原生页面。Sending the interaction information to the applet server to instruct the applet server to send the interaction content to the native page according to the association relationship.
在一种可能的实现方式中,在所述响应于小程序中目标页面入口的触发指令,之前还包括:In a possible implementation manner, before the response to the trigger instruction of the target page entry in the applet, it further includes:
响应于所述原生页面入口的触发指令,加载所述原生页面,并生成所述原生页面的标识信息;Responding to the trigger instruction of the native page entry, loading the native page, and generating identification information of the native page;
所述在所述目标页面中响应于与小程序原生页面的交互操作,生成交互信息,包括:The generation of interactive information in the target page in response to the interactive operation with the native page of the applet includes:
在所述目标页面中响应于第一交互操作,展示多个原生页面对应的标识信息;Responding to the first interactive operation on the target page, displaying identification information corresponding to multiple native pages;
响应于从多个所述原生页面中的选中操作,生成所述目标页面的标识信息与选中的所述原生页面的关联关系。In response to a selection operation from multiple native pages, an association relationship between the identification information of the target page and the selected native page is generated.
第二方面,本申请还提供了一种小程序中页面的展示装置,所述装置包括:In the second aspect, the present application also provides a device for displaying pages in a mini program, the device comprising:
第一加载模块,用于响应于小程序中目标页面入口的触发指令,利用所述小程序内嵌的浏览器从服务器加载所述目标页面对应的页面描述文件;其中,所述目标页面被设置为预设任务对应的页面;The first loading module is used to respond to the trigger instruction of the target page entry in the applet, and use the browser embedded in the applet to load the page description file corresponding to the target page from the server; wherein, the target page is set The page corresponding to the preset task;
展示模块,用于利用所述浏览器解析所述页面描述文件,并展示对应的所述目标页面。The display module is configured to use the browser to parse the page description file and display the corresponding target page.
在一种可能的实现方式中,所述第一加载模块,包括:In a possible implementation manner, the first loading module includes:
第一加载子模块,用于利用所述小程序内嵌的浏览器加载所述预设任务对应的通用网络页面;The first loading submodule is configured to use the browser embedded in the applet to load the general web page corresponding to the preset task;
第二加载子模块,用于在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件。The second loading submodule is configured to load the page description file corresponding to the target page from the server in the general web page.
在一种可能的实现方式中,所述第二加载子模块,包括:In a possible implementation manner, the second loading submodule includes:
加载单元,用于在所述通用网络页面中,从内容分发网路服务器加载所述目标页面对应的页面描述文件。The loading unit is configured to load the page description file corresponding to the target page from the content distribution network server in the general network page.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第一生成模块,用于基于预设的页面程序语言描述协议,生成页面描述文件模板;The first generation module is used to generate a page description file template based on a preset page program language description protocol;
第二生成模块,用于接收对所述页面模板的设置操作,生成所述目标页面对应的页面描述文件。The second generating module is configured to receive a setting operation on the page template, and generate a page description file corresponding to the target page.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
交互模块,用于在所述目标页面中响应于与所述小程序的原生页面的交互操作,生成交互信息;其中,所述交互信息包括交互内容,以及所述目标页面的标识信息与所述原生页面的标识信息的关联关系;An interaction module, configured to generate interaction information on the target page in response to an interaction operation with the native page of the applet; wherein, the interaction information includes interaction content, and the identification information of the target page and the The association relationship of the identification information of the native page;
发送模块,用于将所述交互信息发送至小程序服务器,以指示所述小程序服务器根据所述关联关系,将所述交互内容发送至所述原生页面。A sending module, configured to send the interaction information to a mini-program server, so as to instruct the mini-program server to send the interactive content to the native page according to the association relationship.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
第二加载模块,用于响应于所述原生页面入口的触发指令,加载所述原生页面,并生成所述原生页面的标识信息;The second loading module is configured to load the native page and generate identification information of the native page in response to the trigger instruction of the native page entry;
所述交互模块,包括:The interactive modules include:
展示子模块,用于在所述目标页面中响应于第一交互操作,展示多个原生页面对应的标识信息;A display submodule, configured to display identification information corresponding to multiple native pages in response to the first interactive operation on the target page;
生成子模块,用于响应于从多个所述原生页面中的选中操作,生成所述目标页面的标识信息与选中的所述原生页面的关联关系。The generating submodule is configured to generate an association relationship between the identification information of the target page and the selected native page in response to a selection operation from among the plurality of native pages.
第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如本公开实施例中任一项所述的小程序中页面的展示方法的步骤。In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps of the method for displaying pages in the applet according to any one of the embodiments of the present disclosure are realized .
第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本公开实施例中任一项所述的小程序中页面的展示方法的步骤。In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the steps of the method for displaying pages in the applet according to any one of the embodiments of the present disclosure are implemented.
第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如本公开实施例中任一项所述的小程序中页面的展示方法的步骤。In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the method for displaying pages in the applet according to any one of the embodiments of the present disclosure are implemented.
上述小程序中页面的展示方法、装置、计算机设备、存储介质和计算机程序产品,对于预设任务对应的目标页面,通过小程序的内嵌浏览器加载所述目标页面对应的页面描述文件,并解析所述页面描述文件,实现目标页面的展示。相较于传统的在小程序中通过原生页面展示所述预设任务的页面,可以免于小程序的审核等流程,相较于通过浏览器直接获取页面数据进行展示,可以免于网页发布等流程,因此,本方案实施例,针对大量预设任务对应的目标页面,能够快速的生成并展示。For the display method, device, computer equipment, storage medium and computer program product of the pages in the above applet, for the target page corresponding to the preset task, the page description file corresponding to the target page is loaded through the embedded browser of the applet, and Parse the page description file to realize the display of the target page. Compared with the traditional page that displays the preset tasks on the native page in the applet, it can avoid the process of applet review and other processes. Compared with directly obtaining page data for display through the browser, it can avoid web page publishing, etc. Therefore, in this embodiment of the solution, target pages corresponding to a large number of preset tasks can be quickly generated and displayed.
附图说明Description of drawings
图1为一个实施例中小程序中页面的展示方法的应用环境图;Fig. 1 is an application environment diagram of a method for displaying pages in an applet in an embodiment;
图2为一个实施例中小程序中页面的展示方法的第一流程示意图;Fig. 2 is a schematic flowchart of a first flow chart of a method for displaying pages in an applet in an embodiment;
图3为另一个实施例中小程序中页面的展示方法的第二流程示意图;Fig. 3 is a second schematic flowchart of a method for displaying pages in an applet in another embodiment;
图4为另一个实施例中小程序中页面的展示方法的第三流程示意图;Fig. 4 is a third schematic flowchart of a method for displaying pages in an applet in another embodiment;
图5为另一个实施例中小程序中页面的展示方法的第四流程示意图;Fig. 5 is a fourth schematic flowchart of a method for displaying pages in an applet in another embodiment;
图6为另一个实施例中小程序中页面的展示装置的结构框图;Fig. 6 is a structural block diagram of an apparatus for displaying pages in an applet in another embodiment;
图7为一个实施例中计算机设备的内部结构图。Figure 7 is an internal block diagram of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
需要说明的是,本公开所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于展示的数据、分析的数据等),均为经用户授权或者经过各方充分授权的信息和数据。本申请技术方案中对数据的获取、存储、使用、处理均符合国家法律法规的相关规定。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are authorized by the user. Or information and data fully authorized by the parties. The acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.
本申请实施例提供的小程序中页面的展示方法,可以应用于如图1所示的应用环境中。其中,终端102通过网络与服务器进行通信。其中,服务器可以包括小程序服务器104和内容分发网络服务器106。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、物联网设备和便携式可穿戴设备,物联网设备可为智能音箱、智能电视、智能空调、智能车载设备等。便携式可穿戴设备可为智能手表、智能手环、头戴设备等。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The method for displaying pages in the applet provided in the embodiment of the present application can be applied to the application environment shown in FIG. 1 . Wherein, the terminal 102 communicates with the server through the network. Wherein, the server may include an
在一个实施例中,如图2所示,提供了一种小程序中页面的展示方法,以该方法应用于图1中的终端或客户端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for displaying pages in a small program is provided. The method is applied to the terminal or client in FIG. 1 as an example for illustration, including the following steps:
步骤S201,响应于小程序中目标页面入口的触发指令,利用所述小程序内嵌的浏览器从服务器加载所述目标页面对应的页面描述文件;其中,所述目标页面被设置为预设任务对应的页面。Step S201, in response to the trigger instruction of the target page entry in the applet, use the browser embedded in the applet to load the page description file corresponding to the target page from the server; wherein, the target page is set as a preset task corresponding page.
具体的,所述目标页面可以包括被设置为预设任务对应的页面,所述预设任务可以根据具体的应用场景需求而设定的任务,例如推荐任务、推送任务、订阅任务等。相应地,目标页面入口也可以根据具体的应用场景需求而设定,在一示例性实施例中,例如可以在小程序的原生页面中设置某个区域或某个控件为所述目标页面的入口,当触发该区域或控件后,表示产生了进入目标页面的指令。在另一示例性实施例中,例如可以将小程序的启动作为进入目标页面的入口,当启动小程序后,表示产生了进入目标页面的指令。Specifically, the target page may include a page set to correspond to a preset task, and the preset task may be a task set according to a specific application scenario requirement, such as a recommendation task, a push task, a subscription task, and the like. Correspondingly, the target page entry can also be set according to the requirements of specific application scenarios. In an exemplary embodiment, for example, a certain area or a certain control can be set as the target page entry in the native page of the applet , when this area or control is triggered, it means that an instruction to enter the target page is generated. In another exemplary embodiment, for example, the start of the applet may be used as an entry to enter the target page, and when the applet is started, it indicates that an instruction to enter the target page is generated.
本公开实施例中,所述内嵌的浏览器可以包括嵌入到软件中的浏览器,所述小程序内嵌的浏览器包括嵌入到小程序软件中的浏览器,例如:webview浏览器。所述页面描述文件可以包括能够描述所述目标页面具体内容的文件,例如页面中的文字、图像、动画等,字体格式,卡片尺寸等。所述页面描述文件可以预先设计完成,存储于服务器中。本公开实施例中,不同的目标页面可以对应不同的页面描述文件。在一示例性实施例中,可以根据具体应用场景,建立目标页面入口、目标页面、页面描述文件之间的对应关系,当触发目标页面入口时,利用小程序内的浏览器从服务器加载对应的页面描述文件。In the embodiment of the present disclosure, the embedded browser may include a browser embedded in software, and the applet embedded browser includes a browser embedded in applet software, for example, a webview browser. The page description file may include a file capable of describing specific content of the target page, such as text, images, animations, etc., font format, card size, etc. in the page. The page description file can be pre-designed and stored in the server. In the embodiment of the present disclosure, different target pages may correspond to different page description files. In an exemplary embodiment, according to the specific application scenario, the corresponding relationship between the target page entry, the target page, and the page description file can be established. When the target page entry is triggered, the browser in the applet is used to load the corresponding Page description file.
步骤S203,利用所述浏览器解析所述页面描述文件,并展示对应的所述目标页面。Step S203, using the browser to parse the page description file, and display the corresponding target page.
具体的,利用所述浏览器解析所述页面描述文件,根据解析得到的数据渲染目标页面中的不同的业务组件,例如文案组件、卡片组件、列表组件和轮播图组件等。再所述浏览器中以网页的方式展示对应的目标页面。Specifically, use the browser to parse the page description file, and render different business components in the target page according to the parsed data, such as copywriting components, card components, list components, and carousel components. Then display the corresponding target page in the form of webpage in the browser.
上述实施例中,对于预设任务对应的目标页面,通过小程序的内嵌浏览器加载所述目标页面对应的页面描述文件,并解析所述页面描述文件,实现目标页面的展示。相较于传统的在小程序中通过原生页面展示所述预设任务的页面,可以免于小程序的审核等流程,相较于通过浏览器直接获取页面数据进行展示,可以免于网页发布等流程,因此,本方案实施例,针对大量的目标页面,能够快速的生成并展示。In the above embodiment, for the target page corresponding to the preset task, the embedded browser of the applet loads the page description file corresponding to the target page, and parses the page description file to realize the display of the target page. Compared with the traditional page that displays the preset tasks on the native page in the applet, it can avoid the process of applet review and other processes. Compared with directly obtaining page data for display through the browser, it can avoid web page publishing, etc. Therefore, this embodiment of the solution can quickly generate and display a large number of target pages.
在一种可能的利用所述小程序内嵌的浏览器从服务器加载所述目标页面对应的页面描述文件,包括:In one possible way, the browser embedded in the applet is used to load the page description file corresponding to the target page from the server, including:
利用所述小程序内嵌的浏览器加载所述预设任务对应的通用网络页面;Using the browser embedded in the applet to load the general web page corresponding to the preset task;
在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件。In the general web page, the page description file corresponding to the target page is loaded from the server.
具体的,所述通用网络页面可以包括预先设置的网络页面,多个不同的目标页面公用同一个网络页面。在一示例性实施例中,可以建立多个目标页面入口与通用网络页面对应的访问地址之间的关联关系,触发不同的目标页面入口,可以加载相同的通用网络页面。Specifically, the general web page may include a preset web page, and a plurality of different target pages share the same web page. In an exemplary embodiment, an association relationship between multiple target page entries and access addresses corresponding to a common web page may be established, different target page entries may be triggered, and the same common web page may be loaded.
本公开实施例中,在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件。具体的,可以建立目标页面入口与目标页面标识之间的对应关系,内嵌的浏览器向小程序服务器发送通用网络页面的请求,并将目标页面入口提供至小程序服务器,小程序服务器识别到该目标页面入口后,匹配对应的页面描述文件。In the embodiment of the present disclosure, in the general web page, the page description file corresponding to the target page is loaded from the server. Specifically, the corresponding relationship between the target page entry and the target page identifier can be established, the embedded browser sends a general web page request to the applet server, and provides the target page entry to the applet server, and the applet server recognizes the After the target page entry, match the corresponding page description file.
上述实施例,通过通用网络页面加载页面描述文件,其中,通用的网络页面起到载体作用,保证目标页面以网页的方式展示。In the above embodiment, the page description file is loaded through the general web page, wherein the general web page acts as a carrier to ensure that the target page is displayed in the form of a web page.
在一种可能的实现方式中,在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件,包括:In a possible implementation manner, in the general web page, loading the page description file corresponding to the target page from the server includes:
在所述通用网络页面中,从内容分发网路服务器加载所述目标页面对应的页面描述文件。In the general network page, the page description file corresponding to the target page is loaded from the content distribution network server.
具体的,所述内容分发网络服务器(CDN)是一种分布式内容分发网络。通常部署在多个位置,位于英特网的主干网络上。在一示例性实施例中,可以将预先生成的页面描述文件存储到内容分发网络服务器上。在另一示例性实施例中,可以对使用频率较高的页面描述文件进行缓存,以进一步提高访问速度。Specifically, the content distribution network server (CDN) is a distributed content distribution network. Typically deployed in multiple locations, on the backbone of the Internet. In an exemplary embodiment, the pre-generated page description file may be stored on the content distribution network server. In another exemplary embodiment, the frequently used page description files may be cached to further increase the access speed.
上述实施例,将页面描述文件存储至内容分发网络服务器中,可以降低带宽成本,进一步缩短页面描述文件的加载时间,进而提高目标页面的展示效率。In the above embodiment, storing the page description file in the CDN server can reduce the bandwidth cost, further shorten the loading time of the page description file, and further improve the display efficiency of the target page.
在一种可能的实现方式中,所述页面描述文件的获得方式包括:In a possible implementation manner, the method for obtaining the page description file includes:
基于预设的页面程序语言描述协议,生成页面描述文件模板;Based on the preset page program language description protocol, generate a page description file template;
接收对所述页面模板的设置操作,生成所述目标页面对应的页面描述文件。A setting operation of the page template is received, and a page description file corresponding to the target page is generated.
具体的,所述页面程序语言描述协议可以包括基于JSON Schema协议,对目标页面进行一系列自定义的参数设置协议,例如页面版本的设置、模块树设置、顶层键值对的设置、容器组件的设置、数据流描述等,其中数据流描述可以包括数据请求、数据绑定等描述。在一示例性实施例中,可以提供页面描述文件的生成、查询、和修改的服务。例如提供页面描述文件模板,模板中包含了一些常用的页面描述,针对每个目标页面独有的页面描述,可以对该页面描述文件模板进行设置操作,生成目标页面对应页面描述文件。Specifically, the page program language description protocol may include a series of custom parameter setting protocols for the target page based on the JSON Schema protocol, such as page version setting, module tree setting, top-level key-value pair setting, container component Settings, data flow description, etc., where the data flow description may include data request, data binding, and other descriptions. In an exemplary embodiment, services of generating, querying, and modifying page description files may be provided. For example, a page description file template is provided, which contains some commonly used page descriptions. For the unique page description of each target page, the page description file template can be set to generate a page description file corresponding to the target page.
上述实施例,提供了对页面描述文件的生成查询和修改的服务,方便对多个页面描述文件进行管理和更新,进一步的,提供了页面描述文件模板,提高了页面描述文件的生成效率。The above embodiment provides services for generating, querying and modifying page description files, which facilitates the management and updating of multiple page description files. Furthermore, a page description file template is provided to improve the generation efficiency of page description files.
在一种可能的实现方式中,在所述展示对应的所述目标页面,之后还包括:In a possible implementation manner, after the displaying the corresponding target page, it further includes:
在所述目标页面中响应于与所述小程序的原生页面的交互操作,生成交互信息;其中,所述交互信息包括交互内容,以及所述目标页面的标识信息与所述原生页面的标识信息的关联关系;Generate interaction information on the target page in response to an interactive operation with the native page of the applet; wherein the interaction information includes interactive content, and identification information of the target page and identification information of the native page relationship;
将所述交互信息发送至小程序服务器,以指示所述小程序服务器根据所述关联关系,将所述交互内容发送至所述原生页面。Sending the interaction information to the applet server to instruct the applet server to send the interaction content to the native page according to the association relationship.
具体的,所述小程序的原生页面可以包括运行小程序应用的应用页面,非网络页面,所述原生页面的内容可以从小程序启动时加载的数据中获取,也可以从小程序服务器获取。本公开实施例中,所述目标页面可以与小程序的原生页面进行交互,例如,将目标页面的内容分享到小程序的原生页面中。具体的,在所述目标页面中响应于与所述小程序的原生页面的交互操作,其中,所述交互操作可以包括点击、滑动、手势等操作形式,生成交互信息。所述交互信息可以包括交互内容以及所述目标页面的标识信息与所述原生页面的标识信息的关联关系,在一示例性实施例中,可以在目标页面生成时同时生成目标页面的标识信息,如ID号,以及在原生页面生成或加载时生成原生页面的标识信息。其中,所述交互内容可以包括交互的具体内容数据,例如分享的链接、发送的消息等。Specifically, the native page of the applet may include an application page running the applet application and a non-network page, and the content of the native page may be obtained from data loaded when the applet is started, or obtained from a server of the applet. In the embodiment of the present disclosure, the target page can interact with the native page of the applet, for example, share the content of the target page to the native page of the applet. Specifically, interactive information is generated on the target page in response to an interactive operation with the native page of the applet, wherein the interactive operation may include operation forms such as click, slide, and gesture. The interaction information may include interaction content and an association relationship between the identification information of the target page and the identification information of the native page. In an exemplary embodiment, the identification information of the target page may be generated at the same time when the target page is generated, Such as the ID number, and the identification information of the native page generated when the native page is generated or loaded. Wherein, the interaction content may include specific content data of the interaction, such as a shared link, a sent message, and the like.
本公开实施例中,原生页面与小程序服务器之间可以通过websocket进行通信,目标页面与小程序服务器之间也可以通过websocket进行通信,因此,小程序服务器可以根据上述目标页面的标识信息与原生页面的标识信息的关联关系,将目标页面的交互内容发送至原生页面以及将原生页面的交互内容发送至目标页面。In this disclosed embodiment, the native page and the applet server can communicate through websockets, and the target page and the applet server can also communicate through websockets. Therefore, the applet server can communicate with the native The association relationship of the identification information of the page, the interactive content of the target page is sent to the native page and the interactive content of the native page is sent to the target page.
上述实施例中,通过建立目标页面的标识信息与原生页面的标识信息的关联关系,可以实现目标页面与原生页面之间通信,突破了小程序内嵌浏览器容器限制,提高了交互能力。In the above embodiment, by establishing the association between the identification information of the target page and the identification information of the original page, the communication between the target page and the original page can be realized, breaking through the limitation of the browser container embedded in the applet, and improving the interaction ability.
在一种可能的实现方式中,在所述响应于小程序中目标页面入口的触发指令,之前还包括:In a possible implementation manner, before the response to the trigger instruction of the target page entry in the applet, it further includes:
响应于所述原生页面入口的触发指令,加载所述原生页面,并生成所述原生页面的标识信息;Responding to the trigger instruction of the native page entry, loading the native page, and generating identification information of the native page;
所述在所述目标页面中响应于与小程序原生页面的交互操作,生成交互信息,包括:The generation of interactive information in the target page in response to the interactive operation with the native page of the applet includes:
在所述目标页面中响应于第一交互操作,展示多个原生页面对应的标识信息;Responding to the first interactive operation on the target page, displaying identification information corresponding to multiple native pages;
响应于从多个所述原生页面中的选中操作,生成所述目标页面的标识信息与选中的所述原生页面的关联关系。In response to a selection operation from multiple native pages, an association relationship between the identification information of the target page and the selected native page is generated.
具体的,所述原生页面入口可以包括多种触发方式,例如启动小程序,点击某个控件,滑动触发等操作,进入小程序的原生页面。在一示例性实施例中,小程序的原生页面可以包括多个,因此,每个原生页面可以对应一个标识信息。本公开实施例中,在所述目标页面中响应于第一交互操作,展示多个原生页面对应的标识信息,例如,在目标页面中点击“分享”控件,展示原生页面的标识信息,例如展示会话页面、购物页面、订单页面、物流信息页面等分别对应的标识信息,响应于从所多个所述原生页面中的选中操作,生成目标页面的标识信息与原生页面的关联关系。Specifically, the native page entry may include a variety of triggering methods, such as starting the applet, clicking on a certain control, sliding trigger and other operations to enter the native page of the applet. In an exemplary embodiment, there may be multiple native pages of the applet. Therefore, each native page may correspond to a piece of identification information. In the embodiment of the present disclosure, in response to the first interactive operation on the target page, display the identification information corresponding to multiple native pages, for example, click the "Share" control on the target page to display the identification information of the native page, for example, display The identification information corresponding to the session page, the shopping page, the order page, the logistics information page, etc. respectively, responds to the selection operation from the plurality of native pages, and generates the association relationship between the identification information of the target page and the original page.
上述实施例中,通过展示不同的原生页面的标识信息,方便用户选择与当前目标页面所交互的原生页面,提高了交互的便利性。In the above embodiment, by displaying identification information of different native pages, it is convenient for the user to select a native page to interact with the current target page, which improves the convenience of interaction.
图3为另一个实施例中小程序中页面的展示方法的第二流程示意图,参考图3所示,所述方法包括:Fig. 3 is a second schematic flow chart of a method for displaying pages in an applet in another embodiment. Referring to Fig. 3, the method includes:
步骤S301,响应于小程序中目标页面入口的触发指令,利用所述小程序内嵌的浏览器加载所述预设任务对应的通用网络页面。Step S301, in response to the trigger instruction of the target page entry in the applet, use the browser embedded in the applet to load the general web page corresponding to the preset task.
具体的,所述目标页面可以包括被设置为预设任务对应的页面,所述预设任务可以根据具体的应用场景需求而设定的任务,例如推荐任务、推送任务、订阅任务等。相应地,目标页面入口也可以根据具体的应用场景需求而设定。Specifically, the target page may include a page set to correspond to a preset task, and the preset task may be a task set according to a specific application scenario requirement, such as a recommendation task, a push task, a subscription task, and the like. Correspondingly, the target page entry can also be set according to specific application scenario requirements.
步骤S303,在所述通用网络页面中,从内容分发网路服务器加载所述目标页面对应的页面描述文件。Step S303, in the general network page, load the page description file corresponding to the target page from the content distribution network server.
具体的,所述通用网络页面可以包括预先设置的网络页面,多个不同的目标页面公用同一个网络页面。在一示例性实施例中,可以建立多个目标页面入口与通用网络页面对应的访问地址之间的关联关系,触发不同的目标页面入口,可以加载相同的通用网络页面。Specifically, the general web page may include a preset web page, and a plurality of different target pages share the same web page. In an exemplary embodiment, an association relationship between multiple target page entries and access addresses corresponding to a common web page may be established, different target page entries may be triggered, and the same common web page may be loaded.
步骤S203,利用所述浏览器解析所述页面描述文件,并展示对应的所述目标页面。Step S203, using the browser to parse the page description file, and display the corresponding target page.
具体的,利用所述浏览器解析所述页面描述文件,根据解析得到的数据渲染目标页面中的不同的业务组件,例如文案组件、卡片组件、列表组件和轮播图组件等。再所述浏览器中以网页的方式展示对应的目标页面。Specifically, use the browser to parse the page description file, and render different business components in the target page according to the parsed data, such as copywriting components, card components, list components, and carousel components. Then display the corresponding target page in the form of webpage in the browser.
步骤S305,在所述目标页面中响应于与所述小程序的原生页面的交互操作,生成交互信息。Step S305, generating interaction information on the target page in response to an interactive operation with the native page of the applet.
步骤S307,将所述交互信息发送至小程序服务器,以指示所述小程序服务器根据所述关联关系,将所述交互内容发送至所述原生页面。Step S307, sending the interaction information to the applet server to instruct the applet server to send the interaction content to the native page according to the association relationship.
具体的,所述小程序的原生页面可以包括运行小程序应用的应用页面,非网络页面,所述原生页面的内容可以从小程序启动时加载的数据中获取,也可以从小程序服务器获取。本公开实施例中,所述目标页面可以与小程序的原生页面进行交互,例如,将目标页面的内容分享到小程序的原生页面中。具体的,在所述目标页面中响应于与所述小程序的原生页面的交互操作,其中,所述交互操作可以包括点击、滑动、手势等操作形式,生成交互信息。所述交互信息可以包括交互内容以及所述目标页面的标识信息与所述原生页面的标识信息的关联关系,在一示例性实施例中,可以在目标页面生成时同时生成目标页面的标识信息,如ID号,以及在原生页面生成或加载时生成原生页面的标识信息。其中,所述交互内容可以包括交互的具体内容数据,例如分享的链接、发送的消息等。Specifically, the native page of the applet may include an application page running the applet application and a non-network page, and the content of the native page may be obtained from data loaded when the applet is started, or obtained from a server of the applet. In the embodiment of the present disclosure, the target page can interact with the native page of the applet, for example, share the content of the target page to the native page of the applet. Specifically, interactive information is generated on the target page in response to an interactive operation with the native page of the applet, wherein the interactive operation may include operation forms such as click, slide, and gesture. The interaction information may include interaction content and an association relationship between the identification information of the target page and the identification information of the native page. In an exemplary embodiment, the identification information of the target page may be generated at the same time when the target page is generated, Such as the ID number, and the identification information of the native page generated when the native page is generated or loaded. Wherein, the interaction content may include specific content data of the interaction, such as a shared link, a sent message, and the like.
图4为另一个实施例中小程序中页面的展示方法的第三流程示意图,参考图4所示,小程序原生页面加载并生成uid,表示小程序原生页面入口触发后,加载小程序原生页面,并生成原生页面的标识信息。内嵌webview页面加载,表示小程序内嵌浏览器加载目标页面。与小程序服务器建立websocket通信,表示目标页面与小程序服务器建立websocket通信。通过uid建立关联关系,表示建立小程序原生页面的标识信息与目标页面的标识信息的关联关系。小程序服务器根据该关联关系,将小程序原生页面的消息发送至目标页面,并将目标页面的消息发送至原生页面。Fig. 4 is a schematic diagram of the third flow of the display method of the page in the applet in another embodiment. Referring to Fig. 4, the native page of the applet is loaded and a uid is generated, indicating that after the entry of the native page of the applet is triggered, the native page of the applet is loaded. And generate the identification information of the native page. The embedded webview page is loaded, which means that the browser embedded in the applet loads the target page. Establishing websocket communication with the applet server means that the target page establishes websocket communication with the applet server. Establishing an association relationship through uid means establishing an association relationship between the identification information of the Mini Program's native page and the identification information of the target page. According to the association relationship, the applet server sends the message of the native page of the applet to the target page, and sends the message of the target page to the native page.
图5为另一个实施例中小程序中页面的展示方法的第四流程示意图,参考图5所示,具体描述了图4实施例中内嵌webview页面加载的具体过程。编辑生成JSON Schema文件,表示编辑生成页面描述文件。文件上传至CDN,表示页面描述文件可以上传到内容分发网络服务器中。配置目标页面入口,具体可以根据实际的场景需求,配置目标页面的触发实际,以及触发方式。小程序通过webview加载通用网络页面,通用网络页面加载JSON Schema文件,解析JSON Schema文件的内容,根据内容渲染不同的业务组件,例如文案组件、卡片组件、列表组件、轮播图组件和其他业务组件,最终生成并展示目标页面。FIG. 5 is a fourth schematic flowchart of a page display method in an applet in another embodiment. With reference to FIG. 5 , the specific process of loading an embedded webview page in the embodiment in FIG. 4 is described in detail. Editing generates a JSON Schema file, indicating that editing generates a page description file. The file is uploaded to the CDN, which means that the page description file can be uploaded to the CDN server. Configure the target page entry. Specifically, you can configure the triggering of the target page and the triggering method according to the actual scenario requirements. The applet loads the general network page through the webview, the general network page loads the JSON Schema file, parses the content of the JSON Schema file, and renders different business components according to the content, such as copywriting components, card components, list components, carousel components and other business components , and finally generate and display the target page.
应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flow charts involved in the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flow charts involved in the above-mentioned embodiments may include multiple steps or stages, and these steps or stages are not necessarily executed at the same time, but may be performed at different times For execution, the execution order of these steps or stages is not necessarily performed sequentially, but may be executed in turn or alternately with other steps or at least a part of steps or stages in other steps.
基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的小程序中页面的展示方法的小程序中页面的展示装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个小程序中页面的展示装置实施例中的具体限定可以参见上文中对于小程序中页面的展示方法的限定,在此不再赘述。Based on the same inventive concept, an embodiment of the present application further provides a display device for a page in a small program for implementing the above-mentioned method for displaying a page in a small program. The solution to the problem provided by the device is similar to the implementation described in the above method, so the specific limitations in the embodiment of the display device for the pages in one or more applets provided below can be referred to above for applets The limitation of the display method of the page in the document will not be repeated here.
在一个实施例中,如图6所示,提供了一种小程序中页面的展示装置600,包括:In one embodiment, as shown in FIG. 6 , a
第一加载模块601,用于响应于小程序中目标页面入口的触发指令,利用所述小程序内嵌的浏览器从服务器加载所述目标页面对应的页面描述文件;其中,所述目标页面被设置为预设任务对应的页面;The
展示模块603,用于利用所述浏览器解析所述页面描述文件,并展示对应的所述目标页面。The
在一种可能的实现方式中,所述第一加载模块,包括:In a possible implementation manner, the first loading module includes:
第一加载子模块,用于利用所述小程序内嵌的浏览器加载所述预设任务对应的通用网络页面;The first loading submodule is configured to use the browser embedded in the applet to load the general web page corresponding to the preset task;
第二加载子模块,用于在所述通用网络页面中,从服务器加载所述目标页面对应的页面描述文件。The second loading submodule is configured to load the page description file corresponding to the target page from the server in the general web page.
在一种可能的实现方式中,所述第二加载子模块,包括:In a possible implementation manner, the second loading submodule includes:
加载单元,用于在所述通用网络页面中,从内容分发网路服务器加载所述目标页面对应的页面描述文件。The loading unit is configured to load the page description file corresponding to the target page from the content distribution network server in the general network page.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第一生成模块,用于基于预设的页面程序语言描述协议,生成页面描述文件模板;The first generation module is used to generate a page description file template based on a preset page program language description protocol;
第二生成模块,用于接收对所述页面模板的设置操作,生成所述目标页面对应的页面描述文件。The second generating module is configured to receive a setting operation on the page template, and generate a page description file corresponding to the target page.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
交互模块,用于在所述目标页面中响应于与所述小程序的原生页面的交互操作,生成交互信息;其中,所述交互信息包括交互内容,以及所述目标页面的标识信息与所述原生页面的标识信息的关联关系;An interaction module, configured to generate interaction information on the target page in response to an interaction operation with the native page of the applet; wherein, the interaction information includes interaction content, and the identification information of the target page and the The association relationship of the identification information of the native page;
发送模块,用于将所述交互信息发送至小程序服务器,以指示所述小程序服务器根据所述关联关系,将所述交互内容发送至所述原生页面。A sending module, configured to send the interaction information to a mini-program server, so as to instruct the mini-program server to send the interactive content to the native page according to the association relationship.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
第二加载模块,用于响应于所述原生页面入口的触发指令,加载所述原生页面,并生成所述原生页面的标识信息;The second loading module is configured to load the native page and generate identification information of the native page in response to the trigger instruction of the native page entry;
所述交互模块,包括:The interactive modules include:
展示子模块,用于在所述目标页面中响应于第一交互操作,展示多个原生页面对应的标识信息;A display submodule, configured to display identification information corresponding to multiple native pages in response to the first interactive operation on the target page;
生成子模块,用于响应于从多个所述原生页面中的选中操作,生成所述目标页面的标识信息与选中的所述原生页面的关联关系。The generating submodule is configured to generate an association relationship between the identification information of the target page and the selected native page in response to a selection operation from among the plurality of native pages.
上述小程序中页面的展示装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the display device of the page in the above-mentioned applet may be fully or partially realized by software, hardware or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图7所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种小程序中页面的展示方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure may be as shown in FIG. 7 . The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a method for displaying pages in the applet is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 7 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any reference to storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile and volatile storage. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive variable memory (ReRAM), magnetic variable memory (Magnetoresistive Random Access Memory, MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (Phase Change Memory, PCM), graphene memory, etc. The volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a blockchain-based distributed database, etc., but is not limited thereto. The processors involved in the various embodiments provided by this application can be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., and are not limited to this.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be determined by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211711231.4A CN116127219A (en) | 2022-12-29 | 2022-12-29 | Method and device for displaying pages in applet and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211711231.4A CN116127219A (en) | 2022-12-29 | 2022-12-29 | Method and device for displaying pages in applet and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116127219A true CN116127219A (en) | 2023-05-16 |
Family
ID=86305866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211711231.4A Pending CN116127219A (en) | 2022-12-29 | 2022-12-29 | Method and device for displaying pages in applet and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116127219A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116798167A (en) * | 2023-08-25 | 2023-09-22 | 广东星云开物科技股份有限公司 | Shared entertainment equipment starting method, system and storage medium |
CN118276923A (en) * | 2024-05-24 | 2024-07-02 | 安徽高灯微行科技有限公司 | Method, device, computer equipment and storage medium for dynamic configuration of applet |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112150136A (en) * | 2020-09-04 | 2020-12-29 | 京东数字科技控股股份有限公司 | A payment method, system and device for embedded web page in application |
CN114237933A (en) * | 2021-12-15 | 2022-03-25 | 中国平安人寿保险股份有限公司 | Communication method, device, equipment and storage medium for application program and program page |
CN115525360A (en) * | 2022-09-20 | 2022-12-27 | 杭州群核信息技术有限公司 | Method, device, equipment and storage medium for accessing applet link |
-
2022
- 2022-12-29 CN CN202211711231.4A patent/CN116127219A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112150136A (en) * | 2020-09-04 | 2020-12-29 | 京东数字科技控股股份有限公司 | A payment method, system and device for embedded web page in application |
CN114237933A (en) * | 2021-12-15 | 2022-03-25 | 中国平安人寿保险股份有限公司 | Communication method, device, equipment and storage medium for application program and program page |
CN115525360A (en) * | 2022-09-20 | 2022-12-27 | 杭州群核信息技术有限公司 | Method, device, equipment and storage medium for accessing applet link |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116798167A (en) * | 2023-08-25 | 2023-09-22 | 广东星云开物科技股份有限公司 | Shared entertainment equipment starting method, system and storage medium |
CN118276923A (en) * | 2024-05-24 | 2024-07-02 | 安徽高灯微行科技有限公司 | Method, device, computer equipment and storage medium for dynamic configuration of applet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11144711B2 (en) | Webpage rendering method, device, electronic apparatus and storage medium | |
CN109863527B (en) | Method and system for server-side rendering of rendered local content | |
US20190251143A1 (en) | Web page rendering method and related device | |
WO2020151333A1 (en) | Page loading method, apparatus, computer device and storage medium | |
US9015657B2 (en) | Systems and methods for developing and delivering platform adaptive web and native application content | |
CN113535164A (en) | A method, device, electronic device and storage medium for generating front-end interface | |
TW201443670A (en) | Virtual library providing content accessibility irrespective of content format and type | |
EP3278217B1 (en) | Enhanced preview technology for application add-ins | |
CN106533926B (en) | Webpage information spreading method and device | |
CN114611481A (en) | Template configuration method, apparatus, computer equipment, and storage medium | |
CN114238806B (en) | Page display method, device, computer equipment, storage medium and program product | |
CN116127219A (en) | Method and device for displaying pages in applet and computer equipment | |
CN114385164A (en) | Page generation and rendering method and device, electronic equipment and storage medium | |
CN117076881A (en) | Service data processing method, device and computer equipment | |
US9706006B2 (en) | System and method of context aware adaption of content for a mobile device | |
US9928751B2 (en) | Generic media covers | |
US9135725B2 (en) | Generic media covers | |
CN111444448B (en) | Data processing method, server and system | |
US9779387B2 (en) | Business-to-business document user interface and integration design | |
CN116860576A (en) | Method, device, computer equipment and storage medium for recording operation log | |
CN116258597A (en) | Document processing method, device, computer equipment and storage medium | |
US8291311B2 (en) | Web display program conversion system, web display program conversion method and program for converting web display program | |
CN116112573B (en) | Terminal interface conversion method, device, equipment, storage medium and program product | |
US20160078008A1 (en) | Integrating user interface experiences from multiple applications | |
CN116400922A (en) | Interface guide schematic diagram generation method, device, computer equipment and storage medium |
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 |