CN106681698A - Dynamic list generating method and device - Google Patents

Dynamic list generating method and device Download PDF

Info

Publication number
CN106681698A
CN106681698A CN201510745247.0A CN201510745247A CN106681698A CN 106681698 A CN106681698 A CN 106681698A CN 201510745247 A CN201510745247 A CN 201510745247A CN 106681698 A CN106681698 A CN 106681698A
Authority
CN
China
Prior art keywords
dynamic listing
list
standard block
dynamic
listing
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.)
Granted
Application number
CN201510745247.0A
Other languages
Chinese (zh)
Other versions
CN106681698B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510745247.0A priority Critical patent/CN106681698B/en
Publication of CN106681698A publication Critical patent/CN106681698A/en
Application granted granted Critical
Publication of CN106681698B publication Critical patent/CN106681698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a dynamic list generating method and device. The dynamic list generating method comprises the steps that a dynamic list configuration file is obtained, and a dynamic list page model is generated according to the dynamic list configuration file, wherein the dynamic list page model includes a standard unit data model list generated according to first fields and list page configuration information generated according to second fields; multiple corresponding standard unit modules are retrieved from a standard unit template library according to the standard unit data model list of the dynamic list page model and are combined to generate a combined list, and the combined list is rendered according to the list page configuration information of the dynamic list page model to generate a dynamic list. According to the dynamic list generating method and the dynamic list generating device of the embodiment, dynamic list generation can be completed without dependence on service data characteristics in the dynamic list generating process, the dynamic list is formed flexibly, and the dynamic list generating efficiency is improved.

Description

