WO2016177250A1 - Client page rendering method and apparatus - Google Patents

Client page rendering method and apparatus Download PDF

Info

Publication number
WO2016177250A1
WO2016177250A1 PCT/CN2016/078605 CN2016078605W WO2016177250A1 WO 2016177250 A1 WO2016177250 A1 WO 2016177250A1 CN 2016078605 W CN2016078605 W CN 2016078605W WO 2016177250 A1 WO2016177250 A1 WO 2016177250A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
page
layout template
data
client
Prior art date
Application number
PCT/CN2016/078605
Other languages
French (fr)
Chinese (zh)
Inventor
陈舒婷
常敏
马磊
叶斌
Original Assignee
阿里巴巴集团控股有限公司
陈舒婷
常敏
马磊
叶斌
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 阿里巴巴集团控股有限公司, 陈舒婷, 常敏, 马磊, 叶斌 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016177250A1 publication Critical patent/WO2016177250A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present application relates to the field of network technologies, and in particular, to a client page rendering method and apparatus.
  • each version of the client displays a product or service layout template that is fixed.
  • the layout template specifies which display areas are included in the display page, and which data is displayed in each display area, by associating different areas in the layout template.
  • the data source is rendered to get the display page of different products.
  • the layout templates in the client are not suitable for displaying these new products, you need to develop a new version of the client to increase the display of new products.
  • the layout template leads to higher development costs.
  • the present application provides a client page rendering method and apparatus.
  • a first aspect of the present application provides a client page rendering method; the method includes:
  • the client page rendering method before the receiving the page detail data, further includes:
  • the rendering operation is performed according to the default layout template and the page basic data stored by the client, and the basic information display page of the target page is obtained.
  • the determining the original layout template of the target page includes:
  • the preset layout template does not exist, it is determined that the default layout template is the original layout template.
  • the corresponding component description item is generated according to the component implementation class and component data, including:
  • the component translation function is called to process the component data to obtain a corresponding component description item.
  • a second aspect of the present application provides a client page rendering apparatus; the apparatus includes:
  • a data parsing unit configured to receive and parse page detail data sent by the server, and determine component data and an original layout template of the target page;
  • a component class search unit configured to search for a component implementation class corresponding to each component key value recorded in the original layout template according to a preset first mapping between the key value and the implementation class name;
  • a component translation unit configured to generate a corresponding component description item according to the component implementation class and the component data
  • a target template generating unit configured to summarize each component description item to generate a target layout template
  • the detailed information rendering unit is configured to perform a rendering operation according to the target layout template to obtain a detailed information display page of the target page.
  • the client page rendering apparatus further includes:
  • a basic information rendering unit configured to acquire basic page data according to a uniform resource locator URL of the target page before the data parsing unit receives the page detail data, and execute according to a default layout template and page basic data stored by the client The rendering operation gets the basic information display page of the target page.
  • the data parsing unit includes:
  • a layout template determining module configured to determine whether a preset layout template exists in the parsing result of the page detail data, and if the preset layout template exists, determining the preset layout template as an original layout template, otherwise determining The default layout template is the original layout template.
  • the component translation unit includes:
  • a translation function search module configured to search for a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function;
  • the component data processing module is configured to invoke the component translation function to process the component data to obtain a corresponding component description item.
  • the original layout template records only the key values of each component and the location information thereof, and searches for the corresponding implementation class according to the key value when performing page rendering, so that the implementation class corresponding to the same component can be restored.
  • Used for different layout templates so when a new product appears, or the corresponding preset layout template is designed for the new product, and added to the page details data to return to the client, and the design new product corresponding
  • you preset a layout template you only need to consider the required component key value and its position on the page. You don't need to think about how to implement the component, so you can reduce the design difficulty of the original layout template for new products.
  • FIG. 1 is a flowchart of a method for rendering a client page according to an embodiment of the present application.
  • FIG. 2 is a signal flow diagram of a client page rendering method provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for determining an original layout template in a client page rendering method provided by an embodiment of the present application.
  • FIG. 4 is a block diagram of a client page rendering apparatus according to an embodiment of the present application.
  • FIG. 5 is a block diagram of another client page rendering apparatus provided by an embodiment of the present application.
  • FIG. 1 is a flowchart of a method for rendering a client page according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps.
  • the embodiment of the present application adopts a componentized layout manner, that is, a display page is drawn in units of components, and each component represents at least one element in the page, such as a product preview image, a text box displaying a product name, etc., and different components are combined or Different layout templates can be obtained by setting the same component in different locations.
  • the embodiment of the present application sets a corresponding key value for each component and implements the implementation class of the component, and pre-stores the mapping relationship between the key value of each component and the implementation class that implements the component in the client.
  • the client converts the original layout template into the target layout template by performing the above steps S12 to S14, the target The component description item corresponding to each component is recorded in the layout template, and the corresponding page element is drawn according to each component description item, and finally the target page is obtained.
  • the original layout template records only the key values of each component and the location information thereof, and searches for the corresponding implementation class according to the key value when performing page rendering, so that the implementation class corresponding to the same component can be restored.
  • Used for different layout templates so when a new product appears, or the corresponding preset layout template is designed for the new product, and added to the page details data to return to the client, and the design new product corresponding
  • you preset a layout template you only need to consider the required component key value and its position on the page. You don't need to think about how to implement the component, so you can reduce the design difficulty of the original layout template for new products.
  • the program corresponding to the above page rendering method can also be divided into three levels, which are a data layer, a componentized template translation layer and a UI layer from bottom to top; wherein the above step S11 is performed by The data layer is executed, steps S12 to S14 are performed by the componentized template translation layer, and step S15 is performed by the UI layer.
  • step S11 the following steps are further included:
  • the page basic data is obtained according to the uniform resource locator URL of the target page, and the rendering operation is performed according to the default layout template and the page basic data, and the basic information display page of the target page is obtained.
  • the process of obtaining the page detail data from the server and rendering the detailed information display page takes a certain time.
  • the client receives the page display instruction and then services the service.
  • the request is sent to obtain the corresponding page detail data
  • the basic information of the target page is obtained by analyzing the Uniform Resoure Locator (URL) of the target page to be displayed, and according to the default layout stored by the client.
  • the template is rendered to get the basic information display page of the target page.
  • the basic information may include a name, a header, a price, and the like of the product, and the step of rendering the basic information display page by the foregoing is directly performed by the UI layer.
  • the client page rendering method provided by the present application is performed with reference to the signal flow diagram shown in FIG. 2 Explain in detail.
  • step S21 the client receives a page display instruction sent by the user; after receiving the instruction, the client sends a page detail data acquisition request to the server, that is, step S22, and according to the default.
  • the URL of the layout template and the target page performs the first rendering operation to obtain the basic information display page, that is, step S23; when the server returns the page detail data, the client receives the page detail data, as in step S24; and in step S25, the client
  • the end parses the page detail data to determine the component data of the target page and the original layout template, and performs a secondary rendering operation according to the component data and the original layout template to obtain a detailed information display page of the target page, and the specific content of the secondary rendering operation.
  • the steps are as described in steps S12 to S15 above, and are not described herein again.
  • the client performs the rendering operation twice, wherein the first rendering operation does not depend on the data returned by the server, and can be executed in a short time to obtain a page for displaying basic information, thereby avoiding obtaining detailed information.
  • the page display window appears blank for a long time, which improves the user experience.
  • the determining the original layout template of the target page in the foregoing step S11 may include the following steps:
  • the data object description rule json ie, JavaScript Object Notation
  • JavaScript Object Notation based on the JavaScript language
  • each data object related to the preset layout template is named “name: The value is recorded in the form of a plurality of data objects forming a json string; correspondingly, as shown in FIG. 3, the target can be determined by the following steps
  • the original layout template for the page :
  • step S111 determining whether there is a json string in the page detail data, if yes, executing step S112, otherwise performing step S115;
  • step S113 determining whether the json string can be successfully parsed, obtaining a layout template, if successful parsing, step S114 is performed, otherwise step S115 is performed;
  • the parsed layout template is the preset layout template, that is, the preset layout template exists in the page detail data, so the preset is The layout template is marked as the original layout template of the target page; if there is no json string, or the json string cannot be successfully parsed, it is determined that the preset layout template does not exist in the page detail data, so the default layout template is marked as the original layout template of the target page. .
  • the component description item generated according to the component implementation class and the component data described in the foregoing step S13 includes the following steps:
  • the component translation function is called to process the component data to obtain a corresponding component description item.
  • the client is preset with two mapping tables, one of which records a mapping relationship between the component key value and the class name of the component implementation class, that is, the first mapping.
  • the other record has a mapping relationship between the class name of the component implementation class and the component translation function, that is, the second mapping described above.
  • the client performs the following operations on the component key values in the original layout template to obtain corresponding component description items: the component implementation class corresponding to the component key value is searched based on the first mapping, and then the component implementation class is included based on the second mapping
  • the component translation function initializes the component translation function, reads the corresponding field in the component data as input data, and runs the component translation function to obtain the corresponding component description item.
  • mapping table-based searching method is beneficial to realize multiplexing and expansion of components, that is, when new components need to be added according to product display requirements, only need to add corresponding mapping relationships in two mapping tables, according to the new
  • the key value of the component is found to the corresponding component translation function, and the corresponding component description item is obtained.
  • FIG. 4 is a structural block diagram of a client page rendering apparatus according to an embodiment of the present application.
  • the apparatus includes: a data parsing unit 110, a component class searching unit 120, a component translating unit 130, a target template generating unit 140, and a detail information rendering unit 150.
  • the data parsing unit 110 is configured to receive and parse the page detail data sent by the server, and determine the component data of the target page and the original layout template.
  • the component class search unit 120 is configured to search for a component implementation class corresponding to each component key value searched in the original layout template according to a preset first mapping between the key value and the implementation class name.
  • the component translation unit 130 is configured to generate a corresponding component description item according to the component implementation class and component data.
  • the target template generation unit 140 is configured to summarize the respective component description item generation target layout templates.
  • the detailed information rendering unit 150 is configured to perform a rendering operation according to the target layout template Do, get the details information display page of the target page.
  • the original layout template records only the key values of each component and the location information thereof.
  • the component class searching unit searches for the corresponding implementation class according to the key value, so that the same component corresponds.
  • the implementation class can be reused for different layout templates, so when a new product appears, or a corresponding preset layout template is designed for the new product, and added to the page detail data to return to the client, and the new design Adding a preset layout template corresponding to the product only needs to consider the required component key value and its position on the page, and does not need to consider how to implement the component, thereby reducing the design difficulty of the original layout template applicable to the newly added product; Or design a specific new component for the new product, and add a mapping relationship between the component key value and the component implementation class to the client, so that the new component can be found and called without modifying the query code.
  • Implementation class is
  • the embodiment of the present application can reduce the design difficulty of the layout template, and the component and the layout template have reusability and scalability.
  • the new product needs to be displayed, there is no need to develop and release a new version of the client, thereby improving the utilization of the client. Rate, reduce development costs.
  • the client page rendering apparatus further includes: a basic information rendering unit 160.
  • the basic information rendering unit 160 is configured to obtain the page basic data according to the uniform resource locator URL of the target page before the data parsing unit 110 receives the page detail data, and according to the default layout template and the page basic stored by the client.
  • the data performs a rendering operation to get a basic information display page of the target page.
  • the rendering operation is performed according to the URL of the target page and the default layout template, and the basic information display page is obtained. , to avoid showing details Before the page, the page display window appears blank for a long time, which improves the user experience.
  • the data parsing unit belongs to the data layer
  • the component class search unit, the component translation unit and the target target generating unit belong to the componentized template translation layer
  • the detailed information Both the rendering unit and the basic information rendering unit belong to the UI layer.
  • the data parsing unit 110 includes at least: a layout template determining module, and the layout template determining module is configured to determine whether a preset layout template exists in the parsing result of the page detail data. If the preset layout template exists, it is determined that the preset layout template is an original layout template, otherwise the default layout template is determined to be the original layout template.
  • a preset layout template suitable for the newly added product or service may be set in the corresponding page detail data, so that the layout template determining module will give the preset layout.
  • the template is used as the original layout template of the target page, and performs component data processing and rendering operations to obtain a detailed information display page with the best display effect; and for the original product or service, the page detail data may not set the data related to the layout template, thereby
  • the layout template determination module uses the default layout template pre-stored by the client as the original layout template. Since the default layout template is designed according to the original product and service, the default layout template can also be used for the original product or service. Good details display page.
  • the component translation unit 130 includes a translation function lookup module and a component data processing module.
  • the translation function lookup module is configured to search for a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function.
  • the component data processing module is configured to invoke the component translation function to process the component data to obtain a corresponding component description item.
  • mapping table-based component implementation class and component translation function search mode is beneficial to realize multiplexing and expansion of components, that is, when new components need to be added according to product display requirements, only need to add corresponding in two mapping tables. Mapping the relationship, you can find the corresponding component translation function according to the key value of the newly added component, and then get the corresponding component description item.
  • the embodiment of the present application further provides a computer storage medium, such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the computer storage medium stores a program.
  • the program in the storage medium is executed by the processor of the terminal device, the terminal device is enabled to perform some or all of the steps of the client page rendering method described in the foregoing method embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A client page rendering method and apparatus. An original layout template records only desired key values of various components and position information thereof, so that corresponding component implementation classes pre-stored in a client can be searched according to the key values in the original layout template and further corresponding component description entries are generated in combination with component data in page details data sent by a server, and a details information exhibition page can be obtained by executing page rendering operations according to a target layout template composed of the various component description entries. It can be seen that both the component implementation classes and the original layout template have reusability and extendibility. When exhibition of an added product is required, only the key value of a component required by a preset layout template corresponding to the added product and the position thereof on a page need to be taken into account, without the need of considering how the component is implemented, thus the difficulty in design layout templates is lowered; and also development and release of a new version of the client are not needed, which improves the rate of utilization of the client and lowers development costs.

