CN109359281A - Dynamic list generation method and device - Google Patents

Dynamic list generation method and device Download PDF

Info

Publication number
CN109359281A
CN109359281A CN201811115314.0A CN201811115314A CN109359281A CN 109359281 A CN109359281 A CN 109359281A CN 201811115314 A CN201811115314 A CN 201811115314A CN 109359281 A CN109359281 A CN 109359281A
Authority
CN
China
Prior art keywords
list
dynamic list
dynamic
property
data
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
CN201811115314.0A
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.)
Tianjin ByteDance Technology Co Ltd
Original Assignee
Tianjin ByteDance Technology 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 Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201811115314.0A priority Critical patent/CN109359281A/en
Publication of CN109359281A publication Critical patent/CN109359281A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure proposes a kind of dynamic list generation method and device, wherein, method includes: the dynamic list template request to create according to user, the configuration file of default form templat is provided, and the edit operation according to user to configuration file, to generate the target configuration file of dynamic list, and the target configuration file according to dynamic list, obtain the element property of each first element in the first form attributes and dynamic list of dynamic list, obtain the object element that element property in dynamic list is nested groups, and obtain the configuration information for being nested in object element neutron list, according to the first form attributes, in dynamic list in the element property of each first element and sublist list each second element element property, generate dynamic list.Staff development is facilitated as a result, is reduced the workload of developer's overlapping development, is improved software development efficiency.

Description