The generation method and device of dynamic listing
Technical field
The application is related to field of computer technology, more particularly to a kind of generation method and device of dynamic listing.
Background technology
With the continuous development of development of Mobile Internet technology, the function of mobile terminal such as smart mobile phone more comes powerful, user Ke Gen The application program of various functions is installed in the terminal according to demand, mobile terminal has become of people's live and work Point.
At present, can all use substantial amounts of listing function in the exploitation of most cell phone platform, for example main menu, phone directory, Note, STK menus etc., the operating system of usual mobile terminal can provide basic list element in system library, with convenient It is follow-up to select corresponding list element to form a list page according to service feature.For example, the operating system of smart mobile phone is net Border operates (IOS) system, IOS systems that basic list element (UITableView) is provided in system library UIKit.
The general process of generation list is in related technology:The related list of data items of first-selected acquisition business, then according to industry Business data characteristics selects corresponding unit (Cell) component to show corresponding data items, so as to form a complete list page.
However, the mode of above-mentioned generation list there are the following problems:(1) logic of select unit component depends on business datum Feature, i.e. data and component are all and service fields binding, for example, in user list, if the data of user list It is head portrait, the pet name, then needs to develop head portrait, a nest for the pet name;In information list, if data be figure, Title, then need to develop an information component with figure, title, it can thus be seen that the corresponding list of different business feature First component is different, and the unit block between different business is difficult multiplexing, in the list process for generating different business, needs Corresponding unit block is developed according to the data characteristics of required business, the efficiency for generating list is low;(2) it is special based on business datum Structure list page is levied, the expressive ability of list is restricted by client hard coded, it is impossible to flexible construction list, enters to be unable to The business of new access is supported, for the list of the business for newly accessing, due to the use scene difference of the new business for accessing, and is counted Different from existing business according to form and tabular form, this is accomplished by the cost time and goes to develop and debug the unit matched with new business Component.
The content of the invention
The application is intended at least to solve to a certain extent one of technical problem in correlation technique.
For this purpose, first purpose of the application is to propose a kind of generation method of dynamic listing, the method is generating dynamic column During table, without the need for relying on business datum feature by complete the generation of dynamic listing, flexible construction dynamic listing is carried The high efficiency for generating dynamic listing.
Second purpose of the application is to propose a kind of generating means of dynamic listing.
It is that, up to above-mentioned purpose, the application first aspect embodiment proposes a kind of generation method of dynamic listing, including:Obtain Dynamic listing configuration file, wherein, the dynamic listing configuration file includes the first field and at least one second fields, its In, the first field record standard block data model list, each field record in described at least one second fields List page configuration information;Dynamic listing page model is generated according to the dynamic listing configuration file, wherein, the dynamic listing The row that page model includes the standard block data model list generated according to first field and generated according to second field Table page configuration information;And according to the standard block data model list of the dynamic listing page model from standard block ATL In transfer corresponding multiple standard block components, and corresponding multiple standard block components are combined to generate combination List, and according to the list page configuration information of the dynamic listing page model Assembly Listing is rendered to generate dynamic List.
The generation method of the dynamic listing of the embodiment of the present application, obtains dynamic listing configuration file, and is configured according to dynamic listing Dynamic listing page model of the file generated comprising the list of standard block data model and list page configuration information, and according to dynamic Corresponding multiple standard block components are transferred in the standard block data model list of list page model from standard block ATL, And corresponding multiple standard block components are combined to generate Assembly Listing, and according to the list page of dynamic listing page model Configuration information is rendered to generate dynamic listing to Assembly Listing, thus, generate dynamic listing during, without the need for according to Bad business datum feature can complete the generation of dynamic listing, flexible construction dynamic listing, improve and generate dynamic listing Efficiency.
It is that, up to above-mentioned purpose, the application second aspect embodiment proposes a kind of generating means of dynamic listing, including:Obtain Module, for obtaining dynamic listing configuration file, wherein, the dynamic listing configuration file includes the first field and at least Individual second field, wherein, the first field record standard block data model list, in described at least one second fields Each field record list page configuration information;Generation module, for generating dynamic column according to the dynamic listing configuration file Table page model, wherein, the dynamic listing page model includes the standard block data model row generated according to first field Table and the list page configuration information generated according to second field;And first processing module, for according to the dynamic column Corresponding multiple standard block components are transferred in the standard block data model list of table page model from standard block ATL, and Corresponding multiple standard block components are combined to generate Assembly Listing, and according to the dynamic listing page model List page configuration information is rendered to generate dynamic listing to the Assembly Listing.
The generating means of the dynamic listing of the embodiment of the present application, by acquisition module dynamic listing configuration file is obtained, and generates mould Root tuber generates the dynamic listing page comprising the list of standard block data model and list page configuration information according to dynamic listing configuration file Model, and first processing module according to the standard block data model list of dynamic listing page model from standard block ATL In transfer corresponding multiple standard block components, and corresponding multiple standard block components are combined to generate Assembly Listing, Assembly Listing is rendered according to the list page configuration information of dynamic listing page model generate dynamic listing, and can be passed through Standard block array in standard block data model list is modified, is realized to the efficient modification of dynamic listing, carried The high flexibility of dynamic listing, facilitates modification dynamic listing.
Description of the drawings
Fig. 1 is the flow chart of the generation method of the dynamic listing of the application one embodiment.
Fig. 2 is the flow chart that dynamic listing page model is generated according to dynamic listing configuration file.
Fig. 3 is the flow chart of the generation method of the dynamic listing of the application another embodiment.
Fig. 4 is the structural representation of the generating means of the dynamic listing of the application one embodiment.
Fig. 5 is the structural representation of the generating means of the dynamic listing of the application another embodiment.
Specific embodiment
Embodiments herein is described below in detail, the example of the embodiment is shown in the drawings, wherein identical from start to finish Or similar label represents same or similar element or the element with same or like function.Retouch below with reference to accompanying drawing The embodiment stated is exemplary, it is intended to for explaining the application, and it is not intended that the restriction to the application.
Below with reference to the accompanying drawings the generation method and device of the dynamic listing of the embodiment of the present application are described.
Fig. 1 is the flow chart of the generation method of the dynamic listing of the application one embodiment.
As shown in figure 1, the generation method of the dynamic listing includes:
S11, obtains dynamic listing configuration file.
Specifically, the dynamic listing configuration file that server is issued is received and preserves, and when needing to generate dynamic listing, Client can be from local middle acquisition dynamic listing configuration file.
Wherein, dynamic listing configuration file includes the first field and at least one second fields, wherein, the first field record mark Quasi- cell data model list, each the field record list page configuration information at least one second fields.
Wherein, list page configuration information can include but is not limited to the information such as list style, cell height, separator bar pattern.
In one embodiment of the application, the information in dynamic listing configuration file can be configured by various data forms.Example Such as, XML (Extensible Markup Language, extensible markup language), JSON (JavaScript Object can be passed through The form configuration dynamic listing configuration file such as Notation).
, wherein it is desired to explanation, JSON forms (JavaScript Object Notation) are a kind of data exchanges of lightweight Form, it adopts the text formatting for being totally independent of language.Also, JSON forms have be easy to people read and write, while The characteristics of being also easy to machine parsing and generate.
The efficiency of the information in order to improve parsing dynamic listing configuration file, it is preferable that dynamic listing configuration file is JSON Form, i.e., configure dynamic listing configuration file using JSON forms.Now, with an array in dynamic listing configuration file The field of type marks cell data model list to record, and it is high that different field record list styles, unit is respectively adopted Each configuration information one field of correspondence of information, the i.e. list pages such as degree, separator bar pattern.
For example, using JSON forms configure dynamic listing configuration file, it is assumed that list page configuration information include list style, Cell height and separator bar style information, now, can by field X preserve list style, field Y storage unit height, Field Y preserves separator bar style information.
Again for example, dynamic listing configuration file is configured using JSON forms, it is assumed that standard block data model list includes Three standard block data models, are represented respectively with standard block data model A, B, C.In order to record these three standard lists Metadata schema, the form of the first field of dynamic listing configuration file is {cells:[{name:A},{name:B},{name:C}]}。
S12, according to dynamic listing configuration file dynamic listing page model is generated,
Wherein, dynamic listing page model includes the standard block data model list generated according to the first field and according to the second word The list page configuration information of Duan Shengcheng.
In one embodiment of the application, the detailed process of dynamic listing page model is generated according to dynamic listing configuration file, As shown in Fig. 2 can include:
S121, the first field read in dynamic listing configuration file creates corresponding standard block data model list.
S122, reads the second field in dynamic listing configuration file, and generates corresponding list page configuration according to the second field Information.
For example, the form of the first field of dynamic listing configuration file is { cells:[{name:A},{name:B},{name:C }] }, During content in the first field is read, corresponding standard block data model can be created according to name fields, A pair The standard block data model answered is standard block data model A, and the corresponding standard block data models of B are standard block number According to Model B, the corresponding standard block data models of C are standard block data model C, and according to the standard block for being obtained Data model information constitutes standard block data model list, wherein, the corresponding code form of standard block data model list It is as follows:ACellModel|BCellModel|CCellModel.ACellModel represents standard block data model A; BCellModel represents standard block data model B;CCellModel represents standard block data model C.
S13, transfers corresponding many according to the standard block data model list of dynamic listing page model from standard block ATL Individual standard block component, and corresponding multiple standard block components are combined to generate Assembly Listing, and according to dynamic column The list page configuration information of table page model is rendered to generate dynamic listing to Assembly Listing.
For example it is assumed that standard block data model list includes three standard block data models, standard block number is used respectively Represent according to model A, B, C.After standard block data model list is obtained, standard can be obtained from standard block ATL The corresponding standard block component A of cell data model A (can represent standard block component A) with ACell, standard block data The corresponding standard block component B of Model B (can represent standard block component B) with BCell, standard block data model C pair The standard block component C (can represent standard block component C with CCell) for answering, the standard package of above-mentioned acquisition is combined To generate Assembly Listing, the form of the Assembly Listing for being generated is:ACell | BCell | CCell, after Assembly Listing is generated, can The standard block component in Assembly Listing is entered by list page configuration informations such as list style, cell height, separator bar patterns Row render, to generate list page in dynamic listing.
, wherein it is desired to explanation, standard block ATL is pre-saved in the client, in standard block ATL Various standard block components are saved, and saves the corresponding relation between standard block data model and standard block component.
In summary it can be seen, the embodiment is given birth to after dynamic listing page model is generated according to dynamic listing configuration file Into after the specification of dynamic listing, corresponding multiple standard lists are transferred from standard block ATL according to dynamic listing page model First component, and corresponding multiple standard block components are combined to generate Assembly Listing, and confidence is matched somebody with somebody according to list page Breath is rendered to generate dynamic listing to Assembly Listing.Thus, dynamic listing is completed without the need for relying on business datum feature Generate, facilitate the dynamic listing for being subsequently generated new business.
, wherein it is desired to explanation, by the dynamic listing mode of the embodiment various dynamic listings can be generated.
The generation method of the dynamic listing of the embodiment of the present application, obtains dynamic listing configuration file, and is configured according to dynamic listing Dynamic listing page model of the file generated comprising the list of standard block data model and list page configuration information, and according to dynamic Corresponding multiple standard block components are transferred in the standard block data model list of list page model from standard block ATL, And corresponding multiple standard block components are combined to generate Assembly Listing, and according to the list page of dynamic listing page model Configuration information is rendered to generate dynamic listing to Assembly Listing, thus, generate dynamic listing during, without the need for according to Bad business datum feature can complete the generation of dynamic listing, flexible construction dynamic listing, improve and generate dynamic listing Efficiency.
Fig. 3 is the flow chart of the generation method of the dynamic listing of the application another embodiment.
As shown in figure 3, the generation method of the dynamic listing includes:
S301, obtains dynamic listing configuration file.
Specifically, the dynamic listing configuration file that server is issued is received and preserves, and when needing to generate dynamic listing, Client can be from local middle acquisition dynamic listing configuration file.
Wherein, dynamic listing configuration file includes the first field and at least one second fields, wherein, the first field record mark Quasi- cell data model list, each the field record list page configuration information at least one second fields.
Wherein, list page configuration information can include but is not limited to the information such as list style, cell height, separator bar pattern.
In one embodiment of the application, the information in dynamic listing configuration file can be configured by various data forms.Example Such as, XML (Extensible Markup Language, extensible markup language), JSON (JavaScript Object can be passed through The form configuration dynamic listing configuration file such as Notation).
, wherein it is desired to explanation, JSON forms (JavaScript Object Notation) are a kind of data exchanges of lightweight Form, it adopts the text formatting for being totally independent of language.Also, JSON forms have be easy to people read and write, while The characteristics of being also easy to machine parsing and generate.
The efficiency of the information in order to improve parsing dynamic listing configuration file, it is preferable that dynamic listing configuration file is JSON Form, i.e., configure dynamic listing configuration file using JSON forms.Now, one number of dynamic listing configuration file is configured The field of set type marks cell data model list to record, and different field record list style, units are respectively adopted Highly, each configuration information one field of correspondence of the information such as separator bar pattern, i.e. list page.
For example, using JSON forms configure dynamic listing configuration file, it is assumed that list page configuration information include list style, Cell height and separator bar style information, now, can by field X preserve list style, field Y storage unit height, Field Y preserves separator bar style information.
Again for example, dynamic listing configuration file is configured using JSON forms, it is assumed that standard block data model list includes Three standard block data models, are represented respectively with standard block data model A, B, C.In order to record these three standard lists Metadata schema, the form of the first field of dynamic listing configuration file is {cells:[{name:A},{name:B},{name:C}]}。
S302, the first field read in dynamic listing configuration file creates corresponding standard block data model list.
S303, reads the second field in dynamic listing configuration file, and generates corresponding list page configuration according to the second field Information.
For example, the form of the first field of dynamic listing configuration file is { cells:[{name:A},{name:B},{name:C }] }, During content in the first field is read, corresponding standard block data model can be created according to name fields, A pair The standard block data model answered is standard block data model A, and the corresponding standard block data models of B are standard block number According to Model B, the corresponding standard block data models of C are standard block data model C, and according to the standard block for being obtained Data model information constitutes standard block data model list, wherein, the corresponding code form of standard block data model list It is as follows:ACellModel|BCellModel|CCellModel.ACellModel represents standard block data model A; BCellModel represents standard block data model B;CCellModel represents standard block data model C.
S304, transfers corresponding to the standard block data model in standard block data model list from standard block ATL Multiple standard block components, and corresponding multiple standard block components are combined to generate Assembly Listing, and according to dynamic The list page configuration information of state list page model is rendered to generate dynamic listing to Assembly Listing.
For example it is assumed that standard block data model list includes three standard block data models, standard block number is used respectively Represent according to model A, B, C.After standard block data model list is obtained, standard can be obtained from standard block ATL The corresponding standard block component A of cell data model A (can represent standard block component A) with ACell, standard block data The corresponding standard block component B of Model B (can represent standard block component B) with BCell, standard block data model C pair The standard block component C (can represent standard block component C with CCell) for answering, the standard package of above-mentioned acquisition is combined To generate Assembly Listing, the form of the Assembly Listing for being generated is:ACell | BCell | CCell, after Assembly Listing is generated, can The standard block component in Assembly Listing is entered by list page configuration informations such as list style, cell height, separator bar patterns Row render, to generate list page in dynamic listing.
, wherein it is desired to explanation, standard block ATL is pre-saved in the client, in standard block ATL Save the corresponding relation between standard block data model and standard block component.
In one embodiment of the application, after dynamic listing is generated, when needing to modify dynamic listing, for example, Existing row is inserted or deleted in dynamic listing.At present, it is common practice to:Developer rebuilds new list Page model simultaneously replaces old list page model, and is re-started according to new list page model and render, to generate new list Page, the time that by the way modification dynamic listing is spent is more, and modification dynamic listing efficiency is low.
In order to improve the efficiency of modification dynamic listing, the embodiment stores standard block data model list using variable list, In embodiments herein, the modification of dynamic listing can be completed by below step.
S305, receives edit instruction, wherein, edit instruction is instructed including standard block component edits.
S306, modifies, to change dynamic column according to the instruction of standard block component edits to standard block data model list Table page model.
S307, according to amended dynamic listing page model the dynamic listing after modification is generated.
For example, a line is newly increased in dynamic listing, after receiving to the instruction of standard block component edits, can be according to editor Instruction is modified to standard block data model list, you can the standard block recorded in the first field in configuration file Edlin is entered in data model list, that is to say, that the first field is the field of an editable array type, and in modification Afterwards, amended dynamic listing model can be generated according to amended standard block data model list, and according to modification Dynamic listing model afterwards generates amended dynamic listing, i.e., edited in dynamic listing model, corresponding dynamic listing A line is newly increased in page.
The generation method of the dynamic listing of the embodiment of the present application, generates according to dynamic listing configuration file and includes standard block data The dynamic listing page model of model list and list page configuration information, and according to the standard block data mould of dynamic listing page model Corresponding multiple standard block components are transferred in type list from standard block ATL, and by corresponding multiple standard block components Be combined to generate Assembly Listing, according to the list page configuration information of dynamic listing page model Assembly Listing is rendered with Dynamic listing is generated, and can be by modifying to the standard block array in standard block data model list, it is right to realize The efficient modification of dynamic listing, improves the flexibility of dynamic listing, facilitates modification dynamic listing.
In order to realize above-described embodiment, the application also proposes a kind of generating means of dynamic listing.
Fig. 4 is the structural representation of the generating means of the dynamic listing of the application one embodiment.
As shown in figure 4, the generating means of the dynamic listing include acquisition module 100, generation module 200 and first processing module 300, wherein:
Specifically, acquisition module 100 is used to obtain dynamic listing configuration file.
Wherein, dynamic listing configuration file includes the first field and at least one second fields, wherein, the first field record mark Quasi- cell data model list, each the field record list page configuration information at least one second fields.
Wherein, list page configuration information can include but is not limited to the information such as list style, cell height, separator bar pattern.
In one embodiment of the application, the information in dynamic listing configuration file can be configured by various data forms.Example Such as, XML (Extensible Markup Language, extensible markup language), JSON (JavaScript Object can be passed through The form configuration dynamic listing configuration file such as Notation).
, wherein it is desired to explanation, JSON forms (JavaScript Object Notation) are a kind of data exchanges of lightweight Form, it adopts the text formatting for being totally independent of language.Also, JSON forms have be easy to people read and write, while The characteristics of being also easy to machine parsing and generate.
The efficiency of the information in order to improve parsing dynamic listing configuration file, it is preferable that dynamic listing configuration file is JSON Form, i.e., configure dynamic listing configuration file using JSON forms.Now, dynamic listing configuration file is with an array class The field of type come record mark cell data model list, and be respectively adopted different field record list styles, cell height, Each configuration information one field of correspondence of the information such as separator bar pattern, i.e. list page.
For example, using JSON forms configure dynamic listing configuration file, it is assumed that list page configuration information include list style, Cell height and separator bar style information, now, can by field X preserve list style, field Y storage unit height, Field Y preserves separator bar style information.
Again for example, dynamic listing configuration file is configured using JSON forms, it is assumed that standard block data model list includes Three standard block data models, are represented respectively with standard block data model A, B, C.In order to record these three standard lists Metadata schema, the form of the first field of dynamic listing configuration file is {cells:[{name:A},{name:B},{name:C}]}。
Generation module 200 is used to generate dynamic listing page model according to dynamic listing configuration file.
Wherein, dynamic listing page model includes the standard block data model list generated according to the first field and according to the second word The list page configuration information of Duan Shengcheng.
Specifically, generation module 200 specifically for:The first field read in dynamic listing configuration file creates corresponding mark Quasi- cell data model list, and the second field in dynamic listing configuration file is read, and it is right according to the generation of the second field The list page configuration information answered.
First processing module 300 is used for according to the standard block data model list of dynamic listing page model from standard block template Corresponding multiple standard block components are transferred in storehouse, and corresponding multiple standard block components are combined to generate composite column Table, and according to the list page configuration information of dynamic listing page model Assembly Listing is rendered to generate dynamic listing.
, wherein it is desired to explanation, standard block ATL is pre-saved in the client, in standard block ATL Various standard block components are saved, and saves the corresponding relation between standard block data model and standard block component.
After first processing module 300 generates dynamic listing, when needing to modify dynamic listing, for example, to dynamic Existing row is inserted or deleted in list.At present, it is common practice to:Developer rebuilds new list page model And old list page model is replaced, and re-started according to new list page model and render, to generate new list page, lead to Cross that aforesaid way modification time for being spent of dynamic listing is more, modification dynamic listing efficiency is low.
In order to improve the efficiency of modification dynamic listing, the embodiment stores standard block data model list using variable list, Said apparatus can also include Second processing module 400, and the Second processing module 400 is used to receive edit instruction, and according to The instruction of standard block component edits is modified to standard block data model list, to change dynamic listing page model.
Wherein, edit instruction is instructed including standard block component edits.
For example, a line is newly increased in dynamic listing, Second processing module 400 refers to standard block component edits receiving After order, standard block data model list can be modified according to edit instruction, you can the first field in configuration file Edlin is entered in the standard block data model list of middle record, that is to say, that the first field is an editable array type Field, and after modification, amended dynamic listing mould can be generated according to amended standard block data model list Type, and amended dynamic listing is generated according to amended dynamic listing model, i.e., it is edited in dynamic listing model, A line is newly increased in corresponding dynamic listing page.
In addition, in order to generate amended dynamic listing, said apparatus can also include the 3rd processing module 500, this Three processing modules 500 are used to generate the dynamic listing after modification according to dynamic listing page model.
, wherein it is desired to illustrate, the explanation of the above-mentioned generation method embodiment to dynamic listing is also applied for the enforcement The generating means of the dynamic listing of example, here is omitted.
The generating means of the dynamic listing of the embodiment of the present application, by acquisition module dynamic listing configuration file is obtained, and generates mould Root tuber generates the dynamic listing page comprising the list of standard block data model and list page configuration information according to dynamic listing configuration file Model, and first processing module according to the standard block data model list of dynamic listing page model from standard block ATL In transfer corresponding multiple standard block components, and corresponding multiple standard block components are combined to generate Assembly Listing, Assembly Listing is rendered according to the list page configuration information of dynamic listing page model generate dynamic listing, and can be passed through Standard block array in standard block data model list is modified, is realized to the efficient modification of dynamic listing, carried The high flexibility of dynamic listing, facilitates modification dynamic listing.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specific example ", Or the description of " some examples " etc. means to combine specific features, structure, material or feature bag that the embodiment or example are described In being contained at least one embodiment of the application or example.In this manual, to the schematic representation of above-mentioned term necessarily It is directed to identical embodiment or example.And, the specific features of description, structure, material or feature can be arbitrary Combine in an appropriate manner in individual or multiple embodiments or example.Additionally, in the case of not conflicting, the skill of this area Art personnel can be combined the feature of the different embodiments or example described in this specification and different embodiments or example And combination.
Additionally, term " first ", " second " be only used for describe purpose, and it is not intended that indicate or imply relative importance or The implicit quantity for indicating indicated technical characteristic.Thus, " first " is defined, the feature of " second " can be expressed or hidden Include at least one this feature containing ground.In the description of the present application, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise expressly limited specifically.
In flow chart or here any process described otherwise above or method description are construed as, expression includes one Or more module, fragment or parts for being used for the code of executable instruction the step of realize specific logical function or process, And the scope of the preferred embodiment of the application includes other realization, wherein order that is shown or discussing can not be pressed, Including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be by the application's Embodiment person of ordinary skill in the field understood.
In flow charts expression or here logic described otherwise above and/or step, for example, are considered for reality The order list of the executable instruction of existing logic function, in may be embodied in any computer-readable medium, for instruction Execution system, device or equipment (as computer based system, the system including processor or other can perform from instruction The system of system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating Or transmission procedure is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more cloth The electrical connection section (electronic installation) of line, portable computer diskette box (magnetic device), random access memory (RAM), only Reading memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and Portable optic disk read-only storage (CDROM).In addition, computer-readable medium can even is that can thereon print described The paper of program or other suitable media, because for example by carrying out optical scanner to paper or other media can then carry out Editor, interpretation are processed to other suitable methods electronically obtain described program if necessary, are then stored In computer storage.
It should be appreciated that each several part of the application can be realized with hardware, software, firmware or combinations thereof.In above-mentioned reality In applying mode, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage or Firmware is realizing.For example, if realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realizing:With for realizing the logic gates of logic function to data-signal Discrete logic, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA) is existing Field programmable gate array (FPGA) etc..
Those skilled in the art be appreciated that to realize all or part of step that above-described embodiment method is carried is can Completed with the hardware that correlation is instructed by program, described program can be stored in a kind of computer-readable recording medium, The program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in the application each embodiment can be integrated in a processing module, or each Individual unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated module was both Can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.If the integrated module with The form of software function module is realized and as independent production marketing or when using, it is also possible to be stored in a computer-readable In taking storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and described above Embodiments herein, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the restriction to the application, One of ordinary skill in the art can be changed within the scope of application to above-described embodiment, change, replacing and modification.