Description

客户端页面渲染方法及装置Client page rendering method and device 技术领域Technical field
本申请涉及网络技术领域,尤其涉及一种客户端页面渲染方法及装置。The present application relates to the field of network technologies, and in particular, to a client page rendering method and apparatus.
背景技术Background technique
随着移动通信技术的发展及手机、平板电脑等电子设备的普及,应用于电子设备的应用程序,即客户端,也越来越多,如各类购物网站提供的手机客户端。这些客户端运行时,可以与相应的服务端之间进行通信,从而将服务端提供的产品或服务信息按照一定的布局渲染为相应的展示页面,使得用户可以通过电子设备随时随地获知上述产品及服务信息。With the development of mobile communication technologies and the popularization of electronic devices such as mobile phones and tablet computers, applications for electronic devices, that is, clients, are also increasing, such as mobile phone clients provided by various shopping websites. When these clients are running, they can communicate with the corresponding server, so that the product or service information provided by the server is rendered into a corresponding display page according to a certain layout, so that the user can know the above products through the electronic device anytime and anywhere. Service Information.
一般的,每个版本的客户端展示产品或服务的布局模板是固定的,该布局模板规定了展示页面包括哪些展示区域,每个展示区域展示哪些数据,通过将布局模板中各个区域关联不同的数据源,渲染得到不同产品的展示页面。Generally, each version of the client displays a product or service layout template that is fixed. The layout template specifies which display areas are included in the display page, and which data is displayed in each display area, by associating different areas in the layout template. The data source is rendered to get the display page of different products.
但是,随着业务的扩展,服务端提供的产品类型也会相应增加,如果客户端中的布局模板不适合展示这些新增产品,则需要开发新版本的客户端,以增加适合展示新增产品的布局模板,从而导致开发成本较高。However, as the business expands, the types of products provided by the server will increase accordingly. If the layout templates in the client are not suitable for displaying these new products, you need to develop a new version of the client to increase the display of new products. The layout template leads to higher development costs.
发明内容Summary of the invention
为克服相关技术中存在的问题,本申请提供一种客户端页面渲染方法及装置。To overcome the problems in the related art, the present application provides a client page rendering method and apparatus.
本申请第一方面提供一种客户端页面渲染方法;该方法包括:A first aspect of the present application provides a client page rendering method; the method includes:
接收并解析服务端发送的页面详情数据,确定目标页面的组件数据和原始布局模板; Receiving and parsing page detail data sent by the server, determining component data of the target page and the original layout template;
根据键值与实现类名之间的预设第一映射查找所述原始布局模板中记录的各个组件键值对应的组件实现类;Searching for a component implementation class corresponding to each component key value recorded in the original layout template according to a preset first mapping between the key value and the implementation class name;
根据所述组件实现类和组件数据生成对应的组件描述项;Generating corresponding component description items according to the component implementation class and component data;
汇总各个组件描述项生成目标布局模板;Aggregate each component description item to generate a target layout template;
根据所述目标布局模板执行渲染操作,得到目标页面的详情信息展示页面。Performing a rendering operation according to the target layout template to obtain a detailed information display page of the target page.
结合第一方面,在第一方面的第一种可行的实施方式中,在接收到所述页面详情数据前,所述客户端页面渲染方法还包括:In conjunction with the first aspect, in a first possible implementation manner of the first aspect, before the receiving the page detail data, the client page rendering method further includes:
根据目标页面的统一资源定位符URL获取页面基本数据;Obtaining basic data of the page according to the uniform resource locator URL of the target page;
根据客户端存储的默认布局模板和页面基本数据执行渲染操作,得到目标页面的基本信息展示页面。The rendering operation is performed according to the default layout template and the page basic data stored by the client, and the basic information display page of the target page is obtained.
结合第一方面,或者第一方面的第一种可行的实施方式,在第一方面的第二种可行的实施方式中,所述确定目标页面的原始布局模板,包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the determining the original layout template of the target page includes:
判断对所述页面详情数据的解析结果中是否存在预设布局模板;Determining whether a preset layout template exists in the parsing result of the page detail data;
如果存在所述预设布局模板,则确定所述预设布局模板为原始布局模板;If the preset layout template exists, determining that the preset layout template is an original layout template;
如果不存在所述预设布局模板,则确定所述默认布局模板为所述原始布局模板。If the preset layout template does not exist, it is determined that the default layout template is the original layout template.
结合第一方面,或者第一方面的第一种可行的实施方式,在第一方面的第三种可行的实施方式中,根据所述组件实现类和组件数据生成对应的组件描述项,包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, the corresponding component description item is generated according to the component implementation class and component data, including:
根据实现类名与函数之间的预设第二映射查找所述组件实现类对应的组 件翻译函数;Finding a group corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function Piece translation function;
调用所述组件翻译函数对所述组件数据进行处理,得到对应的组件描述项。The component translation function is called to process the component data to obtain a corresponding component description item.
本申请第二方面提供一种客户端页面渲染装置;该装置包括:A second aspect of the present application provides a client page rendering apparatus; the apparatus includes:
数据解析单元,用于接收并解析服务端发送的页面详情数据,确定目标页面的组件数据和原始布局模板;a data parsing unit, configured to receive and parse page detail data sent by the server, and determine component data and an original layout template of the target page;
组件类查找单元,用于根据键值与实现类名之间的预设第一映射查找所述原始布局模板中记录的各个组件键值查找对应的组件实现类;a component class search unit, configured to search for a component implementation class corresponding to each component key value recorded in the original layout template according to a preset first mapping between the key value and the implementation class name;
组件翻译单元,用于根据所述组件实现类和组件数据生成对应的组件描述项;a component translation unit, configured to generate a corresponding component description item according to the component implementation class and the component data;
目标模板生成单元,用于汇总各个组件描述项生成目标布局模板;a target template generating unit, configured to summarize each component description item to generate a target layout template;
详情信息渲染单元,用于根据所述目标布局模板执行渲染操作,得到目标页面的详情信息展示页面。The detailed information rendering unit is configured to perform a rendering operation according to the target layout template to obtain a detailed information display page of the target page.
结合第二方面,在第二方面的第一种可行的实施方式中,所述客户端页面渲染装置还包括:In conjunction with the second aspect, in a first possible implementation manner of the second aspect, the client page rendering apparatus further includes:
基本信息渲染单元,用于在所述数据解析单元接收到所述页面详情数据前,根据目标页面的统一资源定位符URL获取页面基本数据,并根据客户端存储的默认布局模板和页面基本数据执行渲染操作,得到目标页面的基本信息展示页面。a basic information rendering unit, configured to acquire basic page data according to a uniform resource locator URL of the target page before the data parsing unit receives the page detail data, and execute according to a default layout template and page basic data stored by the client The rendering operation gets the basic information display page of the target page.
结合第二方面,或者第二方面的第一种可行的实施方式,在第二方面的第二种可行的实施方式中,所述数据解析单元包括: With reference to the second aspect, or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the data parsing unit includes:
布局模板确定模块,用于判断对所述页面详情数据的解析结果中是否存在预设布局模板,如果存在所述预设布局模板,则确定所述预设布局模板为原始布局模板,否则确定所述默认布局模板为所述原始布局模板。a layout template determining module, configured to determine whether a preset layout template exists in the parsing result of the page detail data, and if the preset layout template exists, determining the preset layout template as an original layout template, otherwise determining The default layout template is the original layout template.
结合第二方面,或者第二方面的第一种可行的实施方式,在第二方面的第三种可行的实施方式中,所述组件翻译单元包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in the third possible implementation manner of the second aspect, the component translation unit includes:
翻译函数查找模块,用于根据实现类名与函数之间的预设第二映射查找所述组件实现类对应的组件翻译函数;a translation function search module, configured to search for a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function;
组件数据处理模块,用于调用所述组件翻译函数对所述组件数据进行处理,得到对应的组件描述项。The component data processing module is configured to invoke the component translation function to process the component data to obtain a corresponding component description item.
由以上技术方案可知,本申请实施例中原始布局模板仅记录各个组件的键值及其位置信息,在执行页面渲染时再根据键值查找对应的实现类,使得同一组件对应的实现类可以复用于不同的布局模板,因此当出现新增产品时,或者针对该新增产品设计对应的预设布局模板,并将其添加在页面详情数据中返回至客户端,且设计新增产品对应的预设布局模板时只需考虑所需的组件键值和其在页面中的位置,不需要考虑如何实现该组件,从而可以降低适用于新增产品的原始布局模板的设计难度;或者针对该新增产品设计特定的新增组件,并将其组件键值和组件实现类之间的映射关系添加至客户端中,从而在不修改查询代码的前提下就可以查找调用新增组件的实现类。可见,本申请实施例可以降低布局模板的设计难度,组件和布局模板具有复用性和可扩展性,在需要展示新增产品时,不需要开发并发布新版客户端,可以提高客户端的利用率,降低开发成本。According to the above technical solution, in the embodiment of the present application, the original layout template records only the key values of each component and the location information thereof, and searches for the corresponding implementation class according to the key value when performing page rendering, so that the implementation class corresponding to the same component can be restored. Used for different layout templates, so when a new product appears, or the corresponding preset layout template is designed for the new product, and added to the page details data to return to the client, and the design new product corresponding When you preset a layout template, you only need to consider the required component key value and its position on the page. You don't need to think about how to implement the component, so you can reduce the design difficulty of the original layout template for new products. Or for this new Add product-specific new components, and add the mapping between its component key values and component implementation classes to the client, so that you can find the implementation class that calls the new component without modifying the query code. It can be seen that the embodiment of the present application can reduce the design difficulty of the layout template, and the component and the layout template have reusability and scalability. When the new product needs to be displayed, there is no need to develop and release a new version of the client, which can improve the utilization of the client. Reduce development costs.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性 的,并不能限制本申请。It should be understood that the above general description and the following detailed description are merely exemplary and explanatory. This does not limit the application.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in the specification of FIG
图1是本申请实施例提供的一种客户端页面渲染方法的流程图。FIG. 1 is a flowchart of a method for rendering a client page according to an embodiment of the present application.
图2是本申请实施例提供的一种客户端页面渲染方法的信号流图。2 is a signal flow diagram of a client page rendering method provided by an embodiment of the present application.
图3是本申请实施例提供的客户端页面渲染方法中确定原始布局模板的方法流程图。FIG. 3 is a flowchart of a method for determining an original layout template in a client page rendering method provided by an embodiment of the present application.
图4是本申请实施例提供的一种客户端页面渲染装置的框图。FIG. 4 is a block diagram of a client page rendering apparatus according to an embodiment of the present application.
图5是本申请实施例提供的另一种客户端页面渲染装置的框图。FIG. 5 is a block diagram of another client page rendering apparatus provided by an embodiment of the present application.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
图1为本申请实施例提供的一种客户端页面渲染方法的流程图。如图1所示,该方法包括以下步骤。FIG. 1 is a flowchart of a method for rendering a client page according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps.
S11、接收并解析服务端发送的页面详情数据,确定目标页面的组件数据和原始布局模板。S11. Receive and parse page detail data sent by the server, and determine component data and an original layout template of the target page.
S12、根据键值与实现类名之间的预设第一映射查找所述原始布局模板中 记录的各个组件键值对应的组件实现类。S12. Search for the original layout template according to a preset first mapping between the key value and the implementation class name. The component implementation class corresponding to each component key value recorded.
S13、根据所述组件实现类和组件数据生成对应的组件描述项。S13. Generate a corresponding component description item according to the component implementation class and the component data.
S14、汇总各个组件描述项生成目标布局模板。S14. Aggregate each component description item to generate a target layout template.
S15、根据所述目标布局模板执行渲染操作,得到目标页面的详情信息展示页面。S15. Perform a rendering operation according to the target layout template to obtain a detailed information display page of the target page.
本申请实施例采用组件化布局方式,即以组件为单位绘制展示页面,每个组件表示页面中的至少一个元素,如一张产品预览图、显示产品名称的文本框等,将不同组件相组合或者将同一组件设置于不同位置即可得到不同的布局模板。有鉴于此,本申请实施例为每种组件设置对应的键值及实现该组件的实现类,并将每种组件的键值及实现该组件的实现类之间的映射关系预先存储于客户端中;相应的,原始布局模板中只记录所需组件的键值以及各个组件在页面中的位置信息;进而客户端通过执行上述步骤S12至S14,将原始布局模板转化为目标布局模板,该目标布局模板中记录有各个组件对应的组件描述项,根据各个组件描述项执行渲染操作,即可绘制出对应的页面元素,最终得到目标页面。The embodiment of the present application adopts a componentized layout manner, that is, a display page is drawn in units of components, and each component represents at least one element in the page, such as a product preview image, a text box displaying a product name, etc., and different components are combined or Different layout templates can be obtained by setting the same component in different locations. In view of this, the embodiment of the present application sets a corresponding key value for each component and implements the implementation class of the component, and pre-stores the mapping relationship between the key value of each component and the implementation class that implements the component in the client. Correspondingly, only the key values of the required components and the position information of each component in the page are recorded in the original layout template; and then the client converts the original layout template into the target layout template by performing the above steps S12 to S14, the target The component description item corresponding to each component is recorded in the layout template, and the corresponding page element is drawn according to each component description item, and finally the target page is obtained.
由以上技术方案可知,本申请实施例中原始布局模板仅记录各个组件的键值及其位置信息,在执行页面渲染时再根据键值查找对应的实现类,使得同一组件对应的实现类可以复用于不同的布局模板,因此当出现新增产品时,或者针对该新增产品设计对应的预设布局模板,并将其添加在页面详情数据中返回至客户端,且设计新增产品对应的预设布局模板时只需考虑所需的组件键值和其在页面中的位置,不需要考虑如何实现该组件,从而可以降低适用于新增产品的原始布局模板的设计难度;或者针对该新增产品设计特定的 新增组件,并将其组件键值和组件实现类之间的映射关系添加至客户端中,从而在不修改查询代码的前提下就可以查找调用新增组件的实现类。可见,本申请实施例可以降低布局模板的设计难度,组件和布局模板具有复用性和可扩展性,在需要展示新增产品时,不需要开发并发布新版客户端,进而可以提高客户端的利用率,降低开发成本。According to the above technical solution, in the embodiment of the present application, the original layout template records only the key values of each component and the location information thereof, and searches for the corresponding implementation class according to the key value when performing page rendering, so that the implementation class corresponding to the same component can be restored. Used for different layout templates, so when a new product appears, or the corresponding preset layout template is designed for the new product, and added to the page details data to return to the client, and the design new product corresponding When you preset a layout template, you only need to consider the required component key value and its position on the page. You don't need to think about how to implement the component, so you can reduce the design difficulty of the original layout template for new products. Or for this new Increase product design specific Add a new component and add the mapping between its component key value and the component implementation class to the client, so that you can find the implementation class that calls the new component without modifying the query code. It can be seen that the embodiment of the present application can reduce the design difficulty of the layout template, and the component and the layout template have reusability and scalability. When the new product needs to be displayed, there is no need to develop and release a new version of the client, thereby improving the utilization of the client. Rate, reduce development costs.
另外,对照程序开发的三层逻辑架构,上述页面渲染方法对应的程序也可分为三个层次,自下而上分别为数据层、组件化模板翻译层和UI层;其中,上述步骤S11由数据层执行,步骤S12至S14由组件化模板翻译层执行,步骤S15由UI层执行。In addition, in the three-layer logical architecture developed by the program, the program corresponding to the above page rendering method can also be divided into three levels, which are a data layer, a componentized template translation layer and a UI layer from bottom to top; wherein the above step S11 is performed by The data layer is executed, steps S12 to S14 are performed by the componentized template translation layer, and step S15 is performed by the UI layer.
在本申请一个可行的实施例中,在上述步骤S11之前,还包括如下步骤:In a possible embodiment of the present application, before the step S11, the following steps are further included:
根据目标页面的统一资源定位符URL获取页面基本数据,并根据所述默认布局模板和页面基本数据执行渲染操作,得到目标页面的基本信息展示页面。The page basic data is obtained according to the uniform resource locator URL of the target page, and the rendering operation is performed according to the default layout template and the page basic data, and the basic information display page of the target page is obtained.
实际应用中,客户端从服务端获取页面详情数据,并渲染得到详情信息展示页面的过程需要一定的时间,为避免页面空白时间过长,客户端在接收到页面展示指令后,一方面向服务端发出请求,以获取对应的页面详情数据,另一方面通过分析待展示的目标页面的统一资源定位符(Uniform Resoure Locator,URL),获取目标页面的基本信息,并根据客户端存储的默认布局模板进行渲染,得到目标页面的基本信息展示页面。其中,上述基本信息可以包括产品的名称、头图和价格等,上述渲染得到基本信息展示页面的步骤直接由UI层执行。In the actual application, the process of obtaining the page detail data from the server and rendering the detailed information display page takes a certain time. To avoid the page blank time being too long, the client receives the page display instruction and then services the service. The request is sent to obtain the corresponding page detail data, and on the other hand, the basic information of the target page is obtained by analyzing the Uniform Resoure Locator (URL) of the target page to be displayed, and according to the default layout stored by the client. The template is rendered to get the basic information display page of the target page. The basic information may include a name, a header, a price, and the like of the product, and the step of rendering the basic information display page by the foregoing is directly performed by the UI layer.
下面参照图2所示的信号流图对本申请提供的客户端页面渲染方法进行 详细阐述。The client page rendering method provided by the present application is performed with reference to the signal flow diagram shown in FIG. 2 Explain in detail.
如图2所示,在步骤S21中,客户端接收用户发送的页面展示指令;接收到该指令后,客户端一方面向服务端发送页面详情数据获取请求,即步骤S22,另一方面根据默认布局模板和目标页面的URL执行首次渲染操作,得到基本信息展示页面,即步骤S23;待服务端返回页面详情数据时,客户端接收该页面详情数据,如步骤S24;进而在步骤S25中,客户端解析上述页面详情数据,以确定目标页面的组件数据和原始布局模板,并根据该组件数据和原始布局模板执行二次渲染操作,得到目标页面的详情信息展示页面,上述二次渲染操作的具体步骤如上文步骤S12至S15所述,此处不再赘述。As shown in FIG. 2, in step S21, the client receives a page display instruction sent by the user; after receiving the instruction, the client sends a page detail data acquisition request to the server, that is, step S22, and according to the default. The URL of the layout template and the target page performs the first rendering operation to obtain the basic information display page, that is, step S23; when the server returns the page detail data, the client receives the page detail data, as in step S24; and in step S25, the client The end parses the page detail data to determine the component data of the target page and the original layout template, and performs a secondary rendering operation according to the component data and the original layout template to obtain a detailed information display page of the target page, and the specific content of the secondary rendering operation. The steps are as described in steps S12 to S15 above, and are not described herein again.
可见,上述实施例中,客户端分两次执行渲染操作,其中首次渲染操作不依赖服务端返回的数据,可以在短时间内执行完毕,得到用于展示基本信息的页面,避免在得到详情信息展示页面之前页面显示窗口出现较长时间的空白,提高用户体验好感度。It can be seen that, in the above embodiment, the client performs the rendering operation twice, wherein the first rendering operation does not depend on the data returned by the server, and can be executed in a short time to obtain a page for displaying basic information, thereby avoiding obtaining detailed information. Before the page is displayed, the page display window appears blank for a long time, which improves the user experience.
在本申请另一个可行的实施例中,上述步骤S11中所述的确定目标页面的原始布局模板,可以包括如下步骤:In another possible embodiment of the present application, the determining the original layout template of the target page in the foregoing step S11 may include the following steps:
判断对所述页面详情数据的解析结果中是否存在预设布局模板,如果存在所述预设布局模板,则确定所述预设布局模板为原始布局模板,否则确定所述默认布局模板为所述原始布局模板。Determining whether there is a preset layout template in the parsing result of the page detail data, and if the preset layout template exists, determining that the preset layout template is an original layout template, otherwise determining that the default layout template is the Original layout template.
其中,页面详情数据中,可以采用基于JavaScript语言的数据对象描述规则json(即JavaScript Object Notation)来记录预设布局模板的相关数据,也即预设布局模板相关的各个数据对象均以“名称:值”的形式进行记录,多个数据对象构成json串;相应的,如图3所示,可以通过以下步骤确定目标 页面的原始布局模板:In the page detail data, the data object description rule json (ie, JavaScript Object Notation) based on the JavaScript language may be used to record the related data of the preset layout template, that is, each data object related to the preset layout template is named “name: The value is recorded in the form of a plurality of data objects forming a json string; correspondingly, as shown in FIG. 3, the target can be determined by the following steps The original layout template for the page:
S111、判断所述页面详情数据中是否存在json串,如果存在,则执行步骤S112,否则执行步骤S115;S111, determining whether there is a json string in the page detail data, if yes, executing step S112, otherwise performing step S115;
S112、解析所述页面详情数据中的json串;S112. Parse the json string in the page detail data.
S113、判断所述json串是否可以成功解析,得到布局模板,如果可以成功解析,则执行步骤S114,否则执行步骤S115;S113, determining whether the json string can be successfully parsed, obtaining a layout template, if successful parsing, step S114 is performed, otherwise step S115 is performed;
S114、将解析json串得到的布局模板标记为目标页面的原始布局模板;S114. Mark the layout template obtained by parsing the json string as the original layout template of the target page.
S115、将客户端存储的默认布局模板标记为目标页面的原始布局模板。S115. Mark the default layout template stored by the client as the original layout template of the target page.
由以上步骤可知,如果页面详情数据中存在json串且可以成功解析得到布局模板,则解析得到的布局模板即为预设布局模板,即页面详情数据中存在预设布局模板,故将该预设布局模板标记为目标页面的原始布局模板;如果不存在json串,或者无法成功解析json串,则判定页面详情数据中不存在预设布局模板,故将默认布局模板标记为目标页面的原始布局模板。According to the above steps, if the json string exists in the page detail data and the layout template can be successfully parsed, the parsed layout template is the preset layout template, that is, the preset layout template exists in the page detail data, so the preset is The layout template is marked as the original layout template of the target page; if there is no json string, or the json string cannot be successfully parsed, it is determined that the preset layout template does not exist in the page detail data, so the default layout template is marked as the original layout template of the target page. .
在本申请又一个可行的实施例中,上述步骤S13所述的根据所述组件实现类和组件数据生成对应的组件描述项,包括如下步骤:In another possible embodiment of the present application, the component description item generated according to the component implementation class and the component data described in the foregoing step S13 includes the following steps:
根据实现类名与函数之间的预设第二映射查找所述组件实现类对应的组件翻译函数;Finding a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function;
调用所述组件翻译函数对所述组件数据进行处理,得到对应的组件描述项。The component translation function is called to process the component data to obtain a corresponding component description item.
由以上步骤可知,本申请实施例中客户端预先设置有两个映射表,其中一个记录有组件键值和组件实现类的类名之间的映射关系,即上述第一映射, 另一个记录有组件实现类的类名与组件翻译函数之间的映射关系,即上述第二映射。客户端针对原始布局模板中的各个组件键值,分别执行如下操作得到对应的组件描述项:基于上述第一映射查找组件键值对应的组件实现类,进而基于第二映射查找组件实现类中包含的组件翻译函数,初始化该组件翻译函数,读取组件数据中的相应字段作为输入数据并运行上述组件翻译函数,得到对应的组件描述项。According to the above steps, in the embodiment of the present application, the client is preset with two mapping tables, one of which records a mapping relationship between the component key value and the class name of the component implementation class, that is, the first mapping. The other record has a mapping relationship between the class name of the component implementation class and the component translation function, that is, the second mapping described above. The client performs the following operations on the component key values in the original layout template to obtain corresponding component description items: the component implementation class corresponding to the component key value is searched based on the first mapping, and then the component implementation class is included based on the second mapping The component translation function initializes the component translation function, reads the corresponding field in the component data as input data, and runs the component translation function to obtain the corresponding component description item.
上述基于映射表的查找方式,有利于实现组件的复用及扩展,即当根据产品展示需求,需要增加新的组件时,只需在两个映射表中添加相应的映射关系,即可根据新增组件的键值查找到对应的组件翻译函数,进而得到对应的组件描述项。The above-mentioned mapping table-based searching method is beneficial to realize multiplexing and expansion of components, that is, when new components need to be added according to product display requirements, only need to add corresponding mapping relationships in two mapping tables, according to the new The key value of the component is found to the corresponding component translation function, and the corresponding component description item is obtained.
图4为本申请实施例提供的一种客户端页面渲染装置的结构框图。参照图4,该装置包括:数据解析单元110、组件类查找单元120、组件翻译单元130、目标模板生成单元140和详情信息渲染单元150。FIG. 4 is a structural block diagram of a client page rendering apparatus according to an embodiment of the present application. Referring to FIG. 4, the apparatus includes: a data parsing unit 110, a component class searching unit 120, a component translating unit 130, a target template generating unit 140, and a detail information rendering unit 150.
该数据解析单元110被配置为,接收并解析服务端发送的页面详情数据,确定目标页面的组件数据和原始布局模板。The data parsing unit 110 is configured to receive and parse the page detail data sent by the server, and determine the component data of the target page and the original layout template.
该组件类查找单元120被配置为,根据键值与实现类名之间的预设第一映射查找所述原始布局模板中记录的各个组件键值查找对应的组件实现类。The component class search unit 120 is configured to search for a component implementation class corresponding to each component key value searched in the original layout template according to a preset first mapping between the key value and the implementation class name.
该组件翻译单元130被配置为,根据所述组件实现类和组件数据生成对应的组件描述项。The component translation unit 130 is configured to generate a corresponding component description item according to the component implementation class and component data.
该目标模板生成单元140被配置为,汇总各个组件描述项生成目标布局模板。The target template generation unit 140 is configured to summarize the respective component description item generation target layout templates.
该详情信息渲染单元150被配置为,根据所述目标布局模板执行渲染操 作,得到目标页面的详情信息展示页面。The detailed information rendering unit 150 is configured to perform a rendering operation according to the target layout template Do, get the details information display page of the target page.
由以上技术方案可知,本申请实施例中原始布局模板仅记录各个组件的键值及其位置信息,在执行页面渲染时由组件类查找单元根据键值查找对应的实现类,使得同一组件对应的实现类可以复用于不同的布局模板,因此当出现新增产品时,或者针对该新增产品设计对应的预设布局模板,并将其添加在页面详情数据中返回至客户端,而设计新增产品对应的预设布局模板时只需考虑所需的组件键值和其在页面中的位置,不需要考虑如何实现该组件,从而可以降低适用于新增产品的原始布局模板的设计难度;或者针对该新增产品设计特定的新增组件,并将其组件键值和组件实现类之间的映射关系添加至客户端中,从而在不修改查询代码的前提下就可以查找调用新增组件的实现类。可见,本申请实施例可以降低布局模板的设计难度,组件和布局模板具有复用性和可扩展性,在需要展示新增产品时,不需要开发并发布新版客户端,进而可以提高客户端的利用率,降低开发成本。According to the above technical solution, in the embodiment of the present application, the original layout template records only the key values of each component and the location information thereof. When the page rendering is performed, the component class searching unit searches for the corresponding implementation class according to the key value, so that the same component corresponds. The implementation class can be reused for different layout templates, so when a new product appears, or a corresponding preset layout template is designed for the new product, and added to the page detail data to return to the client, and the new design Adding a preset layout template corresponding to the product only needs to consider the required component key value and its position on the page, and does not need to consider how to implement the component, thereby reducing the design difficulty of the original layout template applicable to the newly added product; Or design a specific new component for the new product, and add a mapping relationship between the component key value and the component implementation class to the client, so that the new component can be found and called without modifying the query code. Implementation class. It can be seen that the embodiment of the present application can reduce the design difficulty of the layout template, and the component and the layout template have reusability and scalability. When the new product needs to be displayed, there is no need to develop and release a new version of the client, thereby improving the utilization of the client. Rate, reduce development costs.
参照图5,在本申请其他实施例中,客户端页面渲染装置还包括:基本信息渲染单元160。Referring to FIG. 5, in other embodiments of the present application, the client page rendering apparatus further includes: a basic information rendering unit 160.
该基本信息渲染单元160被配置为,在数据解析单元110接收到所述页面详情数据前,根据目标页面的统一资源定位符URL获取页面基本数据,并根据客户端存储的默认布局模板和页面基本数据执行渲染操作,得到目标页面的基本信息展示页面。The basic information rendering unit 160 is configured to obtain the page basic data according to the uniform resource locator URL of the target page before the data parsing unit 110 receives the page detail data, and according to the default layout template and the page basic stored by the client. The data performs a rendering operation to get a basic information display page of the target page.
可见,本申请实施例提供的客户端页面渲染装置,在根据服务端返回的页面详情数据渲染得到详情信息展示页面前,先根据目标页面的URL及默认布局模板执行渲染操作,得到基本信息展示页面,避免在得到详情信息展示 页面之前页面显示窗口出现较长时间的空白,提高用户体验好感度。It can be seen that, in the client page rendering apparatus provided by the embodiment of the present application, before the detailed information display page is rendered according to the page detail data returned by the server, the rendering operation is performed according to the URL of the target page and the default layout template, and the basic information display page is obtained. , to avoid showing details Before the page, the page display window appears blank for a long time, which improves the user experience.
另外,对照上述数据层、组件化模板翻译层和UI层三个逻辑层,上述数据解析单元属于数据层,组件类查找单元、组件翻译单元和目标目标生成单元属于组件化模板翻译层,详情信息渲染单元及基本信息渲染单元均属于UI层。In addition, in contrast to the three logical layers of the data layer, the componentized template translation layer and the UI layer, the data parsing unit belongs to the data layer, and the component class search unit, the component translation unit and the target target generating unit belong to the componentized template translation layer, and the detailed information Both the rendering unit and the basic information rendering unit belong to the UI layer.
在本申请一个可行的实施例中,上述数据解析单元110至少包括:布局模板确定模块;该布局模板确定模块被配置为,判断对所述页面详情数据的解析结果中是否存在预设布局模板,如果存在所述预设布局模板,则确定所述预设布局模板为原始布局模板,否则确定所述默认布局模板为所述原始布局模板。In a possible embodiment of the present application, the data parsing unit 110 includes at least: a layout template determining module, and the layout template determining module is configured to determine whether a preset layout template exists in the parsing result of the page detail data. If the preset layout template exists, it is determined that the preset layout template is an original layout template, otherwise the default layout template is determined to be the original layout template.
基于上述布局模板确定模块,当需要展示新增产品或服务时,可以在对应的页面详情数据中设置适用于该新增产品或服务的预设布局模板,从而布局模板确定模块将给预设布局模板作为目标页面的原始布局模板,执行组件数据处理及渲染操作,得到展示效果最佳的详情信息展示页面;而对于原有产品或服务,页面详情数据中可以不设置布局模板相关的数据,从而布局模板确定模块将客户端预存的默认布局模板作为原始布局模板,由于该默认布局模板是根据原有产品及服务设计的,故对于原有产品或服务,采用默认布局模板也可以得到展示效果很好的详细信息展示页面。Based on the above-mentioned layout template determining module, when a new product or service needs to be displayed, a preset layout template suitable for the newly added product or service may be set in the corresponding page detail data, so that the layout template determining module will give the preset layout. The template is used as the original layout template of the target page, and performs component data processing and rendering operations to obtain a detailed information display page with the best display effect; and for the original product or service, the page detail data may not set the data related to the layout template, thereby The layout template determination module uses the default layout template pre-stored by the client as the original layout template. Since the default layout template is designed according to the original product and service, the default layout template can also be used for the original product or service. Good details display page.
在本申请另一个可行的实施例中,上述组件翻译单元130包括:翻译函数查找模块和组件数据处理模块。In another possible embodiment of the present application, the component translation unit 130 includes a translation function lookup module and a component data processing module.
其中,该翻译函数查找模块被配置为,根据实现类名与函数之间的预设第二映射查找所述组件实现类对应的组件翻译函数。 The translation function lookup module is configured to search for a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function.
该组件数据处理模块被配置为,调用所述组件翻译函数对所述组件数据进行处理,得到对应的组件描述项。The component data processing module is configured to invoke the component translation function to process the component data to obtain a corresponding component description item.
上述基于映射表的组件实现类及组件翻译函数查找方式,有利于实现组件的复用及扩展,即当根据产品展示需求,需要增加新的组件时,只需在两个映射表中添加相应的映射关系,即可根据新增组件的键值查找到对应的组件翻译函数,进而得到对应的组件描述项。The above-mentioned mapping table-based component implementation class and component translation function search mode is beneficial to realize multiplexing and expansion of components, that is, when new components need to be added according to product display requirements, only need to add corresponding in two mapping tables. Mapping the relationship, you can find the corresponding component translation function according to the key value of the newly added component, and then get the corresponding component description item.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment relating to the method, and will not be explained in detail herein.
另外,本申请实施例还提供了一种计算机存储介质,例如可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等;该计算机存储介质中存储有程序,当所述存储介质中的程序由终端设备的处理器执行时,使得终端设备能够执行上述方法实施例中记载的客户端页面渲染方法的部分或全部步骤。In addition, the embodiment of the present application further provides a computer storage medium, such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. The computer storage medium stores a program. When the program in the storage medium is executed by the processor of the terminal device, the terminal device is enabled to perform some or all of the steps of the client page rendering method described in the foregoing method embodiments.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present invention, which are in accordance with the general principles of the present invention and include common general knowledge or conventional technical means in the art not disclosed herein. . The specification and examples are to be considered as illustrative only,
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details of The scope of the invention is limited only by the appended claims.

