CN112130855A - A method and apparatus for generating a page - Google Patents

A method and apparatus for generating a page Download PDF

Info

Publication number
CN112130855A
CN112130855A CN202010975373.6A CN202010975373A CN112130855A CN 112130855 A CN112130855 A CN 112130855A CN 202010975373 A CN202010975373 A CN 202010975373A CN 112130855 A CN112130855 A CN 112130855A
Authority
CN
China
Prior art keywords
data
control
page
card
card area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010975373.6A
Other languages
Chinese (zh)
Inventor
彭冬华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202010975373.6A priority Critical patent/CN112130855A/en
Publication of CN112130855A publication Critical patent/CN112130855A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种生成页面的方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:能够通过服务端接收客户端生成页面的请求,获取对应于应用标识的页面的一个或者多个卡片区域;卡片区域包含控件集合;控件集合包含控件;并分别获取卡片区域、控件集合和控件的数据,其中控件数据包含控件关联的业务系统;客户端接收服务端发送的页面数据并生成页面;通过获取每个卡片中的各个控件集合中的各个控件的数据,克服了难以控制卡片内部的原子控件的问题,从控件层面增大了生成页面的扩展性和灵活性;通过设置控件关联的业务系统,克服了一个卡片内的控件不能适配多个不同业务系统的缺陷。

Figure 202010975373

The invention discloses a method and device for generating a page, and relates to the technical field of computers. A specific implementation of the method includes: receiving a request from the client to generate a page through the server, and obtaining one or more card areas corresponding to the page identified by the application; the card area contains a control set; the control set contains controls; The data of the card area, the control collection and the control, where the control data includes the business system associated with the control; the client receives the page data sent by the server and generates the page; by obtaining the data of each control in each control collection in each card, It overcomes the problem that it is difficult to control the atomic controls inside the card, and increases the scalability and flexibility of the generated page from the control level; by setting the business system associated with the controls, it overcomes that the controls in one card cannot be adapted to multiple different business systems. Defects.

Figure 202010975373

Description

一种生成页面的方法和装置A method and apparatus for generating a page

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种生成页面的方法和装置。The present invention relates to the field of computer technology, and in particular, to a method and apparatus for generating a page.

背景技术Background technique

在应用开发中,终端(例如手机终端)的用户页面展示可以基于卡片;卡片的概念是Google在2012年提出,卡片为信息的集合体。随后该设计以基于卡片为单位从而更好地聚焦展示和表达信息的优势,被广泛运用于终端(尤其是手机终端)的应用设计和开发中。In application development, the user page display of a terminal (such as a mobile phone terminal) can be based on cards; the concept of a card was proposed by Google in 2012, and a card is a collection of information. Subsequently, the design is based on the card to better focus on the advantages of displaying and expressing information, and is widely used in the application design and development of terminals (especially mobile terminals).

在实现本发明过程中,发明人发现现有技术中至少存在如下问题:In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art:

目前终端应用中基于卡片方式控制用户界面的方式通常以整个卡片为单位,存在难以控制卡片内部的组件的问题;并且基于卡片的业务场景单一,页面采用卡片的设计后,通常所有的卡片的展示内容基本来自同一个业务场景,同一个卡片不能适配多个不同的业务数据。At present, the way to control the user interface based on the card method in the terminal application usually takes the whole card as the unit, and there is a problem that it is difficult to control the components inside the card; and the card-based business scenario is single, and after the page adopts the card design, usually all the cards are displayed. The content basically comes from the same business scenario, and the same card cannot be adapted to multiple different business data.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供一种生成页面的方法和装置,能够通过服务端接收客户端生成页面的请求,获取对应于应用标识的页面的一个或者多个卡片区域;卡片区域包含控件集合;控件集合包含控件;并分别获取卡片区域、控件集合和控件的数据,其中控件数据包含控件关联的业务系统;客户端接收服务端发送的页面数据并生成页面;通过获取每个卡片中的各个控件集合中的各个控件的数据,克服了难以控制卡片内部的原子控件的问题,从控件层面增大了生成页面的扩展性和灵活性;通过设置控件关联的业务系统,克服了一个卡片内的控件不能适配多个不同业务系统的缺陷。In view of this, embodiments of the present invention provide a method and device for generating a page, which can receive a request from a client to generate a page through a server, and obtain one or more card areas corresponding to a page identified by an application; the card area contains a set of controls ;The control collection contains the control; and obtains the data of the card area, the control collection and the control respectively, wherein the control data includes the business system associated with the control; the client receives the page data sent by the server and generates the page; The data of each control in the control set overcomes the problem of difficult to control the atomic controls inside the card, and increases the scalability and flexibility of the generated page from the control level; Controls cannot adapt to the defects of multiple different business systems.

为实现上述目的,根据本发明实施例的一个方面,提供了一种生成页面的方法,其特征在于,包括:接收客户端发送生成页面的请求,所述请求包含应用标识;根据所述应用标识,获取对应于所述应用标识的所述页面包含的卡片区域的标识、所述卡片区域包含的控件集合的标识、所述控件集合包含的控件的标识;根据所述卡片区域的标识,获取卡片区域数据,根据所述控件集合的标识,获取控件集合数据;根据所述控件的标识,获取控件数据,所述控件数据包含所述控件关联的业务系统;基于所述卡片区域数据、所述控件集合数据和所述控件数据,生成页面数据并发送所述页面数据。In order to achieve the above object, according to an aspect of the embodiments of the present invention, a method for generating a page is provided, which includes: receiving a request sent by a client to generate a page, the request including an application identifier; according to the application identifier , obtain the identification of the card area included in the page corresponding to the application identification, the identification of the control set included in the card area, and the identification of the control included in the control collection; according to the identification of the card area, obtain the card Area data, according to the identification of the control collection, to obtain control collection data; according to the identification of the control, to obtain control data, the control data includes the business system associated with the control; based on the card area data, the control Collect data and the control data, generate page data and send the page data.

可选地,所述生成页面的方法,其特征在于,Optionally, the method for generating a page is characterized in that:

所述卡片区域数据包含所述卡片区域的样式和交互数据,所述控件集合数据包含所述控件集合的样式和交互数据,所述控件数据包含所述控件的样式和交互数据。The card area data includes the style and interaction data of the card area, the control set data includes the style and interaction data of the control collection, and the control data includes the style and interaction data of the control.

可选地,所述生成页面的方法,其特征在于,Optionally, the method for generating a page is characterized in that:

每个控件包含所述控件数据,所述控件数据对应的所述交互数据来源于所述控件关联的业务系统,并且每个控件关联的业务系统不完全相同。Each control contains the control data, the interaction data corresponding to the control data comes from a business system associated with the control, and the business systems associated with each control are not identical.

为实现上述目的,根据本发明实施例的第二方面,提供了一种生成页面的方法,其特征在于,包括:发送生成页面的请求,接收对应于所述请求返回的页面数据;获取所述页面数据中包含的卡片区域数据、所述卡片区域数据对应的控件集合数据、所述控件集合数据对应的控件数据;根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面。In order to achieve the above object, according to a second aspect of the embodiments of the present invention, a method for generating a page is provided, which includes: sending a request for generating a page, receiving page data returned corresponding to the request; The page data includes card area data, control set data corresponding to the card area data, and control data corresponding to the control set data; a page is generated according to the card area data, the control set data, and the control data.

可选地,所述生成页面的方法,其特征在于,Optionally, the method for generating a page is characterized in that:

根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面,包括:根据所述卡片区域数据所包含的卡片交互数据,关联页面上的卡片区域的交互;根据所述卡片区域数据所包含的卡片样式数据,确定页面上的卡片区域的样式,绘制所述卡片区域;根据所述控件集合数据所包含的控件集合交互数据,关联页面上的所述卡片区域内的控件集合的交互;根据所述控件集合数据所包含的控件集合样式数据,确定页面上的所述卡片区域内的控件集合的样式,绘制所述控件集合;根据所述控件数据所包含的控件交互数据,关联页面上的所述控件集合内的控件的交互;根据所述控件数据所包含的控件样式数据,确定页面上的所述控件集合内的控件的样式,绘制所述控件。Generating a page according to the card area data, the control set data, and the control data includes: associating the interaction of the card area on the page according to the card interaction data included in the card area data; according to the card area data The included card style data determines the style of the card area on the page, and draws the card area; according to the control collection interaction data included in the control collection data, the interaction of the control collection in the card area on the page is associated ; According to the control set style data contained in the control set data, determine the style of the control set in the card area on the page, and draw the control set; According to the control interaction data contained in the control data, associate the page The interaction of the controls in the control set on the page; according to the control style data included in the control data, determine the style of the controls in the control set on the page, and draw the control.

可选地,所述生成页面的方法,其特征在于,Optionally, the method for generating a page is characterized in that:

根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面,包括:根据所述卡片区域数据、所述控件集合数据、所述控件数据,利用本地软件生成第一页面;当所述第一页面发生异常时,从服务端获取第二页面,以替换所述第一页面;其中,所述第二页面是根据所述卡片区域数据、所述控件集合数据、所述控件数据,并基于HTML5而生成。Generating a page according to the card area data, the control collection data, and the control data includes: using local software to generate a first page according to the card area data, the control collection data, and the control data; When the first page is abnormal, the second page is obtained from the server to replace the first page; wherein, the second page is based on the card area data, the control collection data, and the control data, And generated based on HTML5.

为实现上述目的,根据本发明实施例的第三方面,提供了一种生成页面的装置,其特征在于,应用于服务端,包括:获取页面控件模块、获取页面数据模块和发送页面数据模块;其中,In order to achieve the above object, according to a third aspect of the embodiments of the present invention, there is provided a device for generating a page, which is characterized in that, when applied to a server, it includes: a module for obtaining page controls, a module for obtaining page data, and a module for sending page data; in,

所述获取页面控件模块,用于接收客户端发送生成页面的请求,所述请求包含应用标识;根据所述应用标识,获取对应于所述应用标识的所述页面包含的卡片区域的标识、所述卡片区域包含的控件集合的标识、所述控件集合包含的控件的标识;The obtaining page control module is configured to receive a request sent by the client to generate a page, the request includes an application identifier; according to the application identifier, obtain the identifier of the card area included in the page corresponding to the application identifier, the The identification of the control set contained in the card area, the identification of the control contained in the control set;

所述获取页面数据模块,用于根据所述卡片区域的标识,获取卡片区域数据,根据所述控件集合的标识,获取控件集合数据;根据所述控件的标识,获取控件数据,所述控件数据包含所述控件关联的业务系统;The acquiring page data module is configured to acquire card area data according to the identification of the card area, acquire control collection data according to the identification of the control collection; acquire control data according to the identification of the control, and the control data including the business system associated with the control;

所述发送页面数据模块,用于基于所述卡片区域数据、所述控件集合数据和所述控件数据,生成页面数据并发送所述页面数据。The sending page data module is configured to generate page data and send the page data based on the card area data, the widget set data and the widget data.

可选地,所述生成页面的装置,其特征在于,Optionally, the device for generating a page is characterized in that:

所述卡片区域数据包含所述卡片区域的样式和交互数据,所述控件集合数据包含所述控件集合的样式和交互数据,所述控件数据包含所述控件的样式和交互数据。The card area data includes the style and interaction data of the card area, the control set data includes the style and interaction data of the control collection, and the control data includes the style and interaction data of the control.

可选地,所述生成页面的装置,其特征在于,Optionally, the device for generating a page is characterized in that:

每个控件包含所述控件数据,所述控件数据对应的所述交互数据来源于所述控件关联的业务系统,并且每个控件关联的业务系统不完全相同。Each control contains the control data, the interaction data corresponding to the control data comes from a business system associated with the control, and the business systems associated with each control are not identical.

为实现上述目的,根据本发明实施例的第四方面,提供了一种生成页面的装置,其特征在于,应用于客户端,包括:接收页面数据模块、获取页面数据模块和生成页面模块;其中,In order to achieve the above object, according to a fourth aspect of the embodiments of the present invention, a device for generating a page is provided, which is characterized in that, when applied to a client, it includes: a module for receiving page data, a module for acquiring page data, and a module for generating page; wherein ,

所述接收页面数据模块,用于发送生成页面的请求,接收对应于所述请求返回的页面数据;The receiving page data module is configured to send a request for generating a page, and receive page data corresponding to the request returned;

所述获取页面数据模块,用于获取所述页面数据中包含的卡片区域数据、所述卡片区域数据对应的控件集合数据、所述控件集合数据对应的控件数据;The acquiring page data module is configured to acquire the card area data contained in the page data, the control set data corresponding to the card area data, and the control data corresponding to the control set data;

所述生成页面模块,用于根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面。The page generating module is configured to generate a page according to the card area data, the control collection data, and the control data.

可选地,所述生成页面的装置,其特征在于,Optionally, the device for generating a page is characterized in that:

根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面,包括:根据所述卡片区域数据所包含的卡片交互数据,关联页面上的卡片区域的交互;根据所述卡片区域数据所包含的卡片样式数据,确定页面上的卡片区域的样式,绘制所述卡片区域;根据所述控件集合数据所包含的控件集合交互数据,关联页面上的所述卡片区域内的控件集合的交互;根据所述控件集合数据所包含的控件集合样式数据,确定页面上的所述卡片区域内的控件集合的样式,绘制所述控件集合;根据所述控件数据所包含的控件交互数据,关联页面上的所述控件集合内的控件的交互;根据所述控件数据所包含的控件样式数据,确定页面上的所述控件集合内的控件的样式,绘制所述控件。Generating a page according to the card area data, the control set data, and the control data includes: associating the interaction of the card area on the page according to the card interaction data included in the card area data; according to the card area data The included card style data determines the style of the card area on the page, and draws the card area; according to the control collection interaction data included in the control collection data, the interaction of the control collection in the card area on the page is associated ; According to the control set style data contained in the control set data, determine the style of the control set in the card area on the page, and draw the control set; According to the control interaction data contained in the control data, associate the page The interaction of the controls in the control set on the page; according to the control style data included in the control data, determine the style of the controls in the control set on the page, and draw the control.

可选地,所述生成页面的装置,其特征在于,Optionally, the device for generating a page is characterized in that:

根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面,包括:根据所述卡片区域数据、所述控件集合数据、所述控件数据,利用本地软件生成第一页面;当所述第一页面发生异常时,从服务端获取第二页面,以替换所述第一页面;其中,所述第二页面是根据所述卡片区域数据、所述控件集合数据、所述控件数据,并基于HTML5而生成。Generating a page according to the card area data, the control collection data, and the control data includes: using local software to generate a first page according to the card area data, the control collection data, and the control data; When the first page is abnormal, the second page is obtained from the server to replace the first page; wherein, the second page is based on the card area data, the control collection data, and the control data, And generated based on HTML5.

为实现上述目的,根据本发明实施例的第五方面,提供了一种生成页面的电子设备,其特征在于,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述生成页面的方法中任一所述的方法。In order to achieve the above object, according to a fifth aspect of the embodiments of the present invention, an electronic device for generating a page is provided, which is characterized by comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any of the above-mentioned methods of generating a page.

为实现上述目的,根据本发明实施例的第六方面,提供了一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如上述生成页面的方法中任一所述的方法。In order to achieve the above object, according to a sixth aspect of the embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the above-mentioned method for generating a page is implemented any of the methods described above.