Dynamic list generation method and device
Technical field
This disclosure relates to field of computer technology more particularly to a kind of dynamic list generation method and device.
Background technique
Currently, usually the business demand of side develops corresponding list according to demand during developing to list. However, in the related technology, the customization of the list proposed is higher, during system correcting or processing business and updates, need Developer carries out repeated exploitation to list based on new business demand, also, embedding in list in new business demand needs When cover list, required exploitation amount is especially big during correcting, and the time required for software correcting is longer, software development effect Rate is lower.
Summary of the invention
The disclosure provides a kind of dynamic list generation method and device, is able to solve form customization height so as to cause exploitation The problem of heavy workload, software development efficiency low scheme.
Disclosure first aspect embodiment proposes a kind of dynamic list generation method, comprising: according to the dynamic table of user Single request to create provides the configuration file of default form templat;Edit operation of the user to the configuration file is received, with Generate the corresponding target configuration file of dynamic list;According to the target configuration file, the first table of the dynamic list is obtained The element property of each first element in single attribute and the dynamic list;Obtaining element property in the dynamic list is nested groups Object element, and obtain and be nested in the configuration information of the object element neutron list, the configuration information packet of the sublist list Include the element property of each second element in the sublist list;According to each first in first form attributes, the dynamic list The element property of each second element, generates the dynamic list in the element property of element and the sublist list.
In one embodiment of the present disclosure, the method also includes: obtain the second form attributes of the sublist list;Institute It states according in the element property of the first element each in first form attributes, the dynamic list and the sublist list each The element property of Was Used generates dynamic list, comprising: according to first form attributes, second form attributes, described In dynamic list in the element property of each first element and the sublist list each second element element property, generate dynamic table It is single.
It in one embodiment of the present disclosure, include described the method also includes: the element property of first element First data source information of the first element, the element property of the second element include the second data source letter of the second element Breath;In the element property and the sublist according to the first element each in first form attributes, the dynamic list The element property of each second element in list, generate dynamic list after, further includes: according to first data source information obtain institute The data of the first element are stated, and are loaded into first element of the dynamic list;And according to second data source The data of second element described in acquisition of information, and be loaded into the object element in the dynamic list.
In one embodiment of the present disclosure, further includes: obtain the target data library structure of target database, and obtain and go through The historical data database table structure of history database, wherein the target database is loaded into the dynamic list for saving Data;Determine the mapping relations in target data library structure and the target data library structure between data field;According to described Mapping relations, by the Data Migration in the historical data base into the target database.
The dynamic list generation method of the embodiment of the present disclosure provides pre- according to the dynamic list template request to create of user If the configuration file of form templat, and edit operation of the user according to dynamic list design requirement to configuration file is received, and will Target configuration file of the edited configuration file as dynamic list, and according to the target configuration file of dynamic list, obtain The element property of each first element in the first form attributes and dynamic list of dynamic list is taken, element category in dynamic list is obtained Property be the object element of nested groups, and obtain and be nested in the configuration information of object element neutron list, the configuration information of sublist list Element property including each second element in sublist list, according to the element of the first element each in the first form attributes, dynamic list The element property of each second element in attribute and sublist list generates dynamic list.As a result, user can be according to form design Demand is quickly designed the dynamic list of a nested sub- list, is met on the basis of the configuration file of default form templat In the list while form design demand of nested list, staff development is facilitated, reduces developer's repetition The workload of exploitation, improves software development efficiency.
In order to achieve the above object, disclosure second aspect embodiment proposes a kind of dynamic list generating means, comprising: provide Module provides the configuration file of default form templat for the dynamic list request to create according to user;Processing module is used for Edit operation of the user to the configuration file is received, to generate the corresponding target configuration file of dynamic list;First obtains Modulus block, for obtaining the first form attributes and the dynamic list of the dynamic list according to the target configuration file In each first element element property;Second obtains module, is nested groups for obtaining element property in the dynamic list Object element, and the configuration information for being nested in the object element neutron list is obtained, the configuration information of the sublist list includes The element property of each second element in the sublist list;Second generation module, for according to first form attributes, described dynamic In state list in the element property of each first element and the sublist list each second element element property, generate dynamic table It is single.
In one embodiment of the present disclosure, further includes: third obtains module, for obtaining the second table of the sublist list Single attribute;Second generation module, is specifically used for: according to first form attributes, second form attributes, described dynamic In state list in the element property of each first element and the sublist list each second element element property, generate dynamic table It is single.
In one embodiment of the present disclosure, the element property of first element includes the first number of first element According to source information, the element property of the second element includes the second data source information of the second element;Described device is also wrapped Include: data processing module for obtaining the data of first element according to first data source information, and is loaded into described In first element of dynamic list;And the data of the second element are obtained according to second data source information, and It is loaded into the object element in the dynamic list.
In one embodiment of the present disclosure, further includes: the 4th obtains module, for obtaining the number of targets of target database According to library structure, and obtain the historical data database table structure of historical data base, wherein the target database is loaded into for saving Data in the dynamic list;Determining module, for determining number in target data library structure and the target data library structure According to the mapping relations between field;Data Migration module is used for according to the mapping relations, by the number in the historical data base According to moving in the target database.
The dynamic list generating means of the embodiment of the present disclosure provide pre- according to the dynamic list template request to create of user If the configuration file of form templat, and edit operation of the user according to dynamic list design requirement to configuration file is received, and will Target configuration file of the edited configuration file as dynamic list, and according to the target configuration file of dynamic list, obtain The element property of each first element in the first form attributes and dynamic list of dynamic list is taken, element category in dynamic list is obtained Property be the object element of nested groups, and obtain and be nested in the configuration information of object element neutron list, the configuration information of sublist list Element property including each second element in sublist list, according to the element of the first element each in the first form attributes, dynamic list The element property of each second element in attribute and sublist list generates dynamic list.As a result, user can be according to form design Demand is quickly designed the dynamic list of a nested sub- list, is met on the basis of the configuration file of default form templat In the list while form design demand of nested list, staff development is facilitated, reduces developer's repetition The workload of exploitation, improves software development efficiency.
In order to achieve the above object, disclosure third aspect embodiment proposes a kind of computer equipment, including memory, processing Device and it is stored in the computer program that can be run on the memory and on the processor, the processor executes the journey Sequence, to be used for:
According to the dynamic list request to create of user, the configuration file of default form templat is provided;
Edit operation of the user to the configuration file is received, to generate the corresponding target configuration text of dynamic list Part;
According to the target configuration file, obtain each in the first form attributes and the dynamic list of the dynamic list The element property of first element;
It obtains element property in the dynamic list and is the object element of nested groups, and obtain and be nested in the object element The configuration information of neutron list, the configuration information of the sublist list include the element property of each second element in the sublist list;
According to the element property of the first element each in first form attributes, the dynamic list and the sublist list In each second element element property, generate the dynamic list.
In order to achieve the above object, disclosure fourth aspect embodiment proposes a kind of non-transitory computer-readable storage medium Matter is stored thereon with computer program, which is executed by processor, to be used for:
According to the dynamic list request to create of user, the configuration file of default form templat is provided;
Edit operation of the user to the configuration file is received, to generate the corresponding target configuration text of dynamic list Part;
According to the target configuration file, obtain each in the first form attributes and the dynamic list of the dynamic list The element property of first element;
It obtains element property in the dynamic list and is the object element of nested groups, and obtain and be nested in the object element The configuration information of neutron list, the configuration information of the sublist list include the element property of each second element in the sublist list;
According to the element property of the first element each in first form attributes, the dynamic list and the sublist list In each second element element property, generate the dynamic list.
The additional aspect of the disclosure and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the disclosure.
Detailed description of the invention
The disclosure is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of dynamic list generation method provided by the embodiment of the present disclosure;
Fig. 2 is the flow diagram of another kind dynamic list generation method provided by the embodiment of the present disclosure;
Fig. 3 is a kind of flow diagram of dynamic list generation method provided by the embodiment of the present disclosure;
Fig. 4 is the schematic diagram of company A used original performance evaluation list in first time performance evaluation;
Fig. 5 is the schematic diagram of the user interface comprising new performance evaluation list;
Fig. 6 is a kind of structural schematic diagram of dynamic list generating means provided by the embodiment of the present disclosure;
Fig. 7 is the structural schematic diagram of another kind dynamic list generating means provided by the embodiment of the present disclosure;
Fig. 8 is the structural schematic diagram of another kind dynamic list generating means provided by the embodiment of the present disclosure;
Fig. 9 is the structural schematic diagram of another kind dynamic list generating means provided by the embodiment of the present disclosure;
Figure 10 is the structural schematic diagram that the electronic equipment of dynamic list generation method is executed provided by the embodiment of the present disclosure.
Specific embodiment
Embodiment of the disclosure is described below in detail, the example of embodiment is shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar element or element with the same or similar functions.It is retouched below with reference to attached drawing The embodiment stated is exemplary, it is intended to for explaining the disclosure, and should not be understood as the limitation to the disclosure.
Below with reference to the accompanying drawings the dynamic list generation method and device of the embodiment of the present disclosure are described.
Fig. 1 is a kind of flow diagram of dynamic list generation method provided by the embodiment of the present disclosure.
As shown in Figure 1, the dynamic list generation method the following steps are included:
Step 101, according to the dynamic list request to create of user, the configuration file of default form templat is provided.
Specifically, when user needs to create dynamic list, user can be sent dynamic list creation by electronic equipment and be asked It asks.Accordingly, electronic equipment receives the dynamic list request to create that user sends, and provides the configuration text of default form templat Part.
It wherein, include each element in the initial form attributes and default form templat for preset form templat in configuration file Element property.
Wherein, preset form templat initial form attributes can include but is not limited to list table style, default columns, Whether form name col width, shows the information such as form tags.
Wherein, attribute of an element information can include but is not limited to field name, element type, element units lattice height, The information such as element units lattice are wide, element data source information, element number.
Wherein, element type can include but is not limited to enumerate, number, character string and nested groups etc..
Wherein, when element type is nested groups, illustrate to be embedded in a sub- list in the corresponding element units lattice of the element.
Wherein, it should be noted that configuration file can be with the initial configuration information of steamed stuffed bun list.
Wherein, it is to be understood that in configuration file corresponding according to the default form templat of form design demand editor, User can carry out adaptation by the initial configuration information to configuration file neutron list according to demand.
Step 102, edit operation of the user to configuration file is received, to generate the corresponding target configuration text of dynamic list Part.
When user obtains the configuration file of default form templat, user can be according to dynamic list design requirement to the configuration File carries out adaptability editor, so that subsequent can generate and the consistent table of form design demand according to edited configuration file It is single.
Step 103, it according to edited configuration file, obtains each in the first form attributes and dynamic list of dynamic list The element property of first element.
Step 104, it obtains element property in dynamic list and is the object element of nested groups, and obtain and be nested in object element The configuration information of neutron list, the configuration information of sublist list include the element property of each second element in sublist list.
Specifically, during the configuration file to default form templat is edited, user can be according to form design Nested groups are set by the element type of some element, at this point, user can be according to form design demand in the corresponding member of the element A sub- list is embedded in plain cell.
Wherein, it is to be understood that after being embedded in a sub- list in determining the corresponding element units lattice of the element, user The attribute information of the sublist list can also be configured in configuration file, so that subsequent sublist list generated meets list Design requirement.
The embodiment of property as an example, during generating dynamic list, according to edited configuration text Part, obtain form templat in each first element element information after, can determine whether in form templat with the presence or absence of element type be it is embedding The object element of set group, and if it exists, then obtain the configuration information of sublist list nested in the object element.
Step 105, according to each in the element property of the first element each in the first form attributes, dynamic list and sublist list The element property of second element generates dynamic list.
The dynamic list generation method of the embodiment of the present disclosure provides pre- according to the dynamic list template request to create of user If the configuration file of form templat, and edit operation of the user according to dynamic list design requirement to configuration file is received, and will Target configuration file of the edited configuration file as dynamic list, and according to the target configuration file of dynamic list, obtain The element property of each first element in the first form attributes and dynamic list of dynamic list is taken, element category in dynamic list is obtained Property be the object element of nested groups, and obtain and be nested in the configuration information of object element neutron list, the configuration information of sublist list Element property including each second element in sublist list, according to the element of the first element each in the first form attributes, dynamic list The element property of each second element in attribute and sublist list generates dynamic list.As a result, user can be according to form design Demand is quickly designed the dynamic list of a nested sub- list, is met on the basis of the configuration file of default form templat In the list while form design demand of nested list, staff development is facilitated, reduces developer's repetition The workload of exploitation, improves software development efficiency.
Wherein, it is to be understood that the form attributes for being nested in the sublist list in dynamic list can be single-phase with dynamic table Together, it can also be different.For usually corresponding to different types of list, each of which list has respective form attributes demand, example Such as, a variety of different types of lists are usually constructed with respective rendering demand.The embodiment of property as an example, in order to meet The demand of sublist list is arranged in user individual, and on the basis of the above embodiments, this method can also include: to obtain sublist list Second form attributes.
Then, according to the element property of the first element each in the first form attributes, the second form attributes, dynamic list and The element property of each second element in sublist list generates dynamic list.Sublist can be set according to the form attributes of sublist list as a result, Single table style.
For example, form design demand is the sublist list B for being embedded in a list pattern difference and list A in list A, true After determining form design demand, user can edit according to configuration file of the list demand to default form templat, to be expired The dynamic list of sufficient form design demand.Accordingly, after running edited configuration file, a list is embedded in list A The sublist list B of pattern difference and list A.
Wherein, the element property of the first element includes the first data source information of the first element, the element category of second element Property includes the second data source information of second element.
Each second yuan in the element property and sublist list according to the first element each in the first form attributes, dynamic list The element property of element, after generating dynamic list, as shown in Fig. 2, this method can also include:
Step 201, the data of the first element are obtained according to the first data source information, and are loaded into first yuan of dynamic list In element.
Step 202, the data of second element are obtained according to the second data source information, and are loaded into the target in dynamic list In element.
In the present embodiment, after generating dynamic list, the data structure in original system meets the dynamic after correcting When the demand of list, user data required for each element in dynamic list being loaded according to the data source of original system.
The history of some original dynamic lists can be preserved in another embodiment of the disclosure, in usual original system Data, in order to enable user may have access to before historical form data, it usually needs developer is by historical form Data Migration To target database, in the related technology during migration history form data, developer is needed to write adjustment script etc. Deng progress historical form Data Migration, operation required for migrating is more, and data migration efficiency is lower.
The embodiment of property as an example, in order to improve data migration efficiency, on the basis of shown in Fig. 1, such as Fig. 3 Shown, this method can also include:
Step 301, the target data library structure of target database is obtained, and obtains the historical data base table of historical data base Structure, wherein target database is for saving the data being loaded into dynamic list.
Step 302, the mapping relations in target data library structure and target data library structure between data field are determined.
Step 303, according to mapping relations, by the Data Migration in historical data base into target database.
In the present embodiment, it by the mapping relations of the data structure between target database and historical data base, will go through Data in history database directly migrate in target database, reduce the workload of developer's migration history data, mention The high transport efficiency of migration history data, and then software development efficiency can be improved.
The process of new table is generated in list correcting with a specific example explanation below.
For example, company A is in first time performance evaluation, the score of only 2 latitudes and the comment of two latitudes, and And option is number.Wherein, wherein Fig. 4 is company A used original performance evaluation list in first time performance evaluation. Assuming that company A carries out correcting to list, company A needs on the basis of original performance evaluation list, increases new latitude, score Latitude becomes text from number, increases the comment type of nested structure, at this point, developer can determine that the list of company A is set Meter demand, and adaptability is carried out to the relevant configured parameter in the configuration file of default form templat according to form design demand and is repaired Change, to generate new performance evaluation form templat, and according to the form attributes and each element in new performance evaluation form templat Element property generates new performance evaluation list.Wherein, the schematic diagram of the user interface comprising new performance evaluation list, such as Fig. 5 institute Show.As seen in Figure 5, score latitude becomes text from number, increases the comment type of nested structure.
The embodiment of the present disclosure also proposes a kind of dynamic list generating means.
Fig. 6 is a kind of structural schematic diagram of dynamic list generating means provided by the embodiment of the present disclosure.
As shown in fig. 6, the dynamic list generating means may include providing module 110, the acquisition of processing module 120, first Module 130, second obtains module 140 and the second generation module 150, in which:
Module 110 is provided, for the dynamic list request to create according to user, provides the configuration text of default form templat Part.
It wherein, include each element in the initial form attributes and default form templat for preset form templat in configuration file Element property.
Wherein, preset form templat initial form attributes can include but is not limited to list table style, default columns, Whether form name col width, shows the information such as form tags.
Wherein, attribute of an element information can include but is not limited to field name, element type, element units lattice height, The information such as element units lattice are wide, element data source information, element number.
Wherein, element type can include but is not limited to enumerate, number, character string and nested groups etc..
Wherein, when element type is nested groups, illustrate to be embedded in a sub- list in the corresponding element units lattice of the element.
Wherein, it should be noted that configuration file can be with the initial configuration information of steamed stuffed bun list.
Wherein, it is to be understood that in configuration file corresponding according to the default form templat of form design demand editor, User can carry out adaptation by the initial configuration information to configuration file neutron list according to demand.
Processing module 120, for receiving edit operation of the user to configuration file, to generate the corresponding target of dynamic list Configuration file.
First obtains module 130, for obtaining the first form attributes and dynamic of dynamic list according to target configuration file The element property of each first element in list.
Second obtains module 140, is the object element of nested groups for obtaining element property in dynamic list, and obtain embedding The configuration information in object element neutron list is covered, the configuration information of sublist list includes the element category of each second element in sublist list Property.
Second generation module 150, for according to the element property of the first element each in the first form attributes, dynamic list with And in sublist list each second element element property, generate dynamic list.
In one embodiment of the present disclosure, on the basis of shown in Fig. 6, as shown in fig. 7, the device can also include:
Third obtains module 160, for obtaining the second form attributes of sublist list.
Second generation module 150, is specifically used for: according in the first form attributes, the second form attributes, dynamic list each The element property of each second element in the element property and sublist list of one element generates dynamic list.
Wherein, the element property of the first element includes the first data source information of the first element, the element category of second element Property includes the second data source information of second element.
In one embodiment of the present disclosure, on the basis of shown in Fig. 7, as shown in figure 8, the device can also include:
Data processing module 170 for obtaining the data of the first element according to the first data source information, and is loaded into dynamic The data of second element are obtained in first element of list and according to the second data source information, and are loaded into dynamic list In object element.
In one embodiment of the present disclosure, on the basis of shown in Fig. 6, as shown in figure 9, the device can also include:
4th obtains module 180, for obtaining the target data library structure of target database, and obtains historical data base Historical data database table structure, wherein target database is for saving the data being loaded into dynamic list.
Determining module 190, for determining reflecting between data field in target data library structure and target data library structure Penetrate relationship.
Data Migration module 200 is used for according to mapping relations, by the Data Migration in historical data base to target database In.
Wherein, it should be noted that the aforementioned explanation to dynamic list generation method embodiment is also applied for the reality The dynamic list generating means of example are applied, details are not described herein again.
The dynamic list generating means of the embodiment of the present disclosure provide pre- according to the dynamic list template request to create of user If the configuration file of form templat, and edit operation of the user according to dynamic list design requirement to configuration file is received, and will Target configuration file of the edited configuration file as dynamic list, and according to the target configuration file of dynamic list, obtain The element property of each first element in the first form attributes and dynamic list of dynamic list is taken, element category in dynamic list is obtained Property be the object element of nested groups, and obtain and be nested in the configuration information of object element neutron list, the configuration information of sublist list Element property including each second element in sublist list, according to the element of the first element each in the first form attributes, dynamic list The element property of each second element in attribute and sublist list generates dynamic list.As a result, user can be according to form design Demand is quickly designed the dynamic list of a nested sub- list, is met on the basis of the configuration file of default form templat In the list while form design demand of nested list, staff development is facilitated, reduces developer's repetition The workload of exploitation, improves software development efficiency.
In order to realize above-described embodiment, the embodiment of the present disclosure also proposes a kind of computer equipment, including memory, processor And the computer program that can be run on a memory and on a processor is stored, processor executes program, to be used for:
According to the dynamic list request to create of user, the configuration file of default form templat is provided;
Edit operation of the user to configuration file is received, to generate the corresponding target configuration file of dynamic list;
According to target configuration file, the member of each first element in the first form attributes and dynamic list of dynamic list is obtained Plain attribute;
It obtains element property in dynamic list and is the object element of nested groups, and obtain and be nested in object element neutron list Configuration information, the configuration information of sublist list includes the element property of each second element in sublist list;
According to each second element in the element property of the first element each in the first form attributes, dynamic list and sublist list Element property, generate dynamic list.
Below with reference to Figure 10, it illustrates the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure (such as terminal devices Or server) 1000 structural schematic diagram.Terminal device in the embodiment of the present disclosure can include but is not limited to such as move electricity Words, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia Player), the mobile terminal and such as number TV, desktop computer etc. of car-mounted terminal (such as vehicle mounted guidance terminal) etc. Fixed terminal.Electronic equipment shown in Figure 10 is only an example, function to the embodiment of the present disclosure and should not use model Shroud carrys out any restrictions.
As shown in Figure 10, electronic equipment 1000 may include processing unit (such as central processing unit, graphics processor etc.) 1001, it can be loaded at random according to the program being stored in read-only memory (ROM) 1002 or from storage device 1008 It accesses the program in memory (RAM) 1003 and executes various movements appropriate and processing.In RAM 1003, it is also stored with electricity Sub- equipment 1000 operates required various programs and data.Processing unit 1001, ROM 1002 and RAM1003 pass through bus 1004 are connected with each other.Input/output (I/O) interface 1005 is also connected to bus 1004.
In general, following device can connect to I/O interface 1005: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 1006 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 1007 of dynamic device etc.;Storage device 1008 including such as tape, hard disk etc.;And communication device 1009.Communication Device 1009 can permit electronic equipment 1000 and wirelessly or non-wirelessly be communicated with other equipment to exchange data.Although Figure 10 shows The electronic equipment 1000 with various devices is gone out, it should be understood that being not required for implementing or having all dresses shown It sets.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 1009, or from storage device 1008 are mounted, or are mounted from ROM 1002.When the computer program is executed by processing unit 1001, the disclosure is executed The above-mentioned function of being limited in the method for embodiment.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes extremely The Node evaluation request of few two internet protocol addresses, wherein Node evaluation equipment is from least two internet protocol addresses, choosing It takes internet protocol address and returns;The internet protocol address that receiving node valuator device returns;Wherein, acquired Internet protocol Address indicates the fringe node in content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request; From at least two internet protocol addresses, internet protocol address is chosen;Return to the internet protocol address selected;Wherein, it receives To internet protocol address instruction content distributing network in fringe node.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".