Claims (10)

1. a kind of generation method of dynamic listing, it is characterised in that comprise the following steps:
Dynamic listing configuration file is obtained, wherein, the dynamic listing configuration file includes the first field and at least one second Field, wherein, the first field record standard block data model list, each in described at least one second fields Field record list page configuration information;
Dynamic listing page model is generated according to the dynamic listing configuration file, wherein, the dynamic listing page model includes root The standard block data model list generated according to first field and the list page generated according to second field match somebody with somebody confidence Breath;And
Transferred from standard block ATL according to the standard block data model list of the dynamic listing page model corresponding many Individual standard block component, and corresponding multiple standard block components are combined to generate Assembly Listing, and according to institute The list page configuration information for stating dynamic listing page model is rendered to generate dynamic listing to the Assembly Listing.
2. the generation method of dynamic listing as claimed in claim 1, it is characterised in that the dynamic listing configuration file is JSON forms.
3. the generation method of dynamic listing as claimed in claim 1, it is characterised in that described to be matched somebody with somebody according to the dynamic listing Put file generated dynamic listing page model to specifically include:
Read first field in the dynamic listing configuration file and create the corresponding standard block data model row Table;And
Second field in the dynamic listing configuration file is read, and corresponding list is generated according to second field Page configuration information.
4. the generation method of dynamic listing as claimed in claim 1, it is characterised in that also include:
Edit instruction is received, wherein, the edit instruction is instructed including standard block component edits;
The standard block data model list is modified according to standard block component edits instruction, it is described to change Dynamic listing page model.
5. the generation method of dynamic listing as claimed in claim 4, it is characterised in that also include:
Dynamic listing after modification is generated according to the dynamic listing page model.
6. a kind of generating means of dynamic listing, it is characterised in that include:
Acquisition module, for obtaining dynamic listing configuration file, wherein, the dynamic listing configuration file includes the first field With at least one second fields, wherein, the first field record standard block data model list, described at least one Each field record list page configuration information in two fields;
Generation module, for generating dynamic listing page model according to the dynamic listing configuration file, wherein, the dynamic column Table page model includes the standard block data model list generated according to first field and according to second field generation List page configuration information;And
First processing module, for according to the standard block data model list of the dynamic listing page model from standard block mould Corresponding multiple standard block components are transferred in plate storehouse, and corresponding multiple standard block components are combined to generate Assembly Listing, and the Assembly Listing is rendered according to the list page configuration information of the dynamic listing page model generate Dynamic listing.
7. generating means of dynamic listing as claimed in claim 6, it is characterised in that the dynamic listing configuration file is JSON forms.
8. generating means of dynamic listing as claimed in claim 6, it is characterised in that the generation module specifically for:
Read first field in the dynamic listing configuration file and create the corresponding standard block data model row Table;And
Second field in the dynamic listing configuration file is read, and corresponding list is generated according to second field Page configuration information.
9. generating means of dynamic listing as claimed in claim 6, it is characterised in that also include:
Second processing module, for receiving edit instruction, wherein, the edit instruction is instructed including standard block component edits; And the standard block data model list is modified according to standard block component edits instruction, it is described to change Dynamic listing page model.
10. generating means of dynamic listing as claimed in claim 9, it is characterised in that also include:
3rd processing module, for generating the dynamic listing after modification according to the dynamic listing page model.
CN201510745247.0A 2015-11-05 2015-11-05 Dynamic list generation method and device Active CN106681698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510745247.0A CN106681698B (en) 2015-11-05 2015-11-05 Dynamic list generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510745247.0A CN106681698B (en) 2015-11-05 2015-11-05 Dynamic list generation method and device