Claims (8)

  1. 一种客户端页面渲染方法,其特征在于,包括:A client page rendering method, comprising:
    接收并解析服务端发送的页面详情数据,确定目标页面的组件数据和原始布局模板;Receiving and parsing page detail data sent by the server, determining component data of the target page and the original layout template;
    根据键值与实现类名之间的预设第一映射查找所述原始布局模板中记录的各个组件键值对应的组件实现类;Searching for a component implementation class corresponding to each component key value recorded in the original layout template according to a preset first mapping between the key value and the implementation class name;
    根据所述组件实现类和组件数据生成对应的组件描述项;Generating corresponding component description items according to the component implementation class and component data;
    汇总各个组件描述项生成目标布局模板;Aggregate each component description item to generate a target layout template;
    根据所述目标布局模板执行渲染操作,得到目标页面的详情信息展示页面。Performing a rendering operation according to the target layout template to obtain a detailed information display page of the target page.
  2. 根据权利要求1所述的客户端页面渲染方法,其特征在于,在接收到所述页面详情数据前,所述方法还包括:The client page rendering method according to claim 1, wherein before the receiving the page detail data, the method further comprises:
    根据目标页面的统一资源定位符URL获取页面基本数据;Obtaining basic data of the page according to the uniform resource locator URL of the target page;
    根据客户端存储的默认布局模板和页面基本数据执行渲染操作,得到目标页面的基本信息展示页面。The rendering operation is performed according to the default layout template and the page basic data stored by the client, and the basic information display page of the target page is obtained.
  3. 根据权利要求1或2所述的客户端页面渲染方法,其特征在于,所述确定目标页面的原始布局模板,包括:The client page rendering method according to claim 1 or 2, wherein the determining the original layout template of the target page comprises:
    判断对所述页面详情数据的解析结果中是否存在预设布局模板;Determining whether a preset layout template exists in the parsing result of the page detail data;
    如果存在所述预设布局模板,则确定所述预设布局模板为原始布局模板;If the preset layout template exists, determining that the preset layout template is an original layout template;
    如果不存在所述预设布局模板,则确定所述默认布局模板为所述原始布局模板。 If the preset layout template does not exist, it is determined that the default layout template is the original layout template.
  4. 根据权利要求1或2所述的客户端页面渲染方法,其特征在于,根据所述组件实现类和组件数据生成对应的组件描述项,包括:The client page rendering method according to claim 1 or 2, wherein the component description item is generated according to the component implementation class and component data, including:
    根据实现类名与函数之间的预设第二映射查找所述组件实现类对应的组件翻译函数;Finding a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function;
    调用所述组件翻译函数对所述组件数据进行处理,得到对应的组件描述项。The component translation function is called to process the component data to obtain a corresponding component description item.
  5. 一种客户端页面渲染装置,其特征在于,包括:A client page rendering device, comprising:
    数据解析单元,用于接收并解析服务端发送的页面详情数据,确定目标页面的组件数据和原始布局模板;a data parsing unit, configured to receive and parse page detail data sent by the server, and determine component data and an original layout template of the target page;
    组件类查找单元,用于根据键值与实现类名之间的预设第一映射查找所述原始布局模板中记录的各个组件键值查找对应的组件实现类;a component class search unit, configured to search for a component implementation class corresponding to each component key value recorded in the original layout template according to a preset first mapping between the key value and the implementation class name;
    组件翻译单元,用于根据所述组件实现类和组件数据生成对应的组件描述项;a component translation unit, configured to generate a corresponding component description item according to the component implementation class and the component data;
    目标模板生成单元,用于汇总各个组件描述项生成目标布局模板;a target template generating unit, configured to summarize each component description item to generate a target layout template;
    详情信息渲染单元,用于根据所述目标布局模板执行渲染操作,得到目标页面的详情信息展示页面。The detailed information rendering unit is configured to perform a rendering operation according to the target layout template to obtain a detailed information display page of the target page.
  6. 根据权利要求5所述的装置,其特征在于,还包括:The device according to claim 5, further comprising:
    基本信息渲染单元,用于在所述数据解析单元接收到所述页面详情数据前,根据目标页面的统一资源定位符URL获取页面基本数据,并根据客户端存储的默认布局模板和页面基本数据执行渲染操作,得到目标页面的基本信息展示页面。 a basic information rendering unit, configured to acquire basic page data according to a uniform resource locator URL of the target page before the data parsing unit receives the page detail data, and execute according to a default layout template and page basic data stored by the client The rendering operation gets the basic information display page of the target page.
  7. 根据权利要求5或6所述的装置,其特征在于,所述数据解析单元包括:The device according to claim 5 or 6, wherein the data parsing unit comprises:
    布局模板确定模块,用于判断对所述页面详情数据的解析结果中是否存在预设布局模板,如果存在所述预设布局模板,则确定所述预设布局模板为原始布局模板,否则确定所述默认布局模板为所述原始布局模板。a layout template determining module, configured to determine whether a preset layout template exists in the parsing result of the page detail data, and if the preset layout template exists, determining the preset layout template as an original layout template, otherwise determining The default layout template is the original layout template.
  8. 根据权利要求5或6所述的装置,其特征在于,所述组件翻译单元包括:The device according to claim 5 or 6, wherein the component translation unit comprises:
    翻译函数查找模块,用于根据实现类名与函数之间的预设第二映射查找所述组件实现类对应的组件翻译函数;a translation function search module, configured to search for a component translation function corresponding to the component implementation class according to a preset second mapping between the implementation class name and the function;
    组件数据处理模块,用于调用所述组件翻译函数对所述组件数据进行处理,得到对应的组件描述项。 The component data processing module is configured to invoke the component translation function to process the component data to obtain a corresponding component description item.
PCT/CN2016/078605 2015-05-05 2016-04-06 Client page rendering method and apparatus WO2016177250A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510224682.9A CN106202096A (en) 2015-05-05 2015-05-05 Customer terminal webpage rendering intent and device
CN201510224682.9 2015-05-05

Publications (1)

Publication Number Publication Date
WO2016177250A1 true WO2016177250A1 (en) 2016-11-10

Family

ID=57217444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078605 WO2016177250A1 (en) 2015-05-05 2016-04-06 Client page rendering method and apparatus

Country Status (3)

Country Link
CN (1) CN106202096A (en)
HK (1) HK1231588A1 (en)
WO (1) WO2016177250A1 (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page
CN108874384A (en) * 2018-05-31 2018-11-23 康键信息技术(深圳)有限公司 Terminal device, server, web data processing method and computer storage medium
CN109271607A (en) * 2018-08-17 2019-01-25 阿里巴巴集团控股有限公司 User Page layout detection method and device, electronic equipment
CN110121094A (en) * 2019-06-20 2019-08-13 广州酷狗计算机科技有限公司 Video is in step with display methods, device, equipment and the storage medium of template
CN110287472A (en) * 2019-06-28 2019-09-27 湖南御家科技有限公司 Report configuration method, system, equipment and computer readable storage medium
CN110727434A (en) * 2019-10-21 2020-01-24 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN110889067A (en) * 2018-09-10 2020-03-17 广州虎牙信息科技有限公司 Page rendering method, device and equipment and storage medium
CN111061478A (en) * 2019-12-11 2020-04-24 政采云有限公司 Page form modification method, device, equipment and readable storage medium
CN111324390A (en) * 2020-02-20 2020-06-23 苏宁云计算有限公司 Device and method for realizing APP content configuration and real-time update
CN111581567A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Page generation method and device
CN111611514A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Page display method and device based on user login information and electronic equipment
CN112083990A (en) * 2020-08-28 2020-12-15 山东英信计算机技术有限公司 Method, device, equipment and storage medium for intelligently configuring monitoring home page
CN112256445A (en) * 2020-07-24 2021-01-22 北京沃东天骏信息技术有限公司 Data processing method, device and equipment based on application program and storage medium
CN112416334A (en) * 2019-08-23 2021-02-26 腾讯科技(深圳)有限公司 Page configuration method, device, equipment and storage medium
CN112433728A (en) * 2020-12-09 2021-03-02 中国建设银行股份有限公司 Website construction method and device, electronic equipment and storage medium
CN112631588A (en) * 2020-12-28 2021-04-09 北京五八信息技术有限公司 File generation method and device, electronic equipment and computer readable medium
CN112631580A (en) * 2019-09-24 2021-04-09 阿里巴巴集团控股有限公司 Data processing method and device and computing equipment
CN112800370A (en) * 2021-01-28 2021-05-14 金蝶蝶金云计算有限公司 Business document processing method and device, computer equipment and storage medium
CN112800724A (en) * 2020-12-29 2021-05-14 杭州涂鸦信息技术有限公司 Readable file export method of visual configuration template and related device
CN112862558A (en) * 2019-11-28 2021-05-28 阿里巴巴集团控股有限公司 Method and system for generating product detail page and data processing method
CN113190759A (en) * 2021-05-21 2021-07-30 上海微盟企业发展有限公司 Webpage generation method, device and equipment and computer readable storage medium
CN113268261A (en) * 2021-07-16 2021-08-17 北京乐学帮网络技术有限公司 Page content display method and device and electronic equipment
CN113419726A (en) * 2021-06-22 2021-09-21 康键信息技术(深圳)有限公司 Method, device and equipment for generating commodity detail page and storage medium
CN113590119A (en) * 2021-07-29 2021-11-02 远光软件股份有限公司 Page creation method, electronic device and storage medium
CN113760253A (en) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 Front-end rendering method, apparatus, device, medium, and program product
CN115543323A (en) * 2022-11-29 2022-12-30 共道网络科技有限公司 Page development method and device

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600383A (en) * 2016-12-29 2017-04-26 江西博瑞彤芸科技有限公司 Page configuration method
CN108334387B (en) * 2017-01-20 2021-03-16 阿里巴巴集团控股有限公司 Dynamic interface rendering method and device
CN106951523B (en) * 2017-03-20 2019-12-10 北京搜狐新媒体信息技术有限公司 object processing method and system
CN106980508A (en) * 2017-04-01 2017-07-25 百度在线网络技术(北京)有限公司 Method and apparatus for generating the page
CN109656645A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Presentation time determines the determination method and device of method and page rendering deadline
CN108549693B (en) * 2018-04-13 2022-07-08 上海宝尊电子商务有限公司 CMS page generation method based on crawler technology
CN110489116B (en) * 2018-05-15 2024-02-06 阿里巴巴(中国)有限公司 Page rendering method and device and computer storage medium
CN108845800B (en) * 2018-05-23 2022-05-31 北京五八信息技术有限公司 Method, device, equipment and storage medium for realizing component extension function
CN109101300B (en) * 2018-06-14 2020-06-02 腾讯科技(深圳)有限公司 Page rendering method and device and terminal
CN109145238B (en) * 2018-07-06 2021-09-28 创新先进技术有限公司 Card display method and device and mobile device
CN110007916B (en) * 2018-12-06 2022-07-05 创新先进技术有限公司 Interface rendering method and device of business system and server
CN109684008B (en) * 2018-12-19 2022-03-29 Oppo广东移动通信有限公司 Card rendering method, device, terminal and computer readable storage medium
CN110297672B (en) * 2019-05-22 2022-08-16 深圳壹账通智能科技有限公司 Page dynamic generation method and device, computer equipment and storage medium
CN110442815B (en) * 2019-06-24 2022-04-01 北京奇艺世纪科技有限公司 Page generation method, system, device and computer readable storage medium
CN110673907B (en) * 2019-08-30 2022-04-15 深圳壹账通智能科技有限公司 Multi-role page jumping method and device, computer equipment and readable storage medium
CN110727435B (en) * 2019-10-21 2023-09-05 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN110908657A (en) * 2019-11-15 2020-03-24 中国人民财产保险股份有限公司 Product generation method and device
CN111142846B (en) * 2019-12-27 2023-12-05 北京奇艺世纪科技有限公司 Component development method, device and system, mobile terminal and readable storage medium
CN111459565B (en) * 2020-02-27 2023-08-18 上海钧正网络科技有限公司 Client page rendering method and device and mobile terminal
CN111857803A (en) * 2020-07-20 2020-10-30 北京达佳互联信息技术有限公司 Page updating method, device, server and storage medium
CN114217795A (en) * 2021-12-03 2022-03-22 北京达佳互联信息技术有限公司 Page generation method and device, electronic equipment and readable storage medium
CN114817793B (en) * 2022-06-24 2022-11-15 深圳市信润富联数字科技有限公司 Page generation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7594166B1 (en) * 1999-05-20 2009-09-22 Microsoft Corporation Dynamic web page behaviors
CN102306163A (en) * 2011-08-01 2012-01-04 烟台杰瑞网络商贸有限公司 Dynamic integration technology based on B2B (business to business) platform
CN103577207A (en) * 2012-08-01 2014-02-12 阿里巴巴集团控股有限公司 Loading method and loading device for interface components in custom interface system
CN103870266A (en) * 2012-12-12 2014-06-18 杭州新世纪电子科技有限公司 Method and system for generating page
CN103955364A (en) * 2014-04-15 2014-07-30 南威软件股份有限公司 Front end assembly method suitable for mobile phone

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10176270B2 (en) * 2009-12-24 2019-01-08 International Business Machines Corporation Performance of template based javascript widgets
CN102779164B (en) * 2012-06-20 2015-08-05 深圳市远行科技有限公司 The rendering intent of a kind of operation system and dynamic page thereof
CN104158836B (en) * 2014-06-23 2018-05-01 浙江大学城市学院 A kind of method by data render mobile application interface
CN104142826A (en) * 2014-07-28 2014-11-12 百度在线网络技术(北京)有限公司 Method, device and system for constructing page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7594166B1 (en) * 1999-05-20 2009-09-22 Microsoft Corporation Dynamic web page behaviors
CN102306163A (en) * 2011-08-01 2012-01-04 烟台杰瑞网络商贸有限公司 Dynamic integration technology based on B2B (business to business) platform
CN103577207A (en) * 2012-08-01 2014-02-12 阿里巴巴集团控股有限公司 Loading method and loading device for interface components in custom interface system
CN103870266A (en) * 2012-12-12 2014-06-18 杭州新世纪电子科技有限公司 Method and system for generating page
CN103955364A (en) * 2014-04-15 2014-07-30 南威软件股份有限公司 Front end assembly method suitable for mobile phone

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page
CN108874384A (en) * 2018-05-31 2018-11-23 康键信息技术(深圳)有限公司 Terminal device, server, web data processing method and computer storage medium
CN109271607A (en) * 2018-08-17 2019-01-25 阿里巴巴集团控股有限公司 User Page layout detection method and device, electronic equipment
CN110889067A (en) * 2018-09-10 2020-03-17 广州虎牙信息科技有限公司 Page rendering method, device and equipment and storage medium
CN111581567B (en) * 2019-02-18 2023-03-28 阿里巴巴集团控股有限公司 Page generation method and device
CN111581567A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Page generation method and device
CN110121094A (en) * 2019-06-20 2019-08-13 广州酷狗计算机科技有限公司 Video is in step with display methods, device, equipment and the storage medium of template
CN110287472A (en) * 2019-06-28 2019-09-27 湖南御家科技有限公司 Report configuration method, system, equipment and computer readable storage medium
CN110287472B (en) * 2019-06-28 2022-12-09 湖南水羊科技有限公司 Report configuration method, system, equipment and computer readable storage medium
CN112416334A (en) * 2019-08-23 2021-02-26 腾讯科技(深圳)有限公司 Page configuration method, device, equipment and storage medium
CN112631580A (en) * 2019-09-24 2021-04-09 阿里巴巴集团控股有限公司 Data processing method and device and computing equipment
CN110727434A (en) * 2019-10-21 2020-01-24 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN110727434B (en) * 2019-10-21 2023-07-04 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN112862558B (en) * 2019-11-28 2024-03-01 阿里巴巴集团控股有限公司 Method and system for generating product detail page and data processing method
CN112862558A (en) * 2019-11-28 2021-05-28 阿里巴巴集团控股有限公司 Method and system for generating product detail page and data processing method
CN111061478A (en) * 2019-12-11 2020-04-24 政采云有限公司 Page form modification method, device, equipment and readable storage medium
CN111061478B (en) * 2019-12-11 2023-08-22 政采云有限公司 Page form modification method, device and equipment and readable storage medium
CN111324390A (en) * 2020-02-20 2020-06-23 苏宁云计算有限公司 Device and method for realizing APP content configuration and real-time update
CN111611514B (en) * 2020-04-11 2024-04-23 上海淇玥信息技术有限公司 Page display method and device based on user login information and electronic equipment
CN111611514A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Page display method and device based on user login information and electronic equipment
CN112256445A (en) * 2020-07-24 2021-01-22 北京沃东天骏信息技术有限公司 Data processing method, device and equipment based on application program and storage medium
CN112083990A (en) * 2020-08-28 2020-12-15 山东英信计算机技术有限公司 Method, device, equipment and storage medium for intelligently configuring monitoring home page
CN112433728A (en) * 2020-12-09 2021-03-02 中国建设银行股份有限公司 Website construction method and device, electronic equipment and storage medium
CN112631588A (en) * 2020-12-28 2021-04-09 北京五八信息技术有限公司 File generation method and device, electronic equipment and computer readable medium
CN112800724A (en) * 2020-12-29 2021-05-14 杭州涂鸦信息技术有限公司 Readable file export method of visual configuration template and related device
CN113760253A (en) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 Front-end rendering method, apparatus, device, medium, and program product
CN112800370A (en) * 2021-01-28 2021-05-14 金蝶蝶金云计算有限公司 Business document processing method and device, computer equipment and storage medium
CN112800370B (en) * 2021-01-28 2024-04-30 金蝶蝶金云计算有限公司 Processing method and device of business document, computer equipment and storage medium
CN113190759A (en) * 2021-05-21 2021-07-30 上海微盟企业发展有限公司 Webpage generation method, device and equipment and computer readable storage medium
CN113419726B (en) * 2021-06-22 2023-10-24 康键信息技术(深圳)有限公司 Commodity detail page generation method, device, equipment and storage medium
CN113419726A (en) * 2021-06-22 2021-09-21 康键信息技术(深圳)有限公司 Method, device and equipment for generating commodity detail page and storage medium
CN113268261A (en) * 2021-07-16 2021-08-17 北京乐学帮网络技术有限公司 Page content display method and device and electronic equipment
CN113590119A (en) * 2021-07-29 2021-11-02 远光软件股份有限公司 Page creation method, electronic device and storage medium
CN115543323A (en) * 2022-11-29 2022-12-30 共道网络科技有限公司 Page development method and device

Also Published As

Publication number Publication date
HK1231588A1 (en) 2017-12-22
CN106202096A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
WO2016177250A1 (en) Client page rendering method and apparatus
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
US8549471B2 (en) Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof
US9311281B2 (en) Methods for facilitating web page image hotspots and devices thereof
US8543973B2 (en) Method and system for providing authentication schemes for web services
US20110119298A1 (en) Method and apparatus for searching information
US10372769B2 (en) Displaying results, in an analytics visualization dashboard, of federated searches across repositories using as inputs attributes of the analytics visualization dashboard
US10262066B2 (en) Crowd-sourced native application crawling
US10191971B2 (en) Computer-automated display adaptation of search results according to layout file
US8959111B2 (en) Providing answer box functionality to third party search engines
JPWO2019163117A1 (en) Web page translation system, web page translation device, web page providing device, and web page translation method
US9189546B2 (en) Semantic client, semantic information management server, method of generating semantic information, method of searching semantic information, and computer program recording medium for performing the methods
CN107430609B (en) Generation of new tab pages for browsers for enterprise environments
CN107248947B (en) Expression processing method and processing device, computer equipment and storage medium
CN113254819B (en) Page rendering method, system, equipment and storage medium
CN105589870B (en) Method and system for filtering webpage advertisements
US20170075880A1 (en) Translation for web services
CN107844537A (en) A kind of method and system of marking of web pages
JP6219425B2 (en) Attribute information generation device, linkage system, and attribute information generation program
JP2011048730A (en) Method for assisting browsing of webpage
JP5020355B2 (en) Profile display device, method, program, and system
CN115202715A (en) Network page processing method and device and storage medium
KR101401236B1 (en) Method and apparatus for processing moved web object based on intent
KR101414900B1 (en) Method and apparatus for moving web object based on intent
KR101414862B1 (en) Method and apparatus for web service supporting movability of web object

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16789244

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16789244

Country of ref document: EP

Kind code of ref document: A1