Claims (10)

1. a kind of dynamic list generation method characterized by comprising
According to the dynamic list request to create of user, the configuration file of default form templat is provided;
Edit operation of the user to the configuration file is received, to generate the corresponding target configuration file of dynamic list;
According to the target configuration file, obtain each first in the first form attributes and the dynamic list of the dynamic list The element property of element;
It obtains element property in the dynamic list and is the object element of nested groups, and obtain and be nested in the object element neutron The configuration information of list, the configuration information of the sublist list include the element property of each second element in the sublist list;
According to each in the element property of the first element each in first form attributes, the dynamic list and the sublist list The element property of second element generates the dynamic list.
2. the method as described in claim 1, which is characterized in that further include:
Obtain the second form attributes of the sublist list;
The element property according to the first element each in first form attributes, the dynamic list and the sublist list In each second element element property, generate dynamic list, comprising:
According to the element property of each first element in first form attributes, second form attributes, the dynamic list And in the sublist list each second element element property, generate the dynamic list.
3. method according to claim 2, which is characterized in that the element property of first element includes first element The first data source information, the element property of the second element includes the second data source information of the second element;
In the element property and the sublist according to the first element each in first form attributes, the dynamic list The element property of each second element in list, generate dynamic list after, further includes:
The data of first element are obtained according to first data source information, and are loaded into described the of the dynamic list In one element;And
The data of the second element are obtained according to second data source information, and are loaded into described in the dynamic list In object element.
4. the method as described in claim 1, which is characterized in that further include:
The target data library structure of target database is obtained, and obtains the historical data database table structure of historical data base, wherein institute Target database is stated for saving the data being loaded into the dynamic list;
Determine the mapping relations in target data library structure and the target data library structure between data field;
According to the mapping relations, by the Data Migration in the historical data base into the target database.
5. a kind of dynamic list generating means characterized by comprising
Module is provided and provides the configuration file of default form templat for the dynamic list request to create according to user;
Processing module, for receiving edit operation of the user to the configuration file, to generate the corresponding mesh of dynamic list Mark configuration file;
First obtains module, for obtaining the first form attributes and the institute of the dynamic list according to the target configuration file State the element property of each first element in dynamic list;
Second obtains module, is the object element of nested groups for obtaining element property in the dynamic list, and obtain nesting In the configuration information of the object element neutron list, the configuration information of the sublist list includes each second yuan in the sublist list The element property of element;
Second generation module, for the element property according to the first element each in first form attributes, the dynamic list And in the sublist list each second element element property, generate dynamic list.
6. device as claimed in claim 5, which is characterized in that further include:
Third obtains module, for obtaining the second form attributes of the sublist list;
Second generation module, is specifically used for:
According to the element property of each first element in first form attributes, second form attributes, the dynamic list And in the sublist list each second element element property, generate dynamic list.
7. device as claimed in claim 6, which is characterized in that the element property of first element includes first element The first data source information, the element property of the second element includes the second data source information of the second element;
Described device further include:
Data processing module for obtaining the data of first element according to first data source information, and is loaded into institute It states in first element of dynamic list;And the data of the second element are obtained according to second data source information, And it is loaded into the object element in the dynamic list.
8. device as claimed in claim 5, which is characterized in that further include:
4th obtains module, for obtaining the target data library structure of target database, and obtains the history number of historical data base According to database table structure, wherein the target database is for saving the data being loaded into the dynamic list;
Determining module, for determining that the mapping in target data library structure and the target data library structure between data field is closed System;
Data Migration module is used for according to the mapping relations, by the Data Migration in the historical data base to the target In database.
9. a kind of electronic equipment characterized by comprising
At least one processor;And the memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use In the execution described in any item dynamic list generation methods of the claims 1-4.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction is for making the computer perform claim require the described in any item dynamic tables of 1-4 Single generation method.
CN201811115314.0A 2018-09-25 2018-09-25 Dynamic list generation method and device Pending CN109359281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115314.0A CN109359281A (en) 2018-09-25 2018-09-25 Dynamic list generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115314.0A CN109359281A (en) 2018-09-25 2018-09-25 Dynamic list generation method and device