上述发明中的一个实施例具有如下优点或有益效果:能够通过服务端接收客户端生成页面的请求,获取对应于应用标识的页面的一个或者多个卡片区域;卡片区域包含控件集合;控件集合包含控件;并分别获取卡片区域、控件集合和控件的数据,其中控件数据包含控件关联的业务系统;客户端接收服务端发送的页面数据,生成页面;通过获取每个卡片中的各个控件集合中的各个控件的数据,克服了难以控制卡片内部的原子控件的问题,从控件层面增大了生成页面的扩展性和灵活性;通过设置控件关联的业务系统,克服了一个卡片内的控件不能适配多个不同业务系统的缺陷。One embodiment of the above invention has the following advantages or beneficial effects: the server can receive a request from the client to generate a page, and obtain one or more card areas corresponding to the page identified by the application; the card area contains a control set; the control set contains control; and obtain the data of the card area, the control collection and the control respectively, where the control data includes the business system associated with the control; the client receives the page data sent by the server and generates the page; by obtaining the data in each control collection in each card The data of each control overcomes the problem that it is difficult to control the atomic controls inside the card, and increases the scalability and flexibility of the generated page from the control level; by setting the business system associated with the controls, it overcomes the inability of the controls in a card to adapt Defects in multiple different business systems.

上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。Further effects of the above non-conventional alternatives will be described below in conjunction with specific embodiments.

附图说明Description of drawings

附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used for better understanding of the present invention and do not constitute an improper limitation of the present invention. in:

图1是本发明一实施例提供的一种生成页面数据的方法的流程示意图;1 is a schematic flowchart of a method for generating page data provided by an embodiment of the present invention;

图2是本发明一实施例提供的一种生成页面的流程示意图;FIG. 2 is a schematic flowchart of generating a page according to an embodiment of the present invention;

图3是本发明一个实施例提供的一种页面布局示意图;3 is a schematic diagram of a page layout provided by an embodiment of the present invention;

图4是本发明一实施例提供的一种客户端生成页面的流程示意图;4 is a schematic flowchart of a client-side generating page according to an embodiment of the present invention;

图5是本发明一个实施例提供的一种生成页面的装置的结构示意图;5 is a schematic structural diagram of an apparatus for generating a page provided by an embodiment of the present invention;

图6是本发明一个实施例提供的一种生成页面的装置的结构示意图;6 is a schematic structural diagram of an apparatus for generating a page provided by an embodiment of the present invention;

图7是本发明实施例可以应用于其中的示例性系统架构图;FIG. 7 is an exemplary system architecture diagram to which an embodiment of the present invention may be applied;

图8是适于用来实现本发明实施例的终端设备或服务器的计算机系统的结构示意图。FIG. 8 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

如图1所示,本发明实施例提供了一种生成页面的方法,应用于服务端,该方法可以包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a method for generating a page, which is applied to a server, and the method may include the following steps:

步骤S101:接收客户端发送生成页面的请求,所述请求包含应用标识;根据所述应用标识,获取对应于所述应用标识的所述页面包含的卡片区域的标识、所述卡片区域包含的控件集合的标识、所述控件集合包含的控件的标识。Step S101: Receive a request sent by a client to generate a page, where the request includes an application identifier; according to the application identifier, obtain an identifier of a card area included in the page corresponding to the application identifier, and a control included in the card area The identifier of the collection, the identifier of the controls contained in the control collection.

具体地,接收客户端发送生成页面的请求,所述请求包含应用标识;所述应用标识为包含所述页面的应用标识,例如:appId:abcd1234,应用标识可以是字母和数据组成的字符串,例如abcd1234;对应于所述应用标识的应用包含一个或者多个页面;进一步地,获取对应于所述应用标识的页面的一个或者多个卡片区域的标识,所述卡片区域包含的一个或者多个控件集合的标识,所述控件集合包含的一个或者多个控件的标识,控件为组成页面的原子组件,例如:按钮、图片、文本框等,可以理解的是,控件为粒度最小的页面组件;进一步地,生成页面的请求还可以包含其他与页面相关的参数,本申请对生成页面请求的中除应用标识以外的具体内容不作限定。Specifically, a request for generating a page sent by the receiving client is received, and the request includes an application identifier; the application identifier is an application identifier including the page, for example: appId: abcd1234, and the application identifier can be a string composed of letters and data, For example, abcd1234; the application corresponding to the application identification includes one or more pages; further, obtain the identification of one or more card areas of the page corresponding to the application identification, and the card area includes one or more identifications The identifier of the control set, the identifier of one or more controls included in the control set, and the controls are the atomic components that make up the page, such as: buttons, pictures, text boxes, etc. It can be understood that the controls are the page components with the smallest granularity; Further, the request for generating a page may also include other parameters related to the page, and the present application does not limit the specific content of the request for generating a page other than the application identifier.

下面以图3为例说明页面所包含的卡片区域以及控件,如图3所示,页面1中包含两个卡片区域,分别为“卡片1”(为卡片区域的标识的示例)和“卡片2”(为卡片区域的标识的示例),卡片1中包含3个控件集合,别为“控件集合1”(为控件集合的标识的示例)、“控件集合2”(为控件集合的标识的示例)、“控件集合3”(为控件集合的标识的示例);卡片2中包含3个控件集合,分别为控件集合4、控件集合5、控件集合6;其中,控件集合1-6分别包含各自的控件,以控件集合4为例,控件集合4中包括的控件为:“图片1”(为控件的标识的示例)、“文本1”(为控件的标识的示例)。The following uses Figure 3 as an example to illustrate the card area and controls contained in the page. As shown in Figure 3, page 1 contains two card areas, namely "Card 1" (an example of the identification of the card area) and "Card 2". ” (an example of the identification of the card area), card 1 contains 3 control sets, namely “control set 1” (an example of the identification of the control set), “control set 2” (an example of the identification of the control set) ), "control set 3" (an example of the identification of the control set); the card 2 contains 3 control sets, namely the control set 4, the control set 5, and the control set 6; wherein, the control sets 1-6 respectively contain the respective control sets Take the control set 4 as an example, the controls included in the control set 4 are: "Picture 1" (an example of the identification of the control), "Text 1" (an example of the identification of the control).

本发明对应用标识、卡片区域的标识、控件集合的标识、控件的标识的具体格式和内容不作限定;卡片区域的数量、控件集合的数量、控件的数量根据页面设计而设定,本发明对卡片区域的数量、控件集合的数量、控件的数量不作限定。The present invention does not limit the specific format and content of the application identification, the identification of the card area, the identification of the control collection, and the identification of the control; The number of card areas, the number of control sets, and the number of controls are not limited.

步骤S102:根据所述卡片区域的标识,获取卡片区域数据,根据所述控件集合的标识,获取控件集合数据;根据所述控件的标识,获取控件数据,所述控件数据包含所述控件关联的业务系统。Step S102: Acquire card area data according to the identification of the card area, obtain control collection data according to the identification of the control collection; obtain control data according to the identification of the control, and the control data includes the control data associated with the control. business system.

具体地,获取页面所包含的卡片区域数据、控件集合数据、控件数据的方法有两种:Specifically, there are two methods to obtain the card area data, control collection data, and control data contained in the page:

第一种方法:通过配置平台,根据应用的页面设计,预先设定关联于应用标识一个或多个页面所关联的各个卡片区域数据,卡片区域所包含的各个控件集合数据,以及各个控件集合包含的控件数据。当接收生成页面请求时,获取上述各个数据;The first method: by configuring the platform, according to the page design of the application, preset the data of each card area associated with one or more pages associated with the application logo, the data of each control set contained in the card area, and the data of each control set contained in each control set. control data. When receiving a request to generate a page, obtain the above data;

第二种方法:建立卡片区域数据的数据表、控件集合数据的数据表、控件数据的数据表,根据页面的请求中的应用标识,以及页面请求中包含的关于卡片区域的标识、控件集合的标识、控件的标识等信息,获取对应于卡片区域的标识的卡片区域数据、对应于控件集合的标识的控件集合数据、对应于控件的标识的控件数据。The second method: Create a data table of card area data, a data table of control collection data, and a data table of control data, according to the application ID in the page request, and the ID of the card area and the control collection included in the page request. ID, control ID and other information, obtain the card area data corresponding to the ID of the card area, the control collection data corresponding to the ID of the control collection, and the control data corresponding to the ID of the control.

进一步地,假设通过上述第一种方法或者第二种方法已经获取页面数据,下面举例说明卡片区域数据、控件集合数据以及控件数据,具体地,根据卡片区域的标识,获取卡片区域数据,例如,卡片区域数据如下所示:Further, assuming that the page data has been obtained by the above-mentioned first method or the second method, the following example illustrates the card area data, the control set data and the control data. Specifically, according to the identification of the card area, the card area data is obtained, for example, The card area data is as follows:

Figure BDA0002685583010000081
Figure BDA0002685583010000081

其中,"cardId":12345为卡片区域的标识;"cardType"指示为卡片的类型,卡片区域的类型可以为预定义的,例如:用“1001”指示卡片区域的类型为包含多个控件集合的卡片区域;"cardStyle"指示为卡片的样式,例如,“cardStyle”所包含的内容为样式数据;例如:通过"margin":"{top,left,bottom,right}定义卡片与所在页面的边距,通过"backgroundColor":"#FFFFFF"定义卡片区域的背景色;通过"backImage":ht tps://file.ddd.com/imageid=11定义了卡片区域背景图片的来源;"jumpDa ta"指示为卡片区域的交互数据的示例,交互可以为按下、长按、滚动等;例如:长按后数据跳转,交互数据(跳转)的目标地址https://card.dddd.com/home?id=66。Among them, "cardId": 12345 is the identification of the card area; "cardType" indicates the type of the card, and the type of the card area can be predefined, for example: use "1001" to indicate that the type of the card area contains multiple control sets Card area; "cardStyle" indicates the style of the card, for example, the content contained in "cardStyle" is style data; for example: define the margin between the card and the page where it is located by "margin":"{top,left,bottom,right} , define the background color of the card area through "backgroundColor": "#FFFFFF"; define the source of the background image of the card area through "backImage": ht tps://file.ddd.com/imageid=11; "jumpData" indicates It is an example of the interaction data in the card area. The interaction can be pressing, long pressing, scrolling, etc.; for example: after long pressing, the data jumps, and the target address of the interactive data (jump) is https://card.dddd.com/home ?id=66.

进一步地,根据所述控件集合的标识,获取所述控件集合数据,可以理解的是,所述控件集合是归属于上述卡片区域的,例如,控件集合数据如下所示:Further, according to the identifier of the control set, the data of the control set is obtained. It can be understood that the control set belongs to the above-mentioned card area. For example, the control set data is as follows:

Figure BDA0002685583010000091
Figure BDA0002685583010000091

其中,"itemId":123456为控件集合的标识,"itemStyle"指示为控件集合的样式,定义了控件集合的整体布局方式,“itemStyle”所包含的内容为样式数据;例如通过"margin":"{top,left,bottom,right}”定义控件集合边距,通过"backgroundColor":"#000000"定义控件集合的背景色;通过"backImage":https://file.ddd.com/imageid=12345定义了控件集合背景图片的来源,"jumpData"指示为控件集合的交互数据的示例,交互还可以为按下、长按、滚动等;例如:长按后数据跳转,交互数据(跳转)的目标地址https://service.dddd.com/home?id=22。Among them, "itemId":123456 is the identifier of the control collection, "itemStyle" indicates the style of the control collection, which defines the overall layout of the control collection, and the content contained in "itemStyle" is the style data; for example, by "margin":" {top,left,bottom,right}" defines the margin of the control collection, and defines the background color of the control collection through "backgroundColor":"#000000"; through "backImage": https://file.ddd.com/imageid=12345 Defines the source of the background image of the control collection. "jumpData" indicates an example of the interactive data of the control collection. The interaction can also be pressing, long pressing, scrolling, etc.; for example: data jumps after long pressing, interactive data (jump) The destination address of https://service.dddd.com/home? id=22.

进一步地,根据所述控件的标识,获取所述控件数据,所述控件数据包含所述控件关联的业务系统;例如,控件(以图片控件为例)的页面数据如下所示:Further, according to the identifier of the control, the control data is obtained, and the control data includes the business system associated with the control; for example, the page data of the control (taking the picture control as an example) is as follows:

"image1":{"image1":{

"url":"https://file.ddd.com/imageid=12345678","url":"https://file.ddd.com/imageid=12345678",

"jumpData":{"jumpUrl":https://s1.dddd.com/home?id=4567}"jumpData":{"jumpUrl":https://s1.dddd.com/home? id=4567}

其中,"image1"为控件的标识,"url"指示为图片控件的图片来源,为一种控件的样式,url以及对应的数据为样式数据,"jumpData"指示为控件的交互数据的示例,交互还可以为点击、长按、滚动等;例如:长按后数据跳转,交互数据(跳转)为业务系统s1的目标地址“https://s1.dddd.com/home?id=4567”;可以理解的是,目标地址可以指向一个系统,也可以指向不同的系统,如图3所示的示例中,例如两个控件,分别为图片1和文本1,点击图片1,跳转s1系统,点击文本1,跳转到s2系统;即,每个控件包含所述控件数据,所述控件数据对应的所述交互数据来源于所述控件关联的所述业务系统,并且每个控件关联的所述业务系统不完全相同。可以理解的是,通过上述步骤,使页面中的控件控制达到最小颗粒度,并且不同的控件可以指向不同的系统,增大了应用的灵活性和扩展性;进一步地,通过卡片区域的互动数据、控件集合的互动数据也可以跳转到不同的业务系统;但是灵活性性降低;图片或者文本等包含具体的原子级控件数据,里面包含了具体样式字段,如字体大小,字体粗细,颜色等等,和需要展示的内容或者具体的图片链接;进一步地,原子级控件数据可以扩展,可以由是客户端和服务器端设定控件的样式,也可以根据客户端的请求中的参数动态生成。即,所述卡片区域数据包含所述卡片区域的样式和交互数据,所述控件集合数据包含所述控件集合的样式和交互数据,所述控件数据包含所述控件的样式和交互数据。又,每个控件包含所述控件数据,所述控件数据对应的所述交互数据来源于所述控件关联的业务系统,并且每个控件关联的业务系统不完全相同。Among them, "image1" is the identifier of the control, "url" indicates the image source of the picture control, which is a style of the control, the url and the corresponding data are style data, and "jumpData" indicates an example of the interactive data of the control. It can also be click, long press, scroll, etc.; for example: after long press, the data jumps, and the interactive data (jump) is the target address of the business system s1 "https://s1.dddd.com/home?id=4567" ;It can be understood that the target address can point to a system or a different system. In the example shown in Figure 3, for example, two controls are picture 1 and text 1. Click picture 1 to jump to the s1 system. , click text 1, and jump to the s2 system; that is, each control contains the control data, the interaction data corresponding to the control data comes from the business system associated with the control, and each control is associated with The business systems are not identical. It can be understood that, through the above steps, the control of the controls in the page reaches the minimum granularity, and different controls can point to different systems, which increases the flexibility and scalability of the application; further, through the interactive data in the card area , the interactive data of the control collection can also jump to different business systems; but the flexibility is reduced; pictures or texts contain specific atomic-level control data, which contains specific style fields, such as font size, font thickness, color, etc. etc., and link to the content to be displayed or specific pictures; further, atomic-level control data can be expanded, the style of the control can be set by the client and the server, or it can be dynamically generated according to the parameters in the client's request. That is, the card area data includes the style and interaction data of the card area, the control set data includes the style and interaction data of the control collection, and the control data includes the style and interaction data of the control. In addition, each control includes the control data, the interaction data corresponding to the control data comes from a business system associated with the control, and the business systems associated with each control are not identical.

步骤S103:基于所述卡片区域数据、所述控件集合数据和所述控件数据,生成页面数据并发送所述页面数据。Step S103: Based on the card area data, the widget set data and the widget data, generate page data and send the page data.

具体地,根据步骤S101-步骤S102所描述的步骤获取到了页面数据,进一步地,根据生成页面的请求,基于所述卡片区域数据、所述控件集合数据和所述控件数据,生成页面数据,发送所述页面数据作为请求的反馈数据。Specifically, the page data is obtained according to the steps described in steps S101 to S102, and further, according to the request for generating a page, based on the card area data, the control set data and the control data, generate page data, and send The page data is used as the feedback data of the request.

如图2所示,本发明实施例提供了一种生成页面的方法,应用于客户端,该方法可以包括以下步骤:As shown in FIG. 2, an embodiment of the present invention provides a method for generating a page, which is applied to a client, and the method may include the following steps:

步骤S201:发送生成页面的请求,接收对应于所述请求返回的页面数据。Step S201: Send a request for generating a page, and receive page data returned corresponding to the request.

具体地,发送生成页面的请求,获取服务端根据生成页面的请求而返回的页面数据。关于生成页面的请求、页面数据的描述与步骤S101-步骤S102一致,在此不再赘述。Specifically, a request for generating a page is sent, and page data returned by the server according to the request for generating a page is obtained. The description about the request for generating the page and the page data is consistent with step S101-step S102, and will not be repeated here.

步骤S202:获取所述页面数据中包含的卡片区域数据、所述卡片区域数据对应的控件集合数据、所述控件集合数据对应的控件数据。Step S202: Acquire the card area data contained in the page data, the control set data corresponding to the card area data, and the control data corresponding to the control set data.

具体地,根据获取的页面数据,获取页面数据中包含的卡片区域数据,所述卡片区域数据对应的控件集合数据、所述控件集合数据对应的控件数据。关于卡片区域数据、控件集合数据、控件数据的示例与步骤S102一致,在此不再赘述。Specifically, according to the acquired page data, the card area data included in the page data, the control set data corresponding to the card area data, and the control data corresponding to the control set data are obtained. Examples of card area data, control set data, and control data are the same as those in step S102, and will not be repeated here.

步骤S203:根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面。Step S203: Generate a page according to the card area data, the widget collection data, and the widget data.

具体地,根据所述卡片区域数据、所述控件集合数据、所述控件数据分别绘制卡片区域、控件集合、控件,并生成页面;本申请的一个实施例可以利用每一个卡片数据跟应用的列表控件(如tableView)中每一项进行绑定,最后实现整个页面的渲染。Specifically, according to the card area data, the control set data, and the control data, the card area, the control set, and the control are drawn respectively, and a page is generated; an embodiment of the present application may use the list of each card data and the application Each item in the control (such as tableView) is bound, and finally the rendering of the entire page is realized.

上述的示意流程如图4中的步骤S401-S411所描述,在此不再赘述。The above schematic flow is described in steps S401-S411 in FIG. 4 , and details are not repeated here.

进一步地,根据所述卡片区域数据、所述控件集合数据、所述控件数据,利用本地软件生成第一页面;当所述第一页面发生异常时,从服务端获取第二页面,以替换所述第一页面;其中,所述第二页面是根据所述卡片区域数据、所述控件集合数据、所述控件数据,并基于HTML5而生成。具体地,本地软件可以为应用原生的用户页面所使用的开发软件,所使用的开发语言对于iOS系统可以使用Objective C,对于Android系统可以使用Java;而HTML5(HTML指示为Hyper Text Markup Language,即超文本标记语言,对于HTML5(为HTML的一个新版本)可以使用JavaScript,CSS等;进一步地,所述页面基于本地软件生成,以及基于HTML5生成,生成两套页面,当利用本地软件生成的应用线上出现问题时,可以临时切换到HTML5的版本来解决问题,当本地的应用版本修复后再切换成本地应用,即,当所述第一页面发生异常时,从服务端获取第二页面,以替换所述第一页面;通过本方案,当应用的页面出现问题时,可以实现不需要应用重新上线而灵活处理应用的切换,解决了本地应用与HTML5应用不互通的问题,提高了开发效率和用户体验。Further, according to the card area data, the control collection data, and the control data, use the local software to generate the first page; when the first page is abnormal, obtain the second page from the server to replace the The first page; wherein, the second page is generated based on the card area data, the control collection data, the control data, and based on HTML5. Specifically, the local software can be the development software used by the native user page of the application, and the development language used can use Objective C for the iOS system and Java for the Android system; and HTML5 (HTML indicates Hyper Text Markup Language, that is, Hypertext markup language, JavaScript, CSS, etc. can be used for HTML5 (a new version of HTML); further, the page is generated based on local software, and based on HTML5, two sets of pages are generated, when the application generated by the local software is used When there is a problem online, you can temporarily switch to the HTML5 version to solve the problem, and then switch to the local application when the local application version is repaired, that is, when the first page is abnormal, obtain the second page from the server, to replace the first page; through this solution, when there is a problem with the page of the application, it is possible to flexibly process the switching of the application without the need to re-launch the application, solve the problem that the local application and the HTML5 application are not interoperable, and improve the development efficiency and user experience.

如图4所示,本发明实施例提供了一种客户端生成页面的示意流程,该流程可以包括以下步骤;As shown in FIG. 4 , an embodiment of the present invention provides a schematic process for generating a page by a client, and the process may include the following steps;

步骤S401:接收对应于生成页面请求返回的页面数据。Step S401: Receive page data returned corresponding to the page generation request.

具体地,关于页面数据的描述与步骤S102一致,在此不再赘述。Specifically, the description about the page data is the same as that of step S102, and details are not repeated here.

步骤S402:获取卡片区域数据。Step S402: Obtain card area data.

步骤S403:确定一个卡片区域样式数据和交互数据,绘制卡片。Step S403: Determine a card area style data and interaction data, and draw a card.

具体地,步骤S402-步骤S403描述了根据卡片区域数据绘制卡片的过程,即,根据所述卡片区域数据所包含的卡片交互数据,关联页面上的卡片区域的交互;根据所述卡片区域数据所包含的卡片样式数据,确定页面上的卡片区域的样式,绘制所述卡片区域;Specifically, steps S402 to S403 describe the process of drawing a card according to the card area data, that is, according to the card interaction data included in the card area data, the interaction of the card area on the page is associated; The included card style data determines the style of the card area on the page, and draws the card area;

关于卡片区域数据的具体描述与步骤S102一致,在此不再赘述。The specific description about the card area data is the same as that of step S102, and will not be repeated here.

步骤S404:获取卡片区域包含的控件集合数据。Step S404: Acquire the control set data contained in the card area.

步骤S405:确定一个控件集合样式数据和交互数据,绘制控件集合。Step S405: Determine the style data and interaction data of a control set, and draw the control set.

具体地,步骤S404-步骤S405描述了根据上述卡片区域内所包含的一个控件集合数据绘制控件集合的过程,即,Specifically, steps S404 to S405 describe the process of drawing a control set according to a control set data contained in the above-mentioned card area, that is,

根据所述控件集合数据所包含的控件集合交互数据,关联页面上的所述卡片区域内的控件集合的交互;根据所述控件集合数据所包含的控件集合样式数据,确定页面上的所述卡片区域内的控件集合的样式,绘制所述控件集合;关于控件集合数据的具体描述与步骤S102一致,在此不再赘述。According to the control set interaction data contained in the control set data, the interaction of the control set in the card area on the page is associated; according to the control set style data contained in the control set data, the card on the page is determined. The style of the control set in the area is to draw the control set; the specific description about the data of the control set is the same as that of step S102, and will not be repeated here.

步骤S406:获取一个控件集合中包含的控件。Step S406: Acquire the controls contained in a control set.

步骤S407:确定控件样式数据和交互数据,绘制控件。Step S407: Determine the control style data and interaction data, and draw the control.

具体地,步骤S406-步骤S407描述了根据上述控件集合中所包含的控件数据绘制控件的过程,即,根据所述控件数据所包含的控件交互数据,关联页面上的所述控件集合内的控件的交互;根据所述控件数据所包含的控件样式数据,确定页面上的所述控件集合内的控件的样式,绘制所述控件;关于控件数据的具体描述与步骤S102一致,在此不再赘述。Specifically, steps S406 to S407 describe the process of drawing a control according to the control data contained in the above-mentioned control set, that is, according to the control interaction data contained in the control data, the controls in the control set on the associated page are associated interaction; according to the control style data contained in the control data, determine the style of the control in the control collection on the page, and draw the control; the specific description about the control data is consistent with step S102, and will not be repeated here. .

步骤S408:判断是否绘制全部控件。Step S408: Determine whether to draw all the controls.

具体地,如果是,指示该控件集合中的控件全部绘制完成,则执行步骤S409循环处理下一个控件,如果否,则执行步骤S407绘制下一个控件。Specifically, if yes, it indicates that all the controls in the control set have been drawn, and then step S409 is executed to process the next control in a loop; if not, step S407 is executed to draw the next control.

步骤S409:判断是否存在下一个控件集合。Step S409: Determine whether there is a next control set.

具体地,如果是,指示该卡片区域存在多个控件集合,则执行步骤S405循环处理下一个控件集合,如果否,则执行步骤S410。Specifically, if yes, indicating that there are multiple control sets in the card area, step S405 is executed to process the next control set in a loop; if not, step S410 is executed.

步骤S410:判断是否存在下一个卡片区域。Step S410: Determine whether there is a next card area.

具体地,如果是,指示页面中存在多个卡片区域,则执行步骤S403循环处理下一个卡片区域,如果否,则执行步骤S411。Specifically, if yes, indicating that there are multiple card areas in the page, step S403 is executed to process the next card area in a loop; if not, step S411 is executed.

步骤S411:生成页面。Step S411: Generate a page.

具体地,基于上述步骤,完成页面的绘制,并进一步生成页面。Specifically, based on the above steps, the drawing of the page is completed, and the page is further generated.

如图5所示,本发明实施例提供了一种生成页面的装置500,包括:获取页面控件模块501、获取页面数据模块502和发送页面数据模块503;其中,As shown in FIG. 5, an embodiment of the present invention provides an apparatus 500 for generating a page, including: a page control module 501, a page data acquisition module 502, and a page data transmission module 503; wherein,

所述获取页面控件模块501,用于接收客户端发送生成页面的请求,所述请求包含应用标识;根据所述应用标识,获取对应于所述应用标识的所述页面包含的卡片区域的标识、所述卡片区域包含的控件集合的标识、所述控件集合包含的控件的标识;The obtaining page control module 501 is configured to receive a request sent by a client to generate a page, where the request includes an application identifier; according to the application identifier, obtain an identifier of a card area included in the page corresponding to the application identifier, The identifier of the control set contained in the card area, the identifier of the control contained in the control set;

所述获取页面数据模块502,用于根据所述卡片区域的标识,获取卡片区域数据,根据所述控件集合的标识,获取控件集合数据;根据所述控件的标识,获取控件数据,所述控件数据包含所述控件关联的业务系统;The obtaining page data module 502 is configured to obtain card area data according to the identification of the card area, obtain control collection data according to the identification of the control collection; obtain control data according to the identification of the control, and the control The data includes the business system associated with the control;

所述发送页面数据模块503,用于基于所述卡片区域数据、所述控件集合数据和所述控件数据,生成页面数据并发送所述页面数据The sending page data module 503 is configured to generate page data and send the page data based on the card area data, the widget set data and the widget data

可选地,所述获取页面控件模块501,还包括:所述卡片区域数据包含所述卡片区域的样式和交互数据,所述控件集合数据包含所述控件集合的样式和交互数据,所述控件数据包含所述控件的样式和交互数据。Optionally, the acquiring page control module 501 further includes: the card area data includes the style and interaction data of the card area, the control collection data includes the style and interaction data of the control collection, the control The data contains style and interaction data for the control.

可选地,所述获取页面数据模块502,还包括:每个控件包含所述控件数据,所述控件数据对应的所述交互数据来源于所述控件关联的业务系统,并且每个控件关联的业务系统不完全相同。Optionally, the acquiring page data module 502 further includes: each control includes the control data, the interaction data corresponding to the control data comes from a business system associated with the control, and each control is associated with Business systems are not identical.

如图6所示,本发明实施例提供了一种生成页面的装置600,包括:接收页面数据模块601、获取页面数据模块602和生成页面模块603;其中,As shown in FIG. 6, an embodiment of the present invention provides an apparatus 600 for generating a page, including: a page data receiving module 601, a page data acquiring module 602, and a page generating module 603; wherein,

所述接收页面数据模块601,用于发送生成页面的请求,接收对应于所述请求返回的页面数据;The receiving page data module 601 is configured to send a request for generating a page, and receive page data returned corresponding to the request;

所述获取页面数据模块602,用于获取所述页面数据中包含的卡片区域数据、所述卡片区域数据对应的控件集合数据、所述控件集合数据对应的控件数据;The obtaining page data module 602 is configured to obtain the card area data contained in the page data, the control set data corresponding to the card area data, and the control data corresponding to the control set data;

所述生成页面模块603,用于根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面。The page generating module 603 is configured to generate a page according to the card area data, the control collection data, and the control data.

可选地,所述生成页面模块603,还用于根据所述卡片区域数据所包含的卡片交互数据,关联页面上的卡片区域的交互;根据所述卡片区域数据所包含的卡片样式数据,确定页面上的卡片区域的样式,绘制所述卡片区域;根据所述控件集合数据所包含的控件集合交互数据,关联页面上的所述卡片区域内的控件集合的交互;根据所述控件集合数据所包含的控件集合样式数据,确定页面上的所述卡片区域内的控件集合的样式,绘制所述控件集合;根据所述控件数据所包含的控件交互数据,关联页面上的所述控件集合内的控件的交互;根据所述控件数据所包含的控件样式数据,确定页面上的所述控件集合内的控件的样式,绘制所述控件。Optionally, the page generating module 603 is further configured to associate the interaction of the card area on the page according to the card interaction data included in the card area data; determine the card style data included in the card area data to determine The style of the card area on the page, the card area is drawn; according to the control collection interaction data included in the control collection data, the interaction of the control collection in the card area on the page is associated; according to the control collection data. The included control set style data determines the style of the control set in the card area on the page, and draws the control set; according to the control interaction data contained in the control data, associate the control set on the page. Control interaction; according to the control style data contained in the control data, determine the style of the controls in the control set on the page, and draw the control.

可选地,所述生成页面模块603,还用于根据所述卡片区域数据、所述控件集合数据、所述控件数据,利用本地软件生成第一页面;当所述第一页面发生异常时,从服务端获取第二页面,以替换所述第一页面;其中,所述第二页面是根据所述卡片区域数据、所述控件集合数据、所述控件数据,并基于HTML5而生成。Optionally, the page generating module 603 is further configured to use local software to generate a first page according to the card area data, the control set data, and the control data; when an exception occurs on the first page, Obtain a second page from the server to replace the first page; wherein, the second page is generated based on the card area data, the control collection data, and the control data, and based on HTML5.

本发明实施例还提供了一种生成页面的电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一实施例提供的方法。An embodiment of the present invention also provides an electronic device for generating a page, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more programs Each processor executes, so that the one or more processors implement the method provided by any one of the foregoing embodiments.

本发明实施例还提供了一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现上述任一实施例提供的方法。An embodiment of the present invention further provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, implements the method provided by any of the foregoing embodiments.

图7示出了可以应用本发明实施例的生成页面方法或生成页面的装置的示例性系统架构700。FIG. 7 shows an exemplary system architecture 700 to which a method for generating a page or an apparatus for generating a page according to an embodiment of the present invention may be applied.

如图7所示,系统架构700可以包括终端设备701、702、703,网络704和服务器705。网络704用以在终端设备701、702、703和服务器705之间提供通信链路的介质。网络704可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 7 , the system architecture 700 may include terminal devices 701 , 702 , and 703 , a network 704 and a server 705 . The network 704 is the medium used to provide the communication link between the terminal devices 701 , 702 , 703 and the server 705 . Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备701、702、703通过网络704与服务器705交互,以接收或发送消息等。终端设备701、702、703上可以安装有各种客户端应用,例如电子商城客户端应用、网页浏览器应用、搜索类应用、即时通信工具和邮箱客户端等。The user can use the terminal devices 701, 702, 703 to interact with the server 705 through the network 704 to receive or send messages and the like. Various client applications may be installed on the terminal devices 701 , 702 and 703 , such as electronic mall client applications, web browser applications, search applications, instant messaging tools, and email clients.

终端设备701、702、703可以是具有显示屏并且支持各种客户端应用的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 701, 702, 703 may be various electronic devices having display screens and supporting various client applications, including but not limited to smartphones, tablet computers, laptops and desktop computers, and the like.

服务器705可以是提供各种服务的服务器,例如对用户利用终端设备701、702、703所使用的客户端应用提供支持的服务器。服务器可以对接收到的生成页面的请求进行处理,并将页面数据反馈给终端设备,客户端根据页面数据生成页面。The server 705 may be a server that provides various services, for example, a server that provides support for client applications used by users using the terminal devices 701 , 702 , and 703 . The server can process the received request to generate a page, and feed back the page data to the terminal device, and the client can generate a page according to the page data.

需要说明的是,本发明实施例所提供的生成页面的方法一般由终端设备701、702、703或者服务器705执行,相应地,生成页面的装置一般设置于终端设备701、702、703中或者服务器705中。It should be noted that the method for generating a page provided by the embodiment of the present invention is generally executed by the terminal device 701, 702, 703 or the server 705, and correspondingly, the device for generating a page is generally set in the terminal device 701, 702, 703 or the server 705.

应该理解,图7中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 7 are only illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.

下面参考图8,其示出了适于用来实现本发明实施例的终端设备或者服务器设备的计算机系统800的结构示意图。图8示出的终端设备或者服务器设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Referring to FIG. 8 below, it shows a schematic structural diagram of a computer system 800 suitable for implementing a terminal device or a server device according to an embodiment of the present invention. The terminal device or server device shown in FIG. 8 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present invention.

如图8所示,计算机系统800包括中央处理单元(CPU)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储部分808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有系统800操作所需的各种程序和数据。CPU 801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 8, a computer system 800 includes a central processing unit (CPU) 801, which can be loaded into a random access memory (RAM) 803 according to a program stored in a read only memory (ROM) 802 or a program from a storage section 808 Instead, various appropriate actions and processes are performed. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801 , the ROM 802 , and the RAM 803 are connected to each other through a bus 804 . An input/output (I/O) interface 805 is also connected to bus 804 .

以下部件连接至I/O接口805:包括键盘、鼠标等的输入部分808;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分807;包括硬盘等的存储部分808;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分809。通信部分809经由诸如因特网的网络执行通信处理。驱动器810也根据需要连接至I/O接口805。可拆卸介质811,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器810上,以便于从其上读出的计算机程序根据需要被安装入存储部分808。The following components are connected to the I/O interface 805: an input section 808 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc. ; and a communication section 809 including a network interface card such as a LAN card, a modem, and the like. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 810 as needed so that a computer program read therefrom is installed into the storage section 808 as needed.

特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分809从网络上被下载和安装,和/或从可拆卸介质811被安装。在该计算机程序被中央处理单元(CPU)801执行时,执行本发明的系统中限定的上述功能。In particular, the processes described above with reference to the flowcharts may be implemented as computer software programs in accordance with the disclosed embodiments of the present invention. For example, embodiments disclosed herein include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 809, and/or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-described functions defined in the system of the present invention are performed.

需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.

描述于本发明实施例中所涉及到的模块和/或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块和/或单元也可以设置在处理器中,例如,可以描述为:一种处理器包括获取页面控件模块、获取页面数据模块和发送页面数据模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,获取页面数据模块模块还可以被描述为“根据页面的卡片区域、控件集合和控件标识,获取卡片区域、控件集合和控件数据的模块”,又,一种处理器包括接收页面数据模块、获取页面数据模块和生成页面模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,生成页面模块还可以被描述为“根据页面的卡片区域数据、控件集合数据、控件数据生成页面的模块”The modules and/or units involved in the embodiments of the present invention may be implemented in a software manner, and may also be implemented in a hardware manner. The described modules and/or units can also be provided in the processor, for example, it can be described as: a processor includes a module for obtaining page control, a module for obtaining page data, and a module for sending page data. Among them, the names of these modules do not constitute a limitation of the module itself under certain circumstances. For example, the module for obtaining page data can also be described as "acquiring the card area, A control set and a module for control data", and a processor includes a module for receiving page data, a module for obtaining page data, and a module for generating page. Among them, the name of these modules does not constitute a limitation of the module itself under certain circumstances. For example, the page generation module can also be described as "a module that generates a page according to the card area data, control collection data, and control data of the page".

作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:服务端接收客户端发送生成页面的请求,所述请求包含应用标识;根据所述应用标识,获取对应于所述应用标识的所述页面包含的卡片区域的标识、所述卡片区域包含的控件集合的标识、所述控件集合包含的控件的标识;根据所述卡片区域的标识,获取卡片区域数据,根据所述控件集合的标识,获取控件集合数据;根据所述控件的标识,获取控件数据,所述控件数据包含所述控件关联的业务系统;基于所述卡片区域数据、所述控件集合数据和所述控件数据,生成页面数据并发送所述页面数据。客户端发送生成页面的请求,接收对应于所述请求返回的页面数据;获取所述页面数据中包含的卡片区域数据、所述卡片区域数据对应的控件集合数据、所述控件集合数据对应的控件数据;根据所述卡片区域数据、所述控件集合数据、所述控件数据生成页面。As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or may exist alone without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device includes: the server receives a request sent by the client to generate a page, and the request includes an application identifier; According to the application identification, the identification of the card area included in the page corresponding to the application identification, the identification of the control set included in the card area, and the identification of the control included in the control collection are obtained; according to the card area According to the identification of the control, obtain the card area data, according to the identification of the control collection, obtain the control collection data; according to the identification of the control, obtain the control data, the control data includes the business system associated with the control; based on the card area data, the control collection data and the control data, generate page data and send the page data. The client sends a request to generate a page, and receives the page data returned corresponding to the request; obtains the card area data contained in the page data, the control set data corresponding to the card area data, and the control corresponding to the control set data. data; generate a page according to the card area data, the control collection data, and the control data.

能够通过服务端接收客户端生成页面的请求,获取对应于应用标识的页面的一个或者多个卡片区域;卡片区域包含控件集合;控件集合包含控件;并分别获取卡片区域、控件集合和控件的数据,其中控件数据包含控件关联的业务系统;客户端接收服务端发送的页面数据,生成页面;通过获取每个卡片中的各个控件集合中的各个控件的数据,克服了难以控制卡片内部的原子控件的问题,从控件层面增大了生成页面的扩展性和灵活性;通过设置控件关联的业务系统,克服了一个卡片内的控件不能适配多个不同业务系统的缺陷。It can receive the request of the client to generate a page through the server, and obtain one or more card areas corresponding to the page identified by the application; the card area contains the control set; the control set contains the control; and the data of the card area, the control set and the control are obtained respectively. , in which the control data includes the business system associated with the control; the client receives the page data sent by the server to generate the page; by obtaining the data of each control in each control set in each card, it overcomes the difficulty of controlling the atomic controls inside the card From the control level, the scalability and flexibility of the generated page are increased; by setting the business system associated with the control, the defect that the control in one card cannot be adapted to multiple different business systems is overcome.

上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1. A method of generating a page, comprising:
receiving a request for generating a page sent by a client, wherein the request comprises an application identifier;
acquiring an identifier of a card area contained in the page corresponding to the application identifier, an identifier of a control set contained in the card area and an identifier of a control contained in the control set according to the application identifier;
acquiring card area data according to the identification of the card area, and acquiring control set data according to the identification of the control set; acquiring control data according to the identification of the control, wherein the control data comprises a service system associated with the control;
and generating page data and sending the page data based on the card region data, the control set data and the control data.
2. The method of claim 1,
the card region data comprises the style and the interaction data of the card region, the control set data comprises the style and the interaction data of the control set, and the control data comprises the style and the interaction data of the control.
3. The method of claim 2,
each control contains the control data, the interaction data corresponding to the control data is sourced from the business system associated with the control, and the business systems associated with each control are not identical.
4. A method of generating a page, comprising:
sending a request for generating a page, and receiving page data returned corresponding to the request;
acquiring card area data contained in the page data, control set data corresponding to the card area data and control data corresponding to the control set data;
and generating a page according to the card region data, the control set data and the control data.
5. The method of claim 4,
generating a page according to the card region data, the control set data and the control data, wherein the page comprises the following steps:
associating the interaction of the card areas on the page according to the card interaction data contained in the card area data; determining the style of a card area on a page according to the card style data contained in the card area data, and drawing the card area;
associating the interaction of the control sets in the card area on the page according to the control set interaction data contained in the control set data; determining the style of the control set in the card area on a page according to the control set style data contained in the control set data, and drawing the control set;
associating the interaction of the controls in the control set on the page according to the control interaction data contained in the control data; and determining the style of the control in the control set on the page according to the control style data contained in the control data, and drawing the control.
6. The method of claim 4,
generating a page according to the card region data, the control set data and the control data, wherein the page comprises the following steps:
generating a first page by using local software according to the card region data, the control set data and the control data;
when the first page is abnormal, a second page is obtained from a server to replace the first page; wherein the second page is generated based on HTML5 from the card region data, the control set data, the control data.
7. An apparatus for generating a page, comprising: the system comprises a page control acquisition module, a page data acquisition module and a page data sending module; wherein,
the page acquiring control module is used for receiving a request for generating a page sent by a client, wherein the request comprises an application identifier; acquiring an identifier of a card area contained in the page corresponding to the application identifier, an identifier of a control set contained in the card area and an identifier of a control contained in the control set according to the application identifier;
the page data acquisition module is used for acquiring card area data according to the identification of the card area and acquiring control set data according to the identification of the control set; acquiring control data according to the identification of the control, wherein the control data comprises a service system associated with the control;
and the page data sending module is used for generating page data and sending the page data based on the card region data, the control set data and the control data.
8. An apparatus for generating a page, comprising:
the device comprises a page data receiving module, a page data acquiring module and a page generating module; wherein,
the page data receiving module is used for sending a request for generating a page and receiving page data returned corresponding to the request;
the page data acquisition module is used for acquiring card area data contained in the page data, control set data corresponding to the card area data and control data corresponding to the control set data;
and the page generation module is used for generating a page according to the card area data, the control set data and the control data.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-3 or 4-6.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-3 or 4-6.
CN202010975373.6A 2020-09-16 2020-09-16 A method and apparatus for generating a page Pending CN112130855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010975373.6A CN112130855A (en) 2020-09-16 2020-09-16 A method and apparatus for generating a page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010975373.6A CN112130855A (en) 2020-09-16 2020-09-16 A method and apparatus for generating a page

Publications (1)

Publication Number Publication Date
CN112130855A true CN112130855A (en) 2020-12-25

Family

ID=73845850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010975373.6A Pending CN112130855A (en) 2020-09-16 2020-09-16 A method and apparatus for generating a page

Country Status (1)

Country Link
CN (1) CN112130855A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114741077A (en) * 2022-04-11 2022-07-12 平安科技(深圳)有限公司 Page effect preview method, device, equipment and medium based on field granularity

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091059A1 (en) * 2003-08-29 2005-04-28 Microsoft Corporation Assisted multi-modal dialogue
CN102469081A (en) * 2010-11-11 2012-05-23 中国移动通信集团公司 Smart card operation method, device and system
CN107066272A (en) * 2017-03-31 2017-08-18 北京奇艺世纪科技有限公司 A kind of method for updating pages and device
CN107423070A (en) * 2017-08-03 2017-12-01 北京奇艺世纪科技有限公司 A kind of page generation method and device
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system
CN108399072A (en) * 2017-02-06 2018-08-14 腾讯科技(深圳)有限公司 Five application page update method and device
CN108664303A (en) * 2018-04-28 2018-10-16 北京小米移动软件有限公司 The display methods and device of web page contents
CN111193599A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Message processing method and device
CN111273904A (en) * 2020-01-14 2020-06-12 平安壹钱包电子商务有限公司 Method, device, device and storage medium for page generation based on custom module
CN111385335A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Data request processing method, device, equipment and storage medium
CN111581567A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Page generation method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091059A1 (en) * 2003-08-29 2005-04-28 Microsoft Corporation Assisted multi-modal dialogue
CN102469081A (en) * 2010-11-11 2012-05-23 中国移动通信集团公司 Smart card operation method, device and system
CN108399072A (en) * 2017-02-06 2018-08-14 腾讯科技(深圳)有限公司 Five application page update method and device
CN107066272A (en) * 2017-03-31 2017-08-18 北京奇艺世纪科技有限公司 A kind of method for updating pages and device
CN107423070A (en) * 2017-08-03 2017-12-01 北京奇艺世纪科技有限公司 A kind of page generation method and device
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system
CN108664303A (en) * 2018-04-28 2018-10-16 北京小米移动软件有限公司 The display methods and device of web page contents
CN111385335A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Data request processing method, device, equipment and storage medium
CN111581567A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Page generation method and device
CN111193599A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Message processing method and device
CN111273904A (en) * 2020-01-14 2020-06-12 平安壹钱包电子商务有限公司 Method, device, device and storage medium for page generation based on custom module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114741077A (en) * 2022-04-11 2022-07-12 平安科技(深圳)有限公司 Page effect preview method, device, equipment and medium based on field granularity
CN114741077B (en) * 2022-04-11 2024-12-20 平安科技(深圳)有限公司 Page effect preview method, device, equipment and medium based on field granularity

Similar Documents

Publication Publication Date Title
EP3092577B1 (en) Offline content sharing
CN113031946B (en) Method and device for rendering page component
CN110020329B (en) Method, device and system for generating webpage
CN112100550A (en) Page construction method and device
CN111752561B (en) Block development method, block sharing method, page building method and page building system
CN113076294B (en) Information sharing method and device
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
CN113342450B (en) Page processing method, device, electronic equipment and computer readable medium
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
CN113220381A (en) Click data display method and device
US11062497B2 (en) Structuralized creation and transmission of personalized audiovisual data
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN107330087B (en) Page file generation method and device
CN112445394B (en) Screenshot method and screenshot device
CN116126447A (en) Information processing method, device, electronic equipment and computer readable medium
CN112486482A (en) Page display method and device
CN113282852A (en) Method and device for editing webpage
CN112130855A (en) A method and apparatus for generating a page
CN114255084A (en) Advertisement page display method, device and system
CN108351901B (en) Unified activity service
CN113784194A (en) Embedding method and device of video player
CN110908550B (en) Operation processing method and device in cursor hovering state
CN114896244A (en) Method, device and equipment for configuring database table and computer readable medium
CN113760279A (en) Method and device for generating page
CN112926294A (en) Template file generation method and device

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
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: Jingdong Digital Technology Holding Co., Ltd

CB02 Change of applicant information