Publications (2)

Publication Number Publication Date
CN106681698A true CN106681698A (en) 2017-05-17
CN106681698B CN106681698B (en) 2020-05-22

Family

ID=58858183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510745247.0A Active CN106681698B (en) 2015-11-05 2015-11-05 Dynamic list generation method and device

Country Status (1)

Country Link
CN (1) CN106681698B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391612A (en) * 2017-07-04 2017-11-24 石化盈科信息技术有限责任公司 Field configuration method and device
CN108269120A (en) * 2017-11-29 2018-07-10 广东神马搜索科技有限公司 Advertisement pattern metadata configurations method and device
CN108509188A (en) * 2018-03-30 2018-09-07 武汉斗鱼网络科技有限公司 A kind of method for building up of list, device and electronic equipment
CN109144624A (en) * 2017-06-28 2019-01-04 武汉斗鱼网络科技有限公司 Method, storage medium, equipment and the system of not contour list are shown in IOS
CN109634490A (en) * 2018-12-14 2019-04-16 北京字节跳动网络技术有限公司 A kind of list display method, device, equipment and storage medium
CN111046206A (en) * 2018-10-12 2020-04-21 武汉斗鱼网络科技有限公司 Head portrait list display method and device, electronic equipment and storage medium
CN111104108A (en) * 2018-10-29 2020-05-05 大唐移动通信设备有限公司 Display interface WPF generation method and device
CN111381819A (en) * 2018-12-28 2020-07-07 北京微播视界科技有限公司 List creation method and device, electronic equipment and computer-readable storage medium
CN113687889A (en) * 2021-07-08 2021-11-23 北京房江湖科技有限公司 List page display method and system, computer program product and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685393A (en) * 2008-08-20 2010-03-31 大唐软件技术股份有限公司 Method and system for realizing interface dynamic customization and generation
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
CN102981855A (en) * 2012-11-23 2013-03-20 蓝盾信息安全技术股份有限公司 Template-based interface autogeneration method and system
CN102779164B (en) * 2012-06-20 2015-08-05 深圳市远行科技有限公司 The rendering intent of a kind of operation system and dynamic page thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685393A (en) * 2008-08-20 2010-03-31 大唐软件技术股份有限公司 Method and system for realizing interface dynamic customization and generation
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
CN102779164B (en) * 2012-06-20 2015-08-05 深圳市远行科技有限公司 The rendering intent of a kind of operation system and dynamic page thereof
CN102981855A (en) * 2012-11-23 2013-03-20 蓝盾信息安全技术股份有限公司 Template-based interface autogeneration method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144624B (en) * 2017-06-28 2021-10-15 武汉斗鱼网络科技有限公司 Method, storage medium, device and system for displaying unequal height lists in IOS
CN109144624A (en) * 2017-06-28 2019-01-04 武汉斗鱼网络科技有限公司 Method, storage medium, equipment and the system of not contour list are shown in IOS
CN107391612A (en) * 2017-07-04 2017-11-24 石化盈科信息技术有限责任公司 Field configuration method and device
CN108269120A (en) * 2017-11-29 2018-07-10 广东神马搜索科技有限公司 Advertisement pattern metadata configurations method and device
CN108509188A (en) * 2018-03-30 2018-09-07 武汉斗鱼网络科技有限公司 A kind of method for building up of list, device and electronic equipment
CN108509188B (en) * 2018-03-30 2021-11-09 武汉斗鱼网络科技有限公司 List establishing method and device and electronic equipment
CN111046206A (en) * 2018-10-12 2020-04-21 武汉斗鱼网络科技有限公司 Head portrait list display method and device, electronic equipment and storage medium
CN111104108A (en) * 2018-10-29 2020-05-05 大唐移动通信设备有限公司 Display interface WPF generation method and device
CN111104108B (en) * 2018-10-29 2021-07-23 大唐移动通信设备有限公司 Display interface WPF generation method and device
CN109634490B (en) * 2018-12-14 2020-05-12 北京字节跳动网络技术有限公司 List display method, device, equipment and storage medium
CN109634490A (en) * 2018-12-14 2019-04-16 北京字节跳动网络技术有限公司 A kind of list display method, device, equipment and storage medium
CN111381819A (en) * 2018-12-28 2020-07-07 北京微播视界科技有限公司 List creation method and device, electronic equipment and computer-readable storage medium
CN111381819B (en) * 2018-12-28 2021-11-26 北京微播视界科技有限公司 List creation method and device, electronic equipment and computer-readable storage medium
CN113687889A (en) * 2021-07-08 2021-11-23 北京房江湖科技有限公司 List page display method and system, computer program product and storage medium

Also Published As

Publication number Publication date
CN106681698B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN106681698A (en) Dynamic list generating method and device
Conger The new software engineering
CN110286896A (en) Visualizing editing method, device, equipment and storage medium
CN101727674B (en) Method for marking picture in file, and method for reproducing mark of picture in file
CN107870798A (en) The page layout processing method and terminal of application program
CN106201489A (en) A kind of page editing method and apparatus
CN107423061A (en) A kind of list generation method based on ISON data
CN102012954B (en) Subsystem integration method and subsystem integration system for integration design of system-on-chip
CN105607880A (en) Printing method and device for examined and approved documents
US20150347353A1 (en) Document layering platform
CN108681547A (en) A kind of web content converting method and device based on small routine
CN108334484A (en) The method and apparatus of data inputting
CN106156306A (en) A kind of template rendering intent and device
CN103109289B (en) Based on the script edit methods of WEB, system and WEB client side
CN108959495A (en) Page display method, device, equipment and the computer storage medium of H5 webpage
CN106445815A (en) Automated testing method and device
CN106294480A (en) A kind of file layout change-over method, device and examination question import system
Whittaker Producing for Web 2.0: a student guide
CN102254023A (en) Method and device for editing webpage
CN116719781B (en) Method for generating catalogue and labeling by elastic combination of independent files
CN116893822A (en) Workflow engine multi-environment deployment method and system, electronic device and storage medium
Walker Microsoft® office visio® 2007 inside out
CN110347379A (en) Processing method, device and the storage medium of combined crowdsourcing topic
CN110321282A (en) The XML configuration file amending method and system of Mock test
CN102681883B (en) Resource calling method and system in media asset searching and browsing system

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right