Publications (1)

Publication Number Publication Date
CN109359281A true CN109359281A (en) 2019-02-19

Family

ID=65351497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115314.0A Pending CN109359281A (en) 2018-09-25 2018-09-25 Dynamic list generation method and device

Country Status (1)

Country Link
CN (1) CN109359281A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321540A (en) * 2019-06-27 2019-10-11 北京奇艺世纪科技有限公司 A kind of method, apparatus, electronic equipment and medium generating list
CN110335016A (en) * 2019-06-11 2019-10-15 北京臻溪谷医学研究中心(有限合伙) A kind of distribution cell lean intelligence manufacture management system
CN110502214A (en) * 2019-06-26 2019-11-26 中电万维信息技术有限责任公司 A kind of method, apparatus and storage medium generating business form
CN111209073A (en) * 2020-01-07 2020-05-29 北京唐颐惠康生物医学技术有限公司 Form construction method and system based on multi-dimensional model
CN112287269A (en) * 2020-06-22 2021-01-29 上海柯林布瑞信息技术有限公司 Data loading method and device, computing equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5129052A (en) * 1989-08-18 1992-07-07 International Business Machines Corporation Dynamic selection of recursively nested logical element data formats
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
CN103294796A (en) * 2013-05-24 2013-09-11 上海申腾信息技术有限公司 XML (extensive markup language) parsing method and implementation method of custom XML structural forms in medical records
CN105573765A (en) * 2015-12-29 2016-05-11 武汉传神信息技术有限公司 Implementation method for dynamic form, client and server
CN106371825A (en) * 2016-08-23 2017-02-01 武大吉奥信息技术有限公司 Dynamic form generation method and apparatus for mobile end application interface
CN107943930A (en) * 2017-11-22 2018-04-20 用友金融信息技术股份有限公司 Dynamic list generation method, device, computer equipment and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5129052A (en) * 1989-08-18 1992-07-07 International Business Machines Corporation Dynamic selection of recursively nested logical element data formats
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
CN103294796A (en) * 2013-05-24 2013-09-11 上海申腾信息技术有限公司 XML (extensive markup language) parsing method and implementation method of custom XML structural forms in medical records
CN105573765A (en) * 2015-12-29 2016-05-11 武汉传神信息技术有限公司 Implementation method for dynamic form, client and server
CN106371825A (en) * 2016-08-23 2017-02-01 武大吉奥信息技术有限公司 Dynamic form generation method and apparatus for mobile end application interface
CN107943930A (en) * 2017-11-22 2018-04-20 用友金融信息技术股份有限公司 Dynamic list generation method, device, computer equipment and readable storage medium storing program for executing

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335016A (en) * 2019-06-11 2019-10-15 北京臻溪谷医学研究中心(有限合伙) A kind of distribution cell lean intelligence manufacture management system
CN110502214A (en) * 2019-06-26 2019-11-26 中电万维信息技术有限责任公司 A kind of method, apparatus and storage medium generating business form
CN110321540A (en) * 2019-06-27 2019-10-11 北京奇艺世纪科技有限公司 A kind of method, apparatus, electronic equipment and medium generating list
CN111209073A (en) * 2020-01-07 2020-05-29 北京唐颐惠康生物医学技术有限公司 Form construction method and system based on multi-dimensional model
CN111209073B (en) * 2020-01-07 2023-06-02 北京唐颐惠康生物医学技术有限公司 Form construction method and system based on multidimensional model
CN112287269A (en) * 2020-06-22 2021-01-29 上海柯林布瑞信息技术有限公司 Data loading method and device, computing equipment and computer readable storage medium
CN112287269B (en) * 2020-06-22 2024-03-22 上海柯林布瑞信息技术有限公司 Data loading method and device, computing equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109359281A (en) Dynamic list generation method and device
CN109375918A (en) Interface rendering method, device, electronic equipment and the storage medium of small routine
WO2020119485A1 (en) Page display method and device, apparatus, and storage medium
CN109543163A (en) Documentation revisions record acquisition methods, device, storage medium and electronic equipment
CN109460233A (en) Primary interface display update method, device, terminal device and the medium of the page
CN109634490A (en) A kind of list display method, device, equipment and storage medium
CN109447635A (en) Information storage means and device for block chain
CN109062563A (en) Method and apparatus for generating the page
CN109710905A (en) Document synergic editing method, device, storage medium and electronic equipment
CN109857971A (en) Page rendering method and apparatus
CN109491742A (en) Page tabular rendering method and device
CN108733317A (en) Date storage method and device
CN110263287A (en) Page rendering method and apparatus
CN107341235A (en) Report form inquiring method, device, medium and electronic equipment
US11430163B2 (en) Displaying a chart without rendering entirely obscured markers
CN110738038A (en) Contract text generation method, device, equipment and computer readable storage medium
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN109446199A (en) Cell data processing method and device
CN108920618A (en) A kind of store method, device, medium and the electronic equipment of object reference relationship
CN110109983A (en) A kind of method and apparatus operating Redis database
CN110489106A (en) A kind of generation method, device, medium and the electronic equipment of project initial code
CN108959294A (en) A kind of method and apparatus accessing search engine
CN109933727A (en) User's portrait generation method and system, user's portrait application method and system
CN110413165A (en) Icon configuration method, device, electronic equipment and computer-readable medium
CN109685472A (en) A kind of electronic signature method, device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination